Coach Watts · Schema

NutritionUpload

CompanyFitnessEndurance TrainingCyclingArtificial IntelligenceCoachingHealthMCP

Properties

Name Type Description
date string YYYY-MM-DD or ISO string
items array
calories integer Optional override for daily total
carbs number Optional override for daily total
protein number Optional override for daily total
fat number Optional override for daily total
waterMl integer
rawJson object Raw developer data for historical reference
View JSON Schema on GitHub

JSON Schema

coachwatts-com-nutrition-upload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/coachwatts-com/json-schema/coachwatts-com-nutrition-upload-schema.json",
  "title": "NutritionUpload",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coachwatts-com-openapi.yml#/components/schemas/NutritionUpload",
  "type": "object",
  "required": [
    "date"
  ],
  "properties": {
    "date": {
      "type": "string",
      "format": "date",
      "description": "YYYY-MM-DD or ISO string"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/FoodItem"
      }
    },
    "calories": {
      "type": "integer",
      "description": "Optional override for daily total"
    },
    "carbs": {
      "type": "number",
      "description": "Optional override for daily total"
    },
    "protein": {
      "type": "number",
      "description": "Optional override for daily total"
    },
    "fat": {
      "type": "number",
      "description": "Optional override for daily total"
    },
    "waterMl": {
      "type": "integer"
    },
    "rawJson": {
      "type": "object",
      "description": "Raw developer data for historical reference"
    }
  },
  "$defs": {
    "FoodItem": {
      "type": "object",
      "required": [
        "logged_at"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Optional item name. Defaults to \"Unknown item\"."
        },
        "calories": {
          "type": "number"
        },
        "carbs": {
          "type": "number"
        },
        "protein": {
          "type": "number"
        },
        "fat": {
          "type": "number"
        },
        "fiber": {
          "type": "number"
        },
        "sugar": {
          "type": "number"
        },
        "logged_at": {
          "type": "string",
          "format": "date-time",
          "description": "ISO 8601 timestamp"
        },
        "absorptionType": {
          "type": "string",
          "enum": [
            "RAPID",
            "FAST",
            "BALANCED",
            "DENSE",
            "HYPER_LOAD"
          ],
          "default": "BALANCED"
        },
        "quantity": {
          "type": "string"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/coachwatts-com-nutrition-upload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.