{
  "name": "Loan approval letter condition capture",
  "description": "Extract applicant name, lender name, approval reference from approval letter. Start with an editable schema, inspect JSON and review exceptions before your system handoff.",
  "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": "applicant_name",
      "label": "Applicant Name",
      "type": "string",
      "required": false,
      "description": "Applicant name exactly as printed in this approval letter. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "lender_name",
      "label": "Lender Name",
      "type": "string",
      "required": false,
      "description": "Lender name exactly as printed in this approval letter. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "approval_reference",
      "label": "Approval Reference",
      "type": "string",
      "required": false,
      "description": "Approval reference exactly as printed in this approval letter. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "approved_amount",
      "label": "Approved Amount",
      "type": "currency",
      "required": false,
      "description": "Approved amount explicitly labeled in this approval letter. Preserve its sign and stated currency; do not calculate a missing amount."
    },
    {
      "key": "approval_expiry",
      "label": "Approval Expiry",
      "type": "date",
      "required": false,
      "description": "Approval expiry explicitly printed in this approval letter. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "condition_rows",
      "label": "Condition Rows",
      "type": "array",
      "required": false,
      "description": "Every visible condition rows row in this approval letter. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "condition_reference",
            "label": "Condition Reference",
            "type": "string",
            "required": false,
            "description": "Condition reference exactly as printed in this approval letter. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "condition_text",
            "label": "Condition Text",
            "type": "string",
            "required": false,
            "description": "Printed condition attached to the obligation, deadline or payment; retain the dependency in text."
          },
          {
            "key": "stated_status",
            "label": "Stated Status",
            "type": "string",
            "required": false,
            "description": "Status exactly as the document describes it. Do not infer authorization, settlement, completion or current validity."
          },
          {
            "key": "stated_due_date",
            "label": "Stated Due Date",
            "type": "date",
            "required": false,
            "description": "Stated due date explicitly printed in this approval letter. Keep it distinct from other dates; leave it empty if no calendar date is stated."
          }
        ]
      }
    }
  ]
}