{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://machinereadyknowledge.com/answer-object.schema.json",
  "title": "MRK answer citation object",
  "description": "R6: every claim in an assembled answer carries one of these - traceable to a dated, owned section. The harness validates each returned citation against this schema, so R6 is machine-checked, not merely present.",
  "type": "object",
  "required": ["section", "article", "verified"],
  "additionalProperties": true,
  "properties": {
    "section": { "type": "string", "pattern": "^[a-z][a-z0-9-]*-[0-9]+#[a-z][a-z0-9-]*$" },
    "article": { "type": "string", "pattern": "^[a-z][a-z0-9-]*-[0-9]+$" },
    "verified": { "type": "string", "format": "date" },
    "version": { "type": ["string", "null"] },
    "stale": { "type": "boolean" },
    "superseded": { "type": "boolean" }
  }
}
