{
  "meta": {
    "generated": "2026-08-30T08:08:20.166437",
    "source": "live API engine output (POST profile + POST entries + GET adequacy)",
    "standards": "NASEM",
    "windowDays": 7,
    "regenerate": "python3 build/api/gen-demo-fixture.py"
  },
  "profile": {
    "userId": "67",
    "version": 1,
    "changed": true,
    "snapshot": {
      "version": 1,
      "inputs": {
        "age": 35,
        "sex": "M",
        "heightCm": 178,
        "weightKg": 78,
        "pal": "low_active",
        "goal": "maintain",
        "reproState": null,
        "bodyFatFraction": null,
        "trainingLoad": null,
        "standards": "NASEM"
      },
      "lifeStage": "31-50y",
      "isRepro": false,
      "energy": {
        "type": "energy",
        "range": {
          "lo": 2645,
          "hi": 3045
        },
        "center": 2845,
        "unit": "kcal/day",
        "basis": "NASEM 2023 EER, low-active",
        "basisCode": "energy",
        "evidence": "HIGH",
        "auto": true,
        "provenance": {
          "equation": "NASEM 2023 EER",
          "basis": "NASEM 2023 EER, low-active",
          "inputs": {
            "age": 35,
            "heightCm": 178,
            "weightKg": 78,
            "pal": "low_active"
          },
          "goal": "maintain",
          "uncertainty": "SEPV \u00b1400 kcal individual-level CI; shown as a range, never a point",
          "auto": true
        },
        "variants": {
          "eer": 2845,
          "mifflin": 1723
        }
      },
      "macros": {
        "protein": {
          "value": 62,
          "unit": "g",
          "basis": "0.8 g/kg RDA baseline",
          "evidence": "HIGH",
          "auto": true
        },
        "carbohydrate": {
          "value": 130,
          "unit": "g",
          "basis": "130 g RDA floor",
          "evidence": "HIGH",
          "auto": true
        },
        "fat": {
          "lo": 20,
          "hi": 35,
          "unit": "%energy",
          "basis": "AMDR 20\u201335% energy",
          "evidence": "HIGH",
          "auto": true
        },
        "fiber": {
          "value": 40,
          "unit": "g",
          "basis": "AI 14 g / 1,000 kcal",
          "evidence": "HIGH",
          "auto": true
        }
      },
      "nutrients": [
        {
          "id": "alpha_linolenic_acid_n3",
          "name": "Alpha-Linolenic Acid (n-3 PUFA)",
          "unit": "g",
          "value": 1.6,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "ai_based",
          "provenance": {
            "source": "NASEM/IOM Dietary Reference Intakes (2002/2005) as republished by Health Canada (updated 2025-11-19); cross-checked against NASEM summary tables via ODS (NCBI Bookshelf); US Dietary Guidelines for Americans 2025-2030 (realfood.gov, released January 2026)",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "biotin",
          "name": "Biotin (B7)",
          "unit": "\u00b5g",
          "value": 30,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "ai_based",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "calcium",
          "name": "Calcium",
          "unit": "mg",
          "value": 1000,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 2500,
          "ear": 800,
          "earType": "EAR",
          "basisCode": "ear_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "ear_based"
          }
        },
        {
          "id": "carbohydrate",
          "name": "Carbohydrate",
          "unit": "g",
          "value": 130,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "NASEM/IOM Dietary Reference Intakes (2002/2005) as republished by Health Canada (updated 2025-11-19); cross-checked against NASEM summary tables via ODS (NCBI Bookshelf); US Dietary Guidelines for Americans 2025-2030 (realfood.gov, released January 2026)",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "chloride",
          "name": "Chloride",
          "unit": "mg",
          "value": 2300,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 3600,
          "basisCode": "ai_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "choline",
          "name": "Choline",
          "unit": "mg",
          "value": 550,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 3500,
          "basisCode": "ai_based",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "chromium",
          "name": "Chromium",
          "unit": "\u00b5g",
          "value": 35,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "ai_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "copper",
          "name": "Copper",
          "unit": "\u00b5g",
          "value": 900,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 10000,
          "ear": 700,
          "earType": "EAR",
          "basisCode": "ear_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "ear_based"
          }
        },
        {
          "id": "fluoride",
          "name": "Fluoride",
          "unit": "mg",
          "value": 4,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 10,
          "basisCode": "ai_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "folate",
          "name": "Folate (B9)",
          "unit": "\u00b5g DFE",
          "value": 400,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 1000,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "iodine",
          "name": "Iodine",
          "unit": "\u00b5g",
          "value": 150,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 1100,
          "ear": 95,
          "earType": "EAR",
          "basisCode": "ear_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "ear_based"
          }
        },
        {
          "id": "iron",
          "name": "Iron",
          "unit": "mg",
          "value": 8,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 45,
          "ear": 6,
          "earType": "EAR",
          "basisCode": "ear_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "ear_based"
          }
        },
        {
          "id": "linoleic_acid_n6",
          "name": "Linoleic Acid (n-6 PUFA)",
          "unit": "g",
          "value": 17,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "ai_based",
          "provenance": {
            "source": "NASEM/IOM Dietary Reference Intakes (2002/2005) as republished by Health Canada (updated 2025-11-19); cross-checked against NASEM summary tables via ODS (NCBI Bookshelf); US Dietary Guidelines for Americans 2025-2030 (realfood.gov, released January 2026)",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "magnesium",
          "name": "Magnesium",
          "unit": "mg",
          "value": 420,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 350,
          "ear": 350,
          "earType": "EAR",
          "basisCode": "ear_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "ear_based"
          }
        },
        {
          "id": "manganese",
          "name": "Manganese",
          "unit": "mg",
          "value": 2.3,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 11,
          "basisCode": "ai_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "molybdenum",
          "name": "Molybdenum",
          "unit": "\u00b5g",
          "value": 45,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 2000,
          "ear": 34,
          "earType": "EAR",
          "basisCode": "ear_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "ear_based"
          }
        },
        {
          "id": "niacin",
          "name": "Niacin (B3)",
          "unit": "mg NE",
          "value": 16,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 35,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "pantothenic_acid",
          "name": "Pantothenic Acid (B5)",
          "unit": "mg",
          "value": 5,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "ai_based",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "phosphorus",
          "name": "Phosphorus",
          "unit": "mg",
          "value": 700,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 4000,
          "ear": 580,
          "earType": "EAR",
          "basisCode": "ear_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "ear_based"
          }
        },
        {
          "id": "potassium",
          "name": "Potassium",
          "unit": "mg",
          "value": 3400,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "ai_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "protein",
          "name": "Protein",
          "unit": "g",
          "value": 56,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "NASEM/IOM Dietary Reference Intakes (2002/2005) as republished by Health Canada (updated 2025-11-19); cross-checked against NASEM summary tables via ODS (NCBI Bookshelf); US Dietary Guidelines for Americans 2025-2030 (realfood.gov, released January 2026)",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "riboflavin",
          "name": "Riboflavin (B2)",
          "unit": "mg",
          "value": 1.3,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "selenium",
          "name": "Selenium",
          "unit": "\u00b5g",
          "value": 55,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 400,
          "ear": 45,
          "earType": "EAR",
          "basisCode": "ear_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "ear_based"
          }
        },
        {
          "id": "sodium",
          "name": "Sodium",
          "unit": "mg",
          "value": 1500,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "ai_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "thiamin",
          "name": "Thiamin (B1)",
          "unit": "mg",
          "value": 1.2,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "total_fiber",
          "name": "Total Fiber",
          "unit": "g",
          "value": 38,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "ai_based",
          "provenance": {
            "source": "NASEM/IOM Dietary Reference Intakes (2002/2005) as republished by Health Canada (updated 2025-11-19); cross-checked against NASEM summary tables via ODS (NCBI Bookshelf); US Dietary Guidelines for Americans 2025-2030 (realfood.gov, released January 2026)",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "total_water",
          "name": "Total Water",
          "unit": "L",
          "value": 3.7,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "ai_based",
          "provenance": {
            "source": "NASEM/IOM Dietary Reference Intakes (2002/2005) as republished by Health Canada (updated 2025-11-19); cross-checked against NASEM summary tables via ODS (NCBI Bookshelf); US Dietary Guidelines for Americans 2025-2030 (realfood.gov, released January 2026)",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "vitamin_a",
          "name": "Vitamin A",
          "unit": "\u00b5g RAE",
          "value": 900,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 3000,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "vitamin_b12",
          "name": "Vitamin B12",
          "unit": "\u00b5g",
          "value": 2.4,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "vitamin_b6",
          "name": "Vitamin B6",
          "unit": "mg",
          "value": 1.3,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 100,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "vitamin_c",
          "name": "Vitamin C",
          "unit": "mg",
          "value": 90,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 2000,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "vitamin_d",
          "name": "Vitamin D",
          "unit": "\u00b5g",
          "value": 15,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 100,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "vitamin_e",
          "name": "Vitamin E",
          "unit": "mg",
          "value": 15,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 1000,
          "basisCode": "rda_no_ear",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "rda_no_ear"
          }
        },
        {
          "id": "vitamin_k",
          "name": "Vitamin K",
          "unit": "\u00b5g",
          "value": 120,
          "type": "AI",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "basisCode": "ai_based",
          "provenance": {
            "source": "Health Canada DRI tables (NASEM/IOM values), cross-checked against NIH ODS fact sheets",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "AI",
            "basisCode": "ai_based"
          }
        },
        {
          "id": "zinc",
          "name": "Zinc",
          "unit": "mg",
          "value": 11,
          "type": "RDA",
          "basis": "DRI 31-50y male row (NASEM)",
          "evidence": "HIGH",
          "auto": true,
          "ul": 40,
          "ear": 9.4,
          "earType": "EAR",
          "basisCode": "ear_based",
          "provenance": {
            "source": "https://www.canada.ca/en/health-canada/services/food-nutrition/healthy-eating/dietary-reference-intakes/tables/reference-values-elements.html",
            "authority": "NASEM",
            "lifeStage": "31-50y",
            "sex": "M",
            "valueType": "RDA",
            "basisCode": "ear_based"
          }
        }
      ]
    }
  },
  "entries": [
    "2026-08-24",
    "2026-08-25",
    "2026-08-26",
    "2026-08-27",
    "2026-08-28",
    "2026-08-29",
    "2026-08-30"
  ],
  "entryPayloads": [
    {
      "date": "2026-08-24",
      "nutrients": {
        "protein": 90,
        "carbohydrate": 199,
        "total_fat": 67,
        "calcium": 549,
        "iron": 8,
        "vitamin_c": 128,
        "folate": 274,
        "vitamin_d": 7,
        "sodium": 2693,
        "potassium": 2318,
        "total_fiber": 31
      }
    },
    {
      "date": "2026-08-25",
      "nutrients": {
        "protein": 83,
        "carbohydrate": 184,
        "total_fat": 57,
        "calcium": 944,
        "iron": 11,
        "vitamin_c": 68,
        "folate": 311,
        "vitamin_d": 3,
        "sodium": 2628,
        "potassium": 3069,
        "total_fiber": 16
      }
    },
    {
      "date": "2026-08-26",
      "nutrients": {
        "protein": 106,
        "carbohydrate": 195,
        "total_fat": 85,
        "calcium": 728,
        "iron": 13,
        "vitamin_c": 140,
        "folate": 399,
        "vitamin_d": 2,
        "sodium": 2681,
        "potassium": 3399,
        "total_fiber": 27
      }
    },
    {
      "date": "2026-08-27",
      "nutrients": {
        "protein": 73,
        "carbohydrate": 208,
        "total_fat": 56,
        "calcium": 1070,
        "iron": 14,
        "vitamin_c": 77,
        "folate": 324,
        "vitamin_d": 8,
        "sodium": 1795,
        "potassium": 3307,
        "total_fiber": 18
      }
    },
    {
      "date": "2026-08-28",
      "nutrients": {
        "protein": 106,
        "carbohydrate": 219,
        "total_fat": 72,
        "calcium": 685,
        "iron": 8,
        "vitamin_c": 134,
        "folate": 396,
        "vitamin_d": 5,
        "sodium": 2262,
        "potassium": 2399,
        "total_fiber": 32
      }
    },
    {
      "date": "2026-08-29",
      "nutrients": {
        "protein": 74,
        "carbohydrate": 252,
        "total_fat": 56,
        "calcium": 710,
        "iron": 11,
        "vitamin_c": 147,
        "folate": 386,
        "vitamin_d": 8,
        "sodium": 2143,
        "potassium": 3153,
        "total_fiber": 33
      }
    },
    {
      "date": "2026-08-30",
      "nutrients": {
        "protein": 99,
        "carbohydrate": 226,
        "total_fat": 64,
        "calcium": 754,
        "iron": 14,
        "vitamin_c": 83,
        "folate": 428,
        "vitamin_d": 5,
        "sodium": 1667,
        "potassium": 3376,
        "total_fiber": 24
      }
    }
  ],
  "adequacy": {
    "windowDays": 7,
    "startDate": "2026-08-24",
    "endDate": "2026-08-30",
    "loggingDays": 7,
    "nutrients": [
      {
        "id": "alpha_linolenic_acid_n3",
        "name": "Alpha-Linolenic Acid (n-3 PUFA)",
        "unit": "g",
        "target": 1.6,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 1.6 g \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "biotin",
        "name": "Biotin (B7)",
        "unit": "\u00b5g",
        "target": 30,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 30 \u00b5g \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "calcium",
        "name": "Calcium",
        "unit": "mg",
        "target": 1000,
        "targetType": "RDA",
        "ear": 800,
        "basisCode": "ear_based",
        "meanIntake": 777.1,
        "pctTarget": 78,
        "nar": 0.9714285714285714,
        "status": "approaching",
        "daysCovered": 7,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 1000 mg (EAR 800) \u2014 sustained band only, no single-day flags"
      },
      {
        "id": "carbohydrate",
        "name": "Carbohydrate",
        "unit": "g",
        "target": 130,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 211.9,
        "pctTarget": 163,
        "nar": null,
        "status": "sustained-good",
        "daysCovered": 7,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 130 g \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "chloride",
        "name": "Chloride",
        "unit": "mg",
        "target": 2300,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 2300 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "choline",
        "name": "Choline",
        "unit": "mg",
        "target": 550,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 550 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "chromium",
        "name": "Chromium",
        "unit": "\u00b5g",
        "target": 35,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 35 \u00b5g \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "copper",
        "name": "Copper",
        "unit": "\u00b5g",
        "target": 900,
        "targetType": "RDA",
        "ear": 700,
        "basisCode": "ear_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 900 \u00b5g (EAR 700) \u2014 sustained band only, no single-day flags"
      },
      {
        "id": "fluoride",
        "name": "Fluoride",
        "unit": "mg",
        "target": 4,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 4 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "folate",
        "name": "Folate (B9)",
        "unit": "\u00b5g DFE",
        "target": 400,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 359.7,
        "pctTarget": 90,
        "nar": null,
        "status": "approaching",
        "daysCovered": 7,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 400 \u00b5g DFE \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "iodine",
        "name": "Iodine",
        "unit": "\u00b5g",
        "target": 150,
        "targetType": "RDA",
        "ear": 95,
        "basisCode": "ear_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 150 \u00b5g (EAR 95) \u2014 sustained band only, no single-day flags"
      },
      {
        "id": "iron",
        "name": "Iron",
        "unit": "mg",
        "target": 8,
        "targetType": "RDA",
        "ear": 6,
        "basisCode": "ear_based",
        "meanIntake": 11.3,
        "pctTarget": 141,
        "nar": 1,
        "status": "sustained-good",
        "daysCovered": 7,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 8 mg (EAR 6) \u2014 sustained band only, no single-day flags"
      },
      {
        "id": "linoleic_acid_n6",
        "name": "Linoleic Acid (n-6 PUFA)",
        "unit": "g",
        "target": 17,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 17 g \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "magnesium",
        "name": "Magnesium",
        "unit": "mg",
        "target": 420,
        "targetType": "RDA",
        "ear": 350,
        "basisCode": "ear_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 420 mg (EAR 350) \u2014 sustained band only, no single-day flags"
      },
      {
        "id": "manganese",
        "name": "Manganese",
        "unit": "mg",
        "target": 2.3,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 2.3 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "molybdenum",
        "name": "Molybdenum",
        "unit": "\u00b5g",
        "target": 45,
        "targetType": "RDA",
        "ear": 34,
        "basisCode": "ear_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 45 \u00b5g (EAR 34) \u2014 sustained band only, no single-day flags"
      },
      {
        "id": "niacin",
        "name": "Niacin (B3)",
        "unit": "mg NE",
        "target": 16,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 16 mg NE \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "pantothenic_acid",
        "name": "Pantothenic Acid (B5)",
        "unit": "mg",
        "target": 5,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 5 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "phosphorus",
        "name": "Phosphorus",
        "unit": "mg",
        "target": 700,
        "targetType": "RDA",
        "ear": 580,
        "basisCode": "ear_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 700 mg (EAR 580) \u2014 sustained band only, no single-day flags"
      },
      {
        "id": "potassium",
        "name": "Potassium",
        "unit": "mg",
        "target": 3400,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 3003,
        "pctTarget": 88,
        "nar": null,
        "status": "approaching",
        "daysCovered": 7,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 3400 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "protein",
        "name": "Protein",
        "unit": "g",
        "target": 56,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 90.1,
        "pctTarget": 161,
        "nar": null,
        "status": "sustained-good",
        "daysCovered": 7,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 56 g \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "riboflavin",
        "name": "Riboflavin (B2)",
        "unit": "mg",
        "target": 1.3,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 1.3 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "selenium",
        "name": "Selenium",
        "unit": "\u00b5g",
        "target": 55,
        "targetType": "RDA",
        "ear": 45,
        "basisCode": "ear_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 55 \u00b5g (EAR 45) \u2014 sustained band only, no single-day flags"
      },
      {
        "id": "sodium",
        "name": "Sodium",
        "unit": "mg",
        "target": 1500,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 2267,
        "pctTarget": 151,
        "nar": null,
        "status": "sustained-good",
        "daysCovered": 7,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 1500 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "thiamin",
        "name": "Thiamin (B1)",
        "unit": "mg",
        "target": 1.2,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 1.2 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "total_fiber",
        "name": "Total Fiber",
        "unit": "g",
        "target": 38,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 25.9,
        "pctTarget": 68,
        "nar": null,
        "status": "under",
        "daysCovered": 7,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 38 g \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "total_water",
        "name": "Total Water",
        "unit": "L",
        "target": 3.7,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 3.7 L \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "vitamin_a",
        "name": "Vitamin A",
        "unit": "\u00b5g RAE",
        "target": 900,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 900 \u00b5g RAE \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "vitamin_b12",
        "name": "Vitamin B12",
        "unit": "\u00b5g",
        "target": 2.4,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 2.4 \u00b5g \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "vitamin_b6",
        "name": "Vitamin B6",
        "unit": "mg",
        "target": 1.3,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 1.3 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "vitamin_c",
        "name": "Vitamin C",
        "unit": "mg",
        "target": 90,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 111,
        "pctTarget": 123,
        "nar": null,
        "status": "sustained-good",
        "daysCovered": 7,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 90 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "vitamin_d",
        "name": "Vitamin D",
        "unit": "\u00b5g",
        "target": 15,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 5.4,
        "pctTarget": 36,
        "nar": null,
        "status": "under",
        "daysCovered": 7,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 15 \u00b5g \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "vitamin_e",
        "name": "Vitamin E",
        "unit": "mg",
        "target": 15,
        "targetType": "RDA",
        "basisCode": "rda_no_ear",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 15 mg \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "vitamin_k",
        "name": "Vitamin K",
        "unit": "\u00b5g",
        "target": 120,
        "targetType": "AI",
        "basisCode": "ai_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs AI 120 \u00b5g \u2014 no EAR/AR available, %reference threshold used (NAR not computed)"
      },
      {
        "id": "zinc",
        "name": "Zinc",
        "unit": "mg",
        "target": 11,
        "targetType": "RDA",
        "ear": 9.4,
        "basisCode": "ear_based",
        "meanIntake": 0,
        "pctTarget": 0,
        "nar": null,
        "status": "no-data",
        "daysCovered": 0,
        "daysInWindow": 7,
        "basis": "7-day rolling mean vs RDA 11 mg (EAR 9.4) \u2014 sustained band only, no single-day flags"
      }
    ],
    "mar": 0.99,
    "heiNote": "HEI-2020 scoring requires food-group servings, not just nutrient totals \u2014 deferred to the insight layer. NAR/MAR computed here."
  }
}