{ "name": "points_content", "code": "m0001_ct0003", "description": "", "content_kind": "point", "is_searchable": true, "is_filterable": true, "attribute_prefix_code": "m0001_ct0003", "attribute_prefix_name": "acu_point", "attribute_defs": [ { "name": "Name", "code": "name", "data_type": "text", "default": "" }, { "name": "English Name", "code": "alt_name_1", "data_type": "text", "default": "" }, { "name": "Chinese Name", "code": "alt_name_2", "data_type": "text", "default": "" }, { "name": "Sort Order", "code": "sort_order", "data_type": "number", "default": 0 }, { "name": "Code", "code": "code", "data_type": "text", "default": "", "filterable": true }, { "name": "Channel", "code": "channel", "data_type": "json", "definition_kind": "scalar", "is_multivalue": false, "is_required": false, "is_searchable": false, "is_filterable": true, "default": null, "metadata": { "value_contract": { "kind": "content_ref", "contract_version": "1.0", "reference_type": "content_ref", "target_module_code": "m0001", "target_template_code": "m0001_ct0005", "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_not_allowed": true, "source_code_authoring_only": true, "source_key_persisted_only": true, "content_id_runtime_only": true } } } }, { "name": "Point Categories", "code": "point_categories", "data_type": "json", "definition_kind": "scalar", "is_multivalue": true, "is_required": false, "is_searchable": false, "is_filterable": true, "default": [], "metadata": { "value_contract": { "kind": "content_ref", "contract_version": "1.0", "reference_type": "content_ref", "target_module_code": "m0001", "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_not_allowed": true, "source_code_authoring_only": true, "source_key_persisted_only": true, "content_id_runtime_only": true } } } }, { "name": "Location", "code": "location", "data_type": "text", "default": "" }, { "name": "Location Note", "code": "location_note", "data_type": "text", "default": "" }, { "name": "Needling", "code": "needling", "data_type": "text", "default": "" }, { "name": "Needling Response", "code": "needling_response", "data_type": "text", "default": "" }, { "name": "Moxibustion", "code": "moxibustion", "data_type": "text", "default": "" }, { "name": "Additional Method", "code": "additional_method", "data_type": "text", "default": "" }, { "name": "Caution", "code": "caution", "data_type": "text", "default": "" }, { "name": "Description", "code": "description", "data_type": "text", "is_multivalue": true, "default": [] }, { "name": "Indications", "code": "indications", "data_type": "text", "is_multivalue": true, "default": [] }, { "name": "Regional Anatomy", "code": "regional_anatomy", "definition_kind": "object", "children": [ { "name": "structures", "code": "structures", "data_type": "text", "multivalue": true, "default": [] }, { "name": "superficial_layer", "code": "superficial_layer", "data_type": "text", "multivalue": true, "default": [] }, { "name": "deep_layer", "code": "deep_layer", "data_type": "text", "multivalue": true, "default": [] } ] }, { "name": "Actions", "code": "actions", "data_type": "text", "is_multivalue": true, "default": [] }, { "name": "Methods", "code": "methods", "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": "acu_point_collection", "collection_item": "acu_point_card", "detail": "acu_point_detail" }, "link": { "renderer": "content_link" }, "attributes": [ { "attribute_key": "m0001_ct0003.name", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "m0001_ct0003.alt_name_1", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "m0001_ct0003.alt_name_2", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "m0001_ct0003.sort_order", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_ct0003.code", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_ct0003.channel", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_ct0003.location", "empty_behavior": "hide", "visibility": "show", "display_order": 4 }, { "attribute_key": "m0001_ct0003.location_note", "empty_behavior": "hide", "visibility": "show", "display_order": 5 }, { "attribute_key": "m0001_ct0003.needling", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "m0001_ct0003.needling_response", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "m0001_ct0003.moxibustion", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "m0001_ct0003.additional_method", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "m0001_ct0003.caution", "empty_behavior": "hide", "visibility": "show", "display_order": 10 }, { "attribute_key": "m0001_ct0003.description", "empty_behavior": "hide", "visibility": "show", "display_order": 3 }, { "attribute_key": "m0001_ct0003.indications", "empty_behavior": "hide", "visibility": "show", "display_order": 8 }, { "attribute_key": "m0001_ct0003.regional_anatomy", "empty_behavior": "hide", "visibility": "show", "display_order": 6 }, { "attribute_key": "m0001_ct0003.regional_anatomy.structures", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "m0001_ct0003.regional_anatomy.superficial_layer", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "m0001_ct0003.regional_anatomy.deep_layer", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "m0001_ct0003.actions", "empty_behavior": "hide", "visibility": "show", "display_order": 7 }, { "attribute_key": "m0001_ct0003.methods", "empty_behavior": "hide", "visibility": "show", "display_order": 9 }, { "attribute_key": "m0001_ct0003.link", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_ct0003.link.type", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_ct0003.link.label", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_ct0003.link.target", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_ct0003.link.target.module_code", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_ct0003.link.target.template_code", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_ct0003.link.target.source_code", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_ct0003.link.target.source_key", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "m0001_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" } } ], "metadata": { "content_reference_policy": { "contract_version": "1.0", "explicit_relationships_only": true, "authoring_reference_shape": { "type": "content_ref", "label": "", "target": { "module_code": "", "template_code": "