Attribute rules for a CloudEvents row as a reader may meet it, including the upcast form of a legacy row (ADR 0001, read profile): the id may be a normalized legacy UUID, lamportclock and nodeid are optional because legacy diary and CLI rows carry none, and the 3.0.0 transport envelope's remaining fields are optional extensions. Non-normative until the cutover release.
CloudEvents profile (non-normative until 12.0.0) — the READ profile: attribute rules for CloudEvents rows as a reader meets them, including upcast legacy rows. The normative envelope is the 3.0.0 event envelope ; the write-side sibling is the write profile .
Generated from src/spec_kitty_events/producer_contract/envelope.read.schema.json by scripts/schema_pages.py; never hand-edit (C-001).
Family
Listed on the Producer row schemas and the total order hub.
Diagram
CloudEvents envelope, read profile Structure of the JSON Schema CloudEvents envelope, read profile. $schema https://json-schema.org/draft/2020-12/schema $id urn:ai.spec-kitty:schema:envelope.read.v1 title CloudEvents envelope, read profile description Attribute rules for a CloudEvents row as a
reader may meet it, including the upcast form of
a legacy row (ADR 0001, read profile): the id
may be a normalized legacy UUID, lamportclock
and nodeid are optional because legacy diary and
CLI rows carry none, and the 3.0.0 transport
envelope's remaining fields are optional
extensions. Non-normative until the cutover
release. type object properties required propertyNames additionalProperties ☐ false specversion id source type subject time datacontenttype dataschema schemaversion missionid missionslug actor executionmode lamportclock nodeid buildid causationid correlationid projectuuid projectslug datatier data type string const 1.0 type string pattern ^([0-9A-HJKMNP-TV-Z]{26}|[0-9a-f]{8}-[0-9a-f]{4}
-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?![\s\S]) description Upper-case ULID, or a legacy UUID normalized to
lower-case hyphenated form. type string pattern ^/spec-kitty/(missions|projects)/[^/\s]+(?![\s\S
]) type string pattern ^ai\.spec-kitty\.[a-z0-9]+(\.[a-z0-9]+)*\.v[0-9]
+(?![\s\S]) type string minLength 1 type string format date-time pattern ^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt][0-9]{2}:[0-9]{2}
:[0-9]{2}(\.[0-9]{1,9})?([Zz]|[+-][0-9]{2}:[0-9]
{2})(?![\s\S]) type string const application/json type string format uri pattern ^urn:ai\.spec-kitty:schema:[a-z0-9]+(\.[a-z0-9]+
)*\.v[0-9]+(?![\s\S]) type string const 4.0.0 type string pattern ^[0-9A-HJKMNP-TV-Z]{26}(?![\s\S]) type string minLength 1 type string minLength 1 type string minLength 1 type integer minimum 0 maximum 2147483647 type string minLength 1 type string minLength 1 type string pattern ^([0-9A-HJKMNP-TV-Z]{26}|[0-9a-f]{8}-[0-9a-f]{4}
-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?![\s\S]) description Upper-case ULID, or a legacy UUID normalized to
lower-case hyphenated form. type string pattern ^([0-9A-HJKMNP-TV-Z]{26}|[0-9a-f]{8}-[0-9a-f]{4}
-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})(?![\s\S]) description Upper-case ULID, or a legacy UUID normalized to
lower-case hyphenated form. type string minLength 1 type string minLength 1 type integer minimum 0 maximum 4 type object specversion id source type time datacontenttype dataschema schemaversion data pattern ^[a-z0-9]{1,20}(?![\s\S]) Structure of the JSON Schema CloudEvents envelope, read profile.
Properties
specversion (const: "1.0", required)
id (string, required): Upper-case ULID, or a legacy UUID normalized to lower-case hyphenated form.
source (string, required)
type (string, required)
subject (string)
time (string, required)
datacontenttype (const: "application/json", required)
dataschema (string, required)
schemaversion (const: "4.0.0", required)
missionid (string)
missionslug (string)
actor (string)
executionmode (string)
lamportclock (integer)
nodeid (string)
buildid (string)
causationid (string): Upper-case ULID, or a legacy UUID normalized to lower-case hyphenated form.
correlationid (string): Upper-case ULID, or a legacy UUID normalized to lower-case hyphenated form.
projectuuid (string)
projectslug (string)
datatier (integer)
data (object, required)
Source
Schema file: schemas/envelope.read.schema.json