{
  "name": "Warehouse receipt inventory intake",
  "description": "Extract receipt reference, depositor name, receipt date from warehouse receipt. 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": "receipt_reference",
      "label": "Receipt Reference",
      "type": "string",
      "required": false,
      "description": "Receipt reference exactly as printed in this warehouse receipt. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "depositor_name",
      "label": "Depositor Name",
      "type": "string",
      "required": false,
      "description": "Depositor name exactly as printed in this warehouse receipt. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "receipt_date",
      "label": "Receipt Date",
      "type": "date",
      "required": false,
      "description": "Receipt date explicitly printed in this warehouse receipt. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "storage_location",
      "label": "Storage Location",
      "type": "string",
      "required": false,
      "description": "Storage location exactly as printed in this warehouse receipt. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "inventory_rows",
      "label": "Inventory Rows",
      "type": "array",
      "required": false,
      "description": "Every visible inventory rows row in this warehouse receipt. 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 warehouse receipt. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "lot_reference",
            "label": "Lot Reference",
            "type": "string",
            "required": false,
            "description": "Lot reference exactly as printed in this warehouse receipt. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "description",
            "label": "Description",
            "type": "string",
            "required": false,
            "description": "Description exactly as printed in this warehouse receipt. 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 warehouse receipt. 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": "storage_location",
            "label": "Storage Location",
            "type": "string",
            "required": false,
            "description": "Storage location exactly as printed in this warehouse receipt. Preserve identifiers and qualifiers; do not look up or infer missing information."
          }
        ]
      }
    },
    {
      "key": "stated_total_quantity",
      "label": "Stated Total Quantity",
      "type": "number",
      "required": false,
      "description": "Stated total quantity as reported in this warehouse receipt. Preserve the labeled measure and its unit; do not estimate it."
    }
  ]
}