chore: remove backup files
This commit is contained in:
parent
eb3a0ce413
commit
34b7c02747
|
|
@ -1,148 +0,0 @@
|
|||
{
|
||||
"contents": [
|
||||
{
|
||||
"title": "Motor Area",
|
||||
"code": "motor_area",
|
||||
"slug": "m0003-ct0001-motor-area",
|
||||
"area": "Motor Area",
|
||||
"location": "The upper end lies on anterior-posterior line 0.5 cm behind the midpoint and the lower end lies at the intersect of eyebrow-occipital line intersects the anterior hairline. The connecting line of two points is motor area which is divided in five sections. Then three regions are measured as follows: upper 1/5 region, middle 2/5 region, and lower 2/5 region",
|
||||
"indication": "Paralysis or weakness in the face, trunk, or limbs caused by stroke, multiple sclerosis, traumatic paraplegia, acute myelitis, neuritis, poliomyelitis, post-polio syndrome, periodic paralysis, hysterical paralysis, Bell's palsy, spinal cord injury, traumatic Brain injury, Charcot-Marie-Tooth disease, and Brain damage from Brain surgery. Upper 1/5 treats contralateral lower extremity, trunk, spinal cord and neck dysfunction. Middle 2/5 treats contralateral upper extremity dysfunction. Lower 2/5 treats bilateral face and head dysfunction and dysphasia."
|
||||
},
|
||||
{
|
||||
"title": "Sensory Area",
|
||||
"code": "sensory_area",
|
||||
"slug": "m0003-ct0001-sensory-area",
|
||||
"area": "Sensory Area",
|
||||
"location": "Parallel to and 1.5 cm behind the motor area",
|
||||
"indication": "Abnormal sensation and pain in lower extremities, trunk, back, chest and neck; upper extremity disorders; face and head disorders including migraine, headache, trigeminal neuralgia, toothache and TMJ pain."
|
||||
},
|
||||
{
|
||||
"title": "Chorea and Tremor Area",
|
||||
"code": "chorea_and_tremor_area",
|
||||
"slug": "m0003-ct0001-chorea-and-tremor-area",
|
||||
"area": "Chorea and Tremor Area",
|
||||
"location": "Parallel to and 1.5 cm front of the motor area",
|
||||
"indication": "Parkinson’s disease, tremors, shaking of head/body/extremities, chorea, tic, restless leg syndrome, dystonia, muscular tension and tightness."
|
||||
},
|
||||
{
|
||||
"title": "Vascular dilation and constriction area",
|
||||
"code": "vascular_dilation_and_constriction_area",
|
||||
"slug": "m0003-ct0001-vascular-dilation-and-constriction-area",
|
||||
"area": "Vascular dilation and constriction area",
|
||||
"location": "Parallel to and 1.5 cm front of the Chorea and Tremor Area",
|
||||
"indication": "Essential hypertension, cortical edema and autonomic vascular dysfunctions."
|
||||
},
|
||||
{
|
||||
"title": "Vertigo and Hearing area",
|
||||
"code": "vertigo_and_hearing_area",
|
||||
"slug": "m0003-ct0001-vertigo-and-hearing-area",
|
||||
"area": "Vertigo and Hearing area",
|
||||
"location": "A 4 cm wide horizontal line with its midpoint 1.5 cm directly above the ear apex.",
|
||||
"indication": "Vertigo, dizziness, Meniere’s disease, tinnitus, hearing loss and auditory hallucinations."
|
||||
},
|
||||
{
|
||||
"title": "Speech I area",
|
||||
"code": "speech_i_area",
|
||||
"slug": "m0003-ct0001-speech-i-area",
|
||||
"area": "Speech I area",
|
||||
"location": "Lower 2/5 area of motor area.",
|
||||
"indication": "Dysarthria, dysphonia or motor aphasia after stroke or brain injury."
|
||||
},
|
||||
{
|
||||
"title": "Speech II area",
|
||||
"code": "speech_ii_area",
|
||||
"slug": "m0003-ct0001-speech-ii-area",
|
||||
"area": "Speech II area",
|
||||
"location": "A 3 cm line parallel to anterior-posterior line, which goes downwards from the point 2 cm behind the parietal tubercle.",
|
||||
"indication": "Nominal aphasia (inability to name objects)."
|
||||
},
|
||||
{
|
||||
"title": "Speech III area",
|
||||
"code": "speech_iii_area",
|
||||
"slug": "m0003-ct0001-speech-iii-area",
|
||||
"area": "Speech III area",
|
||||
"location": "A horizontal line which goes 4 cm backward from the midpoint of Vertigo and Hearing area.",
|
||||
"indication": "Receptive aphasia."
|
||||
},
|
||||
{
|
||||
"title": "Praxis Area",
|
||||
"code": "praxis_area",
|
||||
"slug": "m0003-ct0001-praxis-area",
|
||||
"area": "Praxis Area",
|
||||
"location": "3 lines, 3 cm in length each, starting from the parietal tubercle one running straight downward and the other two at a 40-degree angle anterior and posterior to the vertical line.",
|
||||
"indication": "Apraxia; inability to execute certain fine motor activities."
|
||||
},
|
||||
{
|
||||
"title": "Vision Area",
|
||||
"code": "vision_area",
|
||||
"slug": "m0003-ct0001-vision-area",
|
||||
"area": "Vision Area",
|
||||
"location": "A parallel line of 4 cm in length one cm beside the anterior-posterior median line, which goes upward from the level of the external occipital tuberosity.",
|
||||
"indication": "Vision loss due to stroke or brain injury, visual field loss, double vision, visual hallucination and nystagmus."
|
||||
},
|
||||
{
|
||||
"title": "Balance Area",
|
||||
"code": "balance_area",
|
||||
"slug": "m0003-ct0001-balance-area",
|
||||
"area": "Balance Area",
|
||||
"location": "A vertical line of 4 cm in length and 3.5 cm beside the anterior-posterior median line, which goes downward from the level of external occipital tuberosity.",
|
||||
"indication": "Disequilibrium, cerebellar atrophy, cerebellar strokes, multiple sclerosis, Parkinson's disease, ataxia and loss of balance due to traumatic brain injury."
|
||||
},
|
||||
{
|
||||
"title": "FMSA",
|
||||
"code": "fmsa",
|
||||
"slug": "m0003-ct0001-fmsa",
|
||||
"area": "FMSA",
|
||||
"location": "Parallel to the anterior-posterior line, 1 cm lateral to the midline beginning at the level of the midpoint of the anterior-posterior line and running 4 cm posteriorly.",
|
||||
"indication": "Leg/foot paralysis, restless leg syndrome, leg and foot pain, neuropathy, plantar fasciitis, CRPS, fibromyalgia, phantom pain, urinary/stool incontinence, IBS, reproductive disorders, psoriasis, shingles, ADHD, PTSD, post-concussion syndrome, poor memory and concentration."
|
||||
},
|
||||
{
|
||||
"title": "Head Area",
|
||||
"code": "head_area",
|
||||
"slug": "m0003-ct0001-head-area",
|
||||
"area": "Head Area",
|
||||
"location": "On the midline at the forehead, running from the hairline 2 cm superiorly and inferiorly",
|
||||
"indication": "Insomnia, poor memory, poor concentration, anxiety and depression."
|
||||
},
|
||||
{
|
||||
"title": "Stomach Area",
|
||||
"code": "stomach_area",
|
||||
"slug": "m0003-ct0001-stomach-area",
|
||||
"area": "Stomach Area",
|
||||
"location": "A 2-cm vertical line which goes upward from the level of anterior hairline and runs parallel with the anterior-posterior median line and directly above the center of the pupil.",
|
||||
"indication": "Stomach pain and upper epigastric discomfort."
|
||||
},
|
||||
{
|
||||
"title": "Thoracic Cavity Area",
|
||||
"code": "thoracic_cavity_area",
|
||||
"slug": "m0003-ct0001-thoracic-cavity-area",
|
||||
"area": "Thoracic Cavity Area",
|
||||
"location": "A 4-cm vertical line right between the anterior-posterior median line and the Stomach area, with 2 cm above and 2 cm below the anterior hairline.",
|
||||
"indication": "Asthma and tachycardia."
|
||||
},
|
||||
{
|
||||
"title": "Liver & GB Area",
|
||||
"code": "liver_and_gb_area",
|
||||
"slug": "m0003-ct0001-liver-and-gb-area",
|
||||
"area": "Liver & GB Area",
|
||||
"location": "A 2-cm line extending downward from the Stomach area and in parallel with the anterior-posterior median line.",
|
||||
"indication": "Costal pain and rib pain due to hepatitis, gallstones and shingles."
|
||||
},
|
||||
{
|
||||
"title": "Reproductive Area",
|
||||
"code": "reproductive_area",
|
||||
"slug": "m0003-ct0001-reproductive-area",
|
||||
"area": "Reproductive Area",
|
||||
"location": "A 2-cm vertical line going upward from the frontal corner in parallel with the anterior-posterior median line.",
|
||||
"indication": "Menstrual cramps, bleeding and urinary tract infection."
|
||||
},
|
||||
{
|
||||
"title": "Large Intestine Area",
|
||||
"code": "large_intestine_area",
|
||||
"slug": "m0003-ct0001-large-intestine-area",
|
||||
"area": "Large Intestine Area",
|
||||
"location": "A 2-cm vertical line extending further downward from the reproductive area.",
|
||||
"indication": "Diarrhea and constipation."
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"module_code": "M0001",
|
||||
"facets": [
|
||||
{
|
||||
"code": "channel",
|
||||
"label": "Channel",
|
||||
"category": "TCM Classification",
|
||||
"description": "Acupuncture channel/meridian associated with the content.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 10,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0001_CT0003",
|
||||
"attribute_key": "M0001_CT0003.channel",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "content_ref_label"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": "point_category",
|
||||
"label": "Point Category",
|
||||
"category": "Point Properties",
|
||||
"description": "Clinical or classical category assigned to an acupuncture point.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 20,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0001_CT0003",
|
||||
"attribute_key": "M0001_CT0003.description",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": "clinical_indication",
|
||||
"label": "Clinical Indication",
|
||||
"category": "Clinical",
|
||||
"description": "Indications, symptoms or clinical conditions for which content is relevant.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 30,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0001_CT0003",
|
||||
"attribute_key": "M0001_CT0003.indications",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": "action",
|
||||
"label": "Action",
|
||||
"category": "Clinical",
|
||||
"description": "Therapeutic actions associated with content.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 40,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0001_CT0003",
|
||||
"attribute_key": "M0001_CT0003.actions",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,624 +0,0 @@
|
|||
{
|
||||
"name": "eov_content",
|
||||
"code": "M0001_CT0007",
|
||||
"description": "",
|
||||
"content_kind": "point",
|
||||
"attribute_prefix_code": "M0001_CT0007",
|
||||
"attribute_prefix_name": "eov_content",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Name",
|
||||
"code": "name",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Code",
|
||||
"code": "code",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Alternative Name",
|
||||
"code": "alt_name",
|
||||
"data_type": "text",
|
||||
"multivalue": true,
|
||||
"default": []
|
||||
},
|
||||
{
|
||||
"name": "Master Point",
|
||||
"code": "master_point",
|
||||
"data_type": "json",
|
||||
"default": null,
|
||||
"definition_kind": "scalar",
|
||||
"is_multivalue": false,
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "content_ref",
|
||||
"contract_version": "1.0",
|
||||
"reference_type": "content_ref",
|
||||
"target_module_code": "M0001",
|
||||
"target_template_code": "M0001_CT0003",
|
||||
"cardinality": "one",
|
||||
"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": true,
|
||||
"source_code_authoring_only": true,
|
||||
"source_key_persisted_only": true,
|
||||
"content_id_runtime_only": true,
|
||||
"do_not_infer_reference_from_label": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Coupled Point",
|
||||
"code": "coupled_point",
|
||||
"data_type": "json",
|
||||
"default": null,
|
||||
"definition_kind": "scalar",
|
||||
"is_multivalue": false,
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "content_ref",
|
||||
"contract_version": "1.0",
|
||||
"reference_type": "content_ref",
|
||||
"target_module_code": "M0001",
|
||||
"target_template_code": "M0001_CT0003",
|
||||
"cardinality": "one",
|
||||
"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": true,
|
||||
"source_code_authoring_only": true,
|
||||
"source_key_persisted_only": true,
|
||||
"content_id_runtime_only": true,
|
||||
"do_not_infer_reference_from_label": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Luo Point",
|
||||
"code": "luo_point",
|
||||
"data_type": "json",
|
||||
"default": null,
|
||||
"definition_kind": "scalar",
|
||||
"is_multivalue": false,
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "content_ref",
|
||||
"contract_version": "1.0",
|
||||
"reference_type": "content_ref",
|
||||
"target_module_code": "M0001",
|
||||
"target_template_code": "M0001_CT0003",
|
||||
"cardinality": "one",
|
||||
"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": true,
|
||||
"source_code_authoring_only": true,
|
||||
"source_key_persisted_only": true,
|
||||
"content_id_runtime_only": true,
|
||||
"do_not_infer_reference_from_label": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "XI-Cleft Point",
|
||||
"code": "xi_cleft_point",
|
||||
"data_type": "json",
|
||||
"default": null,
|
||||
"definition_kind": "scalar",
|
||||
"is_multivalue": false,
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "content_ref",
|
||||
"contract_version": "1.0",
|
||||
"reference_type": "content_ref",
|
||||
"target_module_code": "M0001",
|
||||
"target_template_code": "M0001_CT0003",
|
||||
"cardinality": "one",
|
||||
"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": true,
|
||||
"source_code_authoring_only": true,
|
||||
"source_key_persisted_only": true,
|
||||
"content_id_runtime_only": true,
|
||||
"do_not_infer_reference_from_label": true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Intersection Points",
|
||||
"code": "intersection_points",
|
||||
"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": true,
|
||||
"source_code_authoring_only": true,
|
||||
"source_key_persisted_only": true,
|
||||
"content_id_runtime_only": true,
|
||||
"do_not_infer_reference_from_label": true
|
||||
},
|
||||
"notes": "Mixed legacy ranges such as 'KI-11 thru KI-21' may remain text; individual canonical points should use content_ref."
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Paired Meridians",
|
||||
"code": "paired_meridian",
|
||||
"data_type": "json",
|
||||
"default": null,
|
||||
"definition_kind": "scalar",
|
||||
"is_multivalue": false,
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "content_ref",
|
||||
"contract_version": "1.0",
|
||||
"reference_type": "content_ref",
|
||||
"target_module_code": "M0001",
|
||||
"target_template_code": "M0001_CT0007",
|
||||
"cardinality": "one",
|
||||
"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
|
||||
},
|
||||
"notes": "Paired extraordinary vessel is a same-template content_ref."
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Areas of Effect",
|
||||
"code": "areas_of_effect",
|
||||
"data_type": "text",
|
||||
"multivalue": true,
|
||||
"default": []
|
||||
},
|
||||
{
|
||||
"name": "functions",
|
||||
"code": "functions",
|
||||
"data_type": "text",
|
||||
"multivalue": true,
|
||||
"default": []
|
||||
},
|
||||
{
|
||||
"name": "pathway",
|
||||
"code": "pathway",
|
||||
"data_type": "json",
|
||||
"default": {}
|
||||
},
|
||||
{
|
||||
"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": "collection",
|
||||
"renderers": {
|
||||
"collection": "eov_collection",
|
||||
"collection_item": "eov_card",
|
||||
"detail": "eov_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.alt_name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.master_point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.coupled_point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.luo_point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.xi_cleft_point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.intersection_points",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.paired_meridian",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.areas_of_effect",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.functions",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.pathway",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.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": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.name",
|
||||
"label": "Vessel",
|
||||
"operators": [
|
||||
"eq",
|
||||
"starts_with",
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.code",
|
||||
"label": "Vessel Code",
|
||||
"operators": [
|
||||
"eq",
|
||||
"starts_with"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.alt_name",
|
||||
"label": "Alternative Name",
|
||||
"operators": [
|
||||
"contains",
|
||||
"in"
|
||||
],
|
||||
"renderer_hint": "typeahead_multi_select"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.master_point",
|
||||
"label": "Master Point",
|
||||
"operators": [
|
||||
"eq",
|
||||
"in"
|
||||
],
|
||||
"renderer_hint": "typeahead_select"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.coupled_point",
|
||||
"label": "Coupled Point",
|
||||
"operators": [
|
||||
"eq",
|
||||
"in"
|
||||
],
|
||||
"renderer_hint": "typeahead_select"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.paired_meridian",
|
||||
"label": "Paired Meridian",
|
||||
"operators": [
|
||||
"eq",
|
||||
"in"
|
||||
],
|
||||
"renderer_hint": "select",
|
||||
"allowed_values": [
|
||||
"Chong Mai",
|
||||
"Dai Mai",
|
||||
"Du Mai",
|
||||
"Ren Mai",
|
||||
"Yang Qiao Mai",
|
||||
"Yang Wei Mai",
|
||||
"Yin Qiao Mai",
|
||||
"Yin Wei Mai"
|
||||
]
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.intersection_points",
|
||||
"label": "Intersection Point",
|
||||
"operators": [
|
||||
"eq",
|
||||
"in",
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "typeahead_multi_select"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.areas_of_effect",
|
||||
"label": "Area of Effect",
|
||||
"operators": [
|
||||
"contains",
|
||||
"in"
|
||||
],
|
||||
"renderer_hint": "typeahead_multi_select"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0001_ct0007.functions",
|
||||
"label": "Functions",
|
||||
"operators": [
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "name",
|
||||
"label": "Vessel"
|
||||
},
|
||||
{
|
||||
"field": "code",
|
||||
"label": "Vessel Code"
|
||||
},
|
||||
{
|
||||
"field": "master_point",
|
||||
"label": "Master Point"
|
||||
},
|
||||
{
|
||||
"field": "paired_meridian",
|
||||
"label": "Paired Meridian"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "name",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,78 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"module_code": "M0002",
|
||||
"facets": [
|
||||
{
|
||||
"code": "category",
|
||||
"label": "Category",
|
||||
"category": "Ear Acupuncture Classification",
|
||||
"description": "Category assigned to an ear acupuncture point.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 10,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0002_CT0011",
|
||||
"attribute_key": "M0002_CT0011.category",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": "sub_category",
|
||||
"label": "Sub Category",
|
||||
"category": "Ear Acupuncture Classification",
|
||||
"description": "Sub-category assigned to an ear acupuncture point.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 20,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0002_CT0011",
|
||||
"attribute_key": "M0002_CT0011.sub_category",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": "clinical_indication",
|
||||
"label": "Clinical Indication",
|
||||
"category": "Clinical",
|
||||
"description": "Indications, symptoms or clinical conditions for which an ear acupuncture point is relevant.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 30,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0002_CT0011",
|
||||
"attribute_key": "M0002_CT0011.indication",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": "diagnosis",
|
||||
"label": "Diagnosis",
|
||||
"category": "Clinical",
|
||||
"description": "Diagnostic significance associated with an ear acupuncture point.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 40,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0002_CT0011",
|
||||
"attribute_key": "M0002_CT0011.diagnosis",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,376 +0,0 @@
|
|||
{
|
||||
"name": "Ear Acupuncture",
|
||||
"description": "List all ear acupuncture points content types",
|
||||
"code": "M0002_CT0001",
|
||||
"content_kind": "point",
|
||||
"attribute_prefix_code": "M0002_CT0001",
|
||||
"attribute_prefix_name": "ear_acupuncture_list",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Name",
|
||||
"code": "name",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Sort Order",
|
||||
"code": "sort_order",
|
||||
"data_type": "number",
|
||||
"default": 0
|
||||
},
|
||||
{
|
||||
"name": "Count",
|
||||
"code": "content_count",
|
||||
"data_type": "number",
|
||||
"default": 0
|
||||
},
|
||||
{
|
||||
"name": "Label",
|
||||
"code": "content_label",
|
||||
"data_type": "text",
|
||||
"default": "categories"
|
||||
},
|
||||
{
|
||||
"name": "Code",
|
||||
"code": "code",
|
||||
"data_type": "text",
|
||||
"default": "",
|
||||
"is_filterable": false
|
||||
},
|
||||
{
|
||||
"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": "template_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"identity_contract": {
|
||||
"template_ref": {
|
||||
"authoring": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"persisted": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"runtime": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
]
|
||||
},
|
||||
"content_ref": {
|
||||
"authoring": "source_code",
|
||||
"persisted": "source_key",
|
||||
"runtime": "content_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "navigation_ref",
|
||||
"contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"forbidden_source_fields": [
|
||||
"source_key",
|
||||
"content_id"
|
||||
],
|
||||
"source_code_required": false
|
||||
},
|
||||
"content_ref": {
|
||||
"purpose": "Navigate to a specific content item.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code",
|
||||
"source_code"
|
||||
],
|
||||
"authoring_identity": "source_code",
|
||||
"persisted_identity": "source_key",
|
||||
"runtime_identity": "content_id",
|
||||
"resolution_pipeline": "source_code -> source_key -> content_id"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"do_not_infer_reference_from_label": true,
|
||||
"do_not_infer_reference_from_plain_text": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"presentation_contracts": [
|
||||
{
|
||||
"client_type": "mobile",
|
||||
"version_no": 1,
|
||||
"is_active": true,
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"collection": "ear_acupuncture_catalog_collection",
|
||||
"collection_item": "ear_acupuncture_catalog_card",
|
||||
"detail": "ear_acupuncture_catalog_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show", "display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show", "display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show", "display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.link.target.content_id",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"content_ref_contract_version": "1.0",
|
||||
"authoring_identity": "source_code",
|
||||
"navigation_identity": "content_id",
|
||||
"navigation_ref_contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref"
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "template_ref",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"template_ref_shape": {
|
||||
"type": "template_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>"
|
||||
}
|
||||
},
|
||||
"content_ref_shape": {
|
||||
"type": "content_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>",
|
||||
"source_code": "<canonical source code>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"free_text_enabled": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.name",
|
||||
"label": "Section",
|
||||
"operators": [
|
||||
"contains",
|
||||
"starts_with"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0001.content_label",
|
||||
"label": "Content Label",
|
||||
"operators": [
|
||||
"eq",
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"label": "Sort Order"
|
||||
},
|
||||
{
|
||||
"field": "name",
|
||||
"label": "Section Name"
|
||||
},
|
||||
{
|
||||
"field": "content_count",
|
||||
"label": "Content Count"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,341 +0,0 @@
|
|||
{
|
||||
"name": "Ear Points (Locomotor System)",
|
||||
"description": "List all ear acupuncture points (Locomotor System )",
|
||||
"code": "M0002_CT0002",
|
||||
"content_kind": "point",
|
||||
"attribute_prefix_code": "M0002_CT0002",
|
||||
"attribute_prefix_name": "locomotor_system_point_list",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Point",
|
||||
"code": "point",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Sort Order",
|
||||
"code": "sort_order",
|
||||
"data_type": "number",
|
||||
"default": 0
|
||||
},
|
||||
{
|
||||
"name": "Code",
|
||||
"code": "code",
|
||||
"data_type": "text",
|
||||
"default": "",
|
||||
"is_filterable": false
|
||||
},
|
||||
{
|
||||
"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": "template_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"identity_contract": {
|
||||
"template_ref": {
|
||||
"authoring": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"persisted": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"runtime": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
]
|
||||
},
|
||||
"content_ref": {
|
||||
"authoring": "source_code",
|
||||
"persisted": "source_key",
|
||||
"runtime": "content_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "navigation_ref",
|
||||
"contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"forbidden_source_fields": [
|
||||
"source_key",
|
||||
"content_id"
|
||||
],
|
||||
"source_code_required": false
|
||||
},
|
||||
"content_ref": {
|
||||
"purpose": "Navigate to a specific content item.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code",
|
||||
"source_code"
|
||||
],
|
||||
"authoring_identity": "source_code",
|
||||
"persisted_identity": "source_key",
|
||||
"runtime_identity": "content_id",
|
||||
"resolution_pipeline": "source_code -> source_key -> content_id"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"do_not_infer_reference_from_label": true,
|
||||
"do_not_infer_reference_from_plain_text": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"presentation_contracts": [
|
||||
{
|
||||
"client_type": "mobile",
|
||||
"version_no": 1,
|
||||
"is_active": true,
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"collection": "ear_acupuncture_catalog_collection",
|
||||
"collection_item": "ear_acupuncture_catalog_card",
|
||||
"detail": "ear_acupuncture_catalog_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show", "display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.link.target.content_id",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"content_ref_contract_version": "1.0",
|
||||
"authoring_identity": "source_code",
|
||||
"navigation_identity": "content_id",
|
||||
"navigation_ref_contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref"
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "template_ref",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"template_ref_shape": {
|
||||
"type": "template_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>"
|
||||
}
|
||||
},
|
||||
"content_ref_shape": {
|
||||
"type": "content_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>",
|
||||
"source_code": "<canonical source code>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"free_text_enabled": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0002.point",
|
||||
"label": "Section",
|
||||
"operators": [
|
||||
"contains",
|
||||
"starts_with"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"label": "Sort Order"
|
||||
},
|
||||
{
|
||||
"field": "point",
|
||||
"label": "Point"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,346 +0,0 @@
|
|||
{
|
||||
"name": "Ear Points (Internal Organ)",
|
||||
"description": "List all ear acupuncture points (Internal Organ )",
|
||||
"code": "M0002_CT0003",
|
||||
"content_kind": "point",
|
||||
"attribute_prefix_code": "M0002_CT0003",
|
||||
"attribute_prefix_name": "Internal Organ",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Point",
|
||||
"code": "point",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Sort Order",
|
||||
"code": "sort_order",
|
||||
"data_type": "number",
|
||||
"default": 0
|
||||
},
|
||||
{
|
||||
"name": "Code",
|
||||
"code": "code",
|
||||
"data_type": "text",
|
||||
"default": "",
|
||||
"is_filterable": false
|
||||
},
|
||||
{
|
||||
"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": "template_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"identity_contract": {
|
||||
"template_ref": {
|
||||
"authoring": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"persisted": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"runtime": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
]
|
||||
},
|
||||
"content_ref": {
|
||||
"authoring": "source_code",
|
||||
"persisted": "source_key",
|
||||
"runtime": "content_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "navigation_ref",
|
||||
"contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"forbidden_source_fields": [
|
||||
"source_key",
|
||||
"content_id"
|
||||
],
|
||||
"source_code_required": false
|
||||
},
|
||||
"content_ref": {
|
||||
"purpose": "Navigate to a specific content item.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code",
|
||||
"source_code"
|
||||
],
|
||||
"authoring_identity": "source_code",
|
||||
"persisted_identity": "source_key",
|
||||
"runtime_identity": "content_id",
|
||||
"resolution_pipeline": "source_code -> source_key -> content_id"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"do_not_infer_reference_from_label": true,
|
||||
"do_not_infer_reference_from_plain_text": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"presentation_contracts": [
|
||||
{
|
||||
"client_type": "mobile",
|
||||
"version_no": 1,
|
||||
"is_active": true,
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"collection": "ear_acupuncture_catalog_collection",
|
||||
"collection_item": "ear_acupuncture_catalog_card",
|
||||
"detail": "ear_acupuncture_catalog_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show", "display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.link.target.content_id",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"content_ref_contract_version": "1.0",
|
||||
"authoring_identity": "source_code",
|
||||
"navigation_identity": "content_id",
|
||||
"navigation_ref_contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref"
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "template_ref",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"template_ref_shape": {
|
||||
"type": "template_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>"
|
||||
}
|
||||
},
|
||||
"content_ref_shape": {
|
||||
"type": "content_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>",
|
||||
"source_code": "<canonical source code>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"free_text_enabled": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0003.point",
|
||||
"label": "Section",
|
||||
"operators": [
|
||||
"contains",
|
||||
"starts_with"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"label": "Sort Order"
|
||||
},
|
||||
{
|
||||
"field": "point",
|
||||
"label": "Point"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,346 +0,0 @@
|
|||
{
|
||||
"name": "Ear Points (Endocrine System)",
|
||||
"description": "List all ear acupuncture points (Endocrine System)",
|
||||
"code": "M0002_CT0004",
|
||||
"content_kind": "point",
|
||||
"attribute_prefix_code": "M0002_CT0004",
|
||||
"attribute_prefix_name": "endocrine_system_point_list",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Point",
|
||||
"code": "point",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Sort Order",
|
||||
"code": "sort_order",
|
||||
"data_type": "number",
|
||||
"default": 0
|
||||
},
|
||||
{
|
||||
"name": "Code",
|
||||
"code": "code",
|
||||
"data_type": "text",
|
||||
"default": "",
|
||||
"is_filterable": false
|
||||
},
|
||||
{
|
||||
"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": "template_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"identity_contract": {
|
||||
"template_ref": {
|
||||
"authoring": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"persisted": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"runtime": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
]
|
||||
},
|
||||
"content_ref": {
|
||||
"authoring": "source_code",
|
||||
"persisted": "source_key",
|
||||
"runtime": "content_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "navigation_ref",
|
||||
"contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"forbidden_source_fields": [
|
||||
"source_key",
|
||||
"content_id"
|
||||
],
|
||||
"source_code_required": false
|
||||
},
|
||||
"content_ref": {
|
||||
"purpose": "Navigate to a specific content item.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code",
|
||||
"source_code"
|
||||
],
|
||||
"authoring_identity": "source_code",
|
||||
"persisted_identity": "source_key",
|
||||
"runtime_identity": "content_id",
|
||||
"resolution_pipeline": "source_code -> source_key -> content_id"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"do_not_infer_reference_from_label": true,
|
||||
"do_not_infer_reference_from_plain_text": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"presentation_contracts": [
|
||||
{
|
||||
"client_type": "mobile",
|
||||
"version_no": 1,
|
||||
"is_active": true,
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"collection": "ear_acupuncture_catalog_collection",
|
||||
"collection_item": "ear_acupuncture_catalog_card",
|
||||
"detail": "ear_acupuncture_catalog_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show", "display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show", "display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.link.target.content_id",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"content_ref_contract_version": "1.0",
|
||||
"authoring_identity": "source_code",
|
||||
"navigation_identity": "content_id",
|
||||
"navigation_ref_contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref"
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "template_ref",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"template_ref_shape": {
|
||||
"type": "template_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>"
|
||||
}
|
||||
},
|
||||
"content_ref_shape": {
|
||||
"type": "content_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>",
|
||||
"source_code": "<canonical source code>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"free_text_enabled": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0004.point",
|
||||
"label": "Section",
|
||||
"operators": [
|
||||
"contains",
|
||||
"starts_with"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"label": "Sort Order"
|
||||
},
|
||||
{
|
||||
"field": "point",
|
||||
"label": "Point"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,346 +0,0 @@
|
|||
{
|
||||
"name": "Ear Points (Nervous System)",
|
||||
"description": "List all ear acupuncture points (Nervous System)",
|
||||
"code": "M0002_CT0005",
|
||||
"content_kind": "point",
|
||||
"attribute_prefix_code": "M0002_CT0005",
|
||||
"attribute_prefix_name": "Nervous System",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Point",
|
||||
"code": "point",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Sort Order",
|
||||
"code": "sort_order",
|
||||
"data_type": "number",
|
||||
"default": 0
|
||||
},
|
||||
{
|
||||
"name": "Code",
|
||||
"code": "code",
|
||||
"data_type": "text",
|
||||
"default": "",
|
||||
"is_filterable": false
|
||||
},
|
||||
{
|
||||
"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": "template_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"identity_contract": {
|
||||
"template_ref": {
|
||||
"authoring": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"persisted": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"runtime": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
]
|
||||
},
|
||||
"content_ref": {
|
||||
"authoring": "source_code",
|
||||
"persisted": "source_key",
|
||||
"runtime": "content_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "navigation_ref",
|
||||
"contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"forbidden_source_fields": [
|
||||
"source_key",
|
||||
"content_id"
|
||||
],
|
||||
"source_code_required": false
|
||||
},
|
||||
"content_ref": {
|
||||
"purpose": "Navigate to a specific content item.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code",
|
||||
"source_code"
|
||||
],
|
||||
"authoring_identity": "source_code",
|
||||
"persisted_identity": "source_key",
|
||||
"runtime_identity": "content_id",
|
||||
"resolution_pipeline": "source_code -> source_key -> content_id"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"do_not_infer_reference_from_label": true,
|
||||
"do_not_infer_reference_from_plain_text": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"presentation_contracts": [
|
||||
{
|
||||
"client_type": "mobile",
|
||||
"version_no": 1,
|
||||
"is_active": true,
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"collection": "ear_acupuncture_catalog_collection",
|
||||
"collection_item": "ear_acupuncture_catalog_card",
|
||||
"detail": "ear_acupuncture_catalog_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show", "display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.link.target.content_id",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"content_ref_contract_version": "1.0",
|
||||
"authoring_identity": "source_code",
|
||||
"navigation_identity": "content_id",
|
||||
"navigation_ref_contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref"
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "template_ref",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"template_ref_shape": {
|
||||
"type": "template_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>"
|
||||
}
|
||||
},
|
||||
"content_ref_shape": {
|
||||
"type": "content_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>",
|
||||
"source_code": "<canonical source code>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"free_text_enabled": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0005.point",
|
||||
"label": "Section",
|
||||
"operators": [
|
||||
"contains",
|
||||
"starts_with"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"label": "Sort Order"
|
||||
},
|
||||
{
|
||||
"field": "point",
|
||||
"label": "Point"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,346 +0,0 @@
|
|||
{
|
||||
"name": "Ear Points (Specific Points)",
|
||||
"description": "List all ear acupuncture points (Specific Points)",
|
||||
"code": "M0002_CT0006",
|
||||
"content_kind": "point",
|
||||
"attribute_prefix_code": "M0002_CT0006",
|
||||
"attribute_prefix_name": "Specific Points",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Point",
|
||||
"code": "point",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Sort Order",
|
||||
"code": "sort_order",
|
||||
"data_type": "number",
|
||||
"default": 0
|
||||
},
|
||||
{
|
||||
"name": "Code",
|
||||
"code": "code",
|
||||
"data_type": "text",
|
||||
"default": "",
|
||||
"is_filterable": false
|
||||
},
|
||||
{
|
||||
"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": "template_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"identity_contract": {
|
||||
"template_ref": {
|
||||
"authoring": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"persisted": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"runtime": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
]
|
||||
},
|
||||
"content_ref": {
|
||||
"authoring": "source_code",
|
||||
"persisted": "source_key",
|
||||
"runtime": "content_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "navigation_ref",
|
||||
"contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"forbidden_source_fields": [
|
||||
"source_key",
|
||||
"content_id"
|
||||
],
|
||||
"source_code_required": false
|
||||
},
|
||||
"content_ref": {
|
||||
"purpose": "Navigate to a specific content item.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code",
|
||||
"source_code"
|
||||
],
|
||||
"authoring_identity": "source_code",
|
||||
"persisted_identity": "source_key",
|
||||
"runtime_identity": "content_id",
|
||||
"resolution_pipeline": "source_code -> source_key -> content_id"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"do_not_infer_reference_from_label": true,
|
||||
"do_not_infer_reference_from_plain_text": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"presentation_contracts": [
|
||||
{
|
||||
"client_type": "mobile",
|
||||
"version_no": 1,
|
||||
"is_active": true,
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"collection": "ear_acupuncture_catalog_collection",
|
||||
"collection_item": "ear_acupuncture_catalog_card",
|
||||
"detail": "ear_acupuncture_catalog_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show", "display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.link.target.content_id",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"content_ref_contract_version": "1.0",
|
||||
"authoring_identity": "source_code",
|
||||
"navigation_identity": "content_id",
|
||||
"navigation_ref_contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref"
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "template_ref",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"template_ref_shape": {
|
||||
"type": "template_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>"
|
||||
}
|
||||
},
|
||||
"content_ref_shape": {
|
||||
"type": "content_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>",
|
||||
"source_code": "<canonical source code>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"free_text_enabled": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0006.point",
|
||||
"label": "Section",
|
||||
"operators": [
|
||||
"contains",
|
||||
"starts_with"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"label": "Sort Order"
|
||||
},
|
||||
{
|
||||
"field": "point",
|
||||
"label": "Point"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,346 +0,0 @@
|
|||
{
|
||||
"name": "Ear Points (Functional Points)",
|
||||
"description": "List all ear acupuncture points (Functional Points)",
|
||||
"code": "M0002_CT0007",
|
||||
"content_kind": "point",
|
||||
"attribute_prefix_code": "M0002_CT0007",
|
||||
"attribute_prefix_name": "Functional Points",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Point",
|
||||
"code": "point",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Sort Order",
|
||||
"code": "sort_order",
|
||||
"data_type": "number",
|
||||
"default": 0
|
||||
},
|
||||
{
|
||||
"name": "Code",
|
||||
"code": "code",
|
||||
"data_type": "text",
|
||||
"default": "",
|
||||
"is_filterable": false
|
||||
},
|
||||
{
|
||||
"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": "template_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"identity_contract": {
|
||||
"template_ref": {
|
||||
"authoring": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"persisted": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"runtime": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
]
|
||||
},
|
||||
"content_ref": {
|
||||
"authoring": "source_code",
|
||||
"persisted": "source_key",
|
||||
"runtime": "content_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "navigation_ref",
|
||||
"contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"forbidden_source_fields": [
|
||||
"source_key",
|
||||
"content_id"
|
||||
],
|
||||
"source_code_required": false
|
||||
},
|
||||
"content_ref": {
|
||||
"purpose": "Navigate to a specific content item.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code",
|
||||
"source_code"
|
||||
],
|
||||
"authoring_identity": "source_code",
|
||||
"persisted_identity": "source_key",
|
||||
"runtime_identity": "content_id",
|
||||
"resolution_pipeline": "source_code -> source_key -> content_id"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"do_not_infer_reference_from_label": true,
|
||||
"do_not_infer_reference_from_plain_text": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"presentation_contracts": [
|
||||
{
|
||||
"client_type": "mobile",
|
||||
"version_no": 1,
|
||||
"is_active": true,
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"collection": "ear_acupuncture_catalog_collection",
|
||||
"collection_item": "ear_acupuncture_catalog_card",
|
||||
"detail": "ear_acupuncture_catalog_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show", "display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.link.target.content_id",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"content_ref_contract_version": "1.0",
|
||||
"authoring_identity": "source_code",
|
||||
"navigation_identity": "content_id",
|
||||
"navigation_ref_contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref"
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "template_ref",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"template_ref_shape": {
|
||||
"type": "template_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>"
|
||||
}
|
||||
},
|
||||
"content_ref_shape": {
|
||||
"type": "content_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>",
|
||||
"source_code": "<canonical source code>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"free_text_enabled": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0007.point",
|
||||
"label": "Section",
|
||||
"operators": [
|
||||
"contains",
|
||||
"starts_with"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"label": "Sort Order"
|
||||
},
|
||||
{
|
||||
"field": "point",
|
||||
"label": "Point"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1,445 +0,0 @@
|
|||
{
|
||||
"name": "Ear Acupuncture Point",
|
||||
"code": "M0002_CT0011",
|
||||
"description": "",
|
||||
"content_kind": "point",
|
||||
"attribute_prefix_code": "M0002_CT0011",
|
||||
"attribute_prefix_name": "ear_acupuncture_point",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Category",
|
||||
"code": "category",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Sub Category",
|
||||
"code": "sub_category",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Point",
|
||||
"code": "point",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Location",
|
||||
"code": "location",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Indication",
|
||||
"code": "indication",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Diagnosis",
|
||||
"code": "diagnosis",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Code",
|
||||
"code": "code",
|
||||
"data_type": "text",
|
||||
"default": "",
|
||||
"is_filterable": false
|
||||
},
|
||||
{
|
||||
"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": "template_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"identity_contract": {
|
||||
"template_ref": {
|
||||
"authoring": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"persisted": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"runtime": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
]
|
||||
},
|
||||
"content_ref": {
|
||||
"authoring": "source_code",
|
||||
"persisted": "source_key",
|
||||
"runtime": "content_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "navigation_ref",
|
||||
"contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"forbidden_source_fields": [
|
||||
"source_key",
|
||||
"content_id"
|
||||
],
|
||||
"source_code_required": false
|
||||
},
|
||||
"content_ref": {
|
||||
"purpose": "Navigate to a specific content item.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code",
|
||||
"source_code"
|
||||
],
|
||||
"authoring_identity": "source_code",
|
||||
"persisted_identity": "source_key",
|
||||
"runtime_identity": "content_id",
|
||||
"resolution_pipeline": "source_code -> source_key -> content_id"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"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": "collection",
|
||||
"renderers": {
|
||||
"collection": "ear_acupuncture_collection",
|
||||
"collection_item": "ear_acupuncture_card",
|
||||
"detail": "ear_acupuncture_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.category",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.sub_category",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.point",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.location",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.indication",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.diagnosis",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 0
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.link.target.content_id",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"content_ref_contract_version": "1.0",
|
||||
"authoring_identity": "source_code",
|
||||
"navigation_identity": "content_id",
|
||||
"navigation_ref_contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref"
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "template_ref",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"template_ref_shape": {
|
||||
"type": "template_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>"
|
||||
}
|
||||
},
|
||||
"content_ref_shape": {
|
||||
"type": "content_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>",
|
||||
"source_code": "<canonical source code>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"free_text_enabled": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.category",
|
||||
"label": "Category",
|
||||
"operators": [
|
||||
"eq",
|
||||
"starts_with",
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.sub_category",
|
||||
"label": "Sub Category",
|
||||
"operators": [
|
||||
"eq",
|
||||
"starts_with",
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.point",
|
||||
"label": "Point",
|
||||
"operators": [
|
||||
"eq",
|
||||
"starts_with",
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.location",
|
||||
"label": "Location",
|
||||
"operators": [
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.indication",
|
||||
"label": "Indication",
|
||||
"operators": [
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0002_CT0011.diagnosis",
|
||||
"label": "Diagnosis",
|
||||
"operators": [
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "category",
|
||||
"label": "Category"
|
||||
},
|
||||
{
|
||||
"field": "sub_category",
|
||||
"label": "Sub Category"
|
||||
},
|
||||
{
|
||||
"field": "point",
|
||||
"label": "Point"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "category",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"module_code": "m0003",
|
||||
"facets": [
|
||||
{
|
||||
"code": "area",
|
||||
"label": "Area",
|
||||
"category": "Scalp Acupuncture Classification",
|
||||
"description": "Scalp acupuncture area associated with the content.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 10,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0003_CT0001",
|
||||
"attribute_key": "M0003_CT0001.area",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": "location",
|
||||
"label": "Location",
|
||||
"category": "Point Properties",
|
||||
"description": "Anatomical location of the scalp acupuncture area.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 20,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0003_CT0001",
|
||||
"attribute_key": "M0003_CT0001.location",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"code": "clinical_indication",
|
||||
"label": "Clinical Indication",
|
||||
"category": "Clinical",
|
||||
"description": "Indications, symptoms or clinical conditions for which the scalp acupuncture area is relevant.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 30,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0003_CT0001",
|
||||
"attribute_key": "M0003_CT0001.indication",
|
||||
"content_kind": "point",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -1,401 +0,0 @@
|
|||
{
|
||||
"name": "points_content",
|
||||
"code": "M0003_CT0001",
|
||||
"description": "",
|
||||
"content_kind": "point",
|
||||
"attribute_prefix_code": "M0003_CT0001",
|
||||
"attribute_prefix_name": "scalp_acupuncture",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Title",
|
||||
"code": "title",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Title",
|
||||
"code": "title",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "area",
|
||||
"code": "area",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "location",
|
||||
"code": "location",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "indication",
|
||||
"code": "indication",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"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": "template_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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.",
|
||||
"applies_to": [
|
||||
"content_ref"
|
||||
],
|
||||
"not_used_by": [
|
||||
"template_ref"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"identity_contract": {
|
||||
"template_ref": {
|
||||
"authoring": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"persisted": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"runtime": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
]
|
||||
},
|
||||
"content_ref": {
|
||||
"authoring": "source_code",
|
||||
"persisted": "source_key",
|
||||
"runtime": "content_id"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"value_contract": {
|
||||
"kind": "navigation_ref",
|
||||
"contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code"
|
||||
],
|
||||
"forbidden_source_fields": [
|
||||
"source_key",
|
||||
"content_id"
|
||||
],
|
||||
"source_code_required": false
|
||||
},
|
||||
"content_ref": {
|
||||
"purpose": "Navigate to a specific content item.",
|
||||
"required_target_fields": [
|
||||
"module_code",
|
||||
"template_code",
|
||||
"source_code"
|
||||
],
|
||||
"authoring_identity": "source_code",
|
||||
"persisted_identity": "source_key",
|
||||
"runtime_identity": "content_id",
|
||||
"resolution_pipeline": "source_code -> source_key -> content_id"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"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": "collection",
|
||||
"renderers": {
|
||||
"collection": "chinese_scalp_acupuncture_collection",
|
||||
"collection_item": "chinese_scalp_acupuncture_card",
|
||||
"detail": "chinese_scalp_acupuncture_detail"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.title",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.area",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.location",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.indication",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.link.target.content_id",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"content_ref_contract_version": "1.0",
|
||||
"authoring_identity": "source_code",
|
||||
"navigation_identity": "content_id",
|
||||
"navigation_ref_contract_version": "1.0",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref"
|
||||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"presentation": {
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"detail": "scalp_acupuncture_detail",
|
||||
"collection": "scalp_acupuncture_collection",
|
||||
"collection_item": "scalp_acupuncture_card"
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"free_text_enabled": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.title",
|
||||
"label": "Title",
|
||||
"operators": [
|
||||
"eq",
|
||||
"starts_with",
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.area",
|
||||
"label": "Area",
|
||||
"operators": [
|
||||
"eq",
|
||||
"starts_with",
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.location",
|
||||
"label": "Location",
|
||||
"operators": [
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "M0003_CT0001.indication",
|
||||
"label": "Indication",
|
||||
"operators": [
|
||||
"eq"
|
||||
],
|
||||
"renderer_hint": "number"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "title",
|
||||
"label": "Title"
|
||||
},
|
||||
{
|
||||
"field": "area",
|
||||
"label": "Area"
|
||||
},
|
||||
{
|
||||
"field": "location",
|
||||
"label": "Location"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "title",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
},
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "template_ref",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"template_ref_shape": {
|
||||
"type": "template_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>"
|
||||
}
|
||||
},
|
||||
"content_ref_shape": {
|
||||
"type": "content_ref",
|
||||
"label": "<display label>",
|
||||
"target": {
|
||||
"module_code": "<module code>",
|
||||
"template_code": "<template code>",
|
||||
"source_code": "<canonical source code>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
{
|
||||
"version": "1.0",
|
||||
"module_code": "M0042",
|
||||
"facets": [
|
||||
{
|
||||
"code": "category",
|
||||
"label": "Category",
|
||||
"category": "TCM Classification",
|
||||
"description": "Gynecological disorder category associated with the content.",
|
||||
"control_type": "typeahead_multi",
|
||||
"allow_multiple_values": true,
|
||||
"value_source": "projected",
|
||||
"sort_order": 10,
|
||||
"mappings": [
|
||||
{
|
||||
"template_code": "M0042_CT0001",
|
||||
"attribute_key": "M0042_CT0001.name",
|
||||
"content_kind": "therapeutic",
|
||||
"mapping_strategy": "multivalue"
|
||||
},
|
||||
{
|
||||
"template_code": "M0042_CT0002",
|
||||
"attribute_key": "M0042_CT0002.name",
|
||||
"content_kind": "therapeutic",
|
||||
"mapping_strategy": "multivalue"
|
||||
},
|
||||
{
|
||||
"template_code": "M0042_CT0003",
|
||||
"attribute_key": "M0042_CT0003.name",
|
||||
"content_kind": "therapeutic",
|
||||
"mapping_strategy": "multivalue"
|
||||
},
|
||||
{
|
||||
"template_code": "M0042_CT0004",
|
||||
"attribute_key": "M0042_CT0004.name",
|
||||
"content_kind": "therapeutic",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue