{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:awoooi:agent-replay-promotion-gate-v1",
  "title": "AWOOOI Agent Replay Promotion Gate Report (v1)",
  "type": "object",
  "required": [
    "schema_version",
    "candidate_id",
    "target_stage",
    "approved",
    "decision",
    "failures",
    "evidence"
  ],
  "properties": {
    "schema_version": {
      "type": "string",
      "const": "agent_replay_promotion_gate_v1"
    },
    "candidate_id": {
      "type": "string",
      "minLength": 1
    },
    "target_stage": {
      "type": "string",
      "enum": ["shadow", "canary"]
    },
    "approved": {
      "type": "boolean"
    },
    "decision": {
      "type": "string",
      "enum": ["approved", "blocked"]
    },
    "failures": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "evidence": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": false
}
