{ "name": "point_categories_window_of_heaven_content", "code": "M0001_CT0020", "description": "point_categories_window_of_heaven_content", "content_kind": "point", "attribute_prefix_code": "M0001_CT0020", "attribute_prefix_name": "window_of_heaven", "attribute_defs": [ { "name": "name", "code": "name", "data_type": "text", "default": "" }, { "name": "code", "code": "code", "data_type": "text", "default": "" }, { "name": "title", "code": "title", "data_type": "text", "default": "" }, { "name": "Description", "code": "description", "data_type": "text", "multivalue": true, "default": [] }, { "name": "Window of Heaven Points", "code": "window_of_heaven_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": false, "source_code_authoring_only": true, "source_key_persisted_only": true, "content_id_runtime_only": true, "do_not_infer_reference_from_label": true } } } }, { "name": "point_codes", "code": "point_codes", "data_type": "json", "multivalue": true, "default": [], "definition_kind": "scalar", "is_multivalue": true, "metadata": { "value_contract": { "kind": "content_ref", "contract_version": "1.0", "reference_type": "content_ref", "target_module_code": "M0001", "target_template_code": "M0001_CT0003", "cardinality": "many", "authoring_identity": "source_code", "persisted_identity": "source_key", "runtime_identity": "content_id", "resolution_pipeline": "source_code -> source_key -> content_id", "rules": { "explicit_reference_required_when_value_present": true, "plain_text_allowed": false, "source_code_authoring_only": true, "source_key_persisted_only": true, "content_id_runtime_only": true, "do_not_infer_reference_from_label": true } } } }, { "name": "images", "code": "images", "definition_kind": "object", "multivalue": true, "children": [ { "name": "image_name", "code": "image_name", "data_type": "text", "definition_kind": "scalar", "required": true }, { "name": "image_path", "code": "image_path", "data_type": "text", "definition_kind": "scalar", "required": true } ] }, { "name": "default_image", "code": "default_image", "definition_kind": "object", "children": [ { "name": "image_name", "code": "image_name", "data_type": "text", "definition_kind": "scalar", "required": true }, { "name": "image_path", "code": "image_path", "data_type": "text", "definition_kind": "scalar", "required": true } ] }, { "name": "Clinical Application", "code": "clinical_application", "definition_kind": "object", "children": [ { "name": "Disorders of the Qi flow", "code": "disorders_of_the_qi_flow", "data_type": "text", "multivalue": true, "default": [] }, { "name": "psychological_disorders", "code": "psychological_disorders", "data_type": "text", "multivalue": true, "default": [] }, { "name": "goiter_swellings_pain_and_qi_stagnation_in_the_occiput_and_neck", "code": "goiter_swellings_pain_and_qi_stagnation_in_the_occiput_and_neck", "data_type": "text", "multivalue": true, "default": [] }, { "name": "disorders_with_an_acute_onset", "code": "disorders_with_an_acute_onset", "data_type": "text", "multivalue": true, "default": [] }, { "name": "disorders_of_the_sensory_organs", "code": "disorders_of_the_sensory_organs", "data_type": "text", "multivalue": true, "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": "single", "renderers": { "detail": "window_of_heaven_detail" }, "link": { "renderer": "content_link" }, "attributes": [ { "attribute_key": "M0001_CT0020.name", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.code", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0001_CT0020.title", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.description", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.window_of_heaven_points", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.point_codes", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.images", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.images.image_name", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.images.image_path", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.default_image", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.default_image.image_name", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.default_image.image_path", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.clinical_application", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.clinical_application.disorders_of_the_qi_flow", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.clinical_application.psychological_disorders", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.clinical_application.goiter_swellings_pain_and_qi_stagnation_in_the_occiput_and_neck", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.clinical_application.disorders_with_an_acute_onset", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.clinical_application.disorders_of_the_sensory_organs", "empty_behavior": "hide", "visibility": "show" }, { "attribute_key": "M0001_CT0020.link", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0001_CT0020.link.type", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0001_CT0020.link.label", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0001_CT0020.link.target", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0001_CT0020.link.target.module_code", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0001_CT0020.link.target.template_code", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0001_CT0020.link.target.source_code", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0001_CT0020.link.target.source_key", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0001_CT0020.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": "", "target": { "module_code": "", "template_code": "