{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://aliakbari.dev/schemas/evidence-v1.json",
  "title": "Evidence manifest (evidence/evidence.yaml in a source repository)",
  "description": "Claims a repository makes about itself. Commit SHAs and CI run URLs are never written by hand: they are added by the release workflow into evidence.lock.json.",
  "type": "object",
  "additionalProperties": false,
  "required": ["schema", "items"],
  "properties": {
    "schema": { "const": "https://aliakbari.dev/schemas/evidence-v1.json" },
    "repo": { "$ref": "defs-v1.json#/$defs/repo" },
    "items": {
      "type": "array",
      "minItems": 1,
      "maxItems": 200,
      "items": { "$ref": "defs-v1.json#/$defs/evidenceItem" }
    }
  }
}
