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 JSON Schema
- Workout version JSON Schema
- Planned workout JSON Schema
- Program JSON Schema
- Session JSON Schema
- Schema index
Workout
A workout body groups its prescription into blocks.
{
"title": "demo",
"equipment": [],
"target_muscles": [],
"contraindications": [],
"blocks": []
}Program
A program defines a schedule and its workout references.
{
"title": "demo",
"equipment": [],
"target_muscles": [],
"contraindications": [],
"phases": [],
"progression_rules": []
}Session
A session records performance, including individual exercise sets when present.
{
"title": "demo",
"status": "active",
"time_confidence": "unknown",
"active_duration_ms": 0,
"pause": {
"elapsed_ms": 0
},
"occurrences": []
}