Kind registry and value conventions
Find the fixed Pigeon record schemas and rules for their fields.
On this page
Registered kinds
The body schema ID on the wire is exactly [email protected]. Select the kind from the record's kind and verify its schema. Each row below links to strict writer and tolerant reader JSON Schema. The schema index also lists the envelope, tombstone, requests and auxiliary formats.
| Kind schema ID | Body | Write schema | Read schema |
|---|---|---|---|
[email protected] | Reusable training template with blocks and prescriptions. | Writer | Reader |
[email protected] | An immutable workout body and its verified digest. | Writer | Reader |
[email protected] | A training plan with phases, schedules and progression rules. | Writer | Reader |
[email protected] | A person's execution of a training program. | Writer | Reader |
[email protected] | A scheduled workout prescription. | Writer | Reader |
[email protected] | Performed training, including individual sets. | Writer | Reader |
[email protected] | Exercise definition, variants and catalog references. | Writer | Reader |
[email protected] | Scoped changes to an exercise selection or prescription. | Writer | Reader |
[email protected] | A scoped assignment of modifiers to training. | Writer | Reader |
[email protected] | Exercise modifier definition. | Writer | Reader |
[email protected] | Training tag. | Writer | Reader |
[email protected] | Training category with a symbol and title. | Writer | Reader |
[email protected] | Training chart definition. | Writer | Reader |
[email protected] | Shared training settings such as units. | Writer | Reader |
[email protected] | Account preferences for an app. | Writer | Reader |
[email protected] | Preferences for one app installation. | Writer | Reader |
[email protected] | An immutable app journal record. | Writer | Reader |
[email protected] | A saved place with location and venue details. | Writer | Reader |
[email protected] | Event, schedule, venue and ticket information. | Writer | Reader |
[email protected] | Recipe ingredients, quantities, steps and nutrition. | Writer | Reader |
[email protected] | Structured note with sections, links and entities. | Writer | Reader |
[email protected] | Saved page and its context. | Writer | Reader |
[email protected] | Recommendation for a book, show, music or other media. | Writer | Reader |
[email protected] | Instrument tablature with chord voicings, measures and source timing. | Writer | Reader |
[email protected] | A product recommendation with source price and seller observations. | Writer | Reader |
[email protected] | Itinerary or recommendations with days and stops. | Writer | Reader |
[email protected] | One planned meal and its ingredient snapshots. | Writer | Reader |
[email protected] | Account grocery list with independently editable ingredient contributions. | Writer | Reader |
[email protected] | Owner-only Pigeon account settings. | Writer | Reader |
[email protected] | A submission and its extraction status and results. | Writer | Reader |
[email protected] | A notice about a source update or restore. | Writer | Reader |
Modeled values
- Modeled keys and known wire enum values use snake_case. Omit unknown or inapplicable modeled values. A patch can clear a modeled field with
null. State and verbatim journal payloads keep their JSON, including null. - Readers should tolerate unknown fields and enum strings, including inside nested objects. Writers must use declared modeled fields. A descriptive enum such as cuisine or media medium keeps an unfamiliar string as supplied. Lifecycle and status fields use their validated values on write.
- Money uses
{amount, currency}with a nonnegative decimal-string amount, up to four fractional digits, and an uppercase currency from the schema registry. An event price range uses one currency and ordered endpoints. Product root price is the source mention. Offers and observations retain their own seller provenance. - Quantities use
{value, max?, unit}with exact nonnegative decimal strings, an explicit unit andmaxat leastvalue. Keep the source wording when a quantity cannot be represented. Grocerymappingcarries only an opaqueingredient_id. - Use
*_secondsfor seconds. Training duration and distance fields use integer*_msanddistance_mm, including range bounds. The Hub derivesmass_kgand checks it against any supplied mass. - Modeled instants use ISO 8601 with a UTC designator or numeric offset. Local dates use
YYYY-MM-DD, zones are IANA names and wall clocks useHH:mm. A timed event with an instant requires a zone and a compatible offset. All-day events use dates and an exclusive end. Each schedule permits partial evidence. When both endpoints are present the end must follow the start. Derive an event's past phase from its schedule. Keep source-stated recipetotal_seconds. - The schema's
maxItemsbounds each list. The part-addressability map shows which lists have stable IDs and which replace as a whole. Part IDs are unique within the record. Extraction gaps live on the envelope.
Typed references
Use public record IDs in the fields listed in the reference inventory. Some fields take a plain ID, such as meal.recipe_id, grocery_list.items[].meal_id, grocery_list.items[].recipe_id and guide.days[].stops[].ref. Others, such as training pins, take a reference object with record and its schema-defined selectors. venue_id is an opaque venue identity for deduplication and has no public lookup.
On write the Hub checks new links against live targets in the account and the caller's links. It checks the expected kind, selected part and part type or parent, and a pinned hash where the field requires it. Links broken by later deletion can survive with flags. Other writers' protected exercise operation lineage survives edits. The Hub does not revalidate those preserved private targets under the editing connector's scope.
A recipe's step ingredient_ids name local ingredient parts. Removing an ingredient strips existing step links to it. Adding a link to a missing ingredient fails validation. See runtime error codes for rejected references.