Start with a complete example, replace Row with an exact exercise name from your catalogue and check that it supports the selected metrics. Validate your definition before compiling.
programme- Required:
name, durationWeeks (1–52) and scheduleCycleWeeks. Duration must contain whole cycles.
schedule- One entry for every cycle day, from 1 to
scheduleCycleWeeks × 7. Training days name a workout; rest days use restDay: true.
workouts- Workouts keyed by the names used in the schedule. Each has an
exercises array with catalogue exercise names, a primary metric and set prescriptions.
progressionProfile- Optional phase rows keyed by programme
week. Set reps, intensity, volume or conditioning rounds here. A phase spanning both weeks of a two-week cycle needs a row for each week.
Progression fields and units
Existing programmes use completed actuals from the matching cycle position, followed by the change in phase and eligible accepted exercise increases. They do not need a targetTransfer field or recompilation to receive this default.
For a phase override, add targetTransfer inside its progressionProfile row. Use version: 1, a metrics object and an explicit allowPositiveProgression boolean. Set the boolean to false to defer additional exercise increases during that phase.
relative_count- Reps or rounds: completed actual + destination reference − source reference.
relative_scale- Weight, external load, time or distance: completed actual × destination reference ÷ source reference.
fixed / carry- Use the phase prescription exactly, or carry the completed actual unchanged. Each supported input metric can use its own mode.
Use kilograms for load, seconds for time and metres for distance. Cardio can prescribe time or distance and leave the other supported metric null or omitted for actual-only tracking. Exercise progressionRules are optional suggestions; the examples use double progression after all required sets reach the rep cap.
Equipment availability is configured in saved equipment profiles and before starting a workout.