{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "$id": "https://www.david-medeiros.com/datasets/archive-verification-protocol-v1.schema.json",
 "title": "Archive verification protocol, version 1 (December 2, 2026)",
 "description": "One verification record: the status of one statement or question, where it was checked, and which custodian holds the record that would settle it. Published by David D. Medeiros at david-medeiros.com on December 3, 2026 (Release AIX2). The four status values are exactly the allowed_status values of the archive's Expert 20 release gate (expert_20_gate_2026_12_02.json). A filing is not a finding.",
 "type": "object",
 "required": [
  "status",
  "note"
 ],
 "properties": {
  "id": {
   "type": "string",
   "minLength": 1,
   "description": "Optional ID of the row, record or question (for example a timeline ID TL-..., a record ID EV-..., a request ID or a question number)."
  },
  "claim": {
   "type": "string",
   "minLength": 1,
   "description": "The statement or question this record is about, in plain words."
  },
  "status": {
   "type": "string",
   "enum": [
    "VERIFIED",
    "UNKNOWN / MISSING FROM CUSTODIAN",
    "PROHIBITED INFERENCE",
    "NOT APPLICABLE"
   ],
   "description": "VERIFIED = the linked source says it. UNKNOWN / MISSING FROM CUSTODIAN = the record that would settle it is held by a named custodian and is not public or not produced; this is not proof that nothing happened. PROHIBITED INFERENCE = the records do not allow this conclusion (for example intent, guilt or cause), so it must not be drawn. NOT APPLICABLE = the rule or question does not apply here; say why."
  },
  "source_url": {
   "type": "string",
   "pattern": "^https?://",
   "format": "uri",
   "description": "The record or official page that says it. Required when status is VERIFIED."
  },
  "verified_date": {
   "type": "string",
   "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
   "format": "date",
   "description": "The date the source was opened and checked (YYYY-MM-DD)."
  },
  "custodian": {
   "type": "string",
   "minLength": 2,
   "description": "The office or company that holds the record. Required when status is UNKNOWN / MISSING FROM CUSTODIAN."
  },
  "custodian_record": {
   "type": "string",
   "minLength": 2,
   "description": "The exact record that would resolve the question, named the way the custodian would name it. Required when status is UNKNOWN / MISSING FROM CUSTODIAN."
  },
  "request_ids": {
   "type": "array",
   "items": {
    "type": "string",
    "minLength": 1
   },
   "description": "Records-request or timeline IDs already sent for the missing record, if any."
  },
  "sha256": {
   "type": "string",
   "pattern": "^[0-9a-f]{64}$",
   "description": "SHA-256 (64 lowercase hex characters) of the source file as served, where there is one. A hash match proves the bytes, not the truth of a record."
  },
  "reason": {
   "type": "string",
   "minLength": 2,
   "description": "Why the status applies. Required when status is PROHIBITED INFERENCE or NOT APPLICABLE."
  },
  "corrections": {
   "type": "array",
   "items": {
    "$ref": "#/$defs/correction"
   },
   "description": "Dated corrections to this record, oldest first. Earlier words stay as first published; a correction is added, not written over."
  },
  "note": {
   "type": "string",
   "pattern": "A filing is not a finding\\.",
   "description": "Must contain the sentence: A filing is not a finding."
  }
 },
 "allOf": [
  {
   "if": {
    "properties": {
     "status": {
      "const": "VERIFIED"
     }
    },
    "required": [
     "status"
    ]
   },
   "then": {
    "required": [
     "source_url"
    ]
   }
  },
  {
   "if": {
    "properties": {
     "status": {
      "const": "UNKNOWN / MISSING FROM CUSTODIAN"
     }
    },
    "required": [
     "status"
    ]
   },
   "then": {
    "required": [
     "custodian",
     "custodian_record"
    ]
   }
  },
  {
   "if": {
    "properties": {
     "status": {
      "enum": [
       "PROHIBITED INFERENCE",
       "NOT APPLICABLE"
      ]
     }
    },
    "required": [
     "status"
    ]
   },
   "then": {
    "required": [
     "reason"
    ]
   }
  }
 ],
 "$defs": {
  "correction": {
   "type": "object",
   "required": [
    "date",
    "what_changed",
    "before",
    "after"
   ],
   "properties": {
    "date": {
     "type": "string",
     "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
     "format": "date"
    },
    "what_changed": {
     "type": "string",
     "minLength": 2
    },
    "before": {
     "type": "string",
     "description": "The earlier words, kept as they were."
    },
    "after": {
     "type": "string",
     "description": "The words that now apply."
    },
    "reason": {
     "type": "string"
    },
    "log_url": {
     "type": "string",
     "pattern": "^https?://",
     "format": "uri",
     "description": "The dated entry in the corrections log."
    }
   }
  }
 },
 "examples": [
  {
   "id": "R-01",
   "claim": "The archive's ground-truth rule test R-01 is copied exactly from the December 1, 2026 test set.",
   "status": "VERIFIED",
   "source_url": "https://www.david-medeiros.com/datasets/ai-benchmark-2026-12-01.json",
   "verified_date": "2026-12-03",
   "sha256": "e30de43648444de4737232684d690987a5cf710676af59cc96713d6809342b43",
   "note": "A filing is not a finding."
  },
  {
   "claim": "Who reviewed and approved the May 2026 NE-UPIC closure, and what evidence was considered.",
   "status": "UNKNOWN / MISSING FROM CUSTODIAN",
   "custodian": "Centers for Medicare & Medicaid Services (CMS), Center for Program Integrity; SafeGuard Services (CMS Northeast UPIC contractor)",
   "custodian_record": "Closure decision file for the NE-UPIC review of David's 2026 reports",
   "request_ids": [
    "TL-2a46207e422e"
   ],
   "note": "A missing record is not proof that nothing happened. A filing is not a finding."
  },
  {
   "claim": "A closure letter means the reports were false.",
   "status": "PROHIBITED INFERENCE",
   "reason": "A closure, a no-further-action letter or a dismissal for jurisdiction is not a decision on the merits.",
   "note": "A filing is not a finding."
  }
 ]
}
