{ "name": "nutrition_food_content", "code": "M0031_CT0002", "description": "", "content_kind": "nutrition", "attribute_prefix_code": "M0031_CT0002", "attribute_prefix_name": "nutrition_food", "attribute_defs": [ { "name": "Source ID", "code": "source_id", "data_type": "text", "default": "", "definition_kind": "scalar", "is_multivalue": false }, { "name": "Code", "code": "code", "data_type": "text", "default": "", "definition_kind": "scalar", "is_multivalue": false, "is_required": true, "is_filterable": true, "is_searchable": true }, { "name": "Food Name", "code": "food_name", "data_type": "text", "default": "", "definition_kind": "scalar", "is_multivalue": false, "is_required": true, "is_searchable": true }, { "name": "Category", "code": "category", "data_type": "text", "default": "", "definition_kind": "scalar", "is_multivalue": false, "is_filterable": true, "is_searchable": true }, { "name": "Temperature", "code": "temperature", "data_type": "text", "default": "", "definition_kind": "scalar", "is_multivalue": false, "is_filterable": true, "is_searchable": true }, { "name": "Acidity", "code": "acidity", "data_type": "text", "default": "", "definition_kind": "scalar", "is_multivalue": false, "is_filterable": true, "is_searchable": true }, { "name": "Taste", "code": "taste", "data_type": "text", "default": [], "definition_kind": "scalar", "is_multivalue": true, "multivalue": true, "is_filterable": true, "is_searchable": true }, { "name": "Channel", "code": "channel", "data_type": "text", "default": [], "definition_kind": "scalar", "is_multivalue": true, "multivalue": true, "is_filterable": true, "is_searchable": true }, { "name": "Direction", "code": "direction", "data_type": "text", "default": "", "definition_kind": "scalar", "is_multivalue": false, "is_searchable": true }, { "name": "Other", "code": "other", "data_type": "text", "default": "", "definition_kind": "scalar", "is_multivalue": false, "is_searchable": true }, { "name": "Source (for internal ref. only)", "code": "source_internal_ref", "data_type": "text", "default": "", "definition_kind": "scalar", "is_multivalue": false }, { "name": "Effects", "code": "effects", "data_type": "text", "default": [], "definition_kind": "scalar", "is_multivalue": true, "multivalue": true, "is_filterable": true, "is_searchable": true }, { "name": "Sort Order", "code": "sort_order", "data_type": "number", "default": 0, "definition_kind": "scalar", "is_multivalue": false } ], "presentation_contracts": [ { "client_type": "mobile", "version_no": 1, "is_active": true, "mode": "collection", "renderers": { "collection": "nutrition_food_collection", "collection_item": "nutrition_food_card", "detail": "nutrition_food_detail" }, "link": { "renderer": "content_link" }, "attributes": [ { "attribute_key": "M0031_CT0002.source_id", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0031_CT0002.code", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0031_CT0002.food_name", "empty_behavior": "hide", "visibility": "show", "display_order": 0 }, { "attribute_key": "M0031_CT0002.category", "empty_behavior": "hide", "visibility": "show", "display_order": 1 }, { "attribute_key": "M0031_CT0002.temperature", "empty_behavior": "hide", "visibility": "show", "display_order": 2 }, { "attribute_key": "M0031_CT0002.acidity", "empty_behavior": "hide", "visibility": "show", "display_order": 3 }, { "attribute_key": "M0031_CT0002.taste", "empty_behavior": "hide", "visibility": "show", "display_order": 4 }, { "attribute_key": "M0031_CT0002.channel", "empty_behavior": "hide", "visibility": "show", "display_order": 5 }, { "attribute_key": "M0031_CT0002.direction", "empty_behavior": "hide", "visibility": "show", "display_order": 6 }, { "attribute_key": "M0031_CT0002.other", "empty_behavior": "hide", "visibility": "show", "display_order": 7 }, { "attribute_key": "M0031_CT0002.source_internal_ref", "empty_behavior": "hide", "visibility": "hide" }, { "attribute_key": "M0031_CT0002.effects", "empty_behavior": "hide", "visibility": "show", "display_order": 8 }, { "attribute_key": "M0031_CT0002.sort_order", "empty_behavior": "hide", "visibility": "hide" } ], "metadata": { "content_ref_contract_version": "1.0", "authoring_identity": "source_code", "navigation_identity": "content_id" } } ] }