612 lines
18 KiB
JSON
612 lines
18 KiB
JSON
{
|
|
"name": "point_categories_five_shu_content",
|
|
"code": "M0001_CT0014",
|
|
"description": "",
|
|
"content_kind": "point",
|
|
"attribute_prefix_code": "M0001_CT0014",
|
|
"attribute_prefix_name": "five_shu",
|
|
"attribute_defs": [
|
|
{
|
|
"name": "Name",
|
|
"code": "name",
|
|
"data_type": "text",
|
|
"default": ""
|
|
},
|
|
{
|
|
"name": "Code",
|
|
"code": "code",
|
|
"data_type": "text",
|
|
"default": ""
|
|
},
|
|
{
|
|
"name": "title",
|
|
"code": "title",
|
|
"data_type": "text",
|
|
"default": ""
|
|
},
|
|
{
|
|
"name": "point_codes",
|
|
"code": "point_codes",
|
|
"data_type": "json",
|
|
"multivalue": true,
|
|
"default": [],
|
|
"definition_kind": "scalar",
|
|
"is_multivalue": true,
|
|
"metadata": {
|
|
"value_contract": {
|
|
"kind": "content_ref",
|
|
"contract_version": "1.0",
|
|
"reference_type": "content_ref",
|
|
"target_module_code": "M0001",
|
|
"target_template_code": "M0001_CT0003",
|
|
"cardinality": "many",
|
|
"authoring_identity": "source_code",
|
|
"persisted_identity": "source_key",
|
|
"runtime_identity": "content_id",
|
|
"resolution_pipeline": "source_code -> source_key -> content_id",
|
|
"rules": {
|
|
"explicit_reference_required_when_value_present": true,
|
|
"plain_text_allowed": false,
|
|
"source_code_authoring_only": true,
|
|
"source_key_persisted_only": true,
|
|
"content_id_runtime_only": true,
|
|
"do_not_infer_reference_from_label": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Description",
|
|
"code": "description",
|
|
"data_type": "text",
|
|
"multivalue": true,
|
|
"default": []
|
|
},
|
|
{
|
|
"name": "Five Shu-Point Phases of the Yin Channels",
|
|
"code": "phases_of_yin_channels",
|
|
"data_type": "json",
|
|
"default": {}
|
|
},
|
|
{
|
|
"name": "Five Shu-Points of the Yin Channels",
|
|
"code": "points_of_yin_channels",
|
|
"data_type": "json",
|
|
"default": {},
|
|
"metadata": {
|
|
"value_contract": {
|
|
"kind": "json_with_content_refs",
|
|
"contract_version": "1.0",
|
|
"reference_type": "content_ref",
|
|
"target_module_code": "M0001",
|
|
"target_template_code": "M0001_CT0003",
|
|
"authoring_identity": "source_code",
|
|
"persisted_identity": "source_key",
|
|
"runtime_identity": "content_id",
|
|
"reference_paths": [
|
|
"$.*.*"
|
|
],
|
|
"rules": {
|
|
"plain_text_allowed": false,
|
|
"source_code_authoring_only": true,
|
|
"source_key_persisted_only": true,
|
|
"content_id_runtime_only": true,
|
|
"do_not_infer_reference_from_label": true
|
|
},
|
|
"notes": "Channel and Shu-class labels remain keys; leaf values become point content_ref objects."
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Five Shu-Point Phases of the Yang Channels",
|
|
"code": "phases_of_yang_channels",
|
|
"data_type": "json",
|
|
"default": {}
|
|
},
|
|
{
|
|
"name": "Five Shu-Points of the Yang Channels",
|
|
"code": "points_of_yang_channels",
|
|
"data_type": "json",
|
|
"default": {},
|
|
"metadata": {
|
|
"value_contract": {
|
|
"kind": "json_with_content_refs",
|
|
"contract_version": "1.0",
|
|
"reference_type": "content_ref",
|
|
"target_module_code": "M0001",
|
|
"target_template_code": "M0001_CT0003",
|
|
"authoring_identity": "source_code",
|
|
"persisted_identity": "source_key",
|
|
"runtime_identity": "content_id",
|
|
"reference_paths": [
|
|
"$.*.*"
|
|
],
|
|
"rules": {
|
|
"plain_text_allowed": false,
|
|
"source_code_authoring_only": true,
|
|
"source_key_persisted_only": true,
|
|
"content_id_runtime_only": true,
|
|
"do_not_infer_reference_from_label": true
|
|
},
|
|
"notes": "Channel and Shu-class labels remain keys; leaf values become point content_ref objects."
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "Clinical Application",
|
|
"code": "clinical_application",
|
|
"definition_kind": "object",
|
|
"children": [
|
|
{
|
|
"name": "According to the Classic of Difficulties",
|
|
"code": "according_to_classic_of_difficulties",
|
|
"data_type": "text",
|
|
"multivalue": true,
|
|
"default": []
|
|
},
|
|
{
|
|
"name": "According to the seasons",
|
|
"code": "according_to_seasons",
|
|
"data_type": "text",
|
|
"multivalue": true,
|
|
"default": []
|
|
},
|
|
{
|
|
"name": "According to symptomatology",
|
|
"code": "according_to_symptomatology",
|
|
"data_type": "text",
|
|
"multivalue": true,
|
|
"default": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Jing-well points (Jing Xue)",
|
|
"code": "jing_well_points",
|
|
"definition_kind": "object",
|
|
"children": [
|
|
{
|
|
"name": "Actions",
|
|
"code": "actions",
|
|
"data_type": "text",
|
|
"multivalue": true
|
|
},
|
|
{
|
|
"name": "Examples",
|
|
"code": "examples",
|
|
"data_type": "text",
|
|
"multivalue": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Ying-spring points (Ying Xue)",
|
|
"code": "ying_spring_points",
|
|
"definition_kind": "object",
|
|
"children": [
|
|
{
|
|
"name": "actions",
|
|
"code": "actions",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"multivalue": true
|
|
},
|
|
{
|
|
"name": "Examples",
|
|
"code": "examples",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"multivalue": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Shu-stream points (Shu Xue)",
|
|
"code": "shu_stream_points",
|
|
"definition_kind": "object",
|
|
"children": [
|
|
{
|
|
"name": "actions",
|
|
"code": "actions",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"multivalue": true
|
|
},
|
|
{
|
|
"name": "Indications",
|
|
"code": "indications",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"multivalue": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Jing-river points (Jing Xue)",
|
|
"code": "jing_river_points",
|
|
"definition_kind": "object",
|
|
"children": [
|
|
{
|
|
"name": "actions",
|
|
"code": "actions",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"multivalue": true
|
|
},
|
|
{
|
|
"name": "Indications",
|
|
"code": "indications",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"multivalue": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "He-sea points (He Xue)",
|
|
"code": "he_sea_points",
|
|
"definition_kind": "object",
|
|
"children": [
|
|
{
|
|
"name": "Actions",
|
|
"code": "actions",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"multivalue": true
|
|
},
|
|
{
|
|
"name": "Indications",
|
|
"code": "indications",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"multivalue": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "Content Link",
|
|
"code": "link",
|
|
"definition_kind": "object",
|
|
"is_multivalue": false,
|
|
"is_required": false,
|
|
"is_searchable": false,
|
|
"is_filterable": false,
|
|
"children": [
|
|
{
|
|
"name": "Type",
|
|
"code": "type",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"is_required": true,
|
|
"default": "content_ref",
|
|
"allowed_values": [
|
|
"content_ref"
|
|
]
|
|
},
|
|
{
|
|
"name": "Label",
|
|
"code": "label",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"is_required": false
|
|
},
|
|
{
|
|
"name": "Target",
|
|
"code": "target",
|
|
"definition_kind": "object",
|
|
"is_required": true,
|
|
"children": [
|
|
{
|
|
"name": "Module Code",
|
|
"code": "module_code",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"is_required": true
|
|
},
|
|
{
|
|
"name": "Template Code",
|
|
"code": "template_code",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"is_required": true
|
|
},
|
|
{
|
|
"name": "Source Code",
|
|
"code": "source_code",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"is_required": false,
|
|
"is_searchable": false,
|
|
"is_filterable": false,
|
|
"metadata": {
|
|
"lifecycle": "authoring_only",
|
|
"description": "Canonical target content code used in source/seed JSON. Seeder resolves it to source_key before persistence."
|
|
}
|
|
},
|
|
{
|
|
"name": "Source Key",
|
|
"code": "source_key",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"is_required": false,
|
|
"metadata": {
|
|
"lifecycle": "persisted",
|
|
"description": "Stable target identity derived from template_code and source_code."
|
|
}
|
|
},
|
|
{
|
|
"name": "Content ID",
|
|
"code": "content_id",
|
|
"data_type": "text",
|
|
"definition_kind": "scalar",
|
|
"is_required": false,
|
|
"metadata": {
|
|
"lifecycle": "runtime_hydrated",
|
|
"description": "Target content UUID hydrated by the backend for client navigation."
|
|
}
|
|
}
|
|
],
|
|
"metadata": {
|
|
"identity_contract": {
|
|
"authoring": "source_code",
|
|
"persisted": "source_key",
|
|
"runtime": "content_id"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"metadata": {
|
|
"value_contract": {
|
|
"kind": "content_ref",
|
|
"contract_version": "1.0",
|
|
"reference_type": "content_ref",
|
|
"authoring_identity": "source_code",
|
|
"persisted_identity": "source_key",
|
|
"runtime_identity": "content_id",
|
|
"resolution_pipeline": "source_code -> source_key -> content_id",
|
|
"rules": {
|
|
"type_must_equal": "content_ref",
|
|
"source_code_authoring_only": true,
|
|
"source_key_persisted_only": true,
|
|
"content_id_runtime_only": true,
|
|
"do_not_infer_reference_from_label": true,
|
|
"do_not_infer_reference_from_plain_text": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"sort_order": 1,
|
|
"presentation_contracts": [
|
|
{
|
|
"client_type": "mobile",
|
|
"version_no": 1,
|
|
"is_active": true,
|
|
"mode": "single",
|
|
"renderers": {
|
|
"detail": "five_shu_detail"
|
|
},
|
|
"link": {
|
|
"renderer": "content_link"
|
|
},
|
|
"attributes": [
|
|
{
|
|
"attribute_key": "M0001_CT0014.name",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.code",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.title",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.point_codes",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.description",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.phases_of_yin_channels",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.points_of_yin_channels",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.phases_of_yang_channels",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.points_of_yang_channels",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.clinical_application",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.clinical_application.according_to_classic_of_difficulties",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.clinical_application.according_to_seasons",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.clinical_application.according_to_symptomatology",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.jing_well_points",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.jing_well_points.actions",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.jing_well_points.examples",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.ying_spring_points",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.ying_spring_points.actions",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.ying_spring_points.examples",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.shu_stream_points",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.shu_stream_points.actions",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.shu_stream_points.indications",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.jing_river_points",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.jing_river_points.actions",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.jing_river_points.indications",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.he_sea_points",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.he_sea_points.actions",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.he_sea_points.indications",
|
|
"empty_behavior": "hide",
|
|
"visibility": "show", "display_order": 0
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.link",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.link.type",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.link.label",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.link.target",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.link.target.module_code",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.link.target.template_code",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.link.target.source_code",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.link.target.source_key",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
},
|
|
{
|
|
"attribute_key": "M0001_CT0014.link.target.content_id",
|
|
"empty_behavior": "hide",
|
|
"visibility": "hide"
|
|
}
|
|
],
|
|
"metadata": {
|
|
"content_ref_contract_version": "1.0",
|
|
"authoring_identity": "source_code",
|
|
"navigation_identity": "content_id"
|
|
}
|
|
}
|
|
],
|
|
"metadata": {
|
|
"content_reference_policy": {
|
|
"contract_version": "1.0",
|
|
"explicit_relationships_only": true,
|
|
"authoring_reference_shape": {
|
|
"type": "content_ref",
|
|
"label": "<display label>",
|
|
"target": {
|
|
"module_code": "<module code>",
|
|
"template_code": "<template code>",
|
|
"source_code": "<canonical source code>"
|
|
}
|
|
},
|
|
"persisted_reference_identity": "source_key",
|
|
"runtime_reference_identity": "content_id",
|
|
"do_not_infer_from_display_strings": true
|
|
},
|
|
"search": {
|
|
"free_text_enabled": false,
|
|
"default_logic": "and",
|
|
"fields": [],
|
|
"sort_fields": [],
|
|
"default_sort": []
|
|
}
|
|
}
|
|
}
|