acupedia-acupoints #28
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
"name": "Acupoints",
|
"name": "Acupoints",
|
||||||
"sort_order": 0,
|
"sort_order": 0,
|
||||||
"content_count": 333,
|
"content_count": 15,
|
||||||
"content_label": "points",
|
"content_label": "points",
|
||||||
"link": {
|
"link": {
|
||||||
"type": "template_ref",
|
"type": "template_ref",
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -17,16 +17,8 @@
|
||||||
"default": ""
|
"default": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "alt_name_1",
|
"name": "Code",
|
||||||
"code": "alt_name_1",
|
"code": "code",
|
||||||
"data_type": "text",
|
|
||||||
"is_searchable": false,
|
|
||||||
"is_filterable": false,
|
|
||||||
"default": ""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "alt_name_2",
|
|
||||||
"code": "alt_name_2",
|
|
||||||
"data_type": "text",
|
"data_type": "text",
|
||||||
"is_searchable": false,
|
"is_searchable": false,
|
||||||
"is_filterable": false,
|
"is_filterable": false,
|
||||||
|
|
@ -41,121 +33,48 @@
|
||||||
"default": 0
|
"default": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Code",
|
"name": "Content Count",
|
||||||
"code": "code",
|
"code": "content_count",
|
||||||
|
"data_type": "number",
|
||||||
|
"is_searchable": false,
|
||||||
|
"is_filterable": false,
|
||||||
|
"default": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Content Label",
|
||||||
|
"code": "content_label",
|
||||||
"data_type": "text",
|
"data_type": "text",
|
||||||
"is_searchable": false,
|
"is_searchable": false,
|
||||||
"is_filterable": false,
|
"is_filterable": false,
|
||||||
"default": ""
|
"default": "points"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Content Link",
|
"name": "Points",
|
||||||
"code": "link",
|
"code": "point_codes",
|
||||||
"definition_kind": "object",
|
"data_type": "json",
|
||||||
"is_multivalue": false,
|
"multivalue": true,
|
||||||
"is_required": false,
|
"default": [],
|
||||||
"is_searchable": false,
|
"definition_kind": "scalar",
|
||||||
"is_filterable": false,
|
"is_multivalue": true,
|
||||||
"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": {
|
"metadata": {
|
||||||
"value_contract": {
|
"value_contract": {
|
||||||
"kind": "content_ref",
|
"kind": "content_ref",
|
||||||
"contract_version": "1.0",
|
"contract_version": "1.0",
|
||||||
"reference_type": "content_ref",
|
"reference_type": "content_ref",
|
||||||
|
"target_module_code": "m0001",
|
||||||
|
"target_template_code": "m0001_ct0003",
|
||||||
|
"cardinality": "many",
|
||||||
"authoring_identity": "source_code",
|
"authoring_identity": "source_code",
|
||||||
"persisted_identity": "source_key",
|
"persisted_identity": "source_key",
|
||||||
"runtime_identity": "content_id",
|
"runtime_identity": "content_id",
|
||||||
"resolution_pipeline": "source_code -> source_key -> content_id",
|
"resolution_pipeline": "source_code -> source_key -> content_id",
|
||||||
"rules": {
|
"rules": {
|
||||||
"type_must_equal": "content_ref",
|
"explicit_reference_required_when_value_present": true,
|
||||||
|
"plain_text_allowed": false,
|
||||||
"source_code_authoring_only": true,
|
"source_code_authoring_only": true,
|
||||||
"source_key_persisted_only": true,
|
"source_key_persisted_only": true,
|
||||||
"content_id_runtime_only": true,
|
"content_id_runtime_only": true,
|
||||||
"do_not_infer_reference_from_label": true,
|
"do_not_infer_reference_from_label": true
|
||||||
"do_not_infer_reference_from_plain_text": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -168,9 +87,9 @@
|
||||||
"is_active": true,
|
"is_active": true,
|
||||||
"mode": "collection",
|
"mode": "collection",
|
||||||
"renderers": {
|
"renderers": {
|
||||||
"collection": "acu_point_index_collection",
|
"collection": "meridian_index_collection",
|
||||||
"collection_item": "acu_point_index_card",
|
"collection_item": "meridian_index_card",
|
||||||
"detail": "acu_point_index_detail"
|
"detail": "meridian_index_detail"
|
||||||
},
|
},
|
||||||
"link": {
|
"link": {
|
||||||
"renderer": "content_link"
|
"renderer": "content_link"
|
||||||
|
|
@ -183,16 +102,9 @@
|
||||||
"display_order": 0
|
"display_order": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"attribute_key": "m0001_ct0002.alt_name_1",
|
"attribute_key": "m0001_ct0002.code",
|
||||||
"empty_behavior": "hide",
|
"empty_behavior": "hide",
|
||||||
"visibility": "show",
|
"visibility": "hide"
|
||||||
"display_order": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"attribute_key": "m0001_ct0002.alt_name_2",
|
|
||||||
"empty_behavior": "hide",
|
|
||||||
"visibility": "show",
|
|
||||||
"display_order": 0
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"attribute_key": "m0001_ct0002.sort_order",
|
"attribute_key": "m0001_ct0002.sort_order",
|
||||||
|
|
@ -200,54 +112,22 @@
|
||||||
"visibility": "hide"
|
"visibility": "hide"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"attribute_key": "m0001_ct0002.code",
|
"attribute_key": "m0001_ct0002.content_count",
|
||||||
"empty_behavior": "hide",
|
"empty_behavior": "hide",
|
||||||
"visibility": "hide"
|
"visibility": "show",
|
||||||
|
"display_order": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"attribute_key": "m0001_ct0002.link",
|
"attribute_key": "m0001_ct0002.content_label",
|
||||||
"empty_behavior": "hide",
|
"empty_behavior": "hide",
|
||||||
"visibility": "hide"
|
"visibility": "show",
|
||||||
|
"display_order": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"attribute_key": "m0001_ct0002.link.type",
|
"attribute_key": "m0001_ct0002.point_codes",
|
||||||
"empty_behavior": "hide",
|
"empty_behavior": "hide",
|
||||||
"visibility": "hide"
|
"visibility": "show",
|
||||||
},
|
"display_order": 1
|
||||||
{
|
|
||||||
"attribute_key": "m0001_ct0002.link.label",
|
|
||||||
"empty_behavior": "hide",
|
|
||||||
"visibility": "hide"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"attribute_key": "m0001_ct0002.link.target",
|
|
||||||
"empty_behavior": "hide",
|
|
||||||
"visibility": "hide"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"attribute_key": "m0001_ct0002.link.target.module_code",
|
|
||||||
"empty_behavior": "hide",
|
|
||||||
"visibility": "hide"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"attribute_key": "m0001_ct0002.link.target.template_code",
|
|
||||||
"empty_behavior": "hide",
|
|
||||||
"visibility": "hide"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"attribute_key": "m0001_ct0002.link.target.source_code",
|
|
||||||
"empty_behavior": "hide",
|
|
||||||
"visibility": "hide"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"attribute_key": "m0001_ct0002.link.target.source_key",
|
|
||||||
"empty_behavior": "hide",
|
|
||||||
"visibility": "hide"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"attribute_key": "m0001_ct0002.link.target.content_id",
|
|
||||||
"empty_behavior": "hide",
|
|
||||||
"visibility": "hide"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
|
@ -297,24 +177,6 @@
|
||||||
"contains"
|
"contains"
|
||||||
],
|
],
|
||||||
"renderer_hint": "text"
|
"renderer_hint": "text"
|
||||||
},
|
|
||||||
{
|
|
||||||
"attribute_key": "m0001_ct0002.alt_name_1",
|
|
||||||
"label": "Alternative Name",
|
|
||||||
"operators": [
|
|
||||||
"starts_with",
|
|
||||||
"contains"
|
|
||||||
],
|
|
||||||
"renderer_hint": "text"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"attribute_key": "m0001_ct0002.alt_name_2",
|
|
||||||
"label": "English Name",
|
|
||||||
"operators": [
|
|
||||||
"starts_with",
|
|
||||||
"contains"
|
|
||||||
],
|
|
||||||
"renderer_hint": "text"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"sort_fields": [
|
"sort_fields": [
|
||||||
|
|
@ -329,10 +191,6 @@
|
||||||
{
|
{
|
||||||
"field": "name",
|
"field": "name",
|
||||||
"label": "Point Name"
|
"label": "Point Name"
|
||||||
},
|
|
||||||
{
|
|
||||||
"field": "alt_name_1",
|
|
||||||
"label": "Alternative Name"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"default_sort": [
|
"default_sort": [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue