Quality Data

Nutrient

object

Represents an entry in the nutrition facts.

codestringrequired

Code from source system.

Used for legacy version output and debugging.

namestringrequired
operatorstring
pictogram_namestring

Name of nutrient for display in the pictogram.

quantityOne Of

Quantity information.

NutrientQuantityobject
Show Child Parameters
ratingOne Of

FSA rating information for this nutrient.

This is only set on the “standard” nutrition facts (not “portion”) and only for selected nutrients, e.g. sugar, salt, fat.

NutrientRatingobject

Nutrition guidance about a nutrient.

Show Child Parameters
rdaOne Of

Information about Recommended Dietary Allowances (RDA).

NutrientRdaobject

Represents an entry in the nutrition facts.

Show Child Parameters
Example

NutrientQuantity

object
alternateOne Of
ValueWithUnitobject
Show Child Parameters
numeric_valuenumber(float)

Example:0.1

unitstring

Example:g

valuestring

Alternate quantity information.

Example:0.10 g

Example

NutrientRating

object

Nutrition guidance about a nutrient.

hex_colorstringrequired
iconOne Of
Imageobject

An image and its properties.

Show Child Parameters
textstringrequired
valueintegerrequired

The hexadecimal color code for this rating that is also used in the icon.

Example

NutrientRda

object

Represents an entry in the nutrition facts.

operatorstring

Recommended daily allowance operator.

percentnumber(float)required

Recommended daily allowance in percent.

Example

NutritionFacts

object
consumption_hintstring

Information about amount consumed by adults.

reference_sizesOne Of

Information about the nutrients per standard size and for one portion.

NutritionReferenceSizesobject
Show Child Parameters
serving_descriptionstring

Serving description.

Example: “pro 100 ml”

Example