Jump to content

Nutrients handling in Open Food Facts: Difference between revisions

Line 59: Line 59:


Notes:
Notes:
* Don't use the nutrient-id_value and nutrient-id_unit fields
* Don't use the <code>{nutrient-id}_value</code> and <code>{nutrient-id}_unit</code> fields
** The nutrient-id may be empty as some apps don't pass a unit, and we use a default unit for the field
** The nutrient-id may be empty as some apps don't pass a unit, and we use a default unit for the field
** The value may be per 100g or per serving
** The value may be per 100g or per serving
72

edits