Skip to content

Schema: reviewer_self_approval_payload

Typed payload for ``ReviewerSelfApproval`` events. Records that a work-package's implementing actor fell back to self-approving their own work because the intended reviewer was unavailable. The event is an auditable fact about the review-gate fallback; ``fallback_approved`` captures whether the self-approval was actually taken. This mirrors the already-committed producer-contract row (``producer_contract/fixtures/rows/valid/wp.reviewer.selfapproved.v1.json`` ``data`` object) and core's ``emit`` site (``spec-kitty/src/specify_cli/status/lifecycle_events.py``). The field set is read from core, never imported (mirror-not-depend); the lifecycle model stays self-contained, ``frozen`` and ``extra="forbid"`` like its peers.

Payload schema for ReviewerSelfApproval events.

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

Family

Part of the Mission Lifecycle Events event family.

Diagram

ReviewerSelfApprovalPayloadStructure of the JSON Schema ReviewerSelfApprovalPayload.$idspec-kitty-events/reviewer_self_approval_payload$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionTyped payload for ``ReviewerSelfApproval`` events. Records that a work-package's implementing actor fell back to self-approving their own work because the intended reviewer was unavailable. The event is an auditable fact about the review-gate fallback; ``fallback_approved`` captures whether the self-approval was actually taken. This mirrors the already-committed producer-contract row (``producer_contract/fixtures/rows/valid/wp.revi ewer.selfapproved.v1.json`` ``data`` object) and core's ``emit`` site (``spec-kitty/src/specify_c li/status/lifecycle_events.py``). The field set is read from core, never imported (mirror-not-depend); the lifecycle model stays self-contained, ``frozen`` and ``extra="forbid"`` like its peers.properties   required   titleReviewerSelfApprovalPayloadtypeobjectfailure_reason   fallback_approved   implementing_actor   intended_reviewer   mission_slug   timestamp   wp_id   descriptionWhy the review fell back to self-approval.minLength1titleFailure ReasontypestringdescriptionWhether the fallback self-approval was taken.titleFallback ApprovedtypebooleandescriptionActor who implemented the work-package.minLength1titleImplementing ActortypestringdescriptionReviewer who was unavailable to review.minLength1titleIntended ReviewertypestringdescriptionHuman handle for the mission.minLength1titleMission SlugtypestringdescriptionEvent time (ISO-8601 UTC).minLength1titleTimestamptypestringdescriptionWork-package identifier (e.g. ``WP01``).minLength1titleWp Idtypestringmission_slugwp_idimplementing_actorintended_reviewerfailure_reasonfallback_approvedtimestamp
Structure of the JSON Schema ReviewerSelfApprovalPayload.

Properties

  • failure_reason (string, required): Why the review fell back to self-approval.
  • fallback_approved (boolean, required): Whether the fallback self-approval was taken.
  • implementing_actor (string, required): Actor who implemented the work-package.
  • intended_reviewer (string, required): Reviewer who was unavailable to review.
  • mission_slug (string, required): Human handle for the mission.
  • timestamp (string, required): Event time (ISO-8601 UTC).
  • wp_id (string, required): Work-package identifier (e.g. ``WP01``).

Source

Schema file: schemas/reviewer_self_approval_payload.schema.json