{
  "name": "MCA bank statement intake",
  "description": "Extract statement periods, balances and transaction rows for MCA intake. Prepare reviewable data for your funding workflow before analyst review.",
  "prompt_additions": "Extract only information explicitly present in this document. Do not infer missing values, verify authenticity, make business decisions, or compare other documents. Preserve identifiers as strings. Return amounts as numbers and dates as YYYY-MM-DD. Review and set required fields for your process before using this schema in production.",
  "fields": [
    {
      "key": "account_holder",
      "label": "Account Holder",
      "type": "string",
      "required": false,
      "description": "Business name printed on this statement."
    },
    {
      "key": "account_last_four",
      "label": "Account Last Four",
      "type": "string",
      "required": false,
      "description": "Only the visible last four digits; preserve leading zeros."
    },
    {
      "key": "period_start",
      "label": "Period Start",
      "type": "date",
      "required": false,
      "description": "Opening date of the statement period."
    },
    {
      "key": "period_end",
      "label": "Period End",
      "type": "date",
      "required": false,
      "description": "Closing date of the statement period."
    },
    {
      "key": "opening_balance",
      "label": "Opening Balance",
      "type": "currency",
      "required": false,
      "description": "Printed opening balance, not a calculated estimate."
    },
    {
      "key": "closing_balance",
      "label": "Closing Balance",
      "type": "currency",
      "required": false,
      "description": "Printed closing balance for reconciliation."
    },
    {
      "key": "transactions",
      "label": "Transactions",
      "type": "array",
      "required": false,
      "description": "Visible rows with date, description, amount and debit or credit direction."
    }
  ]
}