{
  "$id": "spec-kitty-events/mission_audit_requested_payload",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Payload for MissionAuditRequested events (FR-003).",
  "properties": {
    "actor": {
      "minLength": 1,
      "title": "Actor",
      "type": "string"
    },
    "audit_scope": {
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "title": "Audit Scope",
      "type": "array"
    },
    "enforcement_mode": {
      "enum": [
        "advisory",
        "blocking"
      ],
      "title": "Enforcement Mode",
      "type": "string"
    },
    "mission_id": {
      "minLength": 1,
      "title": "Mission Id",
      "type": "string"
    },
    "mission_number": {
      "minimum": 1,
      "title": "Mission Number",
      "type": "integer"
    },
    "mission_slug": {
      "minLength": 1,
      "title": "Mission Slug",
      "type": "string"
    },
    "mission_type": {
      "minLength": 1,
      "title": "Mission Type",
      "type": "string"
    },
    "run_id": {
      "minLength": 1,
      "title": "Run Id",
      "type": "string"
    },
    "trigger_mode": {
      "enum": [
        "manual",
        "post_merge"
      ],
      "title": "Trigger Mode",
      "type": "string"
    }
  },
  "required": [
    "mission_id",
    "run_id",
    "mission_slug",
    "mission_number",
    "mission_type",
    "actor",
    "trigger_mode",
    "audit_scope",
    "enforcement_mode"
  ],
  "title": "MissionAuditRequestedPayload",
  "type": "object"
}
