Line 83: |
Line 83: |
| | | |
| The fields can have the following structure: | | The fields can have the following structure: |
− | * key (string) - the value for the nutrition type key (eg in json: "fiber":"0.5"); | + | * key (string) - the value for the nutrition fact key (eg in json: "fiber":"0.5"); |
| * key_serving (string) - the value of a serving for type key (eg: in json "carbohydrates_serving":"5.82"). The size of the servig is found in the serving field; | | * key_serving (string) - the value of a serving for type key (eg: in json "carbohydrates_serving":"5.82"). The size of the servig is found in the serving field; |
| * key_value (string) - the standardized value of a serving of 100g (100ml) for type key (eg in json: "salt_100g":"0.19"); | | * key_value (string) - the standardized value of a serving of 100g (100ml) for type key (eg in json: "salt_100g":"0.19"); |
| * key_100g (string) - the standardized value of a serving of 100g (100ml) for type key (eg in json: "salt_100g":"0.19"); | | * key_100g (string) - the standardized value of a serving of 100g (100ml) for type key (eg in json: "salt_100g":"0.19"); |
| * key_unit (string) - the units used in the other fields (eg in json: "carbohydrates_unit":"g"). Possible values are "kg", "g", "mg, "µg", "l", "ml", "%" or ""; | | * key_unit (string) - the units used in the other fields (eg in json: "carbohydrates_unit":"g"). Possible values are "kg", "g", "mg, "µg", "l", "ml", "%" or ""; |
| + | * key_label (string) - a more user friendly text explaining the |
| + | |
| + | Only the nutrition facts that are actually found on the packaging are present in the interface. |
| | | |
| The following nutrition keys are supported: | | The following nutrition keys are supported: |
Line 179: |
Line 182: |
| * carbon-footprint_100g : carbon footprint (indicated on some products) | | * carbon-footprint_100g : carbon footprint (indicated on some products) |
| * ph_100g : pH (no unit) | | * ph_100g : pH (no unit) |
| + | * cocoa - minimal cacao content of the product in %. Note the TYPO. |
| * fruits-vegetables-nuts_100g : % of fruits, vegetables and nuts (excluding potatoes, yams, manioc) | | * fruits-vegetables-nuts_100g : % of fruits, vegetables and nuts (excluding potatoes, yams, manioc) |
| | | |
| * nutrition-score-fr_100g : experimental nutrition score derived from the UK FSA score and adapted for the French market (formula defined by the team of Professor Hercberg) | | * nutrition-score-fr_100g : experimental nutrition score derived from the UK FSA score and adapted for the French market (formula defined by the team of Professor Hercberg) |
| * nutrition-score-uk_100g : nutrition score defined by the UK Food Standards Administration (FSA) | | * nutrition-score-uk_100g : nutrition score defined by the UK Food Standards Administration (FSA) |