Changes

Jump to navigation Jump to search
Added value examples
Line 26: Line 26:  
* serving_size (optional, but very useful, in particular if the nutrition facts are specified per serving)
 
* serving_size (optional, but very useful, in particular if the nutrition facts are specified per serving)
 
* for each nutrient:
 
* for each nutrient:
** nutrient-id (e.g. saturated-fat, energy-kcal) : value for the nutrient, for the size specified in "nutrition_data_per"
+
** nutrient-id (e.g. saturated-fat, energy-kcal) : value for the nutrient, for the size specified in "nutrition_data_per". This is a string ("17.8", "34,7", "< 0.1", etc).
 
** nutrient-id_unit (e.g. saturated-fat_unit, energy-kcal_unit) : the unit of the value passed (e.g. "g", "mg", "kcal", "kJ")
 
** nutrient-id_unit (e.g. saturated-fat_unit, energy-kcal_unit) : the unit of the value passed (e.g. "g", "mg", "kcal", "kJ")
  
3,390

edits

Navigation menu