Skip to main content

Content declaration

Content Declaration

The content declaration holds nutritional and allergens information about an item.

The content declaration can come from different sources, and should be handled accordingly. If the content declaration is from a Recipe it might be less accurate and trustworthy than one from a Supplier.

The content declaration will also have a priority property. This should be used to indicate that one content declaration should have priority over another. If the content declaration is from a Recipe it might be more important to print on a label than a supplier generated content declaration.

An example of this might be a soup made on-site. The supplier might have specified to add 400g of salmon, but the store has modified the recipe to have 300g of salmon and 100g of scallops. This might be a health hazard for someone with allergies.