Merge pull request 'feat(m0016): update four levels overview and structure' (#4) from four-levels into main
Reviewed-on: https://10.10.0.4/AcuPedia/acupedia-content/pulls/4 Reviewed-by: Amit Salunke <amit@noreply.localhost>
This commit is contained in:
commit
91b21392ef
|
|
@ -1,20 +1,180 @@
|
|||
{
|
||||
"contents": [
|
||||
{
|
||||
"name": "The Four Levels",
|
||||
"code": "the_four_levels",
|
||||
"defensive_qi_level_wei": {
|
||||
"description": "The Defensive Qi level is the beginning stage of invasions of Wind-Heat. It is the only exterior level and comprises four patterns according to the pathogenic factor: Wind-Heat, Summer-Heat, Damp-Heat and Dry-Heat. Of these four, Wind-Heat is by far the most common."
|
||||
},
|
||||
"qi_level_qi": {
|
||||
"description": "The Qi level is interior. The pathogenic factor has penetrated into the Interior and transformed into Heat. It is the most superficial of the three interior levels. It is characterized by Full Interior Heat with symptoms such as fever, thirst, feeling of heat, mental restlessness, red tongue with thick yellow coating and a rapid-full pulse. Five patterns belong to this level: Lung-Heat, Stomach-Heat, Intestines Dry-Heat, Gall Bladder-Heat and Damp-Heat in Stomach and Spleen."
|
||||
},
|
||||
"nutritive_qi_level_ying": {
|
||||
"description": "At the Nutritive Qi level, Heat has penetrated to a deeper energetic layer and begun to injure Yin. Heat obstructs the Mind and Pericardium, causing delirium and even coma. Fever at night is a distinctive sign. The tongue is Deep-Red without coating. Two patterns belong to this level: Heat in Nutritive Qi level and Heat in the Pericardium."
|
||||
},
|
||||
"blood_level_xue": {
|
||||
"description": "The Blood level is the deepest energetic layer with Heat affecting the Blood. Main features include Yin deficiency, bleeding, delirium or coma, macules from bleeding under the skin, internal Wind causing convulsions and tremors, and possible collapse of Yin or Yang. Five patterns belong to this level: Heat victorious moving Blood, Heat victorious stirring Wind, Empty-Wind agitating in the Interior, Collapse of Yin and Collapse of Yang."
|
||||
}
|
||||
"name": "Defensive Qi Level (Wei)",
|
||||
"code": "defensive_qi_level",
|
||||
"sort_order": 0,
|
||||
"overview": "The Defensive Qi level is the beginning stage of invasions of Wind-Heat. It is the only exterior level and comprises four patterns according to the pathogenic factor: Wind-Heat, Summer-Heat, Damp-Heat and Dry-Heat. Of these four, Wind-Heat is by far the most common.",
|
||||
"patterns": [
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Wind-Heat Invading Defensive Qi Level",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "wind_heat_invading_defensive_qi_level"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Wind-Cold Invading Defensive Qi Level",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "wind_cold_invading_defensive_qi_level"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Summer-Heat Invading Defensive Qi Level",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "summer_heat_invading_defensive_qi_level"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Damp-Heat invading Defensive Qi Level",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "damp_heat_invading_defensive_qi_level"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Qi Level (Qi)",
|
||||
"code": "qi_level",
|
||||
"sort_order": 1,
|
||||
"overview": "The Qi level is interior. The pathogenic factor has penetrated into the Interior and transformed into Heat. It is the most superficial of the three interior levels. It is characterized by Full Interior Heat with symptoms such as fever, thirst, feeling of heat, mental restlessness, red tongue with thick yellow coating and a rapid-full pulse. Five patterns belong to this level: Lung-Heat, Stomach-Heat, Intestines Dry-Heat, Gall Bladder-Heat and Damp-Heat in Stomach and Spleen.",
|
||||
"patterns": [
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Lung Heat (Heat Accumulating in the Lung)",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "lung_heat_heat_accumulating_in_the_lung"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Stomach Heat (Heat Accumulating in the Stomach)",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "stomach_heat_heat_accumulating_in_the_stomach"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Intestine Dry-Heat (Heat in Yangming Intestines)",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "intestine_dry_heat_heat_in_yangming_intestines"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Gallbladder Heat",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "gallbladder_heat"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Damp-Heat in Stomach and Spleen",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "damp_heat_in_stomach_and_spleen"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Nutritive Qi Level (Ying)",
|
||||
"code": "nutritive_qi_level",
|
||||
"sort_order": 2,
|
||||
"overview": "At the Nutritive Qi level, Heat has penetrated to a deeper energetic layer and begun to injure Yin. Heat obstructs the Mind and Pericardium, causing delirium and even coma. Fever at night is a distinctive sign. The tongue is Deep-Red without coating. Two patterns belong to this level: Heat in Nutritive Qi level and Heat in the Pericardium.",
|
||||
"patterns": [
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Heat in Nutritive Qi Level",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "heat_in_nutritive_qi_level"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Heat in the Pericardium (Ying level with Shen disturbance)",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "heat_in_the_pericardium_ying_level_with_shen_disturbance"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Blood Level (Xue)",
|
||||
"code": "blood_level",
|
||||
"sort_order": 3,
|
||||
"overview": "The Blood level is the deepest energetic layer with Heat affecting the Blood. Main features include Yin deficiency, bleeding, delirium or coma, macules from bleeding under the skin, internal Wind causing convulsions and tremors, and possible collapse of Yin or Yang. Five patterns belong to this level: Heat victorious moving Blood, Heat victorious stirring Wind, Empty-Wind agitating in the Interior, Collapse of Yin and Collapse of Yang.",
|
||||
"patterns": [
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Heat Victorious Agitating the Blood",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "heat_victorious_agitating_the_blood"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Heat Victorious Stirring Wind",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "heat_victorious_stirring_wind"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Empty Wind Stirring Internally",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "empty_wind_stirring_internally"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Collapse of Yin",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "collapse_of_yin"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "content_ref",
|
||||
"label": "Collapse of Yang",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002",
|
||||
"source_code": "collapse_of_yang"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,34 +1,68 @@
|
|||
{
|
||||
"contents": [
|
||||
{
|
||||
"name": "The Four Levels",
|
||||
"name": "Defensive Qi Level (Wei)",
|
||||
"sort_order": 0,
|
||||
"content_count": 1,
|
||||
"content_label": "content",
|
||||
"content_count": 4,
|
||||
"content_label": "patterns",
|
||||
"code": "defensive_qi_level",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"label": "The Four Levels",
|
||||
"type": "content_ref",
|
||||
"label": "Defensive Qi Level (Wei)",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0003"
|
||||
"template_code": "m0016_ct0003",
|
||||
"source_code": "defensive_qi_level"
|
||||
}
|
||||
},
|
||||
"code": "the_four_levels"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Four Levels Patterns",
|
||||
"name": "Qi Level (Qi)",
|
||||
"sort_order": 1,
|
||||
"content_count": 16,
|
||||
"content_count": 5,
|
||||
"content_label": "patterns",
|
||||
"code": "qi_level",
|
||||
"link": {
|
||||
"type": "template_ref",
|
||||
"label": "Four Levels Patterns",
|
||||
"type": "content_ref",
|
||||
"label": "Qi Level (Qi)",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0002"
|
||||
"template_code": "m0016_ct0003",
|
||||
"source_code": "qi_level"
|
||||
}
|
||||
},
|
||||
"code": "four_levels_patterns"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Nutritive Qi Level (Ying)",
|
||||
"sort_order": 2,
|
||||
"content_count": 2,
|
||||
"content_label": "patterns",
|
||||
"code": "nutritive_qi_level",
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Nutritive Qi Level (Ying)",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0003",
|
||||
"source_code": "nutritive_qi_level"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blood Level (Xue)",
|
||||
"sort_order": 3,
|
||||
"content_count": 5,
|
||||
"content_label": "patterns",
|
||||
"code": "blood_level",
|
||||
"link": {
|
||||
"type": "content_ref",
|
||||
"label": "Blood Level (Xue)",
|
||||
"target": {
|
||||
"module_code": "m0016",
|
||||
"template_code": "m0016_ct0003",
|
||||
"source_code": "blood_level"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
"mappings": [
|
||||
{
|
||||
"template_code": "m0016_ct0001",
|
||||
"attribute_key": "m0016_ct0001.the_four_levels",
|
||||
"attribute_key": "m0016_ct0001.name",
|
||||
"content_kind": "pattern",
|
||||
"mapping_strategy": "multivalue"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,59 +1,23 @@
|
|||
{
|
||||
"name": "points_content",
|
||||
"description": "",
|
||||
"name": "four_levels_content",
|
||||
"description": "List all Four Levels content types",
|
||||
"code": "m0016_ct0001",
|
||||
"content_kind": "pattern",
|
||||
"attribute_prefix_code": "m0016_ct0001",
|
||||
"attribute_prefix_name": "four-lavels",
|
||||
"attribute_prefix_name": "four_levels_content",
|
||||
"attribute_defs": [
|
||||
{
|
||||
"name": "Title",
|
||||
"code": "title",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "description",
|
||||
"code": "description",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "defensive_qi_level",
|
||||
"code": "defensive_qi_level",
|
||||
"data_type": "json",
|
||||
"default": {}
|
||||
},
|
||||
{
|
||||
"name": "qi_level",
|
||||
"code": "qi_level",
|
||||
"data_type": "json",
|
||||
"default": {}
|
||||
},
|
||||
{
|
||||
"name": "nutritive_qi_level",
|
||||
"code": "nutritive_qi_level",
|
||||
"data_type": "json",
|
||||
"default": {}
|
||||
},
|
||||
{
|
||||
"name": "blood_level",
|
||||
"code": "blood_level",
|
||||
"data_type": "json",
|
||||
"default": {}
|
||||
},
|
||||
{
|
||||
"name": "the_four_levels",
|
||||
"code": "the_four_levels",
|
||||
"data_type": "json",
|
||||
"default": {}
|
||||
},
|
||||
{
|
||||
"name": "Name",
|
||||
"code": "name",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Code",
|
||||
"code": "code",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Sort Order",
|
||||
"code": "sort_order",
|
||||
|
|
@ -61,7 +25,7 @@
|
|||
"default": 0
|
||||
},
|
||||
{
|
||||
"name": "Content",
|
||||
"name": "Count",
|
||||
"code": "content_count",
|
||||
"data_type": "number",
|
||||
"default": 0
|
||||
|
|
@ -87,7 +51,7 @@
|
|||
"data_type": "text",
|
||||
"definition_kind": "scalar",
|
||||
"is_required": true,
|
||||
"default": "template_ref",
|
||||
"default": "content_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
|
|
@ -207,7 +171,7 @@
|
|||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"default_reference_type": "content_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
|
|
@ -244,9 +208,11 @@
|
|||
],
|
||||
"metadata": {
|
||||
"presentation": {
|
||||
"mode": "single",
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"detail": "four_levels_detail"
|
||||
"collection": "four_levels_collection",
|
||||
"collection_item": "four_levels_card",
|
||||
"detail": "module_catalog_detail"
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
|
|
@ -254,40 +220,36 @@
|
|||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.title",
|
||||
"label": "Title",
|
||||
"attribute_key": "m0016_ct0001.name",
|
||||
"label": "Name",
|
||||
"operators": [
|
||||
"contains",
|
||||
"starts_with",
|
||||
"eq"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.description",
|
||||
"label": "Description",
|
||||
"operators": [
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "title",
|
||||
"label": "Title"
|
||||
"field": "sort_order",
|
||||
"label": "Sort Order"
|
||||
},
|
||||
{
|
||||
"field": "name",
|
||||
"label": "Name"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "title",
|
||||
"field": "sort_order",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
},
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "template_ref",
|
||||
"default_reference_type": "content_ref",
|
||||
"allowed_reference_types": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
|
|
@ -318,8 +280,8 @@
|
|||
"is_active": true,
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"collection": "module_catalog_collection",
|
||||
"collection_item": "module_catalog_card",
|
||||
"collection": "four_levels_collection",
|
||||
"collection_item": "four_levels_card",
|
||||
"detail": "module_catalog_detail"
|
||||
},
|
||||
"link": {
|
||||
|
|
@ -327,47 +289,33 @@
|
|||
},
|
||||
"attributes": [
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.title",
|
||||
"attribute_key": "m0016_ct0001.name",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 10
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.description",
|
||||
"attribute_key": "m0016_ct0001.code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.content_count",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 20
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.defensive_qi_level",
|
||||
"attribute_key": "m0016_ct0001.content_label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 30
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.qi_level",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 40
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.nutritive_qi_level",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 50
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.blood_level",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 60
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.the_four_levels",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 70
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0001.link",
|
||||
"empty_behavior": "hide",
|
||||
|
|
@ -423,7 +371,7 @@
|
|||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref"
|
||||
"default_reference_type": "content_ref"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "four_levels_introduction",
|
||||
"description": "Introduction to the Four Levels",
|
||||
"description": "Introduction and pattern groupings for the Four Levels",
|
||||
"code": "m0016_ct0003",
|
||||
"content_kind": "pattern",
|
||||
"attribute_prefix_code": "m0016_ct0003",
|
||||
|
|
@ -19,28 +19,22 @@
|
|||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Defensive Qi Level (Wei)",
|
||||
"code": "defensive_qi_level_wei",
|
||||
"data_type": "json",
|
||||
"default": {}
|
||||
"name": "Sort Order",
|
||||
"code": "sort_order",
|
||||
"data_type": "number",
|
||||
"default": 0
|
||||
},
|
||||
{
|
||||
"name": "Qi Level (Qi)",
|
||||
"code": "qi_level_qi",
|
||||
"data_type": "json",
|
||||
"default": {}
|
||||
"name": "Overview",
|
||||
"code": "overview",
|
||||
"data_type": "text",
|
||||
"default": ""
|
||||
},
|
||||
{
|
||||
"name": "Nutritive Qi Level (Ying)",
|
||||
"code": "nutritive_qi_level_ying",
|
||||
"name": "Patterns",
|
||||
"code": "patterns",
|
||||
"data_type": "json",
|
||||
"default": {}
|
||||
},
|
||||
{
|
||||
"name": "Blood Level (Xue)",
|
||||
"code": "blood_level_xue",
|
||||
"data_type": "json",
|
||||
"default": {}
|
||||
"default": []
|
||||
},
|
||||
{
|
||||
"name": "Content Link",
|
||||
|
|
@ -57,7 +51,7 @@
|
|||
"data_type": "text",
|
||||
"definition_kind": "scalar",
|
||||
"is_required": true,
|
||||
"default": "template_ref",
|
||||
"default": "content_ref",
|
||||
"allowed_values": [
|
||||
"template_ref",
|
||||
"content_ref"
|
||||
|
|
@ -177,7 +171,7 @@
|
|||
"template_ref",
|
||||
"content_ref"
|
||||
],
|
||||
"default_reference_type": "template_ref",
|
||||
"default_reference_type": "content_ref",
|
||||
"contracts": {
|
||||
"template_ref": {
|
||||
"purpose": "Navigate from the module root/index to another template collection.",
|
||||
|
|
@ -212,14 +206,91 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
"presentation": {
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"detail": "pattern_detail",
|
||||
"collection": "four_levels_collection",
|
||||
"collection_item": "four_levels_card"
|
||||
}
|
||||
},
|
||||
"search": {
|
||||
"free_text_enabled": true,
|
||||
"default_logic": "and",
|
||||
"fields": [
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.name",
|
||||
"label": "Name",
|
||||
"operators": [
|
||||
"contains",
|
||||
"starts_with",
|
||||
"eq"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.overview",
|
||||
"label": "Overview",
|
||||
"operators": [
|
||||
"contains"
|
||||
],
|
||||
"renderer_hint": "text"
|
||||
}
|
||||
],
|
||||
"sort_fields": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"label": "Sort Order"
|
||||
},
|
||||
{
|
||||
"field": "name",
|
||||
"label": "Name"
|
||||
}
|
||||
],
|
||||
"default_sort": [
|
||||
{
|
||||
"field": "sort_order",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
},
|
||||
"navigation_reference_policy": {
|
||||
"contract_version": "1.0",
|
||||
"default_reference_type": "content_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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"presentation_contracts": [
|
||||
{
|
||||
"client_type": "mobile",
|
||||
"version_no": 1,
|
||||
"is_active": true,
|
||||
"mode": "single",
|
||||
"mode": "collection",
|
||||
"renderers": {
|
||||
"detail": "pattern_detail"
|
||||
"detail": "pattern_detail",
|
||||
"collection": "four_levels_collection",
|
||||
"collection_item": "four_levels_card"
|
||||
},
|
||||
"link": {
|
||||
"renderer": "content_link"
|
||||
|
|
@ -237,35 +308,79 @@
|
|||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.defensive_qi_level_wei",
|
||||
"attribute_key": "m0016_ct0003.sort_order",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.overview",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 20
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.patterns",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 30
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.qi_level_qi",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 40
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.nutritive_qi_level_ying",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 50
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.blood_level_xue",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "show",
|
||||
"display_order": 60
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.link",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.link.type",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.link.label",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.link.target",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.link.target.module_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.link.target.template_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.link.target.source_code",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_ct0003.link.target.source_key",
|
||||
"empty_behavior": "hide",
|
||||
"visibility": "hide"
|
||||
},
|
||||
{
|
||||
"attribute_key": "m0016_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": "content_ref"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue