{
  "$schema":"https://json-schema.org/draft/2020-12/schema",
  "$id":"https://work.mathchast.com/schemas/d17-evidence-record.schema.json",
  "title":"D17 EvidenceRecord",
  "type":"object",
  "additionalProperties":false,
  "required":["evidence_id","source_id","locator","retrieved_at","content_hash","excerpt","rights_state"],
  "properties":{
    "evidence_id":{"type":"string","minLength":1},
    "source_id":{"type":"string","minLength":1},
    "locator":{"type":"string","minLength":1},
    "retrieved_at":{"type":"string","format":"date-time"},
    "content_hash":{"type":"string","minLength":8},
    "excerpt":{"type":"string","minLength":1},
    "rights_state":{"enum":["APPROVED","UNKNOWN","REVIEW_REQUIRED","BLOCKED"]}
  }
}
