{
  "name": "Trade confirmation settlement capture",
  "description": "Extract account last four, trade reference, trade date from broker trade confirmation. 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": "account_last_four",
      "label": "Account Last Four",
      "type": "string",
      "required": false,
      "description": "Only the visible last four account digits. Preserve leading zeros; do not reconstruct hidden digits."
    },
    {
      "key": "trade_reference",
      "label": "Trade Reference",
      "type": "string",
      "required": false,
      "description": "Trade reference exactly as printed in this broker trade confirmation. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "trade_date",
      "label": "Trade Date",
      "type": "date",
      "required": false,
      "description": "Trade date explicitly printed in this broker trade confirmation. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "settlement_date",
      "label": "Settlement Date",
      "type": "date",
      "required": false,
      "description": "Settlement date explicitly printed in this broker trade confirmation. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "instrument_description",
      "label": "Instrument Description",
      "type": "string",
      "required": false,
      "description": "Instrument description exactly as printed in this broker trade confirmation. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "quantity",
      "label": "Quantity",
      "type": "number",
      "required": false,
      "description": "Quantity as reported in this broker trade confirmation. Preserve the labeled measure and its unit; do not estimate it."
    },
    {
      "key": "stated_price",
      "label": "Stated Price",
      "type": "currency",
      "required": false,
      "description": "Stated price explicitly labeled in this broker trade confirmation. Preserve its sign and stated currency; do not calculate a missing amount."
    },
    {
      "key": "stated_net_amount",
      "label": "Stated Net Amount",
      "type": "currency",
      "required": false,
      "description": "Stated net amount explicitly labeled in this broker trade confirmation. Preserve its sign and stated currency; do not calculate a missing amount."
    }
  ]
}