{
  "name": "Gift card settlement statement capture",
  "description": "Extract issuer name, statement period, settlement reference from gift card settlement. 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": "issuer_name",
      "label": "Issuer Name",
      "type": "string",
      "required": false,
      "description": "Issuer name exactly as printed in this gift card settlement. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "statement_period",
      "label": "Statement Period",
      "type": "string",
      "required": false,
      "description": "Statement period exactly as printed in this gift card settlement. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "settlement_reference",
      "label": "Settlement Reference",
      "type": "string",
      "required": false,
      "description": "Settlement reference exactly as printed in this gift card settlement. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "redemption_rows",
      "label": "Redemption Rows",
      "type": "array",
      "required": false,
      "description": "Every visible redemption rows row in this gift card settlement. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "transaction_reference",
            "label": "Transaction Reference",
            "type": "string",
            "required": false,
            "description": "Transaction reference exactly as printed in this gift card settlement. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "redemption_date",
            "label": "Redemption Date",
            "type": "date",
            "required": false,
            "description": "Redemption date explicitly printed in this gift card settlement. Keep it distinct from other dates; leave it empty if no calendar date is stated."
          },
          {
            "key": "redeemed_value",
            "label": "Redeemed Value",
            "type": "currency",
            "required": false,
            "description": "Redeemed value explicitly labeled in this gift card settlement. Preserve its sign and stated currency; do not calculate a missing amount."
          },
          {
            "key": "adjustment_text",
            "label": "Adjustment Text",
            "type": "string",
            "required": false,
            "description": "Adjustment text exactly as printed in this gift card settlement. Preserve identifiers and qualifiers; do not look up or infer missing information."
          }
        ]
      }
    },
    {
      "key": "stated_redemptions",
      "label": "Stated Redemptions",
      "type": "currency",
      "required": false,
      "description": "Stated redemptions explicitly labeled in this gift card settlement. Preserve its sign and stated currency; do not calculate a missing amount."
    },
    {
      "key": "stated_fees",
      "label": "Stated Fees",
      "type": "currency",
      "required": false,
      "description": "Stated fees explicitly labeled in this gift card settlement. Preserve its sign and stated currency; do not calculate a missing amount."
    },
    {
      "key": "net_settlement",
      "label": "Net Settlement",
      "type": "currency",
      "required": false,
      "description": "Net settlement explicitly labeled in this gift card settlement. Preserve its sign and stated currency; do not calculate a missing amount."
    }
  ]
}