{
  "_version": "4.0",
  "_note": "Global allergen taxonomy v1 (19 categories) + destination-scoped insects + custom. Selectable set for the wizard = allergens[]. _legacyItems are NOT selectable; they exist only so previously purchased cards (download.js / render-*-image.js) still resolve every item the customer originally chose. Never add to _legacyItems as a shortcut for new content — place-bound terms belong in local-food-allergens.json.",
  "allergens": [
    {
      "id": "tree_nuts",
      "category": "Tree Nuts",
      "icon": "tree-nuts.png",
      "label": "Tree Nuts",
      "selectAll": true,
      "items": [
        "Almond",
        "Brazil Nut",
        "Cashew",
        "Hazelnut",
        "Macadamia",
        "Pecan",
        "Pine Nut",
        "Pistachio",
        "Walnut",
        "Coconut",
        "Shea Butter",
        "Argan Oil",
        "Vegan Nut Cheese"
      ]
    },
    {
      "id": "peanut",
      "category": "Peanut",
      "icon": "peanut.png",
      "label": "Peanut",
      "selectAll": false,
      "items": [
        "Peanut",
        "Pea Protein"
      ]
    },
    {
      "id": "fish",
      "category": "Fish",
      "icon": "fish.png",
      "label": "Fish",
      "selectAll": true,
      "items": [
        "Salmon",
        "Tuna",
        "Cod",
        "Tilapia",
        "Trout",
        "Haddock",
        "Bass",
        "Catfish",
        "Mackerel",
        "Sardine",
        "Anchovy",
        "Fish Sauce",
        "Fish Roe (Caviar)"
      ]
    },
    {
      "id": "shellfish",
      "category": "Shellfish",
      "icon": "shellfish.png",
      "label": "Shellfish",
      "selectAll": true,
      "items": [
        "Crab",
        "Lobster",
        "Shrimp",
        "Prawn",
        "Clam",
        "Mussel",
        "Oyster",
        "Scallop",
        "Squid",
        "Octopus",
        "Shrimp Paste",
        "Conch",
        "Whelk",
        "Abalone",
        "Snail / Escargot",
        "Sea Urchin / Uni",
        "Sea Cucumber"
      ],
      "cross_reactivity_notes": {
        "Sea Urchin / Uni": "Biologically an echinoderm (allergen: Major Yolk Protein), not a true shellfish; folded here for kitchen communication. A person may react to urchin alone. Partial tropomyosin cross-reactivity with shellfish.",
        "Sea Cucumber": "Biologically an echinoderm, not a true shellfish; folded here for kitchen communication. Not crustacean or mollusc."
      },
      "cross_reactivity_warning": "People with shellfish allergy may also react to edible insects (shared tropomyosin protein). This risk travels with the person; the Edible Insects category surfaces in destinations where insects are eaten."
    },
    {
      "id": "milk",
      "category": "Milk / Dairy",
      "icon": "dairy.png",
      "label": "Milk / Dairy",
      "selectAll": true,
      "items": [
        "Cow's Milk",
        "Goat's Milk",
        "Sheep's Milk",
        "Butter",
        "Cream",
        "Yogurt",
        "Aged Cheese (Parmesan, Cheddar, Gouda, Roquefort)",
        "Blue Cheese",
        "Caseinates (Sodium / Calcium)",
        "Ghee / Clarified Butter"
      ]
    },
    {
      "id": "egg",
      "category": "Egg",
      "icon": "egg.png",
      "label": "Egg",
      "selectAll": true,
      "items": [
        "Egg",
        "Egg White (Albumen)",
        "Egg Yolk",
        "Mayonnaise",
        "Aioli"
      ]
    },
    {
      "id": "wheat_gluten",
      "category": "Wheat / Gluten Grains",
      "icon": "wheat.png",
      "label": "Wheat / Gluten Grains",
      "selectAll": true,
      "items": [
        "Wheat",
        "Barley",
        "Rye",
        "Oats",
        "Spelt",
        "Kamut",
        "Triticale",
        "Malt",
        "Seitan",
        "Modified Food Starch (may contain wheat)"
      ]
    },
    {
      "id": "buckwheat",
      "category": "Buckwheat",
      "icon": "grain.png",
      "label": "Buckwheat",
      "selectAll": false,
      "items": [
        "Buckwheat"
      ]
    },
    {
      "id": "soy",
      "category": "Soy",
      "icon": "soy.png",
      "label": "Soy",
      "selectAll": false,
      "items": [
        "Soybean",
        "Soy Lecithin",
        "Miso",
        "Soy Sauce",
        "Tofu",
        "Edamame"
      ],
      "preparation_notes": {
        "Soy Sauce": "Many soy sauces (incl. shoyu) contain wheat/gluten; gluten-free tamari/soy sauce must be verified by label.",
        "Miso": "May be rice-, barley-, or wheat-koji based; mugi (barley) miso contains gluten."
      }
    },
    {
      "id": "sesame",
      "category": "Sesame",
      "icon": "sesame.png",
      "label": "Sesame",
      "selectAll": false,
      "items": [
        "Sesame Seed",
        "Sesame Oil",
        "Tahini"
      ]
    },
    {
      "id": "fruit_veg",
      "category": "Fruits & Vegetables",
      "icon": "fruits.png",
      "label": "Fruits & Vegetables",
      "selectAll": true,
      "items": [
        "Apple",
        "Avocado",
        "Banana",
        "Carrot",
        "Celery",
        "Cherry",
        "Cucumber",
        "Eggplant",
        "Kiwi",
        "Mango",
        "Melon",
        "Parsley",
        "Peach",
        "Pear",
        "Bell Pepper",
        "Chili Pepper",
        "Chipotle Pepper",
        "Plum",
        "Potato",
        "Tomato",
        "Zucchini",
        "Cilantro (Coriander Leaf)",
        "Cassava",
        "Taro",
        "Yam",
        "Breadfruit"
      ],
      "preparation_notes": {
        "Cassava": "Raw or improperly processed cassava is cyanogenic; proper preparation (soaking/fermenting/cooking) removes the hazard. This is a food-safety note, not an allergen."
      }
    },
    {
      "id": "rice_corn",
      "category": "Corn / Rice",
      "icon": "corn.png",
      "label": "Corn / Rice",
      "selectAll": true,
      "items": [
        "Corn",
        "Rice"
      ]
    },
    {
      "id": "legumes",
      "category": "Beans & Lentils",
      "icon": "legumes.png",
      "label": "Beans & Lentils",
      "selectAll": true,
      "items": [
        "Lentil",
        "Chickpea (Garbanzo)",
        "Pea",
        "Green Pea",
        "Black Bean",
        "Kidney Bean",
        "Pinto Bean",
        "Navy Bean",
        "Cannellini Bean",
        "Fava Bean",
        "Lima Bean",
        "Mung Bean",
        "Adzuki Bean",
        "Lupin"
      ],
      "cross_reactivity_notes": {
        "Lupin": "Cross-reacts with peanut; filed by identity (legume), not cross-reactivity."
      }
    },
    {
      "id": "allium",
      "category": "Garlic & Onion",
      "icon": "allium.png",
      "label": "Garlic & Onion",
      "selectAll": true,
      "items": [
        "Garlic",
        "Onion",
        "Shallot",
        "Leek",
        "Chive",
        "Green Onion / Scallion"
      ]
    },
    {
      "id": "additives",
      "category": "Sulfites & Additives",
      "icon": "additives.png",
      "label": "Sulfites & Additives",
      "selectAll": true,
      "items": [
        "Sulfites",
        "MSG",
        "Artificial Colorants",
        "Carmine (Cochineal Red Dye)",
        "Preservatives"
      ]
    },
    {
      "id": "fungal_yeast_mold",
      "category": "Fungal / Mold / Yeast",
      "icon": "yeast.png",
      "label": "Fungal / Mold / Yeast",
      "selectAll": true,
      "items": [
        "Baker's Yeast",
        "Brewer's Yeast",
        "Mold",
        "Mushroom",
        "Truffle"
      ]
    },
    {
      "id": "animal_proteins_meat",
      "category": "Animal Proteins / Meats",
      "icon": "meats.png",
      "label": "Animal Proteins / Meats",
      "selectAll": true,
      "items": [
        "Beef",
        "Pork",
        "Chicken",
        "Turkey",
        "Lamb",
        "Alpha-Gal",
        "Cured Meats (Salami, Prosciutto)"
      ]
    },
    {
      "id": "seeds_spices",
      "category": "Seeds & Spices",
      "icon": "spices.png",
      "label": "Seeds & Spices",
      "selectAll": true,
      "items": [
        "Mustard",
        "Mustard Seed",
        "Mustard Powder",
        "Coriander Seed",
        "Celery Seed",
        "Poppy Seed",
        "Sumac",
        "Fenugreek",
        "Pink Peppercorn"
      ],
      "cross_reactivity_notes": {
        "Fenugreek": "Cross-reacts with peanut and other legumes; filed by identity (spice), not cross-reactivity.",
        "Pink Peppercorn": "Anacardiaceae family; cross-sensitization with cashew/pistachio documented (not proven oral reactivity). Filed by identity. RENDER DEPENDENCY: only safe to move out of tree_nuts if the card engine surfaces this note when cashew/pistachio/tree_nuts is selected — otherwise keep in tree_nuts as a UI safety measure."
      }
    },
    {
      "id": "non_gluten_grains",
      "category": "Non-Gluten Grains",
      "icon": "grain-gf.png",
      "label": "Non-Gluten Grains",
      "selectAll": true,
      "note": "Gluten-free grains/pseudocereals. Kept separate from Wheat/Gluten Grains because that label asserts gluten; filing these there would falsely imply gluten and erase the wheat-vs-safe-grain distinction a coeliac/wheat-allergic traveler relies on.",
      "items": [
        "Sorghum",
        "Millet",
        "Teff",
        "Fonio",
        "Amaranth",
        "Quinoa"
      ]
    }
  ],
  "destination_scoped_categories": [
    {
      "id": "insects",
      "category": "Edible Insects",
      "icon": "insects.png",
      "label": "Edible Insects",
      "selectAll": false,
      "cross_reactivity_warning": "People with shellfish allergy may be at increased risk of reacting to edible insects due to cross-reactive proteins including tropomyosin. Risk varies by insect and individual; avoid unless cleared by an allergist.",
      "items": [
        "Caterpillar / Larva",
        "Grasshopper / Locust",
        "Cricket",
        "Ant / Ant Egg",
        "Bee / Wasp Larva",
        "Beetle Grub",
        "Silkworm Pupae",
        "Mealworm"
      ],
      "note": "Global category holds generic biological insect forms. Location-specific endonyms (phane/mopane, chapulines, escamoles, witchetty grub, finkubala, madora/amacimbi, inago, hachinoko) live in the local taxonomy and map up to these forms.",
      "scope": "destination_scoped",
      "scope_note": "Not part of the core 19 global categories and NOT translated into all languages by default. Surfaces only for destinations where edible insects are consumed (see local taxonomy: Botswana, Namibia, South Africa, Zambia, Zimbabwe, Mexico, Australia, Philippines, Japan, etc.). Selectable by users who know they react to insects."
    }
  ],
  "custom_category": {
    "id": "custom",
    "category": "Other / Custom",
    "label": "Other allergens (write your own)",
    "type": "user_free_text",
    "repeatable": true,
    "note": "For allergens not covered by the 19 global categories (e.g. celery, mango, a specific additive). User enters one or more free-text allergens; each is translated per-card on demand. Person-bound and user-supplied.",
    "render": "each custom entry renders as its own card item, translated to the destination language(s)"
  },
  "_category_count": 19,
  "_migrations": {
    "Dashi (Fish Broth)": "Dashi (Fish Broth)",
    "Bonito Flakes": "Bonito Flakes",
    "Anchovy Paste": "Anchovy Paste",
    "Fish Roe (Caviar, Tobiko, Ikura)": "Fish Roe (Caviar)",
    "Soba (Buckwheat Noodles)": "Soba (Buckwheat Noodles)",
    "Shoyu": "Shoyu",
    "Tamari": "Tamari",
    "Tempeh": "Tempeh",
    "Gomashio": "Gomashio",
    "Breadcrumbs": "Breadcrumbs",
    "Egg Wash": "Egg Wash",
    "Nutmeg": "Nutmeg",
    "Malt Extract": "Malt",
    "Malt Vinegar": "Malt"
  },
  "_legacyItems": {
    "Dashi (Fish Broth)": "fish",
    "Bonito Flakes": "fish",
    "Anchovy Paste": "fish",
    "Soba (Buckwheat Noodles)": "buckwheat",
    "Shoyu": "soy",
    "Tamari": "soy",
    "Tempeh": "soy",
    "Gomashio": "sesame",
    "Breadcrumbs": "wheat_gluten",
    "Egg Wash": "egg",
    "Nutmeg": "seeds_spices"
  },
  "_changelog": [
    "v2.0: (1) CORRECTION fenugreek->seeds_spices, lupin->legumes (out of peanut) — identity-first; cross-reactivity is a note not a category. (2) Shellfish += gastropods (conch/whelk/abalone/escargot) + echinoderm fold (sea urchin/sea cucumber) w/ biological note. (3) Fruits&Vegetables += starchy tubers (cassava/taro/yam/breadfruit), cassava cyanogenic prep note. (4) NEW category Edible Insects (19) w/ shellfish cross-reactivity warning. (5) NEW category Non-Gluten Grains (20).",
    "v2.1: Removed place-bound endonyms/vehicles now handled in the location layer: Soba, Dashi, Bonito Flakes, Anchovy Paste, Tobiko & Ikura (Fish Roe -> 'Fish Roe (Caviar)'), Shoyu, Tamari, Tempeh, Gomashio, Breadcrumbs, Egg Wash, Nutmeg. Merged Malt Extract + Malt Vinegar -> 'Malt'. KEPT (per decision): Fish Sauce, Fish Roe (Caviar), Miso, Soy Sauce, Soy Lecithin, Edamame, Ghee/Clarified Butter, Caseinates, Aged Cheese, Seitan, Modified Food Starch, Pink Peppercorn, Mayonnaise, Aioli.",
    "v2.2: ChatGPT review applied. Pink Peppercorn tree_nuts->seeds_spices (+cross-react note, render-dependency flagged). Sorghum (Mabele)->Sorghum (endonym out). Sea Cucumber echinoderm note. Soy Sauce/Miso wheat prep notes. Insect warning reworded clinically. QUEUED (not applied): Pea Protein move (contested), Coconut, Gelatin/seed/Quorn additions, oats wording.",
    "v2.3: Insects category corrected — endonyms (phane/chapulines/escamoles/witchetty) were place-bound and violated the person-bound global rule (same as soba/dashi removed from fish/soy/buckwheat). Replaced with generic biological forms; endonyms live in local taxonomy where they already exist.",
    "v3.0: MAJOR — insects removed from core global categories (now 19). Insects becomes a DESTINATION-SCOPED category (surfaces only where insects are eaten; not globally translated) — avoids translating bug endonyms into 100+ languages for cards that will never need them. Shellfish gains the tropomyosin cross-reactivity warning so the person-bound insect risk travels with the shellfish-allergic user everywhere. Added CUSTOM category: user free-text, repeatable, for allergens outside the 19.",
    "v4.0: adopted global taxonomy v3.0 as app taxonomy. Item moves: Fenugreek peanut->seeds_spices, Lupin peanut->legumes, Pink Peppercorn tree_nuts->seeds_spices. Merged Malt Extract+Malt Vinegar->Malt. Renamed Fish Roe (Caviar, Tobiko, Ikura)->Fish Roe (Caviar). Removed place-bound endonyms (Dashi, Bonito Flakes, Anchovy Paste, Soba, Shoyu, Tamari, Tempeh, Gomashio, Breadcrumbs, Egg Wash) -> now surfaced via local-food-allergens.json per destination. Removed Nutmeg. Added non_gluten_grains category, gastropods/echinoderms to shellfish, starchy tubers to fruit_veg. Added _migrations/_legacyItems so historical orders still render."
  ]
}