Skip to Content
FFitDatadraft
SDK & Validation

JSON Schemas & Agent Endpoints

Download generated JSON Schema Draft 2020-12 files and LLM-friendly documentation bundles.

FitData generates JSON Schema Draft 2020-12 artifacts directly from the canonical Zod structural schemas in each package. Drift is checked automatically on every CI run via npm run schema:check.

Hosted JSON Schemas

All schemas below are synced directly from the workspace packages on build:

ArtifactHosted URLPackage export
Unified FitData Document/schemas/fitdata.schema.jsonfitdata/schema.json
Training Domain/schemas/training.schema.json@fitdata/training/schema.json
Nutrition Domain/schemas/nutrition.schema.json@fitdata/nutrition/schema.json
Lab Domain/schemas/lab.schema.json@fitdata/lab/schema.json
Canonical Lab LOINC Registry/schemas/lab-registry.json@fitdata/lab/registry.json

Structure only

JSON Schema validates object shape and types. Always pair structural validation with validateDocument (or the relevant domain validator) to enforce unit compatibility, reference resolution, timeline windows, and semantic invariants.

Agent-friendly Markdown endpoints

AI coding agents and documentation tools can consume the FitData specification directly in plain text:

  • /llms.txt — concise index of schemas and documentation routes
  • /llms-full.txt — full processed Markdown bundle of every documentation page

On this page