{
  "name": "snapstress-stress-load-index",
  "title": "SnapStress Stress-Load Index",
  "version": "0.1.0",
  "created": "2026-10-09",
  "homepage": "https://snapstress.com/data",
  "description": "11 drinks and snacks with caffeine (mg) or alcohol (g) per household serving from USDA FoodData Central, and the caffeine half-life used for the SnapStress app's bedtime estimate (5 h, Institute of Medicine (US) Committee on Military Nutrition Research). Estimates for a typical adult, not medical advice.",
  "licenses": [
    {
      "name": "CC-BY-4.0",
      "path": "https://creativecommons.org/licenses/by/4.0/",
      "title": "Creative Commons Attribution 4.0 International (our layer); USDA values are public domain (CC0 1.0)"
    }
  ],
  "sources": [
    {
      "title": "USDA FoodData Central (SR Legacy)",
      "path": "https://fdc.nal.usda.gov/"
    },
    {
      "title": "Institute of Medicine (US) Committee on Military Nutrition Research. Caffeine for the Sustainment of Mental Task Performance: Formulations for Military Operations. Washington (DC): National Academies Press (US); 2001. Chapter 2, Pharmacology of Caffeine.",
      "path": "https://www.ncbi.nlm.nih.gov/books/NBK223808/"
    }
  ],
  "resources": [
    {
      "name": "stress-load",
      "path": "stress-load.csv",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "bytes": 2287,
      "hash": "sha256:a38f4fd2dd0658ad21e91cc10588ae36a6794f87118eecce24fc8c690bc02769",
      "schema": {
        "fields": [
          {
            "name": "id",
            "type": "string",
            "description": "Row id"
          },
          {
            "name": "name",
            "type": "string",
            "description": "Item"
          },
          {
            "name": "lens_label",
            "type": "string",
            "description": "Camera label the SnapStress app maps to this row (empty = index only)"
          },
          {
            "name": "serving",
            "type": "string",
            "description": "Household serving the values describe (a USDA FoodData Central portion)"
          },
          {
            "name": "serving_g",
            "type": "number",
            "description": "Serving weight in grams"
          },
          {
            "name": "caffeine_mg",
            "type": "integer",
            "description": "Caffeine per serving, mg = USDA per-100 g value × serving_g / 100, rounded"
          },
          {
            "name": "caffeine_at_bedtime_mg_if_6h_before",
            "type": "integer",
            "description": "Example: caffeine still active 6 h after the serving, at a 5 h half-life (estimate; see caffeine_half_life in stress-load.json)"
          },
          {
            "name": "alcohol_g",
            "type": "number",
            "description": "Alcohol (ethanol) per serving, g, rounded to 0.1"
          },
          {
            "name": "fdc_id",
            "type": "integer",
            "description": "USDA FoodData Central record (SR Legacy)"
          },
          {
            "name": "fdc_description",
            "type": "string",
            "description": "The record's own description"
          },
          {
            "name": "source_url",
            "type": "string",
            "description": "Record URL"
          },
          {
            "name": "accessed",
            "type": "date",
            "description": "Date the record was read"
          }
        ]
      }
    },
    {
      "name": "stress-load-full",
      "path": "stress-load.json",
      "format": "json",
      "mediatype": "application/json",
      "encoding": "utf-8",
      "bytes": 9407,
      "hash": "sha256:f3aab43cf265195c5e55b2bf4762b2b74ce8c84f31369979983a38cecec3d81c"
    }
  ]
}
