From 0ec713979a8b7d7b7bf4864042ca4438aa801ff9 Mon Sep 17 00:00:00 2001 From: M123-dev Date: Sun, 15 Sep 2024 19:00:43 +0000 Subject: [PATCH] Update assets --- .../onboarding/sample_product_data.json | 1246 +++++++---------- 1 file changed, 500 insertions(+), 746 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..387b0e312ea 100644 --- a/packages/smooth_app/assets/onboarding/sample_product_data.json +++ b/packages/smooth_app/assets/onboarding/sample_product_data.json @@ -7,22 +7,22 @@ "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" : "Good nutritional quality", + "grade" : "b", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nutriscore-b-new-en.svg", "id" : "nutriscore", - "match" : 81, + "match" : 63.375, "name" : "Nutri-Score", "panel_id" : "nutriscore_2023", "status" : "known", - "title" : "Nutri-Score A" + "title" : "Nutri-Score B" }, { "description_short" : "0.4 g / 100 g", - "grade" : "b", + "grade" : "c", "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nutrient-level-salt-medium.svg", "id" : "low_salt", - "match" : 75, + "match" : 55, "name" : "Salt", "status" : "known", "title" : "Salt in moderate quantity" @@ -32,7 +32,7 @@ "grade" : "a", "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nutrient-level-fat-low.svg", "id" : "low_fat", - "match" : 96.6666666666667, + "match" : 93.3333333333333, "name" : "Fat", "status" : "known", "title" : "Fat in low quantity" @@ -42,7 +42,7 @@ "grade" : "a", "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nutrient-level-sugars-low.svg", "id" : "low_sugars", - "match" : 98, + "match" : 96, "name" : "Sugars", "status" : "known", "title" : "Sugars in low quantity" @@ -52,7 +52,7 @@ "grade" : "a", "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nutrient-level-saturated-fat-low.svg", "id" : "low_saturated_fat", - "match" : 97.3333333333333, + "match" : 94.6666666666667, "name" : "Saturated fat", "status" : "known", "title" : "Saturated fat in low quantity" @@ -275,16 +275,16 @@ { "attributes" : [ { - "description" : "", - "description_short" : "Very low environmental impact", - "grade" : "a", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-a.svg", + "description" : "Not yet applicable for the category: Waters", + "description_short" : "Not yet applicable for the category", + "grade" : "unknown", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-not-applicable.svg", "id" : "ecoscore", - "match" : 100, + "match" : 0, "name" : "Eco-Score", "panel_id" : "ecoscore", - "status" : "known", - "title" : "Eco-Score A" + "status" : "unknown", + "title" : "Eco-Score not yet applicable" }, { "description" : "", @@ -330,14 +330,11 @@ "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" + "Boissons et préparations de boissons", + "Boissons", + "Eaux" ], "code" : "093270067481501", "ecoscore_data" : { @@ -587,698 +584,63 @@ }, "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, - "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, - "version" : "3.1.1" - }, - "grade" : "a", - "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" - }, - "previous_data" : { - "agribalyse" : { - "agribalyse_proxy_food_code" : "25903", - "co2_agriculture" : 0.099163319, - "co2_consumption" : 0.0079267752, - "co2_distribution" : 0.025340163, - "co2_packaging" : 0.098786634, - "co2_processing" : 0.13521664, - "co2_total" : 0.49805172, - "co2_transportation" : 0.1316182, - "code" : "25903", - "dqr" : "2.42", - "ef_agriculture" : 0.023834065, - "ef_consumption" : 0.004012423, - "ef_distribution" : 0.0095369029, - "ef_packaging" : 0.014974093, - "ef_processing" : 0.030870892, - "ef_total" : 0.093465939, - "ef_transportation" : 0.010237564, - "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" : 97 - }, - "grade" : "a", - "score" : 122 - }, - "score" : 115, - "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 - }, - "status" : "known" - }, - "ecoscore_grade" : "a", - "ecoscore_score" : 115, - "environment_impact_level_tags" : [], - "ingredients_analysis_tags" : [ - "en:palm-oil-free", - "en:vegan", - "en:vegetarian" - ], - "knowledge_panels" : { - "carbon_footprint" : { - "elements" : [ - { - "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 ", - "type" : "summary" - } - }, - { - "element_type" : "table", - "table_element" : { - "columns" : [ - { - "text" : "Stage", - "type" : "text" - }, - { - "text" : "Impact", - "type" : "percent" - } - ], - "id" : "ecoscore_carbon_impact_by_stages_table", - "rows" : [ - { - "id" : "agriculture", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/agriculture.svg", - "text" : "Agriculture" - }, - { - "percent" : 20.3326275087945, - "text" : "20.3 %" - } - ] - }, - { - "id" : "processing", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/processing.svg", - "text" : "Processing" - }, - { - "percent" : 29.3728073746592, - "text" : "29.4 %" - } - ] - }, - { - "id" : "packaging", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/packaging.svg", - "text" : "Packaging" - }, - { - "percent" : 19.5753974535878, - "text" : "19.6 %" - } - ] - }, - { - "id" : "transportation", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/transportation.svg", - "text" : "Transportation" - }, - { - "percent" : 25.484985099752, - "text" : "25.5 %" - } - ] - }, - { - "id" : "distribution", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/distribution.svg", - "text" : "Distribution" - }, - { - "percent" : 3.0732288312766, - "text" : "3.1 %" - } - ] - }, - { - "id" : "consumption", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/consumption.svg", - "text" : "Consumption" - }, - { - "percent" : 2.16095373192992, - "text" : "2.2 %" - } - ] - } - ], - "table_type" : "percents", - "title" : "Details of the impacts by stages of the life cycle" - } - } - ], - "evaluation" : "good", - "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" - }, - "topics" : [ - "environment" - ] - }, - "ecoscore" : { - "elements" : [ - { - "element_type" : "text", - "text_element" : { - "html" : "The Eco-Score is an experimental score that summarizes the environmental impacts of food products." - } - }, - { - "element_type" : "text", - "text_element" : { - "html" : "\n \n The Eco-Score was initially developped for France and it is being extended to other European countries. The Eco-Score formula is subject to change as it is regularly improved to make it more precise and better suited to each country.\n \n ", - "type" : "note" - } - }, - { - "element_type" : "panel_group", - "panel_group_element" : { - "panel_ids" : [ - "ecoscore_agribalyse" - ], - "title" : "Life cycle analysis" - } - }, - { - "element_type" : "panel_group", - "panel_group_element" : { - "panel_ids" : [ - "ecoscore_production_system", - "ecoscore_origins_of_ingredients", - "ecoscore_threatened_species", - "ecoscore_packaging" - ], - "title" : "Bonuses and maluses" - } - }, - { - "element_type" : "panel_group", - "panel_group_element" : { - "panel_ids" : [ - "ecoscore_total" - ], - "title" : "Eco-Score for this product" - } - }, - { - "element_type" : "text", - "text_element" : { - "html" : "\n

Learn more about the Eco-Score

\n" - } - } - ], - "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", - "type" : "grade" - }, - "topics" : [ - "environment" - ] - }, - "ecoscore_agribalyse" : { - "elements" : [ - { - "element_type" : "text", - "text_element" : { - "html" : "\n

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

\n \n ", - "type" : "summary" - } - }, - { - "element_type" : "table", - "table_element" : { - "columns" : [ - { - "text" : "Stage", - "type" : "text" - }, - { - "text" : "Impact", - "type" : "percent" - } - ], - "id" : "ecoscore_lca_impacts_by_stages_table", - "rows" : [ - { - "id" : "agriculture", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/agriculture.svg", - "text" : "Agriculture" - }, - { - "percent" : 28.8334807891208, - "text" : "28.8 %" - } - ] - }, - { - "id" : "processing", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/processing.svg", - "text" : "Processing" - }, - { - "percent" : 35.987979481715, - "text" : "36.0 %" - } - ] - }, - { - "id" : "packaging", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/packaging.svg", - "text" : "Packaging" - }, - { - "percent" : 12.1231296385815, - "text" : "12.1 %" - } - ] - }, - { - "id" : "transportation", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/transportation.svg", - "text" : "Transportation" - }, - { - "percent" : 12.6472018669578, - "text" : "12.6 %" - } - ] - }, - { - "id" : "distribution", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/distribution.svg", - "text" : "Distribution" - }, - { - "percent" : 5.47647634395376, - "text" : "5.5 %" - } - ] - }, - { - "id" : "consumption", - "values" : [ - { - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/consumption.svg", - "text" : "Consumption" - }, - { - "percent" : 4.93173187967106, - "text" : "4.9 %" - } - ] - } - ], - "table_type" : "percents", - "title" : "Details of the impacts by stages of the life cycle" - } - } - ], - "level" : "info", - "title_element" : { - "grade" : "a", - "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)", - "type" : "grade" - }, - "topics" : [ - "environment" - ] - }, - "ecoscore_origins_of_ingredients" : { - "elements" : [ - { - "element_type" : "text", - "text_element" : { - "html" : "\n Environmental policy: +4
\n Transportation: 0
\n ", - "type" : "default" - } - }, - { - "element_type" : "table", - "table_element" : { - "columns" : [ - { - "text" : "Origin of the product and/or its ingredients", - "type" : "text" - }, - { - "text" : "% of ingredients", - "type" : "percent" - }, - { - "text" : "Impact", - "type" : "text" - } - ], - "id" : "ecoscore_origins_of_ingredients_table", - "rows" : [ - { - "values" : [ - { - "text" : "France" - }, - { - "evaluation" : "neutral", - "percent" : 100, - "text" : "100 %" - }, - { - "evaluation" : "neutral", - "text" : "Medium" - } - ] - } - ], - "title" : "Origins of ingredients" - } - } - ], - "evaluation" : "average", - "level" : "info", - "title_element" : { - "icon_color_from_evaluation" : true, - "icon_size" : "small", - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/public.svg", - "subtitle" : "Bonus: +4", - "title" : "Origins of ingredients with a medium impact" - }, - "topics" : [ - "environment" - ] - }, - "ecoscore_packaging" : { - "elements" : [ - { - "element_type" : "table", - "table_element" : { - "columns" : [ - { - "text" : "Shape", - "type" : "text" - }, - { - "text" : "Material", - "type" : "text" - }, - { - "text" : "Recycling", - "type" : "text" - }, - { - "text" : "Impact", - "type" : "text" - } - ], - "id" : "ecoscore_packaging_components", - "rows" : [ - { - "values" : [ - { - "text" : "Bottle" - }, - { - "text" : "Glass" - }, - { - "evaluation" : "good", - "text" : "Recycle" - }, - { - "evaluation" : "good", - "text" : "Low" - } - ] - }, - { - "values" : [ - { - "text" : "Bottle cap" - }, - { - "text" : "Steel" - }, - { - "evaluation" : "good", - "text" : "Recycle" - }, - { - "evaluation" : "good", - "text" : "Low" - } - ] - } - ], - "title" : "Packaging parts" - } - } - ], - "evaluation" : "good", - "level" : "info", - "title_element" : { - "icon_color_from_evaluation" : true, - "icon_size" : "small", - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/packaging.svg", - "subtitle" : "Malus: -2", - "title" : "Packaging with a low impact" - }, - "topics" : [ - "environment" - ] - }, - "ecoscore_production_system" : { - "elements" : [ - { - "element_type" : "panel", - "panel_element" : { - "panel_id" : "environment_label_en:eu-organic" - } - } - ], - "evaluation" : "good", - "level" : "info", - "title_element" : { - "icon_color_from_evaluation" : true, - "icon_size" : "small", - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/agriculture.svg", - "subtitle" : "Bonus: +15", - "title" : "Labels with high environmental benefits" - }, - "topics" : [ - "environment" - ] - }, - "ecoscore_threatened_species" : { - "evaluation" : "good", - "level" : "info", - "title_element" : { - "icon_color_from_evaluation" : true, - "icon_size" : "small", - "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/monkey_happy.svg", - "title" : "No ingredients that threaten species" + "ecoscore_not_applicable_for_category" : "en:waters", + "previous_data" : { + "agribalyse" : { + "agribalyse_proxy_food_code" : "25903", + "co2_agriculture" : 0.099163319, + "co2_consumption" : 0.0079267752, + "co2_distribution" : 0.025340163, + "co2_packaging" : 0.098786634, + "co2_processing" : 0.13521664, + "co2_total" : 0.49805172, + "co2_transportation" : 0.1316182, + "code" : "25903", + "dqr" : "2.42", + "ef_agriculture" : 0.023834065, + "ef_consumption" : 0.004012423, + "ef_distribution" : 0.0095369029, + "ef_packaging" : 0.014974093, + "ef_processing" : 0.030870892, + "ef_total" : 0.093465939, + "ef_transportation" : 0.010237564, + "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" : 97 }, - "topics" : [ - "environment" - ] + "grade" : "a", + "score" : 122 }, - "ecoscore_total" : { + "scores" : {}, + "status" : "unknown" + }, + "ecoscore_grade" : "not-applicable", + "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", + "en:vegetarian" + ], + "knowledge_panels" : { + "ecoscore" : { "elements" : [ { "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" : "The Eco-Score is not yet applicable for this category, but we are working on adding support for it.", "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" : "unknown", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-not-applicable.svg", + "subtitle" : "Not yet applicable for the category: Waters", + "title" : "Eco-Score not yet applicable", "type" : "grade" }, "topics" : [ @@ -1293,15 +655,6 @@ "panel_id" : "ecoscore" } }, - { - "element_type" : "panel_group", - "panel_group_element" : { - "panel_ids" : [ - "carbon_footprint" - ], - "title" : "Carbon footprint" - } - }, { "element_type" : "panel_group", "panel_group_element" : { @@ -1367,6 +720,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 +761,8 @@ "element_type" : "panel_group", "panel_group_element" : { "panel_ids" : [ - "nutrition_facts_table" + "nutrition_facts_table", + "serving_size" ], "title" : "" } @@ -1388,6 +770,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 +1063,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 +1250,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" : { @@ -1857,9 +1274,10 @@ "nutriscore_component_energy", "nutriscore_component_sugars", "nutriscore_component_saturated_fat", - "nutriscore_component_salt" + "nutriscore_component_salt", + "nutriscore_component_non_nutritive_sweeteners" ], - "title" : "Negative points: 1/55" + "title" : "Negative points: 3/54" } }, { @@ -1874,7 +1292,7 @@ "nutriscore_component_fiber", "nutriscore_component_fruits_vegetables_legumes" ], - "title" : "Positive points: 2/17" + "title" : "Positive points: 4/18" } }, { @@ -1886,10 +1304,10 @@ ], "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" : "b", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nutriscore-b-new-en.svg", + "subtitle" : "Good nutritional quality", + "title" : "Nutri-Score B", "type" : "grade" }, "topics" : [ @@ -1908,8 +1326,8 @@ "level" : "info", "size" : "small", "title_element" : { - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-negative-0-10.svg", - "subtitle" : "0/10 points (120kJ)", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-negative-2-10.svg", + "subtitle" : "2/10 points (120kJ)", "title" : "Calories" }, "topics" : [ @@ -1948,14 +1366,34 @@ "level" : "info", "size" : "small", "title_element" : { - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-positive-2-5.svg", - "subtitle" : "2/5 points (65%)", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-positive-4-6.svg", + "subtitle" : "4/6 points (65%)", "title" : "Fruits, vegetables and legumes" }, "topics" : [ "health" ] }, + "nutriscore_component_non_nutritive_sweeteners" : { + "elements" : [ + { + "element_type" : "text", + "text_element" : { + "html" : "\n

\n \n Non-nutritive sweeteners may not confer any long-term benefit in reducing body fat in adults or children. There may be potential undesirable effects from long-term use of non-nutritive sweeteners, such as an increased risk of type 2 diabetes and cardiovascular diseases in adults.\n

\n " + } + } + ], + "level" : "info", + "size" : "small", + "title_element" : { + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-negative-0-4.svg", + "subtitle" : "0/4 points (0 sweetener)", + "title" : "Non-nutritive sweeteners" + }, + "topics" : [ + "health" + ] + }, "nutriscore_component_proteins" : { "elements" : [ { @@ -2028,8 +1466,8 @@ "level" : "info", "size" : "small", "title_element" : { - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-negative-0-15.svg", - "subtitle" : "0/15 points (0.5g)", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-negative-0-10.svg", + "subtitle" : "0/10 points (0.5g)", "title" : "Sugar" }, "topics" : [ @@ -2075,7 +1513,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 considered a beverage for the calculation of the Nutri-Score.

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

Points for proteins are counted because the product is considered to be a beverage.

\n\n

\n Nutritional score: -1\n (3 - 4)\n

\n

Nutri-Score: B

\n " } } ], @@ -2101,10 +1539,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: Beverages and beverages preparations", "type" : "text" } ], @@ -2117,9 +1569,15 @@ "style" : "max-width:15rem", "text" : "Energy" }, + { + "text" : "120 kj
(0 kcal)" + }, + { + "text" : "18 kj
(0 kcal)" + }, { "evaluation" : "good", - "text" : "-54%" + "text" : "-26%" } ] }, @@ -2131,8 +1589,14 @@ "text" : "Fat" }, { - "evaluation" : "good", - "text" : "-68%" + "text" : "0.5 g" + }, + { + "text" : "0.075 g" + }, + { + "evaluation" : "bad", + "text" : "+20%" } ] }, @@ -2143,9 +1607,51 @@ "style" : "max-width:15rem", "text" : "Saturated fat" }, + { + "text" : "0.2 g" + }, + { + "text" : "0.03 g" + }, { "evaluation" : "good", - "text" : "-42%" + "text" : "-17%" + } + ] + }, + { + "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" : "-100%" } ] }, @@ -2157,8 +1663,14 @@ "text" : "Salt" }, { - "evaluation" : "good", - "text" : "-40%" + "text" : "0.4 g" + }, + { + "text" : "0.06 g" + }, + { + "evaluation" : "bad", + "text" : "+314%" } ] }, @@ -2170,7 +1682,13 @@ "text" : "Carbohydrates" }, { - "text" : "-63%" + "text" : "4 g" + }, + { + "text" : "0.6 g" + }, + { + "text" : "-45%" } ] }, @@ -2181,9 +1699,15 @@ "style" : "max-width:15rem", "text" : "Fiber" }, + { + "text" : "3 g" + }, + { + "text" : "0.45 g" + }, { "evaluation" : "good", - "text" : "+96%" + "text" : "+1,115%" } ] }, @@ -2194,9 +1718,34 @@ "style" : "max-width:15rem", "text" : "Sugars" }, + { + "text" : "0.5 g" + }, + { + "text" : "0.075 g" + }, + { + "evaluation" : "good", + "text" : "-91%" + } + ] + }, + { + "values" : [ + { + "level" : 2, + "style" : "max-width:15rem", + "text" : "Added sugars" + }, + { + "text" : "0 g" + }, + { + "text" : "0 g" + }, { "evaluation" : "good", - "text" : "-83%" + "text" : "-100%" } ] }, @@ -2208,8 +1757,104 @@ "text" : "Proteins" }, { - "evaluation" : "bad", - "text" : "-56%" + "text" : "1 g" + }, + { + "text" : "0.15 g" + }, + { + "evaluation" : "good", + "text" : "+107%" + } + ] + }, + { + "values" : [ + { + "level" : 0, + "style" : "max-width:15rem", + "text" : "Alcohol" + }, + { + "text" : "0 % vol" + }, + { + "text" : "0 % vol" + }, + { + "text" : "-100%" + } + ] + }, + { + "values" : [ + { + "level" : 0, + "style" : "max-width:15rem", + "text" : "Vitamin D" + }, + { + "text" : "0 µg" + }, + { + "text" : "0 µg" + }, + { + "text" : "-100%" + } + ] + }, + { + "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 +1865,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 +2129,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 +2165,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, + "nutrition-score-fr" : -1, + "nutrition-score-fr_100g" : -1, + "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", + "nutrition_grade_fr" : "b", "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 +2317,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,