PigeonDocs

Scoped changes to an exercise selection or prescription.

Reader schema: describes what the API and exports return.schema [email protected]Writer →

$idhttps://docs.sendtopigeon.com/schemas/[email protected]

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

Fields

Bodyobject

Pigeon Open Data: [email protected]

  • metaobject
  • extensionsobject
  • operationobject
  • activebooleanrequired
  • scopeany of 5required
  • source_exerciseobjectrequired
  • target_exerciseobjectrequired
  • variantany of 2
  • attributionstringrequired

Valid fixture

JSON[email protected] example
{
  "operation": {
    "record": "0194ab00-0000-7000-8000-000000000001"
  },
  "active": false,
  "scope": {
    "type": "template_slot",
    "version": {
      "record": "0194ab00-0000-7000-8000-000000000001"
    },
    "slot": "demo",
    "body_sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
  },
  "source_exercise": {
    "record": "0194ab00-0000-7000-8000-000000000001"
  },
  "target_exercise": {
    "record": "0194ab00-0000-7000-8000-000000000001"
  },
  "variant": {
    "label": "demo",
    "attributes": {}
  },
  "attribution": "explicit_mapping"
}

Raw JSON Schema