diff --git a/packages/smooth_app/assets/onboarding/sample_knowledge_panels.json b/packages/smooth_app/assets/onboarding/sample_knowledge_panels.json index 9dc29a5b4e6..ec5a0bff494 100644 --- a/packages/smooth_app/assets/onboarding/sample_knowledge_panels.json +++ b/packages/smooth_app/assets/onboarding/sample_knowledge_panels.json @@ -1,65 +1,12 @@ { - "code": "80135463", + "code": "093270067481501", "product": { "knowledge_panels": { - "additive_en:e322": { - "elements": [{ - "element_type": "text", - "text_element": { - "html": "Lecithin: Lecithin -UK: , US: , from the Greek lekithos, \"egg yolk\"- is a generic term to designate any group of yellow-brownish fatty substances occurring in animal and plant tissues, which are amphiphilic – they attract both water and fatty substances -and so are both hydrophilic and lipophilic-, and are used for smoothing food textures, dissolving powders -emulsifying-, homogenizing liquid mixtures, and repelling sticking materials.Lecithins are mixtures of glycerophospholipids including phosphatidylcholine, phosphatidylethanolamine, phosphatidylinositol, phosphatidylserine, and phosphatidic acid.Lecithin was first isolated in 1845 by the French chemist and pharmacist Theodore Gobley. In 1850, he named the phosphatidylcholine lécithine. Gobley originally isolated lecithin from egg yolk—λέκιθος lekithos is \"egg yolk\" in Ancient Greek—and established the complete chemical formula of phosphatidylcholine in 1874; in between, he had demonstrated the presence of lecithin in a variety of biological matters, including venous blood, in human lungs, bile, human brain tissue, fish eggs, fish roe, and chicken and sheep brain. Lecithin can easily be extracted chemically using solvents such as hexane, ethanol, acetone, petroleum ether, benzene, etc., or extraction can be done mechanically. It is usually available from sources such as soybeans, eggs, milk, marine sources, rapeseed, cottonseed, and sunflower. It has low solubility in water, but is an excellent emulsifier. In aqueous solution, its phospholipids can form either liposomes, bilayer sheets, micelles, or lamellar structures, depending on hydration and temperature. This results in a type of surfactant that usually is classified as amphipathic. Lecithin is sold as a food additive and dietary supplement. In cooking, it is sometimes used as an emulsifier and to prevent sticking, for example in nonstick cooking spray.", - "source_language": "English", - "source_lc": "en", - "source_text": "Wikipedia", - "source_url": "https://en.wikipedia.org/wiki/Lecithin" - } - }], - "level": "info", - "size": "small", - "title_element": { - "title": "E322 - Lecithins" - }, - "topics": ["health"] - }, - "additive_en:e322i": { - "elements": [{ - "element_type": "text", - "text_element": { - "html": "Lecithin: Lecithin -UK: , US: , from the Greek lekithos, \"egg yolk\"- is a generic term to designate any group of yellow-brownish fatty substances occurring in animal and plant tissues, which are amphiphilic – they attract both water and fatty substances -and so are both hydrophilic and lipophilic-, and are used for smoothing food textures, dissolving powders -emulsifying-, homogenizing liquid mixtures, and repelling sticking materials.Lecithins are mixtures of glycerophospholipids including phosphatidylcholine, phosphatidylethanolamine, phosphatidylinositol, phosphatidylserine, and phosphatidic acid.Lecithin was first isolated in 1845 by the French chemist and pharmacist Theodore Gobley. In 1850, he named the phosphatidylcholine lécithine. Gobley originally isolated lecithin from egg yolk—λέκιθος lekithos is \"egg yolk\" in Ancient Greek—and established the complete chemical formula of phosphatidylcholine in 1874; in between, he had demonstrated the presence of lecithin in a variety of biological matters, including venous blood, in human lungs, bile, human brain tissue, fish eggs, fish roe, and chicken and sheep brain. Lecithin can easily be extracted chemically using solvents such as hexane, ethanol, acetone, petroleum ether, benzene, etc., or extraction can be done mechanically. It is usually available from sources such as soybeans, eggs, milk, marine sources, rapeseed, cottonseed, and sunflower. It has low solubility in water, but is an excellent emulsifier. In aqueous solution, its phospholipids can form either liposomes, bilayer sheets, micelles, or lamellar structures, depending on hydration and temperature. This results in a type of surfactant that usually is classified as amphipathic. Lecithin is sold as a food additive and dietary supplement. In cooking, it is sometimes used as an emulsifier and to prevent sticking, for example in nonstick cooking spray.", - "source_language": "English", - "source_lc": "en", - "source_text": "Wikipedia", - "source_url": "https://en.wikipedia.org/wiki/Lecithin" - } - }], - "level": "info", - "size": "small", - "title_element": { - "title": "E322i - Lecithin" - }, - "topics": ["health"] - }, - "additives": { - "elements": [{ - "element_type": "panel", - "panel_element": { - "panel_id": "additive_en:e322" - } - }, { - "element_type": "panel", - "panel_element": { - "panel_id": "additive_en:e322i" - } - }], - "expanded": true, - "level": "info", - "topics": ["health"], - "type": "inline" - }, "carbon_footprint": { "elements": [{ "element_type": "text", "text_element": { - "html": "\n

The carbon emission figure comes from ADEME's Agribalyse database, for the category: \n Chocolate spread with hazelnuts\n (Source: ADEME Agribalyse Database\n

\n ", + "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 ", "text_type": "summary" } }, { @@ -76,70 +23,70 @@ "rows": [{ "id": "agriculture", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/agriculture.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/agriculture.svg", "text": "Agriculture" }, { - "percent": 88.8889136446762, - "text": "88.9 %" + "percent": 19.9102452652909, + "text": "19.9 %" }] }, { "id": "processing", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/processing.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/processing.svg", "text": "Processing" }, { - "percent": 7.00489485042906, - "text": "7.0 %" + "percent": 27.1491161600647, + "text": "27.1 %" }] }, { "id": "packaging", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/packaging.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/packaging.svg", "text": "Packaging" }, { - "percent": 1.9105118864761, - "text": "1.9 %" + "percent": 19.8346135618205, + "text": "19.8 %" }] }, { "id": "transportation", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/transportation.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/transportation.svg", "text": "Transportation" }, { - "percent": 1.99595294189039, - "text": "2.0 %" + "percent": 26.4266128826942, + "text": "26.4 %" }] }, { "id": "distribution", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/distribution.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/distribution.svg", "text": "Distribution" }, { - "percent": 0.142846509121219, - "text": "0.1 %" + "percent": 5.08785774296693, + "text": "5.1 %" }] }, { "id": "consumption", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/consumption.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/consumption.svg", "text": "Consumption" }, { - "percent": 0, - "text": "0.0 %" + "percent": 1.59155663592528, + "text": "1.6 %" }] }], "table_type": "percents", "title": "Details of the impacts by stages of the life cycle" } }], - "evaluation": "bad", + "evaluation": "good", "expanded": false, "level": "info", "title_element": { "icon_color_from_evaluation": true, - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/car.svg", - "subtitle": "987 g CO² per 100g of product", - "title": "Equal to driving 5.1 km in a petrol car" + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/car.svg", + "subtitle": "50 g CO² per 100g of product", + "title": "Equal to driving 0.3 km in a petrol car" }, "topics": ["environment"] }, @@ -164,7 +111,7 @@ }, { "element_type": "panel_group", "panel_group_element": { - "panel_ids": ["ecoscore_origins_of_ingredients", "ecoscore_threatened_species", "ecoscore_packaging"], + "panel_ids": ["ecoscore_production_system", "ecoscore_origins_of_ingredients", "ecoscore_threatened_species", "ecoscore_packaging"], "title": "Bonuses and maluses" } }, { @@ -176,9 +123,9 @@ }], "level": "info", "title_element": { - "grade": "d", - "icon_url": "https://static.openfoodfacts.net/images/attributes/ecoscore-d.svg", - "title": "Eco-Score D - High environmental impact", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/ecoscore-a.svg", + "title": "Eco-Score A - Very low environmental impact", "type": "grade" }, "topics": ["environment"] @@ -187,7 +134,7 @@ "elements": [{ "element_type": "text", "text_element": { - "html": "\n

Category: \n Chocolate spread with hazelnuts\n

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

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

\n \n ", "text_type": "summary" } }, { @@ -204,56 +151,56 @@ "rows": [{ "id": "agriculture", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/agriculture.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/agriculture.svg", "text": "Agriculture" }, { - "percent": 82.6683253659907, - "text": "82.7 %" + "percent": 25.5002680709173, + "text": "25.5 %" }] }, { "id": "processing", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/processing.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/processing.svg", "text": "Processing" }, { - "percent": 11.5205649227182, - "text": "11.5 %" + "percent": 33.0290288957563, + "text": "33.0 %" }] }, { "id": "packaging", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/packaging.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/packaging.svg", "text": "Packaging" }, { - "percent": 2.75038601617178, - "text": "2.8 %" + "percent": 16.0209089644945, + "text": "16.0 %" }] }, { "id": "transportation", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/transportation.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/transportation.svg", "text": "Transportation" }, { - "percent": 2.39678556140912, - "text": "2.4 %" + "percent": 10.9532564584838, + "text": "11.0 %" }] }, { "id": "distribution", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/distribution.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/distribution.svg", "text": "Distribution" }, { - "percent": 0.617299532560963, - "text": "0.6 %" + "percent": 10.2036132114395, + "text": "10.2 %" }] }, { "id": "consumption", "values": [{ - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/consumption.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/consumption.svg", "text": "Consumption" }, { - "percent": 0, - "text": "0.0 %" + "percent": 4.29292536182619, + "text": "4.3 %" }] }], "table_type": "percents", @@ -262,9 +209,9 @@ }], "level": "info", "title_element": { - "grade": "c", - "subtitle": "Category: Chocolate spread with hazelnuts", - "title": "Average impact of products of the same category: C (Score: 40/100)", + "grade": "a", + "subtitle": "Category: Soup, mixed vegetables, prepacked, to be reheated", + "title": "Average impact of products of the same category: A (Score: 97/100)", "type": "grade" }, "topics": ["environment"] @@ -273,18 +220,46 @@ "elements": [{ "element_type": "text", "text_element": { - "html": "\n The origins of the ingredients of this product are not indicated.

\n If they are indicated on the packaging, you can modify the product sheet and add them.

\n If you are the manufacturer of this product, you can send us the information with our free platform for producers.\n ", - "type": "warning" + "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": "unknown", + "evaluation": "average", "level": "info", "title_element": { "icon_color_from_evaluation": true, "icon_size": "small", - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/public.svg", - "subtitle": "Malus: -5", - "title": "Missing origins of ingredients information" + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/public.svg", + "subtitle": "Bonus: +4", + "title": "Origins of ingredients with a medium impact" }, "topics": ["environment"] }, @@ -308,83 +283,58 @@ "id": "ecoscore_packaging_components", "rows": [{ "values": [{ - "text": "Lid" - }, { - "text": "LDPE - Low-density polyethylene" - }, { - "text": "" - }, { - "evaluation": "bad", - "text": "High" - }] - }, { - "values": [{ - "text": "Seal" - }, { - "text": "Heavy aluminium" - }, { - "text": "" - }, { - "evaluation": "neutral", - "text": "Medium" - }] - }, { - "values": [{ - "text": "Pot" + "text": "Bottle" }, { "text": "Glass" }, { - "text": "" + "evaluation": "good", + "text": "Recycle" }, { "evaluation": "good", "text": "Low" }] }, { "values": [{ - "text": "Jar" + "text": "Bottle cap" }, { - "text": "Unknown" + "text": "Steel" }, { - "text": "" + "evaluation": "good", + "text": "Recycle" }, { - "evaluation": "bad", - "text": "High" + "evaluation": "good", + "text": "Low" }] }], "title": "Packaging parts" } - }, { - "element_type": "text", - "text_element": { - "html": "\n The information about the packaging of this product is not sufficiently precise (exact shapes and materials of all components of the packaging).\n ", - "type": "warning" - } - }, { - "element_type": "text", - "text_element": { - "html": "\n For a more precise calculation of the Eco-Score, you can modify the product page and add them.\n

\n If you are the manufacturer of this product, you can send us the information with our free platform for producers.\n ", - "type": "warning" - } }], - "evaluation": "average", + "evaluation": "good", "level": "info", "title_element": { "icon_color_from_evaluation": true, "icon_size": "small", - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/packaging.svg", - "subtitle": "Malus: -14", - "title": "Packaging with a medium impact" + "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": { - "evaluation": "neutral", + "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.net/images/icons/dist/agriculture.svg", - "title": "No labels with environmental benefits" + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/agriculture.svg", + "subtitle": "Bonus: +15", + "title": "Labels with high environmental benefits" }, "topics": ["environment"] }, @@ -394,7 +344,7 @@ "title_element": { "icon_color_from_evaluation": true, "icon_size": "small", - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/monkey_happy.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/monkey_happy.svg", "title": "No ingredients that threaten species" }, "topics": ["environment"] @@ -403,15 +353,15 @@ "elements": [{ "element_type": "text", "text_element": { - "html": "\n Life cycle analysis score: 40
\n Sum of bonuses and maluses:\n \n -19\n

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

\n Final score: 114/100\n \n ", "type": "summary" } }], "level": "info", "title_element": { - "grade": "d", - "subtitle": "Product: Nutella - Ferrero - 200 g", - "title": "Impact for this product: D (Score: 21/100)", + "grade": "a", + "subtitle": "Product: A good product for you - Open Food Facts - 200 g", + "title": "Impact for this product: A (Score: 114/100)", "type": "grade" }, "topics": ["environment"] @@ -437,9 +387,15 @@ }, { "element_type": "panel_group", "panel_group_element": { - "panel_ids": ["origins_of_ingredients"], + "panel_ids": ["manufacturing_place", "origins_of_ingredients"], "title": "Transportation" } + }, { + "element_type": "panel_group", + "panel_group_element": { + "panel_ids": ["environment_label_en:eu-organic"], + "title": "Labels" + } }], "expanded": true, "title_element": { @@ -448,6 +404,23 @@ "topics": ["environment"], "type": "card" }, + "environment_label_en:eu-organic": { + "elements": [{ + "element_type": "text", + "text_element": { + "html": "\n Organic food is food produced by methods complying with the standards of organic farming and features practices that cycle resources, promote ecological balance, and conserve biodiversity.\n ", + "type": "default" + } + }], + "evaluation": "good", + "level": "info", + "title_element": { + "icon_url": "https://static.openfoodfacts.org/images/lang/en/labels/eu-organic.135x90.svg", + "subtitle": "Organic agriculture contributes to preserve biodiversity, climate, water quality and soil fertility.", + "title": "EU Organic" + }, + "topics": ["environment"] + }, "health_card": { "elements": [{ "element_type": "panel_group", @@ -461,12 +434,6 @@ "panel_ids": ["ingredients"], "title": "Ingredients" } - }, { - "element_type": "panel_group", - "panel_group_element": { - "panel_ids": ["additives"], - "title": "Additives" - } }], "expanded": true, "title_element": { @@ -481,46 +448,58 @@ "text_element": { "edit_field_id": "ingredients_text_en", "edit_field_type": "ingredients_text", - "edit_field_value": "sugar, palm oil, hazelnuts 13%, skim milk powder 8.7%, lean cocoa\n7.4%, emulsifiers: lecithins [ soy ] vanillin", - "html": "sugar, palm oil, hazelnuts 13%, skim milk powder 8.7%, lean cocoa\n7.4%, emulsifiers: lecithins [ soy ] vanillin", + "edit_field_value": "Butternut squash 50%, water, carrots 10%, sweet potato, leeks, potatoes, salt.", + "html": "Butternut squash 50%, water, carrots 10%, sweet potato, leeks, potatoes, salt.", "language": "English", "lc": "en" } - }, { - "element_type": "text", - "text_element": { - "html": "Allergens: \n Milk, Nuts, Soybeans\n " - } }], "expanded": true, "level": "info", "topics": ["health"], "type": "inline" }, - "nutriscore": { + "manufacturing_place": { "elements": [{ - "element_type": "text", - "text_element": { - "html": "Warning: the amount of fiber is not specified, their possible positive contribution to the grade could not be taken into account.\n ", - "type": "warning" + "element_type": "map", + "map_element": { + "pointers": [{ + "geo": { + "lat": 48.7951886, + "lng": 2.4871653 + } + }] } - }, { + }], + "evaluation": "neutral", + "expanded": true, + "level": "info", + "title_element": { + "icon_color_from_evaluation": true, + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/transportation.svg", + "subtitle": "SAINT-MAUR-DES-FOSSES - France", + "title": "Manufacturing or processing place" + }, + "topics": ["environment"] + }, + "nutriscore": { + "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: 0%\n ", + "html": "Warning: the amount of fruits, vegetables and nuts is not specified on the label, it was estimated from the list of ingredients: 60%\n ", "type": "warning" } }, { "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

\n Positive points: 0 \n

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

\n Negative points: 26 \n

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

The points for proteins are not counted because the negative points are greater or equal to 11.

\n\n

\n Score nutritionnel: 26\n (26 - 0)\n

\n

Nutri-Score: E

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

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

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

\n Positive points: 4 \n

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

\n Negative points: 1 \n

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

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

\n\n

\n Score nutritionnel: -3\n (1 - 4)\n

\n

Nutri-Score: A

\n\n" } }], "level": "info", "title_element": { - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/nutriscore-e.svg", - "title": "Bad nutritional quality", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/nutriscore-a.svg", + "title": "Very good nutritional quality", "type": "grade" }, "topics": ["health"] @@ -540,10 +519,9 @@ "text_for_small_screens": "100g", "type": "text" }, { - "column_group_id": "product", - "shown_by_default": false, - "text": "As sold
per serving (15 g)", - "text_for_small_screens": "per serving", + "column_group_id": "comparisons", + "shown_by_default": true, + "text": "Compared to: Vegetable soups", "type": "text" }], "id": "nutrition_facts_table", @@ -553,9 +531,10 @@ "style": "max-width:15rem", "text": "Energy" }, { - "text": "2,252 kj
(539 kcal)" + "text": "120 kj
(29 kcal)" }, { - "text": "338 kj
(80 kcal)" + "evaluation": "good", + "text": "-55%" }] }, { "values": [{ @@ -563,9 +542,10 @@ "style": "max-width:15rem", "text": "Fat" }, { - "text": "30.9 g" + "text": "0.5 g" }, { - "text": "4.63 g" + "evaluation": "good", + "text": "-70%" }] }, { "values": [{ @@ -573,9 +553,10 @@ "style": "max-width:15rem", "text": "Saturated fat" }, { - "text": "10.6 g" + "text": "0.2 g" }, { - "text": "1.59 g" + "evaluation": "good", + "text": "-42%" }] }, { "values": [{ @@ -583,9 +564,10 @@ "style": "max-width:15rem", "text": "Salt" }, { - "text": "0.107 g" + "text": "0.4 g" }, { - "text": "0.016 g" + "evaluation": "good", + "text": "-33%" }] }, { "values": [{ @@ -593,9 +575,20 @@ "style": "max-width:15rem", "text": "Carbohydrates" }, { - "text": "57.5 g" + "text": "4 g" }, { - "text": "8.62 g" + "text": "-60%" + }] + }, { + "values": [{ + "level": 1, + "style": "max-width:15rem", + "text": "Fiber" + }, { + "text": "3 g" + }, { + "evaluation": "good", + "text": "+122%" }] }, { "values": [{ @@ -603,9 +596,10 @@ "style": "max-width:15rem", "text": "Sugars" }, { - "text": "56.3 g" + "text": "0.5 g" }, { - "text": "8.44 g" + "evaluation": "good", + "text": "-85%" }] }, { "values": [{ @@ -613,9 +607,10 @@ "style": "max-width:15rem", "text": "Proteins" }, { - "text": "6.3 g" + "text": "1 g" }, { - "text": "0.945 g" + "evaluation": "bad", + "text": "-47%" }] }, { "values": [{ @@ -623,9 +618,9 @@ "style": "max-width:15rem", "text": "Fruits‚ vegetables‚ nuts and rapeseed‚ walnut and olive oils (estimate from ingredients list analysis)" }, { - "text": "0 %" + "text": "60 %" }, { - "text": "0 %" + "text": "" }] }], "title": "Nutrition facts" @@ -638,19 +633,42 @@ }, "origins_of_ingredients": { "elements": [{ - "element_type": "text", - "text_element": { - "html": "\n The origins of the ingredients of this product are not indicated.

\n If they are indicated on the packaging, you can modify the product sheet and add them.

\n If you are the manufacturer of this product, you can send us the information with our free platform for producers.\n ", - "type": "warning" + "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" + }] + }], + "table_type": "percents", + "title": "Origins of ingredients" } }], - "evaluation": "unknown", + "evaluation": "average", "expanded": false, "level": "info", "title_element": { "icon_color_from_evaluation": true, - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/public.svg", - "subtitle": "Missing origins of ingredients information", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/public.svg", + "subtitle": "Origins of ingredients with a medium impact", "title": "Origins of ingredients" }, "topics": ["environment"] @@ -659,21 +677,21 @@ "elements": [{ "element_type": "text", "text_element": { - "evaluation": "neutral", - "html": "\n \n \n Lid\n \n (LDPE - Low-density polyethylene)\n \n
\n \n \n \n Seal\n \n (Aluminium)\n \n
\n \n \n \n Pot\n \n (Glass)\n \n
\n \n \n \n Jar\n \n
\n \n \n ", - "icon_alt": "Unknown", + "evaluation": "good", + "html": "\n \n \n Bottle\n \n (Glass)\n \n
\n \n \n \n Bottle cap\n \n (Steel)\n \n
\n \n \n ", + "icon_alt": "Recycle", "icon_color_from_evaluation": true, - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/help.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/recycle-variant.svg", "type": "summary" } }], - "evaluation": "average", + "evaluation": "good", "expanded": true, "level": "info", "title_element": { "icon_color_from_evaluation": true, - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/packaging.svg", - "title": "Packaging with a medium impact" + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/packaging.svg", + "title": "Packaging with a low impact" }, "topics": ["environment"] }, @@ -681,33 +699,33 @@ "elements": [{ "element_type": "text", "text_element": { - "evaluation": "bad", - "html": "\n Swimming: 79 min \n ", + "evaluation": "good", + "html": "\n Swimming: 4 min \n ", "icon_alt": "Swimming", "icon_color_from_evaluation": true, - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/activity-swimming.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/activity-swimming.svg", "type": "summary", "valign": "middle" } }, { "element_type": "text", "text_element": { - "evaluation": "bad", - "html": "\n Bicycling: 61 min \n ", + "evaluation": "good", + "html": "\n Bicycling: 3 min \n ", "icon_alt": "Bicycling", "icon_color_from_evaluation": true, - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/activity-bicycling.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/activity-bicycling.svg", "type": "summary", "valign": "middle" } }, { "element_type": "text", "text_element": { - "evaluation": "bad", - "html": "\n Running: 46 min \n ", + "evaluation": "good", + "html": "\n Running: 2 min \n ", "icon_alt": "Running", "icon_color_from_evaluation": true, - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/activity-running.svg", + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/activity-running.svg", "type": "summary", "valign": "middle" } @@ -719,14 +737,14 @@ "type": "summary" } }], - "evaluation": "bad", + "evaluation": "good", "expanded": false, "level": "info", "title_element": { "icon_color_from_evaluation": true, - "icon_url": "https://static.openfoodfacts.net/images/icons/dist/activity-walking.svg", - "subtitle": "Equal to walking 131 minutes or 13131 steps", - "title": "2252 kJ per 100g" + "icon_url": "https://static.openfoodfacts.org/images/icons/dist/activity-walking.svg", + "subtitle": "Equal to walking 7 minutes or 700 steps", + "title": "120 kJ per 100g" }, "topics": ["health"] }, diff --git a/packages/smooth_app/assets/onboarding/sample_product_data.json b/packages/smooth_app/assets/onboarding/sample_product_data.json index f4eef42c1b9..74347ab9b04 100644 --- a/packages/smooth_app/assets/onboarding/sample_product_data.json +++ b/packages/smooth_app/assets/onboarding/sample_product_data.json @@ -1,242 +1,254 @@ { - "code": "80135463", + "code": "093270067481501", "product": { - "additives_tags": ["en:e322", "en:e322i"], + "additives_tags": [], "attribute_groups": [{ "attributes": [{ "description": "", - "description_short": "Bad nutritional quality", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/nutriscore-e.svg", + "description_short": "Very good nutritional quality", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/nutriscore-a.svg", "id": "nutriscore", - "match": 13.0909090909091, + "match": 83.7142857142857, "name": "Nutri-Score", "status": "known", - "title": "Nutri-Score E" + "title": "Nutri-Score A" }, { - "description_short": "0.107 g / 100 g", - "grade": "a", - "icon_url": "https://static.openfoodfacts.net/images/attributes/nutrient-level-salt-low.svg", + "description_short": "0.4 g / 100 g", + "grade": "b", + "icon_url": "https://static.openfoodfacts.org/images/attributes/nutrient-level-salt-medium.svg", "id": "low_salt", - "match": 92.8666666666667, + "match": 75, "name": "Salt", "status": "known", - "title": "Salt in low quantity" + "title": "Salt in moderate quantity" }, { - "description_short": "30.9 g / 100 g", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/nutrient-level-fat-high.svg", + "description_short": "0.5 g / 100 g", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/nutrient-level-fat-low.svg", "id": "low_fat", - "match": 9.1, + "match": 96.6666666666667, "name": "Fat", "status": "known", - "title": "Fat in high quantity" + "title": "Fat in low quantity" }, { - "description_short": "56.3 g / 100 g", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/nutrient-level-sugars-high.svg", + "description_short": "0.5 g / 100 g", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/nutrient-level-sugars-low.svg", "id": "low_sugars", - "match": 0, + "match": 98, "name": "Sugars", "status": "known", - "title": "Sugars in high quantity" + "title": "Sugars in low quantity" }, { - "description_short": "10.6 g / 100 g", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/nutrient-level-saturated-fat-high.svg", + "description_short": "0.2 g / 100 g", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/nutrient-level-saturated-fat-low.svg", "id": "low_saturated_fat", - "match": 0, + "match": 97.3333333333333, "name": "Saturated fat", "status": "known", - "title": "Saturated fat in high quantity" + "title": "Saturated fat in low quantity" }], "id": "nutritional_quality", "name": "Nutritional quality" }, { "attributes": [{ - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/gluten-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-gluten.svg", "id": "allergens_no_gluten", + "match": 100, "name": "Gluten", - "status": "unknown", - "title": "Presence unknown: Gluten" + "status": "known", + "title": "Does not contain: Gluten" }, { - "debug": "en:contains-milk label", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/contains-milk.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-milk.svg", "id": "allergens_no_milk", - "match": 0, + "match": 100, "name": "Milk", "status": "known", - "title": "Contains: Milk" + "title": "Does not contain: Milk" }, { - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/eggs-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-eggs.svg", "id": "allergens_no_eggs", + "match": 100, "name": "Eggs", - "status": "unknown", - "title": "Presence unknown: Eggs" + "status": "known", + "title": "Does not contain: Eggs" }, { - "debug": "en:nuts in allergens", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/contains-nuts.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-nuts.svg", "id": "allergens_no_nuts", - "match": 0, + "match": 100, "name": "Nuts", "status": "known", - "title": "Contains: Nuts" + "title": "Does not contain: Nuts" }, { - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/peanuts-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-peanuts.svg", "id": "allergens_no_peanuts", + "match": 100, "name": "Peanuts", - "status": "unknown", - "title": "Presence unknown: Peanuts" + "status": "known", + "title": "Does not contain: Peanuts" }, { - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/sesame-seeds-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-sesame-seeds.svg", "id": "allergens_no_sesame_seeds", + "match": 100, "name": "Sesame seeds", - "status": "unknown", - "title": "Presence unknown: Sesame seeds" + "status": "known", + "title": "Does not contain: Sesame seeds" }, { - "debug": "en:soybeans in allergens", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/contains-soybeans.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-soybeans.svg", "id": "allergens_no_soybeans", - "match": 0, + "match": 100, "name": "Soybeans", "status": "known", - "title": "Contains: Soybeans" + "title": "Does not contain: Soybeans" }, { - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/celery-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-celery.svg", "id": "allergens_no_celery", + "match": 100, "name": "Celery", - "status": "unknown", - "title": "Presence unknown: Celery" + "status": "known", + "title": "Does not contain: Celery" }, { - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/mustard-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-mustard.svg", "id": "allergens_no_mustard", + "match": 100, "name": "Mustard", - "status": "unknown", - "title": "Presence unknown: Mustard" + "status": "known", + "title": "Does not contain: Mustard" }, { - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/lupin-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-lupin.svg", "id": "allergens_no_lupin", + "match": 100, "name": "Lupin", - "status": "unknown", - "title": "Presence unknown: Lupin" + "status": "known", + "title": "Does not contain: Lupin" }, { - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/fish-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-fish.svg", "id": "allergens_no_fish", + "match": 100, "name": "Fish", - "status": "unknown", - "title": "Presence unknown: Fish" + "status": "known", + "title": "Does not contain: Fish" }, { - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/crustaceans-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-crustaceans.svg", "id": "allergens_no_crustaceans", + "match": 100, "name": "Crustaceans", - "status": "unknown", - "title": "Presence unknown: Crustaceans" + "status": "known", + "title": "Does not contain: Crustaceans" }, { - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/molluscs-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-molluscs.svg", "id": "allergens_no_molluscs", + "match": 100, "name": "Molluscs", - "status": "unknown", - "title": "Presence unknown: Molluscs" + "status": "known", + "title": "Does not contain: Molluscs" }, { - "debug": "too many unknown ingredients: 7 ingredients (1 unknown)", - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/sulphur-dioxide-and-sulphites-content-unknown.svg", + "debug": "7 ingredients (0 unknown)", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/no-sulphur-dioxide-and-sulphites.svg", "id": "allergens_no_sulphur_dioxide_and_sulphites", + "match": 100, "name": "Sulphur dioxide and sulphites", - "status": "unknown", - "title": "Presence unknown: Sulphur dioxide and sulphites" + "status": "known", + "title": "Does not contain: Sulphur dioxide and sulphites" }], "id": "allergens", "name": "Allergens", "warning": "There is always a possibility that data about allergens may be missing, incomplete, incorrect or that the product's composition has changed. If you are allergic, always check the information on the actual product packaging." }, { "attributes": [{ - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/non-vegan.svg", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/vegan.svg", "id": "vegan", - "match": 0, + "match": 100, "name": "Vegan", "status": "known", - "title": "Non-vegan" + "title": "Vegan" }, { - "grade": "unknown", - "icon_url": "https://static.openfoodfacts.net/images/attributes/vegetarian-status-unknown.svg", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/vegetarian.svg", "id": "vegetarian", + "match": 100, "name": "Vegetarian", - "status": "unknown", - "title": "Vegetarian status unknown" + "status": "known", + "title": "Vegetarian" }, { - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/contains-palm-oil.svg", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/palm-oil-free.svg", "id": "palm_oil_free", - "match": 0, + "match": 100, "name": "Palm oil free", "status": "known", - "title": "Palm oil" + "title": "Palm oil free" }], "id": "ingredients_analysis", "name": "Ingredients" }, { "attributes": [{ "description": "", - "description_short": "Ultra processed foods", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/nova-group-4.svg", + "description_short": "Processed foods", + "grade": "c", + "icon_url": "https://static.openfoodfacts.org/images/attributes/nova-group-3.svg", "id": "nova", - "match": 0, + "match": 50, "name": "NOVA group", "status": "known", - "title": "NOVA 4" + "title": "NOVA 3" }, { - "grade": "b", - "icon_url": "https://static.openfoodfacts.net/images/attributes/1-additives.svg", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/0-additives.svg", "id": "additives", - "match": 80, + "match": 100, "name": "Additives", "status": "known", - "title": "1 additive" + "title": "Without additives" }], "id": "processing", "name": "Food processing" }, { "attributes": [{ "description": "", - "description_short": "High environmental impact", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/ecoscore-d.svg", + "description_short": "Very low environmental impact", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/ecoscore-a.svg", "id": "ecoscore", - "match": 20, + "match": 100, "name": "Eco-Score", "status": "known", - "title": "Eco-Score D" + "title": "Eco-Score A" }, { "description": "", "description_short": "Currently only for products with chicken or eggs", "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/forest-footprint-not-computed.svg", + "icon_url": "https://static.openfoodfacts.org/images/attributes/forest-footprint-not-computed.svg", "id": "forest_footprint", "match": 0, "name": "Forest footprint", @@ -248,586 +260,492 @@ }, { "attributes": [{ "description": "Organic farming aims to protect the environment and to conserve biodiversity by prohibiting or limiting the use of synthetic fertilizers, pesticides and food additives.", - "description_short": "Organic products promote ecological sustainability and biodiversity.", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/not-organic.svg", + "description_short": "Promotes ecological sustainability and biodiversity.", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/organic.svg", "id": "labels_organic", - "match": 0, + "match": 100, "name": "Organic farming", "status": "known", - "title": "Not an organic product" + "title": "Organic product" }, { "description": "When you buy fair trade products, producers in developing countries are paid an higher and fairer price, which helps them improve and sustain higher social and often environmental standards.", - "description_short": "Fair trade products help producers in developping countries.", - "grade": "e", - "icon_url": "https://static.openfoodfacts.net/images/attributes/not-fair-trade.svg", + "description_short": "Helps producers in developing countries.", + "grade": "a", + "icon_url": "https://static.openfoodfacts.org/images/attributes/fair-trade.svg", "id": "labels_fair_trade", - "match": 0, + "match": 100, "name": "Fair trade", "status": "known", - "title": "Not a fair trade product" + "title": "Fair trade product" }], "id": "labels", "name": "Labels" }], - "brands": "Ferrero", - "categories_tags_fr": ["Produits à tartiner", "Petit-déjeuners", "Produits à tartiner sucrés", "Pâtes à tartiner", "Pâtes à tartiner aux noisettes", "Pâtes à tartiner au chocolat", "Pâtes à tartiner aux noisettes et au cacao"], - "code": "80135463", + "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"], + "code": "093270067481501", "ecoscore_data": { "adjustments": { "origins_of_ingredients": { "aggregated_origins": [{ - "epi_score": 0, - "origin": "en:unknown", + "epi_score": "93", + "origin": "en:france", "percent": 100, - "transportation_score": 0 + "transportation_score": "" }], - "epi_score": 0, - "epi_value": -5, - "origins_from_origins_field": ["en:unknown"], + "epi_score": 93, + "epi_value": 4, + "origins_from_origins_field": ["en:france"], "transportation_score": 0, "transportation_scores": { - "ad": 0, + "ad": 57, "al": 0, - "at": 0, - "ax": 0, - "ba": 0, - "be": 0, - "bg": 0, - "ch": 0, - "cy": 0, - "cz": 0, - "de": 0, - "dk": 0, - "dz": 0, - "ee": 0, - "eg": 0, - "es": 0, - "fi": 0, - "fo": 0, - "fr": 0, - "gg": 0, - "gi": 0, - "gr": 0, - "hr": 0, - "hu": 0, - "ie": 0, - "il": 0, - "im": 0, - "is": 0, - "it": 0, - "je": 0, - "lb": 0, - "li": 0, - "lt": 0, - "lu": 0, - "lv": 0, - "ly": 0, - "ma": 0, - "mc": 0, - "md": 0, - "me": 0, - "mk": 0, - "mt": 0, - "nl": 0, - "no": 0, - "pl": 0, - "ps": 0, - "pt": 0, - "ro": 0, - "rs": 0, - "se": 0, - "si": 0, - "sj": 0, - "sk": 0, - "sm": 0, - "sy": 0, - "tn": 0, - "tr": 0, - "ua": 0, - "uk": 0, + "at": 38, + "ax": 67, + "ba": 14, + "be": 85, + "bg": 21, + "ch": 69, + "cy": 40, + "cz": 48, + "de": 61, + "dk": 39, + "dz": 45, + "ee": 71, + "eg": 35, + "es": 37, + "fi": 69, + "fo": 62, + "fr": 100, + "gg": 78, + "gi": 4, + "gr": 49, + "hr": 30, + "hu": 26, + "ie": 47, + "il": 34, + "im": 50, + "is": 53, + "it": 47, + "je": 76, + "lb": 39, + "li": 64, + "lt": 63, + "lu": 82, + "lv": 71, + "ly": 56, + "ma": 60, + "mc": 52, + "md": 29, + "me": 37, + "mk": 29, + "mt": 57, + "nl": 77, + "no": 20, + "pl": 25, + "ps": 42, + "pt": 13, + "ro": 31, + "rs": 7, + "se": 15, + "si": 38, + "sj": 53, + "sk": 24, + "sm": 40, + "sy": 26, + "tn": 9, + "tr": 7, + "ua": 40, + "uk": 68, "us": 0, - "va": 0, + "va": 29, "world": 0, - "xk": 0 + "xk": 28 }, "transportation_value": 0, "transportation_values": { - "ad": 0, + "ad": 9, "al": 0, - "at": 0, - "ax": 0, - "ba": 0, - "be": 0, - "bg": 0, - "ch": 0, - "cy": 0, - "cz": 0, - "de": 0, - "dk": 0, - "dz": 0, - "ee": 0, - "eg": 0, - "es": 0, - "fi": 0, - "fo": 0, - "fr": 0, - "gg": 0, - "gi": 0, - "gr": 0, - "hr": 0, - "hu": 0, - "ie": 0, - "il": 0, - "im": 0, - "is": 0, - "it": 0, - "je": 0, - "lb": 0, - "li": 0, - "lt": 0, - "lu": 0, - "lv": 0, - "ly": 0, - "ma": 0, - "mc": 0, - "md": 0, - "me": 0, - "mk": 0, - "mt": 0, - "nl": 0, - "no": 0, - "pl": 0, - "ps": 0, - "pt": 0, - "ro": 0, - "rs": 0, - "se": 0, - "si": 0, - "sj": 0, - "sk": 0, - "sm": 0, - "sy": 0, - "tn": 0, - "tr": 0, - "ua": 0, - "uk": 0, + "at": 6, + "ax": 10, + "ba": 2, + "be": 13, + "bg": 3, + "ch": 10, + "cy": 6, + "cz": 7, + "de": 9, + "dk": 6, + "dz": 7, + "ee": 11, + "eg": 5, + "es": 6, + "fi": 10, + "fo": 9, + "fr": 15, + "gg": 12, + "gi": 1, + "gr": 7, + "hr": 5, + "hu": 4, + "ie": 7, + "il": 5, + "im": 8, + "is": 8, + "it": 7, + "je": 11, + "lb": 6, + "li": 10, + "lt": 9, + "lu": 12, + "lv": 11, + "ly": 8, + "ma": 9, + "mc": 8, + "md": 4, + "me": 6, + "mk": 4, + "mt": 9, + "nl": 12, + "no": 3, + "pl": 4, + "ps": 6, + "pt": 2, + "ro": 5, + "rs": 1, + "se": 2, + "si": 6, + "sj": 8, + "sk": 4, + "sm": 6, + "sy": 4, + "tn": 1, + "tr": 1, + "ua": 6, + "uk": 10, "us": 0, - "va": 0, + "va": 4, "world": 0, - "xk": 0 + "xk": 4 }, - "value": -5, + "value": 4, "values": { - "ad": -5, - "al": -5, - "at": -5, - "ax": -5, - "ba": -5, - "be": -5, - "bg": -5, - "ch": -5, - "cy": -5, - "cz": -5, - "de": -5, - "dk": -5, - "dz": -5, - "ee": -5, - "eg": -5, - "es": -5, - "fi": -5, - "fo": -5, - "fr": -5, - "gg": -5, - "gi": -5, - "gr": -5, - "hr": -5, - "hu": -5, - "ie": -5, - "il": -5, - "im": -5, - "is": -5, - "it": -5, - "je": -5, - "lb": -5, - "li": -5, - "lt": -5, - "lu": -5, - "lv": -5, - "ly": -5, - "ma": -5, - "mc": -5, - "md": -5, - "me": -5, - "mk": -5, - "mt": -5, - "nl": -5, - "no": -5, - "pl": -5, - "ps": -5, - "pt": -5, - "ro": -5, - "rs": -5, - "se": -5, - "si": -5, - "sj": -5, - "sk": -5, - "sm": -5, - "sy": -5, - "tn": -5, - "tr": -5, - "ua": -5, - "uk": -5, - "us": -5, - "va": -5, - "world": -5, - "xk": -5 - }, - "warning": "origins_are_100_percent_unknown" + "ad": 13, + "al": 4, + "at": 10, + "ax": 14, + "ba": 6, + "be": 17, + "bg": 7, + "ch": 14, + "cy": 10, + "cz": 11, + "de": 13, + "dk": 10, + "dz": 11, + "ee": 15, + "eg": 9, + "es": 10, + "fi": 14, + "fo": 13, + "fr": 19, + "gg": 16, + "gi": 5, + "gr": 11, + "hr": 9, + "hu": 8, + "ie": 11, + "il": 9, + "im": 12, + "is": 12, + "it": 11, + "je": 15, + "lb": 10, + "li": 14, + "lt": 13, + "lu": 16, + "lv": 15, + "ly": 12, + "ma": 13, + "mc": 12, + "md": 8, + "me": 10, + "mk": 8, + "mt": 13, + "nl": 16, + "no": 7, + "pl": 8, + "ps": 10, + "pt": 6, + "ro": 9, + "rs": 5, + "se": 6, + "si": 10, + "sj": 12, + "sk": 8, + "sm": 10, + "sy": 8, + "tn": 5, + "tr": 5, + "ua": 10, + "uk": 14, + "us": 4, + "va": 8, + "world": 4, + "xk": 8 + } }, "packaging": { "non_recyclable_and_non_biodegradable_materials": 0, "packagings": [{ - "ecoscore_material_score": "21", - "ecoscore_shape_ratio": "0.2", - "material": "en:ldpe-low-density-polyethylene", - "non_recyclable_and_non_biodegradable": "no", - "shape": "en:lid" - }, { - "ecoscore_material_score": "72", - "ecoscore_shape_ratio": "0.1", - "material": "en:heavy-aluminium", - "shape": "en:seal" - }, { "ecoscore_material_score": "81", "ecoscore_shape_ratio": "1", "material": "en:glass", - "shape": "en:pot" + "recycling": "en:recycle", + "shape": "en:bottle" }, { - "ecoscore_material_score": 0, - "ecoscore_shape_ratio": 1, - "material": "en:unknown", - "shape": "en:jar" + "ecoscore_material_score": "76", + "ecoscore_shape_ratio": "0.1", + "material": "en:steel", + "recycling": "en:recycle", + "shape": "en:bottle-cap" }], - "score": -37.6, - "value": -14, - "warning": "unscored_shape" + "score": 78.6, + "value": -2 }, "production_system": { - "labels": [], - "value": 0, - "warning": "no_label" + "labels": ["en:eu-organic"], + "value": 15 }, "threatened_species": {} }, "agribalyse": { - "agribalyse_food_code": "31032", - "co2_agriculture": "8.7770996", - "co2_consumption": "0", - "co2_distribution": "0.014104999", - "co2_packaging": "0.18864842", - "co2_processing": "0.69167973", - "co2_total": "9.8742343", - "co2_transportation": "0.19708507", - "code": "31032", - "dqr": "2.54", - "ef_agriculture": "0.61477708", - "ef_consumption": "0", - "ef_distribution": "0.0045906531", - "ef_packaging": "0.020453713999999998", - "ef_processing": "0.085674643", - "ef_total": "0.74366703", - "ef_transportation": "0.017824103999999997", + "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": "Chocolate spread with hazelnuts", - "name_fr": "Pâte à tartiner chocolat et noisette", - "score": 40 + "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": "d", + "grade": "a", "grades": { - "ad": "d", - "al": "d", - "at": "d", - "ax": "d", - "ba": "d", - "be": "d", - "bg": "d", - "ch": "d", - "cy": "d", - "cz": "d", - "de": "d", - "dk": "d", - "dz": "d", - "ee": "d", - "eg": "d", - "es": "d", - "fi": "d", - "fo": "d", - "fr": "d", - "gg": "d", - "gi": "d", - "gr": "d", - "hr": "d", - "hu": "d", - "ie": "d", - "il": "d", - "im": "d", - "is": "d", - "it": "d", - "je": "d", - "lb": "d", - "li": "d", - "lt": "d", - "lu": "d", - "lv": "d", - "ly": "d", - "ma": "d", - "mc": "d", - "md": "d", - "me": "d", - "mk": "d", - "mt": "d", - "nl": "d", - "no": "d", - "pl": "d", - "ps": "d", - "pt": "d", - "ro": "d", - "rs": "d", - "se": "d", - "si": "d", - "sj": "d", - "sk": "d", - "sm": "d", - "sy": "d", - "tn": "d", - "tr": "d", - "ua": "d", - "uk": "d", - "us": "d", - "va": "d", - "world": "d", - "xk": "d" - }, - "missing": { - "labels": 1, - "origins": 1, - "packagings": 1 + "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" }, - "missing_data_warning": 1, - "score": 21, + "score": 114, "scores": { - "ad": 21, - "al": 21, - "at": 21, - "ax": 21, - "ba": 21, - "be": 21, - "bg": 21, - "ch": 21, - "cy": 21, - "cz": 21, - "de": 21, - "dk": 21, - "dz": 21, - "ee": 21, - "eg": 21, - "es": 21, - "fi": 21, - "fo": 21, - "fr": 21, - "gg": 21, - "gi": 21, - "gr": 21, - "hr": 21, - "hu": 21, - "ie": 21, - "il": 21, - "im": 21, - "is": 21, - "it": 21, - "je": 21, - "lb": 21, - "li": 21, - "lt": 21, - "lu": 21, - "lv": 21, - "ly": 21, - "ma": 21, - "mc": 21, - "md": 21, - "me": 21, - "mk": 21, - "mt": 21, - "nl": 21, - "no": 21, - "pl": 21, - "ps": 21, - "pt": 21, - "ro": 21, - "rs": 21, - "se": 21, - "si": 21, - "sj": 21, - "sk": 21, - "sm": 21, - "sy": 21, - "tn": 21, - "tr": 21, - "ua": 21, - "uk": 21, - "us": 21, - "va": 21, - "world": 21, - "xk": 21 + "ad": 122, + "al": 114, + "at": 120, + "ax": 122, + "ba": 116, + "be": 122, + "bg": 117, + "ch": 122, + "cy": 120, + "cz": 121, + "de": 122, + "dk": 120, + "dz": 121, + "ee": 122, + "eg": 119, + "es": 120, + "fi": 122, + "fo": 122, + "fr": 122, + "gg": 122, + "gi": 115, + "gr": 121, + "hr": 119, + "hu": 118, + "ie": 121, + "il": 119, + "im": 122, + "is": 122, + "it": 121, + "je": 122, + "lb": 120, + "li": 122, + "lt": 122, + "lu": 122, + "lv": 122, + "ly": 122, + "ma": 122, + "mc": 122, + "md": 118, + "me": 120, + "mk": 118, + "mt": 122, + "nl": 122, + "no": 117, + "pl": 118, + "ps": 120, + "pt": 116, + "ro": 119, + "rs": 115, + "se": 116, + "si": 120, + "sj": 122, + "sk": 118, + "sm": 120, + "sy": 118, + "tn": 115, + "tr": 115, + "ua": 120, + "uk": 122, + "us": 114, + "va": 118, + "world": 114, + "xk": 118 }, "status": "known" }, - "ecoscore_grade": "d", - "ecoscore_score": 21, - "environment_impact_level_tags": [], - "image_front_small_url": "https://images.openfoodfacts.net/images/products/80135463/front_en.165.200.jpg", - "image_front_url": "https://images.openfoodfacts.net/images/products/80135463/front_en.165.400.jpg", - "image_ingredients_url": "https://images.openfoodfacts.net/images/products/80135463/ingredients_en.123.400.jpg", - "image_nutrition_url": "https://images.openfoodfacts.net/images/products/80135463/nutrition_en.155.400.jpg", - "image_small_url": "https://images.openfoodfacts.net/images/products/80135463/front_en.165.200.jpg", - "ingredients_analysis_tags": ["en:palm-oil", "en:non-vegan", "en:vegetarian-status-unknown"], - "labels_tags": ["en:sustainable-palm-oil", "en:contains-milk", "en:roundtable-on-sustainable-palm-oil", "en:sans-gluten"], - "labels_tags_fr": ["Huile de palme durable", "Contient du lait", "RSPO", "en:sans-gluten"], - "lang": "fr", + "ecoscore_grade": "a", + "ecoscore_score": 114, + "environment_impact_level_tags": ["en:low"], + "ingredients_analysis_tags": ["en:palm-oil-free", "en:vegan", "en:vegetarian"], + "labels_tags": ["en:organic", "en:eu-organic", "en:fair-trade"], + "labels_tags_fr": ["Bio", "Bio européen", "Commerce équitable"], + "lang": "en", "nutrient_levels": { - "fat": "high", - "salt": "low", - "saturated-fat": "high", - "sugars": "high" + "fat": "low", + "salt": "moderate", + "saturated-fat": "low", + "sugars": "low" }, "nutriments": { - "carbohydrates": 57.5, - "carbohydrates_100g": 57.5, - "carbohydrates_serving": 8.62, + "carbohydrates": 4, + "carbohydrates_100g": 4, "carbohydrates_unit": "g", - "carbohydrates_value": 57.5, - "carbon-footprint-from-known-ingredients_100g": 33.8, - "carbon-footprint-from-known-ingredients_product": 67.6, - "carbon-footprint-from-known-ingredients_serving": 5.07, - "energy": 2252, - "energy-kcal": 539, - "energy-kcal_100g": 539, - "energy-kcal_serving": 80.8, - "energy-kcal_unit": "kcal", - "energy-kcal_value": 539, - "energy-kj": 2252, - "energy-kj_100g": 2252, - "energy-kj_serving": 338, + "carbohydrates_value": 4, + "carbon-footprint-from-known-ingredients_100g": 18, + "carbon-footprint-from-known-ingredients_product": 36, + "energy": 120, + "energy-kj": 120, + "energy-kj_100g": 120, "energy-kj_unit": "kJ", - "energy-kj_value": 2252, - "energy_100g": 2252, - "energy_serving": 338, + "energy-kj_value": 120, + "energy_100g": 120, "energy_unit": "kJ", - "energy_value": 2252, - "fat": 30.9, - "fat_100g": 30.9, - "fat_serving": 4.63, + "energy_value": 120, + "fat": 0.5, + "fat_100g": 0.5, "fat_unit": "g", - "fat_value": 30.9, - "fruits-vegetables-nuts-estimate-from-ingredients_100g": 0, - "fruits-vegetables-nuts-estimate-from-ingredients_serving": 0, - "nova-group": 4, - "nova-group_100g": 4, - "nova-group_serving": 4, - "nutrition-score-fr": 26, - "nutrition-score-fr_100g": 26, - "proteins": 6.3, - "proteins_100g": 6.3, - "proteins_serving": 0.945, + "fat_value": 0.5, + "fiber": 3, + "fiber_100g": 3, + "fiber_unit": "g", + "fiber_value": 3, + "fruits-vegetables-nuts-estimate-from-ingredients_100g": 60, + "fruits-vegetables-nuts-estimate-from-ingredients_serving": 60, + "nova-group": 3, + "nova-group_100g": 3, + "nova-group_serving": 3, + "nutrition-score-fr": -3, + "nutrition-score-fr_100g": -3, + "proteins": 1, + "proteins_100g": 1, "proteins_unit": "g", - "proteins_value": 6.3, - "salt": 0.107, - "salt_100g": 0.107, - "salt_serving": 0.016, + "proteins_value": 1, + "salt": 0.4, + "salt_100g": 0.4, "salt_unit": "g", - "salt_value": 0.107, - "saturated-fat": 10.6, - "saturated-fat_100g": 10.6, - "saturated-fat_serving": 1.59, + "salt_value": 0.4, + "saturated-fat": 0.2, + "saturated-fat_100g": 0.2, "saturated-fat_unit": "g", - "saturated-fat_value": 10.6, - "sodium": 0.0428, - "sodium_100g": 0.0428, - "sodium_serving": 0.00642, + "saturated-fat_value": 0.2, + "sodium": 0.16, + "sodium_100g": 0.16, "sodium_unit": "g", - "sodium_value": 0.0428, - "sugars": 56.3, - "sugars_100g": 56.3, - "sugars_serving": 8.44, + "sodium_value": 0.16, + "sugars": 0.5, + "sugars_100g": 0.5, "sugars_unit": "g", - "sugars_value": 56.3 + "sugars_value": 0.5 }, - "nutrition_grade_fr": "e", - "product_name": "Nutella", + "nutrition_grade_fr": "a", + "product_name": "A good product for you", "product_quantity": "200", "quantity": "200 g", - "selected_images": { - "front": { - "display": { - "de": "https://images.openfoodfacts.net/images/products/80135463/front_de.164.400.jpg", - "en": "https://images.openfoodfacts.net/images/products/80135463/front_en.165.400.jpg", - "fr": "https://images.openfoodfacts.net/images/products/80135463/front_fr.168.400.jpg", - "hu": "https://images.openfoodfacts.net/images/products/80135463/front_hu.44.400.jpg" - }, - "small": { - "de": "https://images.openfoodfacts.net/images/products/80135463/front_de.164.200.jpg", - "en": "https://images.openfoodfacts.net/images/products/80135463/front_en.165.200.jpg", - "fr": "https://images.openfoodfacts.net/images/products/80135463/front_fr.168.200.jpg", - "hu": "https://images.openfoodfacts.net/images/products/80135463/front_hu.44.200.jpg" - }, - "thumb": { - "de": "https://images.openfoodfacts.net/images/products/80135463/front_de.164.100.jpg", - "en": "https://images.openfoodfacts.net/images/products/80135463/front_en.165.100.jpg", - "fr": "https://images.openfoodfacts.net/images/products/80135463/front_fr.168.100.jpg", - "hu": "https://images.openfoodfacts.net/images/products/80135463/front_hu.44.100.jpg" - } - }, - "ingredients": { - "display": { - "en": "https://images.openfoodfacts.net/images/products/80135463/ingredients_en.123.400.jpg", - "fr": "https://images.openfoodfacts.net/images/products/80135463/ingredients_fr.107.400.jpg", - "hu": "https://images.openfoodfacts.net/images/products/80135463/ingredients_hu.45.400.jpg" - }, - "small": { - "en": "https://images.openfoodfacts.net/images/products/80135463/ingredients_en.123.200.jpg", - "fr": "https://images.openfoodfacts.net/images/products/80135463/ingredients_fr.107.200.jpg", - "hu": "https://images.openfoodfacts.net/images/products/80135463/ingredients_hu.45.200.jpg" - }, - "thumb": { - "en": "https://images.openfoodfacts.net/images/products/80135463/ingredients_en.123.100.jpg", - "fr": "https://images.openfoodfacts.net/images/products/80135463/ingredients_fr.107.100.jpg", - "hu": "https://images.openfoodfacts.net/images/products/80135463/ingredients_hu.45.100.jpg" - } - }, - "nutrition": { - "display": { - "de": "https://images.openfoodfacts.net/images/products/80135463/nutrition_de.156.400.jpg", - "en": "https://images.openfoodfacts.net/images/products/80135463/nutrition_en.155.400.jpg", - "fr": "https://images.openfoodfacts.net/images/products/80135463/nutrition_fr.104.400.jpg", - "hu": "https://images.openfoodfacts.net/images/products/80135463/nutrition_hu.46.400.jpg" - }, - "small": { - "de": "https://images.openfoodfacts.net/images/products/80135463/nutrition_de.156.200.jpg", - "en": "https://images.openfoodfacts.net/images/products/80135463/nutrition_en.155.200.jpg", - "fr": "https://images.openfoodfacts.net/images/products/80135463/nutrition_fr.104.200.jpg", - "hu": "https://images.openfoodfacts.net/images/products/80135463/nutrition_hu.46.200.jpg" - }, - "thumb": { - "de": "https://images.openfoodfacts.net/images/products/80135463/nutrition_de.156.100.jpg", - "en": "https://images.openfoodfacts.net/images/products/80135463/nutrition_en.155.100.jpg", - "fr": "https://images.openfoodfacts.net/images/products/80135463/nutrition_fr.104.100.jpg", - "hu": "https://images.openfoodfacts.net/images/products/80135463/nutrition_hu.46.100.jpg" - } - } - }, - "serving_size": "15 g", - "states_tags": ["en:to-be-completed", "en:nutrition-facts-completed", "en:ingredients-completed", "en:expiration-date-completed", "en:packaging-code-to-be-completed", "en:characteristics-to-be-completed", "en:origins-to-be-completed", "en:categories-completed", "en:brands-completed", "en:packaging-completed", "en:quantity-completed", "en:product-name-completed", "en:photos-to-be-validated", "en:packaging-photo-to-be-selected", "en:nutrition-photo-selected", "en:ingredients-photo-selected", "en:front-photo-selected", "en:photos-uploaded"] + "states_tags": ["en:to-be-completed", "en:nutrition-facts-completed", "en:ingredients-completed", "en:expiration-date-to-be-completed", "en:packaging-code-completed", "en:characteristics-to-be-completed", "en:origins-completed", "en:categories-completed", "en:brands-completed", "en:packaging-to-be-completed", "en:quantity-completed", "en:product-name-completed", "en:photos-to-be-uploaded"] }, "status": 1, "status_verbose": "product found" diff --git a/packages/smooth_app/lib/data_models/onboarding_data_knowledge_panels.dart b/packages/smooth_app/lib/data_models/onboarding_data_knowledge_panels.dart index 5268716ac94..9fb117f95b2 100644 --- a/packages/smooth_app/lib/data_models/onboarding_data_knowledge_panels.dart +++ b/packages/smooth_app/lib/data_models/onboarding_data_knowledge_panels.dart @@ -37,7 +37,7 @@ class OnboardingDataKnowledgePanels /// Was computed from [downloadDataString] in en_US /// - /// Something like https://world.openfoodfacts.net/api/v2/product/example/?fields=knowledge_panels&lc=en&cc=US + /// Something like https://world.openfoodfacts.org/api/v2/product/093270067481501/?fields=knowledge_panels&lc=en&cc=US @override String getAssetPath() => 'assets/onboarding/sample_knowledge_panels.json'; } diff --git a/packages/smooth_app/lib/data_models/onboarding_data_product.dart b/packages/smooth_app/lib/data_models/onboarding_data_product.dart index c47b9e6ba29..23168c59c10 100644 --- a/packages/smooth_app/lib/data_models/onboarding_data_product.dart +++ b/packages/smooth_app/lib/data_models/onboarding_data_product.dart @@ -31,7 +31,7 @@ class OnboardingDataProduct extends AbstractOnboardingData { /// Was computed from [downloadDataString] in en_US /// - /// Something like https://world.openfoodfacts.net/api/v0/product/example.json?lc=en&cc=US&fields=product_name%2Cbrands%2Ccode%2Cnutrition_grade_fr%2Cimage_small_url%2Cimage_front_small_url%2Cimage_front_url%2Cimage_ingredients_url%2Cimage_nutrition_url%2Cimage_packaging_url%2Cselected_images%2Cquantity%2Cserving_size%2Cproduct_quantity%2Cnutriments%2Cnutrient_levels%2Cnutriment_energy_unit%2Cadditives_tags%2Cingredients_analysis_tags%2Clabels_tags%2Clabels_tags_fr%2Cenvironment_impact_level_tags%2Ccategories_tags_fr%2Clang%2Cattribute_groups%2Cstates_tags%2Cecoscore_data%2Cecoscore_grade%2Cecoscore_score%2Cenvironment_impact_level_tags + /// Something like https://world.openfoodfacts.org/api/v0/product/093270067481501.json?lc=en&cc=US&fields=product_name%2Cbrands%2Ccode%2Cnutrition_grade_fr%2Cimage_small_url%2Cimage_front_small_url%2Cimage_front_url%2Cimage_ingredients_url%2Cimage_nutrition_url%2Cimage_packaging_url%2Cselected_images%2Cquantity%2Cserving_size%2Cproduct_quantity%2Cnutriments%2Cnutrient_levels%2Cnutriment_energy_unit%2Cadditives_tags%2Cingredients_analysis_tags%2Clabels_tags%2Clabels_tags_fr%2Cenvironment_impact_level_tags%2Ccategories_tags_fr%2Clang%2Cattribute_groups%2Cstates_tags%2Cecoscore_data%2Cecoscore_grade%2Cecoscore_score%2Cenvironment_impact_level_tags @override String getAssetPath() => 'assets/onboarding/sample_product_data.json'; }