The record envelope: identity, revision, kind, body and account state.
$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
Valid fixture
{
"id": "0194ab00-0000-7000-8000-000000000001",
"create_id": "0194ab00-0000-7000-8000-000000000001",
"kind": "workout",
"schema": "[email protected]",
"revision": 1,
"revision_op": "0194ab00-0000-7000-8000-000000000001",
"account": "0194ab00-0000-7000-8000-000000000001",
"created_at": "2026-01-01T00:00:00Z",
"updated_at": "2026-01-01T00:00:00Z",
"origin": {
"connection": "cnx_0194ab00-0000-7000-8000-000000000001",
"app": "demo"
},
"home": "demo",
"upstream": {
"source": "0194ab00-0000-7000-8000-000000000001",
"artifact": "0194ab00-0000-7000-8000-000000000001",
"extraction_version": 1,
"edited": false
},
"review": {
"from_version": 1,
"candidate_version": 1
},
"external_ids": [],
"provenance": {},
"relations": [],
"flags": [],
"gaps": [],
"body": {
"title": "demo",
"equipment": [],
"target_muscles": [],
"contraindications": [],
"blocks": []
},
"state": {}
}