Living Document Notice
Staged 2026-09-27. Living revisions and interconnected notes live in the Stax Digital Garden.
Structured Ingredient Schemas versus Freeform Text
Freeform ingredient lists (‘salt to taste’, ‘a pinch of herbs’) introduce ambiguity that breaks automated scaling and shopping list generation. Standardizing ingredient inputs into structured components ensures programmatic precision.
Ingredient Schema Invariants
- Strict Quantity-Unit-Item Triples: Every ingredient record separates numeric quantities, standardized unit measurements (metric/imperial), and base food entities.
- Fractional Scaling Engines: The Galley calculation engine scales entire ingredient matrices dynamically based on target yield factors without rounding errors.
- Allergen Flagging: Automated parsers scan ingredient tokens against local dietary restriction profiles to highlight potential allergens.
Structured ingredient schemas transform casual cooking notes into programmable culinary data.
- Directus Target: galley-blog
- Garden Source Reference: MOC - Culinary & Domain Workspaces, MOC - Data Liberation Workbenches, TRC-1001 - 5-State Checkbox AST Spec