Workout, program and session schemas

Read the canonical training bodies for a reusable workout, a program and a performed session.

On this page

Training bodies

A workout describes what to do. A program organizes training over time. A session records what you actually did. Workout versions and planned workouts keep scheduling and history separate from the reusable template. The examples below are validation fixtures for workout@1, program@1 and session@1.

See Schemas and revisions for the record envelope and Workout Notepad for the connection.

Download

Workout

A workout body groups its prescription into blocks.

json
{
  "title": "demo",
  "equipment": [],
  "target_muscles": [],
  "contraindications": [],
  "blocks": []
}

Program

A program defines a schedule and its workout references.

json
{
  "title": "demo",
  "equipment": [],
  "target_muscles": [],
  "contraindications": [],
  "phases": [],
  "progression_rules": []
}

Session

A session records performance, including individual exercise sets when present.

json
{
  "title": "demo",
  "status": "active",
  "time_confidence": "unknown",
  "active_duration_ms": 0,
  "pause": {
    "elapsed_ms": 0
  },
  "occurrences": []
}