PigeonDocs

workout@1.read

Download

Reusable training template with blocks and prescriptions.

Reader schema: describes what the API and exports return.schema workout@1.0Writer →

$idhttps://docs.sendtopigeon.com/schemas/workout@1.read.schema.json

Apache-2.0. Structural schema; use Zod/parseRecord for semantic invariants. This published schema URL is immutable.

Fields

Bodyobject

Pigeon Open Data: workout@1.read

  • metaobject
  • extensionsobject
  • titlestringrequired
  • descriptionstring
  • activitystring
  • environmentstring
  • duration_msinteger
    ≥ 0≤ 9007199254740991
  • levelstring
  • goalstring
  • progression_textstring
  • equipmentarray of stringrequired
    max items 100
  • target_musclesarray of stringrequired
    max items 100
  • contraindicationsarray of stringrequired
    max items 100
  • mass_unitstring
  • notesstring
  • archived_atstring · date-time
    pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][2…
  • current_versionobject
  • postobject
  • rawstring
  • blocksarray of __schema1required
    max items 1000

Valid fixture

JSONworkout@1.read example
{
  "title": "demo",
  "equipment": [],
  "target_muscles": [],
  "contraindications": [],
  "blocks": []
}

Raw JSON Schema