{
  "name": "fattonic-food-index",
  "title": "FatTonic Food Index",
  "version": "1.0.0",
  "created": "2026-10-02",
  "homepage": "https://fattonic.com/data/",
  "description": "200 common foods with serving size, nutrients checked against USDA FoodData Central, glycemic index, a processing level and the computed glycemic load and FatTonic Score (0-100). Glycemic index values are third-party and excluded from the licence.",
  "licenses": [
    {
      "name": "CC-BY-4.0",
      "path": "https://creativecommons.org/licenses/by/4.0/",
      "title": "Creative Commons Attribution 4.0 International"
    }
  ],
  "sources": [
    {
      "title": "USDA FoodData Central",
      "path": "https://fdc.nal.usda.gov/"
    }
  ],
  "resources": [
    {
      "name": "foods",
      "path": "foods.csv",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 46205,
      "hash": "sha256:9a53caa9d7c3112b0b88e7550fd59aad072f73f07da8567c1d10df5313734d84",
      "schema": {
        "fields": [
          {
            "name": "name",
            "type": "string",
            "description": "Food name"
          },
          {
            "name": "category",
            "type": "string",
            "description": "Food Index category"
          },
          {
            "name": "serving",
            "type": "string",
            "description": "Serving the values describe (FatTonic, editorial)"
          },
          {
            "name": "serving_g",
            "type": "number",
            "description": "Serving weight in grams (ml for drinks) used against the USDA record"
          },
          {
            "name": "gi",
            "type": "integer",
            "description": "Glycemic index used by the score. Third-party value, excluded from the licence; see gi_basis"
          },
          {
            "name": "gi_basis",
            "type": "string",
            "description": "\"not-tested\": no or too little carbohydrate to test, the score assumes this value; \"unrecorded\": per-food source not yet recorded"
          },
          {
            "name": "gl",
            "type": "integer",
            "description": "Glycemic load per serving = gi x (carbs_g - fiber_g) / 100, rounded (computed)"
          },
          {
            "name": "carbs_g",
            "type": "integer",
            "description": "Total carbohydrate per serving, g"
          },
          {
            "name": "sugar_g",
            "type": "integer",
            "description": "Total sugars per serving, g"
          },
          {
            "name": "fiber_g",
            "type": "integer",
            "description": "Dietary fiber per serving, g"
          },
          {
            "name": "protein_g",
            "type": "integer",
            "description": "Protein per serving, g"
          },
          {
            "name": "fat_g",
            "type": "integer",
            "description": "Total fat per serving, g"
          },
          {
            "name": "processed",
            "type": "integer",
            "description": "Processing level 0-3: whole, minimal, processed, ultra-processed (FatTonic, editorial)"
          },
          {
            "name": "score",
            "type": "integer",
            "description": "FatTonic Score 1-100, score model v1 (computed)"
          },
          {
            "name": "band",
            "type": "string",
            "description": "Excellent / Good / Moderate / Poor / Avoid (computed)"
          },
          {
            "name": "fdc_id",
            "type": "integer",
            "description": "USDA FoodData Central record the nutrient values are checked against"
          },
          {
            "name": "fdc_dataset",
            "type": "string",
            "description": "FoodData Central data type of that record"
          },
          {
            "name": "fdc_description",
            "type": "string",
            "description": "The record's own description"
          },
          {
            "name": "fdc_fields",
            "type": "string",
            "description": "Which of the five nutrients the record carries (space-separated)"
          },
          {
            "name": "source_url",
            "type": "string",
            "description": "Where to open the record"
          },
          {
            "name": "retrieved",
            "type": "date",
            "description": "Date the record was checked"
          }
        ]
      }
    },
    {
      "name": "foods-rows",
      "path": "foods.json",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 211526,
      "hash": "sha256:9de5e31056c0aec9158efbc86da2a243d6b53779b53e105e0a5bec8c8bc293d2"
    }
  ]
}
