{
  "guide": "https://jeffneet-pantry-smart.vercel.app/llms.txt",
  "urlTemplate": "https://jeffneet-pantry-smart.vercel.app/?{params}",
  "$comment": "The semantic model: the one contract shared by the pipeline (which columns to build), the URL parser (which names are legal), the SQL compiler (how values are computed) and the agent docs (what assistants are told). Change a metric here and all four follow.",
  "version": 1,
  "dataset": {
    "name": "USDA FoodData Central, SR Legacy",
    "release": "April 2018 (final, frozen)",
    "unit": "food",
    "nativeBasis": "100g",
    "attribution": "U.S. Department of Agriculture, Agricultural Research Service. FoodData Central, fdc.nal.usda.gov.",
    "license": "CC0 1.0 (public domain)",
    "why": "SR Legacy is the one FDC dataset with a complete nutrient panel analysed on one methodology and one consistent set of 25 food groups. Foundation is newer but covers a few hundred foods; FNDDS is mixed dishes on a different category system. Mixing them would put two different analyses of 'Apples, raw' side by side in a ranking."
  },
  "bases": [
    {
      "id": "100g",
      "label": "per 100 g",
      "aliases": [
        "g",
        "100",
        "gram",
        "grams",
        "per100g",
        "weight",
        "mass"
      ],
      "note": "The native basis. Every stored value is per 100 g of the food as described (raw, cooked, dried...)."
    },
    {
      "id": "100kcal",
      "label": "per 100 kcal",
      "aliases": [
        "kcal",
        "calorie",
        "calories",
        "per100kcal",
        "energy",
        "nutrient-density",
        "density"
      ],
      "note": "Nutrient density: how much you get for the same calories. Foods under the kcal floor are excluded because dividing by near-zero energy explodes the value."
    },
    {
      "id": "portion",
      "label": "per portion",
      "aliases": [
        "serving",
        "servings",
        "portions",
        "household",
        "measure",
        "each"
      ],
      "note": "USDA's first listed household measure for the food (1 cup, 1 slice, 1 medium...). These are common measures, not label serving sizes, and they differ in kind between foods."
    }
  ],
  "metrics": [
    {
      "id": "kcal",
      "label": "Calories",
      "unit": "kcal",
      "fdc": [
        "208",
        "957",
        "958"
      ],
      "floor": 5,
      "decimals": 0,
      "aliases": [
        "calories",
        "calorie",
        "energy",
        "cal",
        "cals",
        "kilocalories"
      ],
      "better": "less"
    },
    {
      "id": "protein_g",
      "label": "Protein",
      "unit": "g",
      "fdc": [
        "203"
      ],
      "floor": 0.5,
      "decimals": 1,
      "aliases": [
        "protein"
      ],
      "better": "more"
    },
    {
      "id": "fat_g",
      "label": "Fat",
      "unit": "g",
      "fdc": [
        "204"
      ],
      "floor": 0.5,
      "decimals": 1,
      "aliases": [
        "fat",
        "total_fat",
        "lipid",
        "lipids"
      ],
      "better": "neutral"
    },
    {
      "id": "sat_fat_g",
      "label": "Saturated fat",
      "unit": "g",
      "fdc": [
        "606"
      ],
      "floor": 0.1,
      "decimals": 1,
      "aliases": [
        "saturated_fat",
        "sat_fat",
        "saturated",
        "satfat"
      ],
      "better": "less"
    },
    {
      "id": "mono_fat_g",
      "label": "Monounsaturated fat",
      "unit": "g",
      "fdc": [
        "645"
      ],
      "floor": 0.1,
      "decimals": 1,
      "aliases": [
        "monounsaturated_fat",
        "mufa",
        "mono_fat"
      ],
      "better": "neutral"
    },
    {
      "id": "poly_fat_g",
      "label": "Polyunsaturated fat",
      "unit": "g",
      "fdc": [
        "646"
      ],
      "floor": 0.1,
      "decimals": 1,
      "aliases": [
        "polyunsaturated_fat",
        "pufa",
        "poly_fat"
      ],
      "better": "neutral"
    },
    {
      "id": "trans_fat_g",
      "label": "Trans fat",
      "unit": "g",
      "fdc": [
        "605"
      ],
      "floor": 0.05,
      "decimals": 2,
      "aliases": [
        "trans_fat",
        "trans"
      ],
      "caveat": "Trans fat is missing for many SR Legacy foods, and older entries predate partial-hydrogenation phase-outs.",
      "better": "less"
    },
    {
      "id": "cholesterol_mg",
      "label": "Cholesterol",
      "unit": "mg",
      "fdc": [
        "601"
      ],
      "floor": 1,
      "decimals": 0,
      "aliases": [
        "cholesterol"
      ],
      "better": "less"
    },
    {
      "id": "carbs_g",
      "label": "Carbohydrate",
      "unit": "g",
      "fdc": [
        "205"
      ],
      "floor": 0.5,
      "decimals": 1,
      "aliases": [
        "carbs",
        "carb",
        "carbohydrate",
        "carbohydrates",
        "total_carbs"
      ],
      "caveat": "Carbohydrate 'by difference': whatever is left after water, protein, fat and ash, so it includes fiber.",
      "better": "neutral"
    },
    {
      "id": "net_carbs_g",
      "label": "Net carbs",
      "unit": "g",
      "derived": "greatest(carbs_g - fiber_g, 0)",
      "floor": 0.5,
      "decimals": 1,
      "aliases": [
        "net_carbs",
        "netcarbs",
        "net_carb"
      ],
      "caveat": "Derived here as carbohydrate minus fiber, floored at zero. Not a USDA figure.",
      "better": "neutral"
    },
    {
      "id": "fiber_g",
      "label": "Fiber",
      "unit": "g",
      "fdc": [
        "291"
      ],
      "floor": 0.5,
      "decimals": 1,
      "aliases": [
        "fiber",
        "fibre",
        "dietary_fiber",
        "fibre_g"
      ],
      "better": "more"
    },
    {
      "id": "sugar_g",
      "label": "Sugars",
      "unit": "g",
      "fdc": [
        "269"
      ],
      "floor": 0.5,
      "decimals": 1,
      "aliases": [
        "sugar",
        "sugars",
        "total_sugars"
      ],
      "caveat": "Total sugars, natural and added together. SR Legacy does not separate added sugar.",
      "better": "less"
    },
    {
      "id": "sodium_mg",
      "label": "Sodium",
      "unit": "mg",
      "fdc": [
        "307"
      ],
      "floor": 5,
      "decimals": 0,
      "aliases": [
        "sodium",
        "salt",
        "na"
      ],
      "caveat": "Sodium, not salt. Salt is about 2.5 times the sodium figure.",
      "better": "less"
    },
    {
      "id": "potassium_mg",
      "label": "Potassium",
      "unit": "mg",
      "fdc": [
        "306"
      ],
      "floor": 10,
      "decimals": 0,
      "aliases": [
        "potassium",
        "k"
      ],
      "better": "more"
    },
    {
      "id": "calcium_mg",
      "label": "Calcium",
      "unit": "mg",
      "fdc": [
        "301"
      ],
      "floor": 5,
      "decimals": 0,
      "aliases": [
        "calcium",
        "ca"
      ],
      "better": "more"
    },
    {
      "id": "iron_mg",
      "label": "Iron",
      "unit": "mg",
      "fdc": [
        "303"
      ],
      "floor": 0.1,
      "decimals": 1,
      "aliases": [
        "iron",
        "fe"
      ],
      "caveat": "Total iron. Plant (non-heme) iron is absorbed far less well than the heme iron in meat, which this number does not show.",
      "better": "more"
    },
    {
      "id": "magnesium_mg",
      "label": "Magnesium",
      "unit": "mg",
      "fdc": [
        "304"
      ],
      "floor": 2,
      "decimals": 0,
      "aliases": [
        "magnesium"
      ],
      "better": "more"
    },
    {
      "id": "phosphorus_mg",
      "label": "Phosphorus",
      "unit": "mg",
      "fdc": [
        "305"
      ],
      "floor": 5,
      "decimals": 0,
      "aliases": [
        "phosphorus",
        "p"
      ],
      "better": "more"
    },
    {
      "id": "zinc_mg",
      "label": "Zinc",
      "unit": "mg",
      "fdc": [
        "309"
      ],
      "floor": 0.1,
      "decimals": 1,
      "aliases": [
        "zinc",
        "zn"
      ],
      "better": "more"
    },
    {
      "id": "vit_c_mg",
      "label": "Vitamin C",
      "unit": "mg",
      "fdc": [
        "401"
      ],
      "floor": 0.5,
      "decimals": 1,
      "aliases": [
        "vitamin_c",
        "vitc",
        "vit_c",
        "c",
        "ascorbic_acid"
      ],
      "better": "more"
    },
    {
      "id": "vit_a_ug",
      "label": "Vitamin A (RAE)",
      "unit": "µg",
      "fdc": [
        "320"
      ],
      "floor": 5,
      "decimals": 0,
      "aliases": [
        "vitamin_a",
        "vita",
        "vit_a",
        "a",
        "rae"
      ],
      "better": "more"
    },
    {
      "id": "vit_d_ug",
      "label": "Vitamin D",
      "unit": "µg",
      "fdc": [
        "328"
      ],
      "floor": 0.1,
      "decimals": 1,
      "aliases": [
        "vitamin_d",
        "vitd",
        "vit_d",
        "d"
      ],
      "better": "more"
    },
    {
      "id": "vit_e_mg",
      "label": "Vitamin E",
      "unit": "mg",
      "fdc": [
        "323"
      ],
      "floor": 0.1,
      "decimals": 1,
      "aliases": [
        "vitamin_e",
        "vite",
        "vit_e",
        "e",
        "tocopherol"
      ],
      "better": "more"
    },
    {
      "id": "vit_k_ug",
      "label": "Vitamin K",
      "unit": "µg",
      "fdc": [
        "430"
      ],
      "floor": 1,
      "decimals": 0,
      "aliases": [
        "vitamin_k",
        "vitk",
        "vit_k",
        "k1",
        "phylloquinone"
      ],
      "better": "more"
    },
    {
      "id": "vit_b12_ug",
      "label": "Vitamin B12",
      "unit": "µg",
      "fdc": [
        "418"
      ],
      "floor": 0.05,
      "decimals": 2,
      "aliases": [
        "vitamin_b12",
        "b12",
        "vit_b12",
        "cobalamin"
      ],
      "better": "more"
    },
    {
      "id": "folate_ug",
      "label": "Folate (DFE)",
      "unit": "µg",
      "fdc": [
        "435"
      ],
      "floor": 2,
      "decimals": 0,
      "aliases": [
        "folate",
        "folic_acid",
        "b9",
        "dfe"
      ],
      "better": "more"
    },
    {
      "id": "choline_mg",
      "label": "Choline",
      "unit": "mg",
      "fdc": [
        "421"
      ],
      "floor": 2,
      "decimals": 0,
      "aliases": [
        "choline"
      ],
      "better": "more"
    },
    {
      "id": "caffeine_mg",
      "label": "Caffeine",
      "unit": "mg",
      "fdc": [
        "262"
      ],
      "floor": 1,
      "decimals": 0,
      "aliases": [
        "caffeine"
      ],
      "better": "neutral"
    },
    {
      "id": "alcohol_g",
      "label": "Alcohol",
      "unit": "g",
      "fdc": [
        "221"
      ],
      "floor": 0.1,
      "decimals": 1,
      "aliases": [
        "alcohol",
        "ethanol"
      ],
      "better": "less"
    },
    {
      "id": "water_g",
      "label": "Water",
      "unit": "g",
      "fdc": [
        "255"
      ],
      "floor": 1,
      "decimals": 0,
      "aliases": [
        "water",
        "moisture"
      ],
      "better": "neutral"
    },
    {
      "id": "protein_pct_kcal",
      "label": "Calories from protein",
      "unit": "%",
      "share": true,
      "derived": "protein_g * 4 * 100 / kcal",
      "decimals": 0,
      "aliases": [
        "protein_pct",
        "protein_share",
        "protein_percent",
        "pct_protein"
      ],
      "caveat": "Uses the general 4 kcal/g factor, so the three macro shares need not add to exactly 100 %.",
      "better": "more"
    },
    {
      "id": "fat_pct_kcal",
      "label": "Calories from fat",
      "unit": "%",
      "share": true,
      "derived": "fat_g * 9 * 100 / kcal",
      "decimals": 0,
      "aliases": [
        "fat_pct",
        "fat_share",
        "fat_percent",
        "pct_fat"
      ],
      "caveat": "Uses the general 9 kcal/g factor, so the three macro shares need not add to exactly 100 %.",
      "better": "neutral"
    },
    {
      "id": "carbs_pct_kcal",
      "label": "Calories from carbs",
      "unit": "%",
      "share": true,
      "derived": "carbs_g * 4 * 100 / kcal",
      "decimals": 0,
      "aliases": [
        "carbs_pct",
        "carb_share",
        "carbs_percent",
        "pct_carbs"
      ],
      "caveat": "Uses the general 4 kcal/g factor on carbohydrate by difference (fiber included), so it reads high for fibrous foods.",
      "better": "neutral"
    }
  ],
  "groups": [
    {
      "id": "vegetables",
      "fdc": "Vegetables and Vegetable Products",
      "aliases": [
        "vegetable",
        "veg",
        "veggies"
      ],
      "icon": "1F966"
    },
    {
      "id": "fruits",
      "fdc": "Fruits and Fruit Juices",
      "aliases": [
        "fruit",
        "juice",
        "juices"
      ],
      "icon": "1F34E"
    },
    {
      "id": "legumes",
      "fdc": "Legumes and Legume Products",
      "aliases": [
        "legume",
        "beans",
        "pulses",
        "lentils"
      ],
      "icon": "1FAD8"
    },
    {
      "id": "nuts-seeds",
      "fdc": "Nut and Seed Products",
      "aliases": [
        "nuts",
        "seeds",
        "nut",
        "seed"
      ],
      "icon": "1F95C"
    },
    {
      "id": "grains-pasta",
      "fdc": "Cereal Grains and Pasta",
      "aliases": [
        "grains",
        "grain",
        "pasta",
        "rice"
      ],
      "icon": "1F33E"
    },
    {
      "id": "cereals",
      "fdc": "Breakfast Cereals",
      "aliases": [
        "cereal",
        "breakfast-cereals"
      ],
      "icon": "1F963"
    },
    {
      "id": "baked",
      "fdc": "Baked Products",
      "aliases": [
        "bread",
        "breads",
        "baked-goods",
        "bakery"
      ],
      "icon": "1F35E"
    },
    {
      "id": "dairy-eggs",
      "fdc": "Dairy and Egg Products",
      "aliases": [
        "dairy",
        "eggs",
        "egg",
        "milk",
        "cheese"
      ],
      "icon": "1F95B"
    },
    {
      "id": "beef",
      "fdc": "Beef Products",
      "aliases": [],
      "icon": "1F969"
    },
    {
      "id": "pork",
      "fdc": "Pork Products",
      "aliases": [],
      "icon": "1F953"
    },
    {
      "id": "poultry",
      "fdc": "Poultry Products",
      "aliases": [
        "chicken",
        "turkey"
      ],
      "icon": "1F357"
    },
    {
      "id": "lamb-veal-game",
      "fdc": "Lamb, Veal, and Game Products",
      "aliases": [
        "lamb",
        "veal",
        "game"
      ],
      "icon": "1F411"
    },
    {
      "id": "sausages-deli",
      "fdc": "Sausages and Luncheon Meats",
      "aliases": [
        "sausages",
        "deli",
        "luncheon-meats",
        "cold-cuts"
      ],
      "icon": "1F32D"
    },
    {
      "id": "seafood",
      "fdc": "Finfish and Shellfish Products",
      "aliases": [
        "fish",
        "shellfish",
        "finfish"
      ],
      "icon": "1F41F"
    },
    {
      "id": "fats-oils",
      "fdc": "Fats and Oils",
      "aliases": [
        "fats",
        "oils",
        "oil"
      ],
      "icon": "1FAD2"
    },
    {
      "id": "spices-herbs",
      "fdc": "Spices and Herbs",
      "aliases": [
        "spices",
        "herbs",
        "spice",
        "herb"
      ],
      "icon": "1F33F"
    },
    {
      "id": "soups-sauces",
      "fdc": "Soups, Sauces, and Gravies",
      "aliases": [
        "soups",
        "sauces",
        "soup",
        "sauce",
        "gravy"
      ],
      "icon": "1F372"
    },
    {
      "id": "beverages",
      "fdc": "Beverages",
      "aliases": [
        "drinks",
        "drink",
        "beverage"
      ],
      "icon": "1F964"
    },
    {
      "id": "sweets",
      "fdc": "Sweets",
      "aliases": [
        "candy",
        "desserts",
        "sweet"
      ],
      "icon": "1F36C"
    },
    {
      "id": "snacks",
      "fdc": "Snacks",
      "aliases": [
        "snack",
        "chips"
      ],
      "icon": "1F37F"
    },
    {
      "id": "meals",
      "fdc": "Meals, Entrees, and Side Dishes",
      "aliases": [
        "entrees",
        "sides",
        "meal"
      ],
      "icon": "1F958"
    },
    {
      "id": "fast-food",
      "fdc": "Fast Foods",
      "aliases": [
        "fastfood",
        "fast-foods"
      ],
      "icon": "1F354"
    },
    {
      "id": "restaurant",
      "fdc": "Restaurant Foods",
      "aliases": [
        "restaurants"
      ],
      "icon": "1F37D"
    },
    {
      "id": "native-foods",
      "fdc": "American Indian/Alaska Native Foods",
      "aliases": [
        "american-indian",
        "alaska-native",
        "indigenous"
      ],
      "icon": "1F33D"
    },
    {
      "id": "baby-foods",
      "fdc": "Baby Foods",
      "aliases": [
        "baby",
        "infant"
      ],
      "excludedByDefault": true,
      "icon": "1F37C"
    }
  ],
  "foodSets": [
    {
      "id": "everyday",
      "label": "everyday foods",
      "aliases": [
        "common",
        "everyday",
        "typical",
        "usual",
        "familiar",
        "default"
      ],
      "note": "Foods that appear, directly or inside a recipe, in what Americans reported eating in the national What We Eat in America survey (NHANES 2021-2023, as coded in USDA's FNDDS). It describes a US diet. A family eating a Thai, Siberian or any other diet has a different everyday."
    },
    {
      "id": "all",
      "label": "all foods",
      "aliases": [
        "every",
        "everything",
        "complete",
        "full",
        "all_foods"
      ],
      "note": "Every SR Legacy food, including rare, regional, industrial and dried forms (seal meat, cottonseed flour, spice powders)."
    }
  ],
  "lifeStages": {
    "source": "Dietary Reference Intakes: Recommended Dietary Allowances and Adequate Intakes, Vitamins and Elements. Food and Nutrition Board, National Academies of Sciences, Engineering, and Medicine (summary tables, 2019).",
    "note": "RDAs cover nearly all (97-98%) healthy people in the group; AIs (marked) are set where evidence is thinner. Pregnancy and lactation differ and are not included. A share of a daily target is a comparison aid, not advice.",
    "adequateIntake": [
      "choline_mg",
      "potassium_mg",
      "vit_k_ug"
    ],
    "stages": [
      {
        "id": "child-1-3",
        "label": "a 1–3-year-old",
        "aliases": [
          "toddler",
          "1-3",
          "age-1-3",
          "kid-1-3"
        ],
        "targets": {
          "vit_a_ug": 300,
          "vit_c_mg": 15,
          "vit_d_ug": 15,
          "vit_e_mg": 6,
          "vit_k_ug": 30,
          "folate_ug": 150,
          "vit_b12_ug": 0.9,
          "choline_mg": 200,
          "calcium_mg": 700,
          "iron_mg": 7,
          "magnesium_mg": 80,
          "phosphorus_mg": 460,
          "zinc_mg": 3,
          "potassium_mg": 2000
        }
      },
      {
        "id": "child-4-8",
        "label": "a 4–8-year-old",
        "aliases": [
          "4-8",
          "age-4-8",
          "kid-4-8",
          "child",
          "kid",
          "kids",
          "children"
        ],
        "targets": {
          "vit_a_ug": 400,
          "vit_c_mg": 25,
          "vit_d_ug": 15,
          "vit_e_mg": 7,
          "vit_k_ug": 55,
          "folate_ug": 200,
          "vit_b12_ug": 1.2,
          "choline_mg": 250,
          "calcium_mg": 1000,
          "iron_mg": 10,
          "magnesium_mg": 130,
          "phosphorus_mg": 500,
          "zinc_mg": 5,
          "potassium_mg": 2300
        }
      },
      {
        "id": "boy-9-13",
        "label": "a 9–13-year-old boy",
        "aliases": [
          "9-13-boy",
          "boy",
          "tween-boy"
        ],
        "targets": {
          "vit_a_ug": 600,
          "vit_c_mg": 45,
          "vit_d_ug": 15,
          "vit_e_mg": 11,
          "vit_k_ug": 60,
          "folate_ug": 300,
          "vit_b12_ug": 1.8,
          "choline_mg": 375,
          "calcium_mg": 1300,
          "iron_mg": 8,
          "magnesium_mg": 240,
          "phosphorus_mg": 1250,
          "zinc_mg": 8,
          "potassium_mg": 2500
        }
      },
      {
        "id": "girl-9-13",
        "label": "a 9–13-year-old girl",
        "aliases": [
          "9-13-girl",
          "girl",
          "tween-girl"
        ],
        "targets": {
          "vit_a_ug": 600,
          "vit_c_mg": 45,
          "vit_d_ug": 15,
          "vit_e_mg": 11,
          "vit_k_ug": 60,
          "folate_ug": 300,
          "vit_b12_ug": 1.8,
          "choline_mg": 375,
          "calcium_mg": 1300,
          "iron_mg": 8,
          "magnesium_mg": 240,
          "phosphorus_mg": 1250,
          "zinc_mg": 8,
          "potassium_mg": 2300
        }
      },
      {
        "id": "man-19-30",
        "label": "a man, 19–30",
        "aliases": [
          "man",
          "adult-man",
          "male-adult"
        ],
        "targets": {
          "vit_a_ug": 900,
          "vit_c_mg": 90,
          "vit_d_ug": 15,
          "vit_e_mg": 15,
          "vit_k_ug": 120,
          "folate_ug": 400,
          "vit_b12_ug": 2.4,
          "choline_mg": 550,
          "calcium_mg": 1000,
          "iron_mg": 8,
          "magnesium_mg": 400,
          "phosphorus_mg": 700,
          "zinc_mg": 11,
          "potassium_mg": 3400
        }
      },
      {
        "id": "woman-19-30",
        "label": "a woman, 19–30",
        "aliases": [
          "woman",
          "adult-woman",
          "female-adult",
          "mom"
        ],
        "targets": {
          "vit_a_ug": 700,
          "vit_c_mg": 75,
          "vit_d_ug": 15,
          "vit_e_mg": 15,
          "vit_k_ug": 90,
          "folate_ug": 400,
          "vit_b12_ug": 2.4,
          "choline_mg": 425,
          "calcium_mg": 1000,
          "iron_mg": 18,
          "magnesium_mg": 310,
          "phosphorus_mg": 700,
          "zinc_mg": 8,
          "potassium_mg": 2600
        }
      }
    ]
  },
  "rules": {
    "defaultLimit": 20,
    "maxLimit": 100,
    "lowCoverage": 0.6,
    "notes": [
      "Foods are the unit. Values are never summed or averaged across foods: a sum of per-100 g figures means nothing. The groups view shows each food as a dot and marks the median.",
      "A missing nutrient is unknown, not zero. Foods without the value are left out and counted in the caption.",
      "Ratios and '% of calories' are basis-free: scaling a food scales both sides, so basis is ignored for them.",
      "Rank bars always start at zero. Log scale is offered only where positions, not lengths, carry the value (groups, scatter), and zeros are dropped and counted under it."
    ],
    "betterNote": "'better' is a general direction for healthy children and adults, used only to colour comparisons: more is better for protein, fiber, vitamins and minerals; less for calories, sugars, sodium, saturated and trans fat, cholesterol and alcohol; neutral where it depends on the person (total fat, carbohydrate, water, caffeine)."
  },
  "stats": {
    "foods": 7793,
    "builtAt": "2026-09-24T07:33:28+00:00",
    "groups": {
      "vegetables": 814,
      "fruits": 355,
      "legumes": 290,
      "nuts-seeds": 137,
      "grains-pasta": 181,
      "cereals": 195,
      "baked": 517,
      "dairy-eggs": 291,
      "beef": 954,
      "pork": 336,
      "poultry": 383,
      "lamb-veal-game": 464,
      "sausages-deli": 167,
      "seafood": 264,
      "fats-oils": 216,
      "spices-herbs": 63,
      "soups-sauces": 254,
      "beverages": 366,
      "sweets": 358,
      "snacks": 176,
      "meals": 81,
      "fast-food": 312,
      "restaurant": 109,
      "native-foods": 165,
      "baby-foods": 345
    },
    "coverage": {
      "kcal": 7793,
      "protein_g": 7793,
      "fat_g": 7793,
      "sat_fat_g": 7450,
      "mono_fat_g": 7277,
      "poly_fat_g": 7279,
      "trans_fat_g": 4179,
      "cholesterol_mg": 7394,
      "carbs_g": 7793,
      "net_carbs_g": 7793,
      "fiber_g": 7231,
      "sugar_g": 6007,
      "sodium_mg": 7709,
      "potassium_mg": 7516,
      "calcium_mg": 7708,
      "iron_mg": 7713,
      "magnesium_mg": 7421,
      "phosphorus_mg": 7467,
      "zinc_mg": 7406,
      "vit_c_mg": 7332,
      "vit_a_ug": 6918,
      "vit_d_ug": 5185,
      "vit_e_mg": 5580,
      "vit_k_ug": 5054,
      "vit_b12_ug": 7113,
      "folate_ug": 6482,
      "choline_mg": 4611,
      "caffeine_mg": 5215,
      "alcohol_g": 5399,
      "water_g": 7793,
      "protein_pct_kcal": 7712,
      "fat_pct_kcal": 7712,
      "carbs_pct_kcal": 7712,
      "portion": 7533
    }
  },
  "examples": [
    {
      "question": "Which everyday foods give a 4–8-year-old the most iron per portion?",
      "query": "metric=iron_mg&basis=portion&for=child-4-8",
      "lesson": "Fortified hot cereals lead: one packet of instant grits covers more than a 4–8-year-old's whole day. Pin a food to see what else comes with the iron.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?metric=iron_mg&basis=portion&for=child-4-8"
    },
    {
      "question": "Calcium for a toddler, without dairy",
      "query": "metric=calcium_mg&basis=portion&for=child-1-3&group=-dairy-eggs",
      "lesson": "Fortified almond milk leads, about two-thirds of a toddler's day in one cup; cooked collard greens are the top whole food.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?metric=calcium_mg&basis=portion&for=child-1-3&group=-dairy-eggs"
    },
    {
      "question": "Vitamin D for a 9–13-year-old girl",
      "query": "metric=vit_d_ug&basis=portion&for=girl-9-13",
      "lesson": "Oily fish dominates: a 3 oz portion of trout or salmon covers most of a day. Few other everyday foods come close.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?metric=vit_d_ug&basis=portion&for=girl-9-13"
    },
    {
      "question": "Fruits and vegetables with the most potassium for their calories",
      "query": "metric=potassium_mg/kcal&group=vegetables,fruits",
      "lesson": "Leafy greens (beet greens, pak choi, watercress) give the most potassium per calorie.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?metric=potassium_mg/kcal&group=vegetables,fruits"
    },
    {
      "question": "Most fiber in a typical portion",
      "query": "metric=fiber_g&basis=portion",
      "lesson": "Beans, split peas and lentils lead once you count a real portion.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?metric=fiber_g&basis=portion"
    },
    {
      "question": "Most fiber per 100 g",
      "query": "metric=fiber_g",
      "lesson": "Same nutrient, different basis: per 100 g, dried herbs, cinnamon and bran win, because nobody eats 100 g of oregano.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?metric=fiber_g"
    },
    {
      "question": "Lowest-sugar breakfast cereals",
      "query": "metric=sugar_g&sort=asc&group=cereals",
      "lesson": "Plain hot cereals (Cream of Wheat, oats) have almost no sugar.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?metric=sugar_g&sort=asc&group=cereals"
    },
    {
      "question": "How does sodium vary across food groups?",
      "query": "view=groups&metric=sodium_mg&scale=log",
      "lesson": "Each dot is one food and the tick is the group median. Deli meats have the saltiest median, fruit the lowest; log scale because sodium runs from 1 mg to tens of thousands.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?view=groups&metric=sodium_mg&scale=log"
    },
    {
      "question": "Which nuts and seeds have the most magnesium per 100 calories?",
      "query": "metric=magnesium_mg&basis=100kcal&group=nuts-seeds",
      "lesson": "Pumpkin seeds lead by a wide margin.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?metric=magnesium_mg&basis=100kcal&group=nuts-seeds"
    },
    {
      "question": "Protein versus fat in meat",
      "query": "view=scatter&x=fat_g&y=protein_g&group=beef,pork,poultry,lamb-veal-game",
      "lesson": "Lean cuts hug the left edge. The very top is cooked bacon: cooking drives out water and concentrates everything, which is why 'per 100 g as described' matters.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?view=scatter&x=fat_g&y=protein_g&group=beef,pork,poultry,lamb-veal-game"
    },
    {
      "question": "Which foods have the lowest calories for their potassium? (a trick question)",
      "query": "metric=kcal/potassium_mg&sort=asc",
      "lesson": "Taken literally, the answer is decaf coffee and tea, tied at zero calories. The page counts the tie; the fruit-and-vegetable version is the useful question.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?metric=kcal/potassium_mg&sort=asc"
    },
    {
      "question": "Highest vitamin C per 100 g, every food included",
      "query": "metric=vit_c_mg&foods=all",
      "lesson": "With every food included, drink powders and freeze-dried peppers top the list. This is why everyday foods are the default.",
      "url": "https://jeffneet-pantry-smart.vercel.app/?metric=vit_c_mg&foods=all"
    }
  ]
}