{
  "schema_version": 1,
  "illustrative": true,
  "case_id": "CASE-104",
  "status": "human_review_required",
  "description": "Synthetic procurement example and expected record, not a model run or processing result. Source references identify illustrative document locations; source files are not supplied.",
  "sources": [
    {
      "id": "invoice",
      "format": "PDF",
      "document": "Invoice",
      "reference": { "page": 1 },
      "fields": { "item": "docking_station", "quantity": 120, "payment_terms_days": 30 }
    },
    {
      "id": "order",
      "format": "XLSX",
      "document": "Purchase order",
      "reference": { "row": 8 },
      "fields": { "item": "docking_station", "quantity": 120 }
    },
    {
      "id": "delivery",
      "format": "JPG",
      "document": "Delivery note",
      "reference": { "page": 1 },
      "fields": { "item": "docking_station", "quantity": 112 }
    },
    {
      "id": "contract",
      "format": "DOCX",
      "document": "Supplier contract",
      "reference": { "clauses": [2, 3] },
      "fields": { "item": "docking_station", "payment_terms_days": 30 }
    }
  ],
  "expected_record": {
    "case_id": "CASE-104",
    "status": "human_review_required",
    "fields": {
      "item": { "value": "docking_station", "source_refs": ["invoice", "order", "delivery", "contract"] },
      "invoiced_quantity": { "value": 120, "source_refs": ["invoice"] },
      "ordered_quantity": { "value": 120, "source_refs": ["order"] },
      "delivered_quantity": { "value": 112, "source_refs": ["delivery"] },
      "payment_terms_days": { "value": 30, "source_refs": ["invoice", "contract"] }
    },
    "checks": [
      {
        "id": "quantity_reconciliation",
        "expected_quantity": 120,
        "observed_quantity": 112,
        "difference_units": 8,
        "status": "human_review_required",
        "source_refs": ["invoice", "order", "delivery"]
      },
      {
        "id": "payment_terms",
        "value_days": 30,
        "status": "matched",
        "source_refs": ["invoice", "contract"]
      }
    ]
  },
  "review_rules": [
    { "condition": "missing", "action": "human_review_required", "instruction": "Keep the field empty and identify the missing source. Do not invent a value." },
    { "condition": "unclear", "action": "human_review_required", "instruction": "Preserve the source reference and ask for a readable copy or clarification. Do not guess." },
    { "condition": "conflict", "action": "human_review_required", "instruction": "Keep both source values and the discrepancy visible until an authorized reviewer resolves it." }
  ],
  "reviewer_checklist": [
    "Confirm that all four sources belong to CASE-104 and refer to the same item.",
    "Open invoice page 1, purchase order row 8 and delivery note page 1 to verify the quantities and units.",
    "Confirm the 30-day terms against invoice page 1 and supplier contract clauses 2-3.",
    "Investigate the eight-unit gap with the responsible procurement or receiving team; do not infer its cause.",
    "Record the review decision, supporting evidence and responsible reviewer in the receiving workflow.",
    "Keep the case in human_review_required until the discrepancy is resolved; a matched field does not approve the case."
  ]
}
