AllergenClassification is a JSON Structure definition published by Otter, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-allergen-classification-structure.json",
"name": "AllergenClassification",
"description": "Allergen classification information.",
"type": "object",
"properties": {
"tag": {
"type": "string",
"description": "The type of allergen classification.",
"enum": [
"GLUTEN",
"DAIRY",
"WHEAT",
"RYE",
"BARLEY",
"OAT",
"SPELT",
"KAMUT",
"CRUSTACEAN",
"MOLLUSK",
"EGG",
"FISH",
"PEANUT",
"SOYBEAN",
"NUT",
"ALMOND",
"HAZELNUT",
"WALNUT",
"CASHEW",
"PECAN",
"BRAZIL_NUT",
"PISTACHIO",
"MACADAMIA_NUT",
"QUEENSLAND_NUT",
"LUPIN",
"CELERY",
"MUSTARD",
"SESAME_SEED",
"SULFITE",
"CAFFEINE",
"PHENYLALANINE"
],
"example": "GLUTEN"
},
"containsAllergen": {
"type": "boolean",
"description": "Indication of whether or not the product contains this allergen. If the status of the allergen is unknown, a classification should not be provided for this product.",
"example": true
}
}
}