{
  "name": "Supplier order acknowledgment intake",
  "description": "Extract supplier name, purchase order reference, acknowledgment reference from acknowledgment. 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": "supplier_name",
      "label": "Supplier Name",
      "type": "string",
      "required": false,
      "description": "Supplier name exactly as printed in this acknowledgment. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "purchase_order_reference",
      "label": "Purchase Order Reference",
      "type": "string",
      "required": false,
      "description": "Purchase order reference exactly as printed in this acknowledgment. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "acknowledgment_reference",
      "label": "Acknowledgment Reference",
      "type": "string",
      "required": false,
      "description": "Acknowledgment reference exactly as printed in this acknowledgment. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "acknowledgment_date",
      "label": "Acknowledgment Date",
      "type": "date",
      "required": false,
      "description": "Acknowledgment date explicitly printed in this acknowledgment. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "acknowledged_items",
      "label": "Acknowledged Items",
      "type": "array",
      "required": false,
      "description": "Every visible acknowledged items row in this acknowledgment. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "item_reference",
            "label": "Item Reference",
            "type": "string",
            "required": false,
            "description": "Item reference exactly as printed in this acknowledgment. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "ordered_quantity",
            "label": "Ordered Quantity",
            "type": "number",
            "required": false,
            "description": "Ordered quantity as reported in this acknowledgment. Preserve the labeled measure and its unit; do not estimate it."
          },
          {
            "key": "accepted_quantity",
            "label": "Accepted Quantity",
            "type": "number",
            "required": false,
            "description": "Accepted quantity as reported in this acknowledgment. Preserve the labeled measure and its unit; do not estimate it."
          },
          {
            "key": "unit_of_measure",
            "label": "Unit Of Measure",
            "type": "string",
            "required": false,
            "description": "Printed quantity unit, kept distinct from package type or pricing unit."
          },
          {
            "key": "promised_date",
            "label": "Promised Date",
            "type": "date",
            "required": false,
            "description": "Promised date explicitly printed in this acknowledgment. Keep it distinct from other dates; leave it empty if no calendar date is stated."
          },
          {
            "key": "exception_text",
            "label": "Exception Text",
            "type": "string",
            "required": false,
            "description": "Exception wording explicitly present in the document, retained for a human reviewer."
          }
        ]
      }
    },
    {
      "key": "exception_text",
      "label": "Exception Text",
      "type": "string",
      "required": false,
      "description": "Exception wording explicitly present in the document, retained for a human reviewer."
    }
  ]
}