{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://orquestra.local/evidence.schema.json",
  "title": "Gate Evidence",
  "type": "object",
  "required": ["feature_id", "agent", "verdict", "summary", "evidence", "timestamp"],
  "properties": {
    "feature_id": { "type": "string", "minLength": 1 },
    "agent": { "type": "string", "enum": ["reviewer", "security", "qa", "leader"] },
    "verdict": { "type": "string", "enum": ["APPROVED", "CHANGES_REQUESTED"] },
    "summary": { "type": "string", "minLength": 1 },
    "evidence": {
      "type": "array",
      "items": { "type": "string", "minLength": 1 }
    },
    "timestamp": { "type": "string", "format": "date-time" }
  },
  "additionalProperties": true
}
