Skip to content

Schema: gate_passed_payload

Payload for a CI gate that concluded successfully. Attached to a generic Event with event_type='GatePassed'.

Payload schema for GatePassed events.

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

Family

Part of the Review, Audit and Decision Events event family.

Diagram

GatePassedPayloadStructure of the JSON Schema GatePassedPayload.$idspec-kitty-events/gate_passed_payload$schemahttps://json-schema.org/draft/2020-12/schemadescriptionPayload for a CI gate that concluded successfully. Attached to a generic Event with event_type='GatePassed'.properties   required   titleGatePassedPayloadtypeobjectcheck_run_id   check_run_url   conclusion   delivery_id   external_provider   gate_name   gate_type   pr_number   descriptionGitHub check run IDexclusiveMinimum0titleCheck Run IdtypeintegerdescriptionURL of the GitHub check runformaturiminLength1titleCheck Run UrltypestringconstsuccessdescriptionAllowed GitHub check_run conclusion for passed gates.titleConclusiontypestringdescriptionWebhook delivery ID used as idempotency keyminLength1titleDelivery IdtypestringconstgithubdescriptionExternal CI provider. Currently only 'github' is supported.titleExternal ProvidertypestringdescriptionName of the CI gate (e.g., 'ci/build', 'ci/lint')minLength1titleGate NametypestringconstcidescriptionType of gate. Currently only 'ci' is supported.titleGate TypetypestringanyOf   default␀descriptionPull request number, if the gate is associated with a PRtitlePr Number      exclusiveMinimum0typeintegertypenullgate_namegate_typeconclusionexternal_providercheck_run_idcheck_run_urldelivery_id
Structure of the JSON Schema GatePassedPayload.

Properties

  • check_run_id (integer, required): GitHub check run ID
  • check_run_url (string, required): URL of the GitHub check run
  • conclusion (const: "success", required): Allowed GitHub check_run conclusion for passed gates.
  • delivery_id (string, required): Webhook delivery ID used as idempotency key
  • external_provider (const: "github", required): External CI provider. Currently only 'github' is supported.
  • gate_name (string, required): Name of the CI gate (e.g., 'ci/build', 'ci/lint')
  • gate_type (const: "ci", required): Type of gate. Currently only 'ci' is supported.
  • pr_number (integer | null): Pull request number, if the gate is associated with a PR

Source

Schema file: schemas/gate_passed_payload.schema.json