Skip to content

Schema: wp_created_payload

Typed payload for ``WPCreated`` events. Emitted once per work-package, immediately after the WP task file is materialized on disk. Establishes the WP aggregate so that subsequent ``WPStatusChanged`` events have a known parent. The first status event for a WP MUST follow ``WPCreated`` for the same ``mission_slug`` / ``wp_id`` pair.

Payload schema for WPCreated events.

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

Family

Part of the Mission Lifecycle Events event family.

Diagram

WPCreatedPayloadStructure of the JSON Schema WPCreatedPayload.$idspec-kitty-events/wp_created_payload$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionTyped payload for ``WPCreated`` events. Emitted once per work-package, immediately after the WP task file is materialized on disk. Establishes the WP aggregate so that subsequent ``WPStatusChanged`` events have a known parent. The first status event for a WP MUST follow ``WPCreated`` for the same ``mission_slug`` / ``wp_id`` pair.properties   required   titleWPCreatedPayloadtypeobjectactor   created_at   depends_on   mission_number   mission_slug   wp_id   wp_path   wp_title   descriptionActor that created the WP.minLength1titleActortypestringanyOf   default␀descriptionWall-clock timestamp of WP creation.titleCreated At      formatdate-timetypestringtypenulldescriptionIDs of work-packages this WP depends on.items   titleDepends OntypearraytypestringanyOf   default␀descriptionCanonical mission number; ``None`` pre-merge.titleMission Number      minimum1typeintegertypenulldescriptionCanonical mission slug owning this WP.minLength1titleMission SlugtypestringdescriptionWork-package identifier (e.g. ``WP01``).minLength1titleWp IdtypestringanyOf   default␀descriptionRepo-relative path to the WP task file, if persisted on disk.titleWp Path      minLength1typestringtypenulldescriptionHuman-readable WP title.minLength1titleWp Titletypestringmission_slugwp_idwp_titleactor
Structure of the JSON Schema WPCreatedPayload.

Properties

  • actor (string, required): Actor that created the WP.
  • created_at (string | null): Wall-clock timestamp of WP creation.
  • depends_on (array of string): IDs of work-packages this WP depends on.
  • mission_number (integer | null): Canonical mission number; ``None`` pre-merge.
  • mission_slug (string, required): Canonical mission slug owning this WP.
  • wp_id (string, required): Work-package identifier (e.g. ``WP01``).
  • wp_path (string | null): Repo-relative path to the WP task file, if persisted on disk.
  • wp_title (string, required): Human-readable WP title.

Source

Schema file: schemas/wp_created_payload.schema.json