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
WPCreatedPayload Structure of the JSON Schema WPCreatedPayload. $id spec-kitty-events/wp_created_payload $schema https://json-schema.org/draft/2020-12/schema additionalProperties ☐ false description 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. properties required title WPCreatedPayload type object actor created_at depends_on mission_number mission_slug wp_id wp_path wp_title description Actor that created the WP. minLength 1 title Actor type string anyOf default ␀ description Wall-clock timestamp of WP creation. title Created At format date-time type string type null description IDs of work-packages this WP depends on. items title Depends On type array type string anyOf default ␀ description Canonical mission number; ``None`` pre-merge. title Mission Number minimum 1 type integer type null description Canonical mission slug owning this WP. minLength 1 title Mission Slug type string description Work-package identifier (e.g. ``WP01``). minLength 1 title Wp Id type string anyOf default ␀ description Repo-relative path to the WP task file, if
persisted on disk. title Wp Path minLength 1 type string type null description Human-readable WP title. minLength 1 title Wp Title type string mission_slug wp_id wp_title actor 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