{
  "name": "Bill of lading shipment entry",
  "description": "Extract bill of lading references, shipper and consignee details, and freight rows into structured JSON for shipment entry and customer-owned TMS mapping.",
  "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": "bill_of_lading_number",
      "label": "Bill Of Lading Number",
      "type": "string",
      "required": false,
      "description": "Shipper’s BOL reference as printed."
    },
    {
      "key": "shipment_date",
      "label": "Shipment Date",
      "type": "date",
      "required": false,
      "description": "Document shipment date, distinct from delivery date."
    },
    {
      "key": "shipper",
      "label": "Shipper",
      "type": "string",
      "required": false,
      "description": "Origin party and address block."
    },
    {
      "key": "consignee",
      "label": "Consignee",
      "type": "string",
      "required": false,
      "description": "Destination party and address block."
    },
    {
      "key": "purchase_order_references",
      "label": "Purchase Order References",
      "type": "array",
      "required": false,
      "description": "Preserve separate PO references when shown."
    },
    {
      "key": "freight_rows",
      "label": "Freight Rows",
      "type": "array",
      "required": false,
      "description": "Description, handling units, pieces, weight, and printed weight unit per row."
    },
    {
      "key": "special_instructions",
      "label": "Special Instructions",
      "type": "string",
      "required": false,
      "description": "Visible instructions; no inferred handling requirements."
    }
  ]
}