Open Workout

Development draft, v0. The schema may change; every change is in the changelog.

Open Workout Schema v0

Draft. The JSON Schemas in this folder are normative for shape; this document says what the members mean and how documents change. MUST, SHOULD and MAY are as in RFC 2119.

1. Why this exists

A workout log should belong to the person, not the app that recorded it. OWS is one shape for that log, so any app, assistant or server can write it and read it back, and a person can take it elsewhere whole.

2. Documents

Document Schema What it is
Workout workout.json One session: exercise entries with their sets, when it happened, and where the record came from
Routine routine.json A person's own plan for a session: targets, never performed work
Program program.json What a program prescribes, week by week: rules for loads, not weights
Log log.json A whole log as one file: workouts, routines and deleted workouts
Vectors progression-vectors.json, webhook-signature-vectors.json Worked cases every implementation must agree on

Documents are UTF-8 JSON, valid against JSON Schema draft 2020-12, and MAY say which version they were written to in ows_version (section 8). Producers MAY add x-<vendor>-<name> members to a workout, an entry, a set, a routine or a routine row, and to a program, a day or a slot. Consumers MUST ignore x- members they don't understand.

3. Identity

4. Workouts

5. Routines and programs

A routine's rows and a program's slots are targets: what to aim for, never what was done. A workout logged from one records what was done. A program prescribes loads as rules (a percentage, a progression), so the same program gives each person their own numbers; progression-vectors.json holds worked cases of those rules.

6. The log

A log holds a person's workouts (newest first), their routines, and the workouts they deleted (deleted_workouts, each with deleted_at and, for one merged into another, merged_into). A server MAY add more of the person's record beside them, under keys this schema doesn't name; readers ignore keys they don't know.

7. Servers

The REST API core (api/core.yaml, generated from the reference server) and the MCP tool profile (mcp/tools.json) say how a server serves these documents:

ows conformance <base-url> checks a server against them.

8. Versions and extensions

9. Not in v0