From 764226c460c13b4377d94d5990b2c45af74b7690 Mon Sep 17 00:00:00 2001 From: M123-dev Date: Sat, 17 Aug 2024 19:00:46 +0000 Subject: [PATCH] Update assets --- .../onboarding/sample_product_data.json | 880 ++++++++++++------ 1 file changed, 621 insertions(+), 259 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..9ebf4425cf7 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", @@ -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" : 50, "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" + "Céréales et pommes de terre", + "Graines", + "Céréales et dérivés", + "Céréales en grains", + "Riz", + "Riz complet" ], "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_food_code" : "9102", + "co2_agriculture" : 2.1560981, + "co2_consumption" : 0, + "co2_distribution" : 0.018776521, + "co2_packaging" : 0.26506589, + "co2_processing" : 0, + "co2_total" : 2.754298121, + "co2_transportation" : 0.31435761, + "code" : "9102", + "dqr" : "3.3", + "ef_agriculture" : 0.91249742, + "ef_consumption" : 0, + "ef_distribution" : 0.0052973789, + "ef_packaging" : 0.021858877, + "ef_processing" : 0, + "ef_total" : 0.9741383399, + "ef_transportation" : 0.034484664, "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" : "Rice, brown, raw", + "name_fr" : "Riz complet, cru", + "score" : 32, "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" : "c", + "al" : "c", + "at" : "c", + "ax" : "c", + "ba" : "c", + "be" : "c", + "bg" : "c", + "ch" : "c", + "cy" : "c", + "cz" : "c", + "de" : "c", + "dk" : "c", + "dz" : "c", + "ee" : "c", + "eg" : "c", + "es" : "c", + "fi" : "c", + "fo" : "c", + "fr" : "c", + "gg" : "c", + "gi" : "c", + "gr" : "c", + "hr" : "c", + "hu" : "c", + "ie" : "c", + "il" : "c", + "im" : "c", + "is" : "c", + "it" : "c", + "je" : "c", + "lb" : "c", + "li" : "c", + "lt" : "c", + "lu" : "c", + "lv" : "c", + "ly" : "c", + "ma" : "c", + "mc" : "c", + "md" : "c", + "me" : "c", + "mk" : "c", + "mt" : "c", + "nl" : "c", + "no" : "c", + "pl" : "c", + "ps" : "c", + "pt" : "c", + "ro" : "c", + "rs" : "c", + "se" : "c", + "si" : "c", + "sj" : "c", + "sk" : "c", + "sm" : "c", + "sy" : "c", + "tn" : "c", + "tr" : "c", + "ua" : "c", + "uk" : "c", + "us" : "c", + "va" : "c", + "world" : "c", + "xk" : "c" }, "previous_data" : { "agribalyse" : { @@ -704,77 +706,79 @@ "grade" : "a", "score" : 122 }, - "score" : 115, + "score" : 49, "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" : 57, + "al" : 49, + "at" : 55, + "ax" : 57, + "ba" : 51, + "be" : 57, + "bg" : 52, + "ch" : 57, + "cy" : 55, + "cz" : 56, + "de" : 57, + "dk" : 55, + "dz" : 56, + "ee" : 57, + "eg" : 54, + "es" : 55, + "fi" : 57, + "fo" : 57, + "fr" : 57, + "gg" : 57, + "gi" : 50, + "gr" : 56, + "hr" : 54, + "hu" : 53, + "ie" : 56, + "il" : 54, + "im" : 57, + "is" : 57, + "it" : 56, + "je" : 57, + "lb" : 55, + "li" : 57, + "lt" : 57, + "lu" : 57, + "lv" : 57, + "ly" : 57, + "ma" : 57, + "mc" : 57, + "md" : 53, + "me" : 55, + "mk" : 53, + "mt" : 57, + "nl" : 57, + "no" : 52, + "pl" : 53, + "ps" : 55, + "pt" : 51, + "ro" : 54, + "rs" : 50, + "se" : 51, + "si" : 55, + "sj" : 57, + "sk" : 53, + "sm" : 55, + "sy" : 53, + "tn" : 50, + "tr" : 50, + "ua" : 55, + "uk" : 57, + "us" : 49, + "va" : 53, + "world" : 49, + "xk" : 53 }, "status" : "known" }, - "ecoscore_grade" : "a", - "ecoscore_score" : 115, + "ecoscore_grade" : "c", + "ecoscore_score" : 49, "environment_impact_level_tags" : [], + "image_ingredients_url" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/ingredients_en.227.400.jpg", + "image_nutrition_url" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/nutrition_en.225.400.jpg", "ingredients_analysis_tags" : [ "en:palm-oil-free", "en:vegan", @@ -786,7 +790,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 Rice, brown, raw\n (Source: ADEME Agribalyse Database)\n

\n ", "type" : "summary" } }, @@ -813,8 +817,8 @@ "text" : "Agriculture" }, { - "percent" : 20.3326275087945, - "text" : "20.3 %" + "percent" : 78.2812174020286, + "text" : "78.3 %" } ] }, @@ -826,8 +830,8 @@ "text" : "Processing" }, { - "percent" : 29.3728073746592, - "text" : "29.4 %" + "percent" : 0, + "text" : "0.0 %" } ] }, @@ -839,8 +843,8 @@ "text" : "Packaging" }, { - "percent" : 19.5753974535878, - "text" : "19.6 %" + "percent" : 9.62371821623154, + "text" : "9.6 %" } ] }, @@ -852,8 +856,8 @@ "text" : "Transportation" }, { - "percent" : 25.484985099752, - "text" : "25.5 %" + "percent" : 11.4133472917546, + "text" : "11.4 %" } ] }, @@ -865,8 +869,8 @@ "text" : "Distribution" }, { - "percent" : 3.0732288312766, - "text" : "3.1 %" + "percent" : 0.681717089985264, + "text" : "0.7 %" } ] }, @@ -878,8 +882,8 @@ "text" : "Consumption" }, { - "percent" : 2.16095373192992, - "text" : "2.2 %" + "percent" : 0, + "text" : "0.0 %" } ] } @@ -895,8 +899,8 @@ "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" : "275 g CO² per 100g of product", + "title" : "Equal to driving 1.4 km in a petrol car" }, "topics" : [ "environment" @@ -956,9 +960,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 +974,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\n

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

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

Category: \n Rice, brown, raw\n

\n \n ", "type" : "summary" } }, @@ -997,8 +1001,8 @@ "text" : "Agriculture" }, { - "percent" : 28.8334807891208, - "text" : "28.8 %" + "percent" : 93.6722622059688, + "text" : "93.7 %" } ] }, @@ -1010,8 +1014,8 @@ "text" : "Processing" }, { - "percent" : 35.987979481715, - "text" : "36.0 %" + "percent" : 0, + "text" : "0.0 %" } ] }, @@ -1023,8 +1027,8 @@ "text" : "Packaging" }, { - "percent" : 12.1231296385815, - "text" : "12.1 %" + "percent" : 2.24391917499561, + "text" : "2.2 %" } ] }, @@ -1036,8 +1040,8 @@ "text" : "Transportation" }, { - "percent" : 12.6472018669578, - "text" : "12.6 %" + "percent" : 3.5400171194925, + "text" : "3.5 %" } ] }, @@ -1049,8 +1053,8 @@ "text" : "Distribution" }, { - "percent" : 5.47647634395376, - "text" : "5.5 %" + "percent" : 0.543801499543053, + "text" : "0.5 %" } ] }, @@ -1062,8 +1066,8 @@ "text" : "Consumption" }, { - "percent" : 4.93173187967106, - "text" : "4.9 %" + "percent" : 0, + "text" : "0.0 %" } ] } @@ -1075,12 +1079,12 @@ ], "level" : "info", "title_element" : { - "grade" : "a", + "grade" : "d", "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: Rice, brown, raw", + "title" : "Average impact of products of the same category: D (Score: 32/100)", "type" : "grade" }, "topics" : [ @@ -1268,17 +1272,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: 32
\n Sum of bonuses and maluses:\n \n +17\n

\n Final score: 49/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: 49/100)", "type" : "grade" }, "topics" : [ @@ -1367,6 +1371,34 @@ { "element_type" : "panel_group", "panel_group_element" : { + "image" : { + "alt" : "A good product for you - Nutrition facts", + "id" : "nutrition_en", + "lc" : "en", + "sizes" : { + "100" : { + "height" : 100, + "url" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/nutrition_en.225.100.jpg", + "width" : 75 + }, + "200" : { + "height" : 200, + "url" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/nutrition_en.225.200.jpg", + "width" : 150 + }, + "400" : { + "height" : 400, + "url" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/nutrition_en.225.400.jpg", + "width" : 300 + }, + "full" : { + "height" : 4032, + "url" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/nutrition_en.225.full.jpg", + "width" : 3024 + } + }, + "type" : "nutrition" + }, "panel_group_id" : "nutrition", "panel_ids" : [ "nutriscore_2023", @@ -1380,7 +1412,8 @@ "element_type" : "panel_group", "panel_group_element" : { "panel_ids" : [ - "nutrition_facts_table" + "nutrition_facts_table", + "serving_size" ], "title" : "" } @@ -1388,6 +1421,34 @@ { "element_type" : "panel_group", "panel_group_element" : { + "image" : { + "alt" : "A good product for you - Ingredients", + "id" : "ingredients_en", + "lc" : "en", + "sizes" : { + "100" : { + "height" : 100, + "url" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/ingredients_en.227.100.jpg", + "width" : 45 + }, + "200" : { + "height" : 200, + "url" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/ingredients_en.227.200.jpg", + "width" : 90 + }, + "400" : { + "height" : 400, + "url" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/ingredients_en.227.400.jpg", + "width" : 180 + }, + "full" : { + "height" : 4000, + "url" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/ingredients_en.227.full.jpg", + "width" : 1800 + } + }, + "type" : "ingredients" + }, "panel_group_id" : "ingredients", "panel_ids" : [ "ingredients" @@ -1653,7 +1714,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 3 - Processed foods group:

\n \n \n \n\n" } }, { @@ -1840,6 +1901,13 @@ }, "nutriscore_2023" : { "elements" : [ + { + "element_type" : "text", + "text_element" : { + "html" : "Warning: the amount of fruits, vegetables and nuts is not specified on the label, it was estimated from the list of ingredients: 65\n ", + "type" : "warning" + } + }, { "element_type" : "panel", "panel_element" : { @@ -1854,12 +1922,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 +1938,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 +1953,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 +1976,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 +2023,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 +2043,7 @@ "health" ] }, - "nutriscore_component_saturated_fat" : { + "nutriscore_component_saturated_fat_ratio" : { "elements" : [ { "element_type" : "text", @@ -2008,9 +2055,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 +2122,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 +2148,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 (15 mL)", + "text_for_small_screens" : "per serving", + "type" : "text" + }, { "column_group_id" : "comparisons", "shown_by_default" : true, - "text" : "Compared to: Vegetable soups", + "text" : "Compared to: Brown rices", "type" : "text" } ], @@ -2117,9 +2178,15 @@ "style" : "max-width:15rem", "text" : "Energy" }, + { + "text" : "120 kj
(0 kcal)" + }, + { + "text" : "18 kj
(0 kcal)" + }, { "evaluation" : "good", - "text" : "-54%" + "text" : "-91%" } ] }, @@ -2130,9 +2197,15 @@ "style" : "max-width:15rem", "text" : "Fat" }, + { + "text" : "0.5 g" + }, + { + "text" : "0.075 g" + }, { "evaluation" : "good", - "text" : "-68%" + "text" : "-79%" } ] }, @@ -2144,8 +2217,50 @@ "text" : "Saturated fat" }, { - "evaluation" : "good", - "text" : "-42%" + "text" : "0.2 g" + }, + { + "text" : "0.03 g" + }, + { + "evaluation" : "bad", + "text" : "+332%" + } + ] + }, + { + "values" : [ + { + "level" : 1, + "style" : "max-width:15rem", + "text" : "Trans fat" + }, + { + "text" : "0 g" + }, + { + "text" : "0 g" + }, + { + "text" : "" + } + ] + }, + { + "values" : [ + { + "level" : 0, + "style" : "max-width:15rem", + "text" : "Cholesterol" + }, + { + "text" : "0 mg" + }, + { + "text" : "0 mg" + }, + { + "text" : "" } ] }, @@ -2157,8 +2272,14 @@ "text" : "Salt" }, { - "evaluation" : "good", - "text" : "-40%" + "text" : "0.4 g" + }, + { + "text" : "0.06 g" + }, + { + "evaluation" : "bad", + "text" : "+3,860%" } ] }, @@ -2170,7 +2291,13 @@ "text" : "Carbohydrates" }, { - "text" : "-63%" + "text" : "4 g" + }, + { + "text" : "0.6 g" + }, + { + "text" : "-94%" } ] }, @@ -2182,8 +2309,14 @@ "text" : "Fiber" }, { - "evaluation" : "good", - "text" : "+96%" + "text" : "3 g" + }, + { + "text" : "0.45 g" + }, + { + "evaluation" : "bad", + "text" : "-16%" } ] }, @@ -2195,8 +2328,32 @@ "text" : "Sugars" }, { - "evaluation" : "good", - "text" : "-83%" + "text" : "0.5 g" + }, + { + "text" : "0.075 g" + }, + { + "evaluation" : "bad", + "text" : "+294%" + } + ] + }, + { + "values" : [ + { + "level" : 2, + "style" : "max-width:15rem", + "text" : "Added sugars" + }, + { + "text" : "0 g" + }, + { + "text" : "0 g" + }, + { + "text" : "" } ] }, @@ -2207,9 +2364,105 @@ "style" : "max-width:15rem", "text" : "Proteins" }, + { + "text" : "1 g" + }, + { + "text" : "0.15 g" + }, { "evaluation" : "bad", - "text" : "-56%" + "text" : "-86%" + } + ] + }, + { + "values" : [ + { + "level" : 0, + "style" : "max-width:15rem", + "text" : "Alcohol" + }, + { + "text" : "0 % vol" + }, + { + "text" : "0 % vol" + }, + { + "text" : "" + } + ] + }, + { + "values" : [ + { + "level" : 0, + "style" : "max-width:15rem", + "text" : "Vitamin D" + }, + { + "text" : "0 µg" + }, + { + "text" : "0 µg" + }, + { + "text" : "" + } + ] + }, + { + "values" : [ + { + "level" : 0, + "style" : "max-width:15rem", + "text" : "Calcium" + }, + { + "text" : "0 mg" + }, + { + "text" : "0 mg" + }, + { + "text" : "-100%" + } + ] + }, + { + "values" : [ + { + "level" : 0, + "style" : "max-width:15rem", + "text" : "Iron" + }, + { + "text" : "0 mg" + }, + { + "text" : "0 mg" + }, + { + "text" : "-100%" + } + ] + }, + { + "values" : [ + { + "level" : 0, + "style" : "max-width:15rem", + "text" : "Potassium" + }, + { + "text" : "0 mg" + }, + { + "text" : "0 mg" + }, + { + "text" : "-100%" } ] }, @@ -2220,6 +2473,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 +2737,22 @@ ], "expanded" : true, "type" : "root" + }, + "serving_size" : { + "elements" : [ + { + "element_type" : "text", + "text_element" : { + "html" : "\n Serving size:\n 15 mL\n " + } + } + ], + "expanded" : true, + "level" : "info", + "topics" : [ + "health" + ], + "type" : "inline" } }, "labels_tags" : [ @@ -2498,63 +2773,145 @@ "sugars" : "low" }, "nutriments" : { + "added-sugars" : 0, + "added-sugars_100g" : 0, + "added-sugars_serving" : 0, + "added-sugars_unit" : "g", + "added-sugars_value" : 0, + "alcohol" : 0, + "alcohol_100g" : 0, + "alcohol_serving" : 0, + "alcohol_unit" : "% vol", + "alcohol_value" : 0, + "calcium" : 0, + "calcium_100g" : 0, + "calcium_serving" : 0, + "calcium_unit" : "g", + "calcium_value" : 0, "carbohydrates" : 4, "carbohydrates_100g" : 4, + "carbohydrates_serving" : 0.6, "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" : 2.7, + "cholesterol" : 0, + "cholesterol_100g" : 0, + "cholesterol_serving" : 0, + "cholesterol_unit" : "g", + "cholesterol_value" : 0, "energy" : 120, + "energy-kcal" : 0.01, + "energy-kcal_100g" : 0.01, + "energy-kcal_serving" : 0.0015, + "energy-kcal_unit" : "kcal", + "energy-kcal_value" : 0.01, + "energy-kcal_value_computed" : 30.5, "energy-kj" : 120, "energy-kj_100g" : 120, + "energy-kj_serving" : 18, "energy-kj_unit" : "kJ", "energy-kj_value" : 120, "energy-kj_value_computed" : 127.5, "energy_100g" : 120, + "energy_serving" : 18, "energy_unit" : "kJ", "energy_value" : 120, "fat" : 0.5, "fat_100g" : 0.5, + "fat_serving" : 0.075, "fat_unit" : "g", "fat_value" : 0.5, "fiber" : 3, "fiber_100g" : 3, + "fiber_serving" : 0.45, "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, + "iron" : 0, + "iron_100g" : 0, + "iron_serving" : 0, + "iron_unit" : "g", + "iron_value" : 0, "nova-group" : 3, "nova-group_100g" : 3, "nova-group_serving" : 3, "nutrition-score-fr" : -4, "nutrition-score-fr_100g" : -4, + "potassium" : 0, + "potassium_100g" : 0, + "potassium_serving" : 0, + "potassium_unit" : "g", + "potassium_value" : 0, "proteins" : 1, "proteins_100g" : 1, + "proteins_serving" : 0.15, "proteins_unit" : "g", "proteins_value" : 1, "salt" : 0.4, "salt_100g" : 0.4, + "salt_serving" : 0.06, "salt_unit" : "g", "salt_value" : 0.4, "saturated-fat" : 0.2, "saturated-fat_100g" : 0.2, + "saturated-fat_serving" : 0.03, "saturated-fat_unit" : "g", "saturated-fat_value" : 0.2, "sodium" : 0.16, "sodium_100g" : 0.16, + "sodium_serving" : 0.024, "sodium_unit" : "g", "sodium_value" : 0.16, "sugars" : 0.5, "sugars_100g" : 0.5, + "sugars_serving" : 0.075, "sugars_unit" : "g", - "sugars_value" : 0.5 + "sugars_value" : 0.5, + "trans-fat" : 0, + "trans-fat_100g" : 0, + "trans-fat_serving" : 0, + "trans-fat_unit" : "g", + "trans-fat_value" : 0, + "vitamin-d" : 0, + "vitamin-d_100g" : 0, + "vitamin-d_serving" : 0, + "vitamin-d_unit" : "g", + "vitamin-d_value" : 0 }, "nutrition_grade_fr" : "a", "product_name" : "A good product for you", "product_quantity" : "200", "quantity" : "200 g", + "selected_images" : { + "ingredients" : { + "display" : { + "en" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/ingredients_en.227.400.jpg" + }, + "small" : { + "en" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/ingredients_en.227.200.jpg" + }, + "thumb" : { + "en" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/ingredients_en.227.100.jpg" + } + }, + "nutrition" : { + "display" : { + "en" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/nutrition_en.225.400.jpg" + }, + "small" : { + "en" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/nutrition_en.225.200.jpg" + }, + "thumb" : { + "en" : "https://images.openfoodfacts.org/images/products/093/270/067/481501/nutrition_en.225.100.jpg" + } + } + }, + "serving_size" : "15 mL", "states_tags" : [ "en:to-be-completed", "en:nutrition-facts-completed", @@ -2568,7 +2925,12 @@ "en:packaging-to-be-completed", "en:quantity-completed", "en:product-name-completed", - "en:photos-to-be-uploaded" + "en:photos-to-be-validated", + "en:packaging-photo-to-be-selected", + "en:nutrition-photo-selected", + "en:ingredients-photo-selected", + "en:front-photo-to-be-selected", + "en:photos-uploaded" ] }, "status" : 1,