{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://weverlabs.com/schemas/financeops-reconciliation-check.schema.json",
  "title": "FinanceOps Reconciliation Check",
  "type": "object",
  "required": [
    "check_id",
    "check_type",
    "status",
    "finding"
  ],
  "properties": {
    "check_id": {
      "type": "string"
    },
    "check_type": {
      "type": "string"
    },
    "status": {
      "enum": [
        "matched",
        "exception",
        "missing_evidence",
        "operator_review",
        "closed"
      ]
    },
    "finding": {
      "type": "string"
    },
    "source_record_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "recommended_next_action": {
      "type": "string"
    }
  }
}