Skip to content

Schema: activity_ref

Activity grouping: an observation may belong to a logical activity and an activity may name its parent — the durable analogue of the volatile focus/activity signal in :mod:`spec_kitty_events.harness_observation`.

A shared building block of the event model.

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

Family

Listed on the Shared event-model types hub.

Diagram

ActivityRefStructure of the JSON Schema ActivityRef.$idspec-kitty-events/activity_ref$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionActivity grouping: an observation may belong to a logical activity and an activity may name its parent — the durable analogue of the volatile focus/activity signal in :mod:`spec_kitty_events .harness_observation`.properties   required   titleActivityReftypeobjectactivity_id   parent_activity_id   maxLength128minLength1pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$titleActivity IdtypestringanyOf   default␀titleParent Activity Id      maxLength128minLength1pattern^[A-Za-z0-9][A-Za-z0-9._@+-]{0,63}$typestringtypenullactivity_id
Structure of the JSON Schema ActivityRef.

Properties

  • activity_id (string, required)
  • parent_activity_id (string | null)

Source

Schema file: schemas/activity_ref.schema.json