{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/mmerterden/multi-agent-pipeline/pipeline/schemas/review-file-exclusions.schema.json",
  "title": "Review file exclusions",
  "description": "review-file-exclusions.json: globs of files review skips, each with the reason.",
  "type": "object",
  "additionalProperties": false,
  "required": ["version", "patterns"],
  "properties": {
    "$comment": { "type": "string" },
    "version": { "type": "integer", "minimum": 1 },
    "patterns": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": ["glob", "reason"],
        "properties": {
          "glob": { "type": "string", "minLength": 1 },
          "reason": { "type": "string", "minLength": 1 }
        }
      }
    }
  }
}
