Skip to content

Schema: principal_ref

A lightweight reference to a principal (message recipient, handoff target) — the full identity is carried by the sender's ActorIdentity.

A shared building block of the event model.

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

Family

Listed on the Shared event-model types hub.

Diagram

PrincipalRefStructure of the JSON Schema PrincipalRef.$idspec-kitty-events/principal_ref$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionA lightweight reference to a principal (message recipient, handoff target) — the full identity is carried by the sender's ActorIdentity.properties   required   titlePrincipalReftypeobjectprincipal_id   principal_kind   maxLength128minLength1pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$titlePrincipal Idtypestringenum   titlePrincipal Kindtypestringhumanagentservicefactoryprincipal_kindprincipal_id
Structure of the JSON Schema PrincipalRef.

Properties

  • principal_id (string, required)
  • principal_kind (enum: human, agent, service, factory, required)

Source

Schema file: schemas/principal_ref.schema.json