Workout Plan file format, version 1 Workout Plan exports UTF-8 JSON. A full backup is for recovery; a shared plan is for adding independent copies of selected workouts. These files are specific to the new Workout Plan app, not either original legacy app. Other apps do not automatically understand this format. In Workouts, open Workout actions (the circle with dots), then Back up, share and restore. Save backups somewhere you can recover independently of this app. An exported file can contain personal workout information; choose its destination and recipients carefully. Common values The root object has formatVersion: 1 and scope: "backup" or "plan". Required fields are created, exercises, workouts, versions, facts, intervals and preferences. Arrays can be empty. retention is optional; plans omit it or set it to null. Objects use UUID string identities; names never identify or merge objects. Calendar dates are Gregorian YYYY-MM-DD, from 1900 through 9999, independent of time zone. Date ranges have inclusive start and optional inclusive end. Optional values can be omitted or null. A local time has integer hour (0–23) and minute (0–59). recordedAt is a JSON number of seconds since 2001-01-01T00:00:00Z, allowing fractional seconds. Quantities are positive finite numbers, with plain-text units; the app does not convert measurements. Definitions and workouts An exercise has id, name and lastUsed. A workout has id, name, entries, rules, pauses, trackingStart, effective, optional deleted and outstanding. pauses is empty: intervals is the durable source of pause information. outstanding holds at most the retained latest day's sessions. An entry has id, exerciseID, prescription, added and optional removed. A prescription has optional positive integer sets/reps (up to 100,000), optional positive finite quantity, unit (up to 80 characters) and notes (up to 4,000). Names must contain non-whitespace text and be at most 200 characters. Schedules A rule has id, kind, bounds, anchor, interval, weekdays, weekStart, monthDay, ordinal, weekday, optional time and optional reminderLead (0–1440 minutes before a timed session). Every pattern field remains present; kind selects its meaning: weekdays: selected weekdays, Sunday=1 through Saturday=7 days: fixed interval of calendar days from anchor weeks: every Nth anchored week using stored weekStart and selected weekdays monthlyDate: monthDay, clamped in shorter months without changing later dates monthlyWeekday: ordinal (1–4, or -1 for last) and weekday once: anchor is the one-off scheduled date interval is 1–365,000. weekdays must be unique and nonempty for weekdays/weeks. weekStart and weekday are 1–7; monthDay is 1–31. bounds has start and optional inclusive end. Untimed sessions omit time. Coincident rules merge into a session. Versions, intervals and history A version has id, monotonic revision, start and workout (configuration snapshot). On the same day, the highest revision wins. An interval has id, scope ("global" or a workout UUID), kind ("pause" or "untracked") and range. Ended pauses stay in full backups. preferences has upcomingDays (7, 14 or 28), with empty globalPauses and untracked arrays because intervals owns those values. A session has day, optional time, ruleIDs (UUID array) and optional reminderLead. A fact has id, workoutID, entryID, exerciseID, session, kind ("complete" or "skip"), recordedAt, and optional workoutName/prescription snapshots. Both snapshots are present or both absent. Absent snapshots mark expired display details. Other fact fields still support scheduling. Resolution coverage uses entry/day and an intersecting rule ID, preserving identity when session times change. Removed identities and earlier versions keep historical references valid. Backup versus plan A backup retains deleted objects, versions, facts, intervals, pauses, untracked gaps and reminder preferences. Restore replaces current data after preview and confirmation. One pre-restore snapshot permits Undo restore; Undo discards changes made since that restore. After restoring a backup or undoing a restore, tracking resumes today. Gaps are marked untracked. Full restore keeps retained facts and schedule phase. Setup-only restore drops history, starts tracking today and keeps applicable pauses. A plan contains selected live workouts, referenced exercises, current prescriptions and schedules. It has no facts, versions, intervals or reminder preferences; personal date/recent-use fields are normalized to created. It is not a recovery backup. Additive import from either scope makes fresh independent copies, rekeys identities, preserves shared exercise references within the import, turns reminders off and starts tracking today. Existing data and global pause are unaffected. There is no name-based merge or partial import. Appearance, icon choice, swipe-help dismissal, rest-timer target and a running stopwatch are not backed up. Restoring/importing does not change those display preferences. The running stopwatch is transient and ends on process termination. Limits and compatibility Files are limited to 32 MiB. Bounds include 1,000 workouts, 10,000 exercises, 1,000 live entries per workout, 100,000 total entries including removed entries, 64 rules per configuration, and 100,000 each of versions/facts/intervals. A combined 200,000-object/identity/claim budget also limits merged-session expansion. A full backup can exceed the limits while sharing selected workouts can still work. Invalid JSON, dates, values, duplicate IDs, references and unsupported versions are rejected before replacement/import commits. Unknown fields in version 1 are ignored; new semantics require a new format version. Detailed action history expires after twelve calendar months with advance notice. The clock safeguard may retain it longer temporarily. retention contains cutoff, optional lastMaintenance and noticeAcknowledged. The UTC-midnight action-age cutoff advances by at most 31 days per increasing local maintenance day; absent metadata initializes conservatively and first expiry requires acknowledgement. Scheduling coverage, identities, intervals and versions remain. Backups are not permanent archives of all display details. Restoring an old backup can bring old details back, after which normal retention applies again.