Skip to content

Schema: producer_identity

Who produced this observation, at which instance, at which sequence. ``producer_id`` is the stable logical producer (a CLI install identity, an agent identity) — NOT the authenticated principal (server-owned) and NOT the person. ``instance_id`` is one process/run of that producer. ``sequence`` is the producer's monotonic per-instance sequence number: consumers use it (with the envelope's ``node_id``/``lamport_clock``) for duplicate, late, and gap detection — never the client ``timestamp`` (LW-10: no client timestamp establishes authoritative total order).

A shared building block of the event model.

Generated from src/spec_kitty_events/schemas/producer_identity.schema.json by scripts/schema_pages.py; never hand-edit (C-001).

Family

Listed on the Shared event-model types hub.

Diagram

ProducerIdentityStructure of the JSON Schema ProducerIdentity.$idspec-kitty-events/producer_identity$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionWho produced this observation, at which instance, at which sequence. ``producer_id`` is the stable logical producer (a CLI install identity, an agent identity) — NOT the authenticated principal (server-owned) and NOT the person. ``instance_id`` is one process/run of that producer. ``sequence`` is the producer's monotonic per-instance sequence number: consumers use it (with the envelope's ``node_id``/``lamport_clock``) for duplicate, late, and gap detection — never the client ``timestamp`` (LW-10: no client timestamp establishes authoritative total order).properties   required   titleProducerIdentitytypeobjectinstance_id   producer_id   sequence   maxLength128pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$titleInstance IdtypestringmaxLength128pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$titleProducer Idtypestringminimum0titleSequencetypeintegerproducer_idinstance_idsequence
Structure of the JSON Schema ProducerIdentity.

Properties

  • instance_id (string, required)
  • producer_id (string, required)
  • sequence (integer, required)

Source

Schema file: schemas/producer_identity.schema.json