diff --git a/packages/smooth_app/assets/onboarding/sample_product_data.json b/packages/smooth_app/assets/onboarding/sample_product_data.json index 96286db761e6..32bccbf055de 100644 --- a/packages/smooth_app/assets/onboarding/sample_product_data.json +++ b/packages/smooth_app/assets/onboarding/sample_product_data.json @@ -247,8 +247,6 @@ { "attributes" : [ { - "description" : "", - "description_short" : "Processed foods", "grade" : "b", "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/nova-group-3.svg", "id" : "nova", @@ -256,7 +254,7 @@ "name" : "NOVA group", "panel_id" : "nova", "status" : "known", - "title" : "NOVA 3" + "title" : "Processed foods" }, { "grade" : "a", @@ -276,15 +274,15 @@ "attributes" : [ { "description" : "", - "description_short" : "Very low environmental impact", - "grade" : "a", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-a-plus.svg", + "description_short" : "Low environmental impact", + "grade" : "b", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-b.svg", "id" : "ecoscore", - "match" : 100, + "match" : 69, "name" : "Eco-Score", "panel_id" : "ecoscore", "status" : "known", - "title" : "Eco-Score A+" + "title" : "Eco-Score B" }, { "description" : "", @@ -332,12 +330,13 @@ ], "brands" : "Open Food Facts", "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", + "Produits fermentés", + "Produits laitiers fermentés", + "Fromages", + "Fromages de vache", + "en:Feta-type cheese", + "Fromage type feta au lait de vache" ], "code" : "093270067481501", "ecoscore_data" : { @@ -588,94 +587,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" : "12060", + "co2_agriculture" : 4.3101064, + "co2_consumption" : 0.0066736979, + "co2_distribution" : 0.035969873, + "co2_packaging" : 0.26233269, + "co2_processing" : 0.26782525, + "co2_total" : 5.0939111409, + "co2_transportation" : 0.21100323, + "code" : "12060", + "dqr" : "2.24", + "ef_agriculture" : 0.39657237, + "ef_consumption" : 0.002442269, + "ef_distribution" : 0.0089059516, + "ef_packaging" : 0.021566061, + "ef_processing" : 0.027988692, + "ef_total" : 0.4739316876, + "ef_transportation" : 0.016456344, "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" : "Feta-type cheese from cow's milk", + "name_fr" : "Fromage type feta, au lait de vache", + "score" : 56, "version" : "3.1.1" }, - "grade" : "a-plus", + "grade" : "b", "grades" : { - "ad" : "a-plus", - "al" : "a-plus", - "at" : "a-plus", - "ax" : "a-plus", - "ba" : "a-plus", - "be" : "a-plus", - "bg" : "a-plus", - "ch" : "a-plus", - "cy" : "a-plus", - "cz" : "a-plus", - "de" : "a-plus", - "dk" : "a-plus", - "dz" : "a-plus", - "ee" : "a-plus", - "eg" : "a-plus", - "es" : "a-plus", - "fi" : "a-plus", - "fo" : "a-plus", - "fr" : "a-plus", - "gg" : "a-plus", - "gi" : "a-plus", - "gr" : "a-plus", - "hr" : "a-plus", - "hu" : "a-plus", - "ie" : "a-plus", - "il" : "a-plus", - "im" : "a-plus", - "is" : "a-plus", - "it" : "a-plus", - "je" : "a-plus", - "lb" : "a-plus", - "li" : "a-plus", - "lt" : "a-plus", - "lu" : "a-plus", - "lv" : "a-plus", - "ly" : "a-plus", - "ma" : "a-plus", - "mc" : "a-plus", - "md" : "a-plus", - "me" : "a-plus", - "mk" : "a-plus", - "mt" : "a-plus", - "nl" : "a-plus", - "no" : "a-plus", - "pl" : "a-plus", - "ps" : "a-plus", - "pt" : "a-plus", - "ro" : "a-plus", - "rs" : "a-plus", - "se" : "a-plus", - "si" : "a-plus", - "sj" : "a-plus", - "sk" : "a-plus", - "sm" : "a-plus", - "sy" : "a-plus", - "tn" : "a-plus", - "tr" : "a-plus", - "ua" : "a-plus", - "uk" : "a-plus", - "us" : "a-plus", - "va" : "a-plus", - "world" : "a-plus", - "xk" : "a-plus" + "ad" : "a", + "al" : "b", + "at" : "a", + "ax" : "a", + "ba" : "b", + "be" : "a", + "bg" : "b", + "ch" : "a", + "cy" : "a", + "cz" : "a", + "de" : "a", + "dk" : "a", + "dz" : "a", + "ee" : "a", + "eg" : "b", + "es" : "a", + "fi" : "a", + "fo" : "a", + "fr" : "a", + "gg" : "a", + "gi" : "b", + "gr" : "a", + "hr" : "b", + "hu" : "b", + "ie" : "a", + "il" : "b", + "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" : "b", + "me" : "a", + "mk" : "b", + "mt" : "a", + "nl" : "a", + "no" : "b", + "pl" : "b", + "ps" : "a", + "pt" : "b", + "ro" : "b", + "rs" : "b", + "se" : "b", + "si" : "a", + "sj" : "a", + "sk" : "b", + "sm" : "a", + "sy" : "b", + "tn" : "b", + "tr" : "b", + "ua" : "a", + "uk" : "a", + "us" : "b", + "va" : "b", + "world" : "b", + "xk" : "b" }, "previous_data" : { "agribalyse" : { @@ -704,77 +703,81 @@ "grade" : "a", "score" : 122 }, - "score" : 111, + "score" : 69, "scores" : { - "ad" : 120, - "al" : 111, - "at" : 117, - "ax" : 121, - "ba" : 113, - "be" : 123, - "bg" : 114, - "ch" : 121, - "cy" : 117, - "cz" : 118, - "de" : 120, - "dk" : 117, - "dz" : 118, - "ee" : 122, - "eg" : 116, - "es" : 117, - "fi" : 121, - "fo" : 120, - "fr" : 123, - "gg" : 123, - "gi" : 112, - "gr" : 118, - "hr" : 116, - "hu" : 115, - "ie" : 118, - "il" : 116, - "im" : 119, - "is" : 119, - "it" : 118, - "je" : 122, - "lb" : 117, - "li" : 121, - "lt" : 120, - "lu" : 123, - "lv" : 122, - "ly" : 119, - "ma" : 120, - "mc" : 119, - "md" : 115, - "me" : 117, - "mk" : 115, - "mt" : 120, - "nl" : 123, - "no" : 114, - "pl" : 115, - "ps" : 117, - "pt" : 113, - "ro" : 116, - "rs" : 112, - "se" : 113, - "si" : 117, - "sj" : 119, - "sk" : 115, - "sm" : 117, - "sy" : 115, - "tn" : 112, - "tr" : 112, - "ua" : 117, - "uk" : 121, - "us" : 111, - "va" : 115, - "world" : 111, - "xk" : 115 + "ad" : 78, + "al" : 69, + "at" : 75, + "ax" : 79, + "ba" : 71, + "be" : 81, + "bg" : 72, + "ch" : 79, + "cy" : 75, + "cz" : 76, + "de" : 78, + "dk" : 75, + "dz" : 76, + "ee" : 80, + "eg" : 74, + "es" : 75, + "fi" : 79, + "fo" : 78, + "fr" : 81, + "gg" : 81, + "gi" : 70, + "gr" : 76, + "hr" : 74, + "hu" : 73, + "ie" : 76, + "il" : 74, + "im" : 77, + "is" : 77, + "it" : 76, + "je" : 80, + "lb" : 75, + "li" : 79, + "lt" : 78, + "lu" : 81, + "lv" : 80, + "ly" : 77, + "ma" : 78, + "mc" : 77, + "md" : 73, + "me" : 75, + "mk" : 73, + "mt" : 78, + "nl" : 81, + "no" : 72, + "pl" : 73, + "ps" : 75, + "pt" : 71, + "ro" : 74, + "rs" : 70, + "se" : 71, + "si" : 75, + "sj" : 77, + "sk" : 73, + "sm" : 75, + "sy" : 73, + "tn" : 70, + "tr" : 70, + "ua" : 75, + "uk" : 79, + "us" : 69, + "va" : 73, + "world" : 69, + "xk" : 73 }, "status" : "known" }, - "ecoscore_grade" : "a-plus", - "ecoscore_score" : 111, + "ecoscore_grade" : "b", + "ecoscore_score" : 69, "environment_impact_level_tags" : [], + "image_front_small_url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/front_en.280.200.jpg", + "image_front_url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/front_en.280.400.jpg", + "image_ingredients_url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/ingredients_en.269.400.jpg", + "image_small_url" : "https://images.openfoodfacts.org/images/products/932/700/674/81501/front_en.280.200.jpg", "ingredients_analysis_tags" : [ "en:palm-oil-free", "en:vegan", @@ -786,7 +789,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" : "\nThe carbon emission figure comes from ADEME's Agribalyse database, for the category: \n Feta-type cheese from cow's milk\n (Source: ADEME Agribalyse Database)\n
\n ", "type" : "summary" } }, @@ -813,8 +816,8 @@ "text" : "Agriculture" }, { - "percent" : 20.3326275087945, - "text" : "20.3 %" + "percent" : 84.6129090355212, + "text" : "84.6 %" } ] }, @@ -826,8 +829,8 @@ "text" : "Processing" }, { - "percent" : 29.3728073746592, - "text" : "29.4 %" + "percent" : 5.25775268927601, + "text" : "5.3 %" } ] }, @@ -839,8 +842,8 @@ "text" : "Packaging" }, { - "percent" : 19.5753974535878, - "text" : "19.6 %" + "percent" : 5.14992670158064, + "text" : "5.1 %" } ] }, @@ -852,8 +855,8 @@ "text" : "Transportation" }, { - "percent" : 25.484985099752, - "text" : "25.5 %" + "percent" : 4.14226365877909, + "text" : "4.1 %" } ] }, @@ -865,8 +868,8 @@ "text" : "Distribution" }, { - "percent" : 3.0732288312766, - "text" : "3.1 %" + "percent" : 0.70613467736394, + "text" : "0.7 %" } ] }, @@ -878,8 +881,8 @@ "text" : "Consumption" }, { - "percent" : 2.16095373192992, - "text" : "2.2 %" + "percent" : 0.131013237479068, + "text" : "0.1 %" } ] } @@ -889,14 +892,14 @@ } } ], - "evaluation" : "good", + "evaluation" : "average", "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₂e per 100g of product", - "title" : "Equal to driving 0.3 km in a petrol car" + "subtitle" : "509 g CO₂e per 100g of product", + "title" : "Equal to driving 2.6 km in a petrol car" }, "topics" : [ "environment" @@ -956,10 +959,10 @@ ], "level" : "info", "title_element" : { - "grade" : "a_plus", - "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-a-plus.svg", + "grade" : "b", + "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/ecoscore-b.svg", "name" : "Eco-Score", - "title" : "Eco-Score A-PLUS - Very low environmental impact", + "title" : "Eco-Score B - Low environmental impact", "type" : "grade" }, "topics" : [ @@ -971,7 +974,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\nCategory: \n Soup, mixed vegetables, prepacked, to be reheated\n
\nCategory: \n Feta-type cheese from cow's milk\n
\nElements that indicate the product is in the 3 - Processed foods group:
\nElements that indicate the product is in the 3 - Processed foods group:
\nFood products are classified into 4 groups according to their degree of processing:
\nThe determination of the group is based on the category of the product and on the ingredients it contains.
\n→ Learn more about the NOVA classification
\n" + "html" : "\nFood products are classified into 4 groups according to their degree of processing:
\nThe determination of the group is based on the category of the product and on the ingredients it contains.
\n→ Learn more about the NOVA classification
\n" } } ], @@ -1864,6 +1910,12 @@ "type" : "warning" } }, + { + "element_type" : "panel", + "panel_element" : { + "panel_id" : "nutriscore_new_computation" + } + }, { "element_type" : "panel", "panel_element" : { @@ -1934,7 +1986,7 @@ "title_element" : { "icon_url" : "https://static.openfoodfacts.org/images/attributes/dist/points-negative-0-10.svg", "subtitle" : "0/10 points (120kJ)", - "title" : "Calories" + "title" : "Energy" }, "topics" : [ "health" @@ -2099,7 +2151,7 @@ { "element_type" : "text", "text_element" : { - "html" : "\n\nThis product is not considered a beverage for the calculation of the Nutri-Score.
\n\n\n\n\n\nPoints for proteins are counted because the negative points are less than 11.
\n\n\n Nutritional score: -1\n (1 - 2)\n
\nNutri-Score: A
\n " + "html" : "\n\nThis product is not considered a beverage for the calculation of the Nutri-Score.
\n\n\n\n\nThis product is considered to be cheese for the calculation of the Nutri-Score.
\n\n\nPoints for proteins are counted because the product is considered to be cheese.
\n\n\n Nutritional score: -1\n (1 - 2)\n
\nNutri-Score: A
\n " } } ], @@ -2114,6 +2166,33 @@ "health" ] }, + "nutriscore_new_computation" : { + "elements" : [ + { + "element_type" : "text", + "text_element" : { + "html" : "The computation of the Nutri-Score is evolving to provide better recommendations based on the latest scientific evidence.
Main improvements:
→ Discover all the improvements of the new Nutri-Score
\n" + } + } + ], + "level" : "info", + "title_element" : { + "icon_size" : "small", + "icon_url" : "https://static.openfoodfacts.org/images/icons/dist/info.svg", + "title" : "Discover the new Nutri-Score!", + "type" : "info" + }, + "topics" : [ + "health" + ] + }, "nutrition_facts_table" : { "elements" : [ { @@ -2125,17 +2204,10 @@ "text" : "Nutrition facts", "type" : "text" }, - { - "column_group_id" : "product", - "shown_by_default" : true, - "text" : "As sold