Skip to content

Schema: diff_summary_recorded_payload

Canonical git diff summary payload.

Payload schema for DiffSummaryRecorded events.

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

Family

Part of the Semantics and Analytics Events event family.

Diagram

DiffSummaryRecordedPayloadStructure of the JSON Schema DiffSummaryRecordedPayload.$idspec-kitty-events/diff_summary_recorded_payload$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionCanonical git diff summary payload.properties   required   titleDiffSummaryRecordedPayloadtypeobjectbase_ref   files_changed   head_ref   lines_added   lines_deleted   mission_id   phase_name   run_id   source   step_id   wp_id   descriptionDiff base git ref or commitminLength1titleBase ReftypestringdescriptionCount of files changed in the diffminimum0titleFiles ChangedtypeintegerdescriptionDiff head git ref or commitminLength1titleHead ReftypestringdescriptionLines added in the diffminimum0titleLines AddedtypeintegerdescriptionLines deleted in the diffminimum0titleLines DeletedtypeintegerdescriptionCanonical mission identifierminLength1titleMission IdtypestringanyOf   default␀descriptionMission phase name when knowntitlePhase Name      minLength1typestringtypenullanyOf   default␀descriptionMission run identifier when availabletitleRun Id      minLength1typestringtypenulldescriptionDiff summary source identifierminLength1titleSourcetypestringanyOf   default␀descriptionMission step identifier when availabletitleStep Id      minLength1typestringtypenullanyOf   default␀descriptionWork-package identifier when availabletitleWp Id      minLength1typestringtypenullmission_idbase_refhead_reffiles_changedlines_addedlines_deletedsource
Structure of the JSON Schema DiffSummaryRecordedPayload.

Properties

  • base_ref (string, required): Diff base git ref or commit
  • files_changed (integer, required): Count of files changed in the diff
  • head_ref (string, required): Diff head git ref or commit
  • lines_added (integer, required): Lines added in the diff
  • lines_deleted (integer, required): Lines deleted in the diff
  • mission_id (string, required): Canonical mission identifier
  • phase_name (string | null): Mission phase name when known
  • run_id (string | null): Mission run identifier when available
  • source (string, required): Diff summary source identifier
  • step_id (string | null): Mission step identifier when available
  • wp_id (string | null): Work-package identifier when available

Source

Schema file: schemas/diff_summary_recorded_payload.schema.json