Quality Data

Image

object

An image and its properties.

codestring

Code for the image, useful for pictograms.

descriptionstring

Image description, useful for example as alt attribute.

originalstring

Full size image.

stackstring

Image URL with a placeholder for a Rokka {stack}.

Example

IngredientsInformation

object
allergens_informationOne Of

Information about allergens.

AllergensInformationobject
Show Child Parameters
ingredients_textstring

Ingredients declaration text.

substances_informationOne Of

Information about containing substances.

SubstancesInformationobject
Show Child Parameters
Example

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