From f49fabce24e77d956d5c277cb2aa0f40d8ec3453 Mon Sep 17 00:00:00 2001 From: M123-dev Date: Mon, 5 Aug 2024 19:00:41 +0000 Subject: [PATCH] Update assets --- .../onboarding/sample_product_data.json | 650 ++++++++++-------- 1 file changed, 378 insertions(+), 272 deletions(-) diff --git a/packages/smooth_app/assets/onboarding/sample_product_data.json b/packages/smooth_app/assets/onboarding/sample_product_data.json index 8da40ee7319..7f49ff8087a 100644 --- a/packages/smooth_app/assets/onboarding/sample_product_data.json +++ b/packages/smooth_app/assets/onboarding/sample_product_data.json @@ -7,15 +7,15 @@ "attributes" : [ { "description" : "", - "description_short" : "Very good nutritional quality", - "grade" : "a", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nutriscore-a-new-en.svg", + "description_short" : "Average nutritional quality", + "grade" : "c", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nutriscore-c-new-en.svg", "id" : "nutriscore", - "match" : 81, + "match" : 53.6666666666667, "name" : "Nutri-Score", "panel_id" : "nutriscore_2023", "status" : "known", - "title" : "Nutri-Score A" + "title" : "Nutri-Score C" }, { "description_short" : "0.4 g / 100 g", @@ -248,15 +248,15 @@ "attributes" : [ { "description" : "", - "description_short" : "Processed foods", - "grade" : "b", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nova-group-3.svg", + "description_short" : "Processed culinary ingredients", + "grade" : "a", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nova-group-2.svg", "id" : "nova", - "match" : 75, + "match" : 100, "name" : "NOVA group", "panel_id" : "nova", "status" : "known", - "title" : "NOVA 3" + "title" : "NOVA 2" }, { "grade" : "a", @@ -276,15 +276,15 @@ "attributes" : [ { "description" : "", - "description_short" : "Very low environmental impact", - "grade" : "a", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-a.svg", + "description_short" : "Moderate environmental impact", + "grade" : "c", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-c.svg", "id" : "ecoscore", - "match" : 100, + "match" : 58, "name" : "Eco-Score", "panel_id" : "ecoscore", "status" : "known", - "title" : "Eco-Score A" + "title" : "Eco-Score C" }, { "description" : "", @@ -330,14 +330,16 @@ "name" : "Labels" } ], - "brands" : "Open Food Facts", + "brands" : "zoahary Baobab", "categories_tags_fr" : [ - "Aliments et boissons à base de végétaux", - "Aliments d'origine végétale", - "Aliments à base de fruits et de légumes", - "Plats préparés", - "Soupes", - "Soupes de légumes" + "Produits laitiers", + "Matières grasses", + "Produits à tartiner", + "Matières grasses à tartiner", + "Matières grasses animales", + "Matière grasse laitière", + "Produits laitiers à tartiner", + "Beurres" ], "code" : "093270067481501", "ecoscore_data" : { @@ -588,94 +590,94 @@ "threatened_species" : {} }, "agribalyse" : { - "agribalyse_proxy_food_code" : "25903", - "co2_agriculture" : 0.10371296, - "co2_consumption" : 0.011022624, - "co2_distribution" : 0.01567597, - "co2_packaging" : 0.09985047, - "co2_processing" : 0.14982524, - "co2_total" : 0.510081444, - "co2_transportation" : 0.12999418, - "code" : "25903", - "dqr" : "2.42", - "ef_agriculture" : 0.023583571, - "ef_consumption" : 0.0040337776, - "ef_distribution" : 0.0044793367, - "ef_packaging" : 0.0099157882, - "ef_processing" : 0.029435401, - "ef_total" : 0.0817923135, - "ef_transportation" : 0.010344439, + "agribalyse_proxy_food_code" : "16400", + "co2_agriculture" : 7.2846168, + "co2_consumption" : 0.0066736979, + "co2_distribution" : 0.03946786, + "co2_packaging" : 0.18031662, + "co2_processing" : 0.049715694, + "co2_total" : 7.7925481019, + "co2_transportation" : 0.23175743, + "code" : "16400", + "dqr" : "2.69", + "ef_agriculture" : 0.6702567, + "ef_consumption" : 0.002442269, + "ef_distribution" : 0.0097746943, + "ef_packaging" : 0.01501622, + "ef_processing" : 0.017908938, + "ef_total" : 0.7344066763, + "ef_transportation" : 0.019007855, "is_beverage" : 0, - "name_en" : "Soup, mixed vegetables, prepacked, to be reheated", - "name_fr" : "Soupe aux légumes variés, préemballée à réchauffer", - "score" : 98, + "name_en" : "Butter, 82% fat, unsalted", + "name_fr" : "Beurre à 82% MG, doux", + "score" : 40, "version" : "3.1.1" }, - "grade" : "a", + "grade" : "c", "grades" : { - "ad" : "a", - "al" : "a", - "at" : "a", - "ax" : "a", - "ba" : "a", - "be" : "a", - "bg" : "a", - "ch" : "a", - "cy" : "a", - "cz" : "a", - "de" : "a", - "dk" : "a", - "dz" : "a", - "ee" : "a", - "eg" : "a", - "es" : "a", - "fi" : "a", - "fo" : "a", - "fr" : "a", - "gg" : "a", - "gi" : "a", - "gr" : "a", - "hr" : "a", - "hu" : "a", - "ie" : "a", - "il" : "a", - "im" : "a", - "is" : "a", - "it" : "a", - "je" : "a", - "lb" : "a", - "li" : "a", - "lt" : "a", - "lu" : "a", - "lv" : "a", - "ly" : "a", - "ma" : "a", - "mc" : "a", - "md" : "a", - "me" : "a", - "mk" : "a", - "mt" : "a", - "nl" : "a", - "no" : "a", - "pl" : "a", - "ps" : "a", - "pt" : "a", - "ro" : "a", - "rs" : "a", - "se" : "a", - "si" : "a", - "sj" : "a", - "sk" : "a", - "sm" : "a", - "sy" : "a", - "tn" : "a", - "tr" : "a", - "ua" : "a", - "uk" : "a", - "us" : "a", - "va" : "a", - "world" : "a", - "xk" : "a" + "ad" : "b", + "al" : "c", + "at" : "b", + "ax" : "b", + "ba" : "c", + "be" : "b", + "bg" : "b", + "ch" : "b", + "cy" : "b", + "cz" : "b", + "de" : "b", + "dk" : "b", + "dz" : "b", + "ee" : "b", + "eg" : "b", + "es" : "b", + "fi" : "b", + "fo" : "b", + "fr" : "b", + "gg" : "b", + "gi" : "c", + "gr" : "b", + "hr" : "b", + "hu" : "b", + "ie" : "b", + "il" : "b", + "im" : "b", + "is" : "b", + "it" : "b", + "je" : "b", + "lb" : "b", + "li" : "b", + "lt" : "b", + "lu" : "b", + "lv" : "b", + "ly" : "b", + "ma" : "b", + "mc" : "b", + "md" : "b", + "me" : "b", + "mk" : "b", + "mt" : "b", + "nl" : "b", + "no" : "b", + "pl" : "b", + "ps" : "b", + "pt" : "c", + "ro" : "b", + "rs" : "c", + "se" : "c", + "si" : "b", + "sj" : "b", + "sk" : "b", + "sm" : "b", + "sy" : "b", + "tn" : "c", + "tr" : "c", + "ua" : "b", + "uk" : "b", + "us" : "c", + "va" : "b", + "world" : "c", + "xk" : "b" }, "previous_data" : { "agribalyse" : { @@ -704,76 +706,76 @@ "grade" : "a", "score" : 122 }, - "score" : 115, + "score" : 57, "scores" : { - "ad" : 123, - "al" : 115, - "at" : 121, - "ax" : 123, - "ba" : 117, - "be" : 123, - "bg" : 118, - "ch" : 123, - "cy" : 121, - "cz" : 122, - "de" : 123, - "dk" : 121, - "dz" : 122, - "ee" : 123, - "eg" : 120, - "es" : 121, - "fi" : 123, - "fo" : 123, - "fr" : 123, - "gg" : 123, - "gi" : 116, - "gr" : 122, - "hr" : 120, - "hu" : 119, - "ie" : 122, - "il" : 120, - "im" : 123, - "is" : 123, - "it" : 122, - "je" : 123, - "lb" : 121, - "li" : 123, - "lt" : 123, - "lu" : 123, - "lv" : 123, - "ly" : 123, - "ma" : 123, - "mc" : 123, - "md" : 119, - "me" : 121, - "mk" : 119, - "mt" : 123, - "nl" : 123, - "no" : 118, - "pl" : 119, - "ps" : 121, - "pt" : 117, - "ro" : 120, - "rs" : 116, - "se" : 117, - "si" : 121, - "sj" : 123, - "sk" : 119, - "sm" : 121, - "sy" : 119, - "tn" : 116, - "tr" : 116, - "ua" : 121, - "uk" : 123, - "us" : 115, - "va" : 119, - "world" : 115, - "xk" : 119 + "ad" : 65, + "al" : 57, + "at" : 63, + "ax" : 65, + "ba" : 59, + "be" : 65, + "bg" : 60, + "ch" : 65, + "cy" : 63, + "cz" : 64, + "de" : 65, + "dk" : 63, + "dz" : 64, + "ee" : 65, + "eg" : 62, + "es" : 63, + "fi" : 65, + "fo" : 65, + "fr" : 65, + "gg" : 65, + "gi" : 58, + "gr" : 64, + "hr" : 62, + "hu" : 61, + "ie" : 64, + "il" : 62, + "im" : 65, + "is" : 65, + "it" : 64, + "je" : 65, + "lb" : 63, + "li" : 65, + "lt" : 65, + "lu" : 65, + "lv" : 65, + "ly" : 65, + "ma" : 65, + "mc" : 65, + "md" : 61, + "me" : 63, + "mk" : 61, + "mt" : 65, + "nl" : 65, + "no" : 60, + "pl" : 61, + "ps" : 63, + "pt" : 59, + "ro" : 62, + "rs" : 58, + "se" : 59, + "si" : 63, + "sj" : 65, + "sk" : 61, + "sm" : 63, + "sy" : 61, + "tn" : 58, + "tr" : 58, + "ua" : 63, + "uk" : 65, + "us" : 57, + "va" : 61, + "world" : 57, + "xk" : 61 }, "status" : "known" }, - "ecoscore_grade" : "a", - "ecoscore_score" : 115, + "ecoscore_grade" : "c", + "ecoscore_score" : 57, "environment_impact_level_tags" : [], "ingredients_analysis_tags" : [ "en:palm-oil-free", @@ -786,7 +788,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\n

The carbon emission figure comes from ADEME's Agribalyse database, for the category: \n Soup, mixed vegetables, prepacked, to be reheated\n (Source: ADEME Agribalyse Database)\n

\n ", + "html" : "\n

The carbon emission figure comes from ADEME's Agribalyse database, for the category: \n Butter, 82% fat, unsalted\n (Source: ADEME Agribalyse Database)\n

\n ", "type" : "summary" } }, @@ -813,8 +815,8 @@ "text" : "Agriculture" }, { - "percent" : 20.3326275087945, - "text" : "20.3 %" + "percent" : 93.4818329606954, + "text" : "93.5 %" } ] }, @@ -826,8 +828,8 @@ "text" : "Processing" }, { - "percent" : 29.3728073746592, - "text" : "29.4 %" + "percent" : 0.637990210004327, + "text" : "0.6 %" } ] }, @@ -839,8 +841,8 @@ "text" : "Packaging" }, { - "percent" : 19.5753974535878, - "text" : "19.6 %" + "percent" : 2.31396223214887, + "text" : "2.3 %" } ] }, @@ -852,8 +854,8 @@ "text" : "Transportation" }, { - "percent" : 25.484985099752, - "text" : "25.5 %" + "percent" : 2.97409046398433, + "text" : "3.0 %" } ] }, @@ -865,8 +867,8 @@ "text" : "Distribution" }, { - "percent" : 3.0732288312766, - "text" : "3.1 %" + "percent" : 0.506482083702208, + "text" : "0.5 %" } ] }, @@ -878,8 +880,8 @@ "text" : "Consumption" }, { - "percent" : 2.16095373192992, - "text" : "2.2 %" + "percent" : 0.0856420494648317, + "text" : "0.1 %" } ] } @@ -889,14 +891,14 @@ } } ], - "evaluation" : "good", + "evaluation" : "bad", "expanded" : false, "level" : "info", "title_element" : { "icon_color_from_evaluation" : true, "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/car.svg", - "subtitle" : "51 g CO² per 100g of product", - "title" : "Equal to driving 0.3 km in a petrol car" + "subtitle" : "779 g CO² per 100g of product", + "title" : "Equal to driving 4.0 km in a petrol car" }, "topics" : [ "environment" @@ -956,9 +958,9 @@ ], "level" : "info", "title_element" : { - "grade" : "a", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-a.svg", - "title" : "Eco-Score A - Very low environmental impact", + "grade" : "c", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-c.svg", + "title" : "Eco-Score C - Moderate environmental impact", "type" : "grade" }, "topics" : [ @@ -970,7 +972,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\n

Category: \n Soup, mixed vegetables, prepacked, to be reheated\n

\n \n ", + "html" : "\n

Category: \n Butter, 82% fat, unsalted\n

\n \n ", "type" : "summary" } }, @@ -997,8 +999,8 @@ "text" : "Agriculture" }, { - "percent" : 28.8334807891208, - "text" : "28.8 %" + "percent" : 91.2650608484126, + "text" : "91.3 %" } ] }, @@ -1010,8 +1012,8 @@ "text" : "Processing" }, { - "percent" : 35.987979481715, - "text" : "36.0 %" + "percent" : 2.43855871384866, + "text" : "2.4 %" } ] }, @@ -1023,8 +1025,8 @@ "text" : "Packaging" }, { - "percent" : 12.1231296385815, - "text" : "12.1 %" + "percent" : 2.04467367802985, + "text" : "2.0 %" } ] }, @@ -1036,8 +1038,8 @@ "text" : "Transportation" }, { - "percent" : 12.6472018669578, - "text" : "12.6 %" + "percent" : 2.58819202131483, + "text" : "2.6 %" } ] }, @@ -1049,8 +1051,8 @@ "text" : "Distribution" }, { - "percent" : 5.47647634395376, - "text" : "5.5 %" + "percent" : 1.33096479313692, + "text" : "1.3 %" } ] }, @@ -1062,8 +1064,8 @@ "text" : "Consumption" }, { - "percent" : 4.93173187967106, - "text" : "4.9 %" + "percent" : 0.332549945257081, + "text" : "0.3 %" } ] } @@ -1075,12 +1077,12 @@ ], "level" : "info", "title_element" : { - "grade" : "a", + "grade" : "c", "icon_color_from_evaluation" : true, "icon_size" : "small", "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/lca.svg", - "subtitle" : "Category: Soup, mixed vegetables, prepacked, to be reheated", - "title" : "Average impact of products of the same category: A (Score: 98/100)", + "subtitle" : "Category: Butter, 82% fat, unsalted", + "title" : "Average impact of products of the same category: C (Score: 40/100)", "type" : "grade" }, "topics" : [ @@ -1268,17 +1270,17 @@ { "element_type" : "text", "text_element" : { - "html" : "\n Life cycle analysis score: 98
\n Sum of bonuses and maluses:\n \n +17\n

\n Final score: 115/100\n \n ", + "html" : "\n Life cycle analysis score: 40
\n Sum of bonuses and maluses:\n \n +17\n

\n Final score: 57/100\n \n ", "type" : "summary" } } ], "level" : "info", "title_element" : { - "grade" : "a", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-a.svg", - "subtitle" : "Product: A good product for you - Open Food Facts - 200 g", - "title" : "Impact for this product: A (Score: 115/100)", + "grade" : "c", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-c.svg", + "subtitle" : "Product: A good product for you - zoahary Baobab - 200 g", + "title" : "Impact for this product: C (Score: 57/100)", "type" : "grade" }, "topics" : [ @@ -1380,7 +1382,8 @@ "element_type" : "panel_group", "panel_group_element" : { "panel_ids" : [ - "nutrition_facts_table" + "nutrition_facts_table", + "serving_size" ], "title" : "" } @@ -1653,7 +1656,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\n\n \n \n

Elements that indicate the product is in the 3 - Processed foods group:

\n \n \n \n\n" + "html" : "\n\n \n \n

Elements that indicate the product is in the 2 - Processed culinary ingredients group:

\n \n \n \n\n" } }, { @@ -1665,8 +1668,8 @@ ], "level" : "info", "title_element" : { - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nova-group-3.svg", - "title" : "Processed foods" + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nova-group-2.svg", + "title" : "Processed culinary ingredients" }, "topics" : [ "health" @@ -1854,12 +1857,12 @@ "icon_size" : "small", "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/circle-minus.svg", "panel_ids" : [ - "nutriscore_component_energy", + "nutriscore_component_energy_from_saturated_fat", "nutriscore_component_sugars", - "nutriscore_component_saturated_fat", + "nutriscore_component_saturated_fat_ratio", "nutriscore_component_salt" ], - "title" : "Negative points: 1/55" + "title" : "Negative points: 7/55" } }, { @@ -1870,11 +1873,10 @@ "icon_size" : "small", "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/circle-plus.svg", "panel_ids" : [ - "nutriscore_component_proteins", "nutriscore_component_fiber", "nutriscore_component_fruits_vegetables_legumes" ], - "title" : "Positive points: 2/17" + "title" : "Positive points: 2/10" } }, { @@ -1886,22 +1888,22 @@ ], "level" : "info", "title_element" : { - "grade" : "a", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nutriscore-a-new-en.svg", - "subtitle" : "Very good nutritional quality", - "title" : "Nutri-Score A", + "grade" : "c", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nutriscore-c-new-en.svg", + "subtitle" : "Average nutritional quality", + "title" : "Nutri-Score C", "type" : "grade" }, "topics" : [ "health" ] }, - "nutriscore_component_energy" : { + "nutriscore_component_energy_from_saturated_fat" : { "elements" : [ { "element_type" : "text", "text_element" : { - "html" : "\n

\n \n Energy intakes above energy requirements are associated with increased risks of weight gain, overweight, obesity, and consequently risk of diet-related chronic diseases.\n

\n " + "html" : "\n

\n \n A high consumption of fat, especially saturated fats, can raise cholesterol, which increases the risk of heart diseases.\n

\n " } } ], @@ -1909,8 +1911,8 @@ "size" : "small", "title_element" : { "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-negative-0-10.svg", - "subtitle" : "0/10 points (120kJ)", - "title" : "Calories" + "subtitle" : "0/10 points (7.4kJ)", + "title" : "Energy from saturated fat" }, "topics" : [ "health" @@ -1956,26 +1958,6 @@ "health" ] }, - "nutriscore_component_proteins" : { - "elements" : [ - { - "element_type" : "text", - "text_element" : { - "html" : "\n

\n Foods that are rich in proteins are usually rich in calcium or iron which are essential minerals with numerous health benefits.\n \n

\n " - } - } - ], - "level" : "info", - "size" : "small", - "title_element" : { - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-positive-0-7.svg", - "subtitle" : "0/7 points (1g)", - "title" : "Proteins" - }, - "topics" : [ - "health" - ] - }, "nutriscore_component_salt" : { "elements" : [ { @@ -1996,7 +1978,7 @@ "health" ] }, - "nutriscore_component_saturated_fat" : { + "nutriscore_component_saturated_fat_ratio" : { "elements" : [ { "element_type" : "text", @@ -2008,9 +1990,9 @@ "level" : "info", "size" : "small", "title_element" : { - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-negative-0-10.svg", - "subtitle" : "0/10 points (0.2g)", - "title" : "Saturated fat" + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-negative-6-10.svg", + "subtitle" : "6/10 points (40%)", + "title" : "Saturated fat / fat" }, "topics" : [ "health" @@ -2075,7 +2057,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\n\n

This product is not considered a beverage for the calculation of the Nutri-Score.

\n\n\n\n\n\n

Points for proteins are counted because the negative points are less than 11.

\n\n

\n Nutritional score: -1\n (1 - 2)\n

\n

Nutri-Score: A

\n " + "html" : "\n\n

This product is not considered a beverage for the calculation of the Nutri-Score.

\n\n\n\n

This product is considered to be fat, oil, nuts or seeds for the calculation of the Nutri-Score.

\n\n\n\n

Points for proteins are not counted because the negative points greater than or equal to 7.

\n\n

\n Nutritional score: 5\n (7 - 2)\n

\n

Nutri-Score: C

\n " } } ], @@ -2101,10 +2083,24 @@ "text" : "Nutrition facts", "type" : "text" }, + { + "column_group_id" : "product", + "shown_by_default" : true, + "text" : "As sold
for 100 g / 100 ml", + "text_for_small_screens" : "100g", + "type" : "text" + }, + { + "column_group_id" : "product", + "shown_by_default" : false, + "text" : "As sold
per serving (100g)", + "text_for_small_screens" : "per serving", + "type" : "text" + }, { "column_group_id" : "comparisons", "shown_by_default" : true, - "text" : "Compared to: Vegetable soups", + "text" : "Compared to: Butters", "type" : "text" } ], @@ -2117,9 +2113,15 @@ "style" : "max-width:15rem", "text" : "Energy" }, + { + "text" : "120 kj
(54 kcal)" + }, + { + "text" : "120 kj
(54 kcal)" + }, { "evaluation" : "good", - "text" : "-54%" + "text" : "-96%" } ] }, @@ -2130,9 +2132,15 @@ "style" : "max-width:15rem", "text" : "Fat" }, + { + "text" : "0.5 g" + }, + { + "text" : "0.5 g" + }, { "evaluation" : "good", - "text" : "-68%" + "text" : "-99%" } ] }, @@ -2143,9 +2151,15 @@ "style" : "max-width:15rem", "text" : "Saturated fat" }, + { + "text" : "0.2 g" + }, + { + "text" : "0.2 g" + }, { "evaluation" : "good", - "text" : "-42%" + "text" : "-100%" } ] }, @@ -2156,9 +2170,15 @@ "style" : "max-width:15rem", "text" : "Salt" }, + { + "text" : "0.4 g" + }, + { + "text" : "0.4 g" + }, { "evaluation" : "good", - "text" : "-40%" + "text" : "-54%" } ] }, @@ -2170,7 +2190,13 @@ "text" : "Carbohydrates" }, { - "text" : "-63%" + "text" : "4 g" + }, + { + "text" : "4 g" + }, + { + "text" : "+865,701%" } ] }, @@ -2182,8 +2208,13 @@ "text" : "Fiber" }, { - "evaluation" : "good", - "text" : "+96%" + "text" : "3 g" + }, + { + "text" : "3 g" + }, + { + "text" : "" } ] }, @@ -2195,8 +2226,14 @@ "text" : "Sugars" }, { - "evaluation" : "good", - "text" : "-83%" + "text" : "0.5 g" + }, + { + "text" : "0.5 g" + }, + { + "evaluation" : "bad", + "text" : "+20,392%" } ] }, @@ -2208,8 +2245,32 @@ "text" : "Proteins" }, { - "evaluation" : "bad", - "text" : "-56%" + "text" : "1 g" + }, + { + "text" : "1 g" + }, + { + "evaluation" : "good", + "text" : "+86,107%" + } + ] + }, + { + "values" : [ + { + "level" : 0, + "style" : "max-width:15rem", + "text" : "Calcium" + }, + { + "text" : "120 mg" + }, + { + "text" : "120 mg" + }, + { + "text" : "+6,422%" } ] }, @@ -2220,6 +2281,12 @@ "style" : "max-width:15rem", "text" : "Fruits‚ vegetables‚ nuts and rapeseed‚ walnut and olive oils (estimate from ingredients list analysis)" }, + { + "text" : "65 %" + }, + { + "text" : "65 %" + }, { "text" : "" } @@ -2478,6 +2545,22 @@ ], "expanded" : true, "type" : "root" + }, + "serving_size" : { + "elements" : [ + { + "element_type" : "text", + "text_element" : { + "html" : "\n Serving size:\n 100g\n " + } + } + ], + "expanded" : true, + "level" : "info", + "topics" : [ + "health" + ], + "type" : "inline" } }, "labels_tags" : [ @@ -2498,63 +2581,86 @@ "sugars" : "low" }, "nutriments" : { + "calcium" : 0.12, + "calcium_100g" : 0.12, + "calcium_serving" : 0.12, + "calcium_unit" : "g", + "calcium_value" : 0.12, "carbohydrates" : 4, "carbohydrates_100g" : 4, + "carbohydrates_serving" : 4, "carbohydrates_unit" : "g", "carbohydrates_value" : 4, "carbon-footprint-from-known-ingredients_100g" : 18, "carbon-footprint-from-known-ingredients_product" : 36, + "carbon-footprint-from-known-ingredients_serving" : 18, "energy" : 120, + "energy-kcal" : 54, + "energy-kcal_100g" : 54, + "energy-kcal_serving" : 54, + "energy-kcal_unit" : "kcal", + "energy-kcal_value" : 54, + "energy-kcal_value_computed" : 30.5, "energy-kj" : 120, "energy-kj_100g" : 120, + "energy-kj_serving" : 120, "energy-kj_unit" : "kJ", "energy-kj_value" : 120, "energy-kj_value_computed" : 127.5, "energy_100g" : 120, + "energy_serving" : 120, "energy_unit" : "kJ", "energy_value" : 120, "fat" : 0.5, "fat_100g" : 0.5, + "fat_serving" : 0.5, "fat_unit" : "g", "fat_value" : 0.5, "fiber" : 3, "fiber_100g" : 3, + "fiber_serving" : 3, "fiber_unit" : "g", "fiber_value" : 3, "fruits-vegetables-legumes-estimate-from-ingredients_100g" : 65, "fruits-vegetables-legumes-estimate-from-ingredients_serving" : 65, "fruits-vegetables-nuts-estimate-from-ingredients_100g" : 65, "fruits-vegetables-nuts-estimate-from-ingredients_serving" : 65, - "nova-group" : 3, - "nova-group_100g" : 3, - "nova-group_serving" : 3, - "nutrition-score-fr" : -4, - "nutrition-score-fr_100g" : -4, + "nova-group" : 2, + "nova-group_100g" : 2, + "nova-group_serving" : 2, + "nutrition-score-fr" : 2, + "nutrition-score-fr_100g" : 2, "proteins" : 1, "proteins_100g" : 1, + "proteins_serving" : 1, "proteins_unit" : "g", "proteins_value" : 1, "salt" : 0.4, "salt_100g" : 0.4, + "salt_serving" : 0.4, "salt_unit" : "g", "salt_value" : 0.4, "saturated-fat" : 0.2, "saturated-fat_100g" : 0.2, + "saturated-fat_serving" : 0.2, "saturated-fat_unit" : "g", "saturated-fat_value" : 0.2, "sodium" : 0.16, "sodium_100g" : 0.16, + "sodium_serving" : 0.16, "sodium_unit" : "g", "sodium_value" : 0.16, "sugars" : 0.5, "sugars_100g" : 0.5, + "sugars_serving" : 0.5, "sugars_unit" : "g", "sugars_value" : 0.5 }, - "nutrition_grade_fr" : "a", + "nutrition_grade_fr" : "b", "product_name" : "A good product for you", "product_quantity" : "200", "quantity" : "200 g", + "serving_size" : "100g", "states_tags" : [ "en:to-be-completed", "en:nutrition-facts-completed",