{
  "name": "Supplier quotation line item capture",
  "description": "Extract supplier name, quote reference, quote date from quote. 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 quote. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "quote_reference",
      "label": "Quote Reference",
      "type": "string",
      "required": false,
      "description": "Quote reference exactly as printed in this quote. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "quote_date",
      "label": "Quote Date",
      "type": "date",
      "required": false,
      "description": "Quote date explicitly printed in this quote. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "valid_until",
      "label": "Valid Until",
      "type": "date",
      "required": false,
      "description": "Valid until explicitly printed in this quote. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "currency_code",
      "label": "Currency Code",
      "type": "string",
      "required": false,
      "description": "Currency explicitly stated in this source; leave empty when it is not stated."
    },
    {
      "key": "quoted_items",
      "label": "Quoted Items",
      "type": "array",
      "required": false,
      "description": "Every visible quoted items row in this quote. 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 quote. 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 quote. 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 quote. Preserve the labeled measure and its unit; do not estimate it."
          },
          {
            "key": "minimum_quantity",
            "label": "Minimum Quantity",
            "type": "number",
            "required": false,
            "description": "Minimum quantity as reported in this quote. Preserve the labeled measure and its unit; do not estimate it."
          },
          {
            "key": "price_unit",
            "label": "Price Unit",
            "type": "string",
            "required": false,
            "description": "Price unit exactly as printed in this quote. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "unit_price",
            "label": "Unit Price",
            "type": "currency",
            "required": false,
            "description": "Unit price explicitly labeled in this quote. Preserve its sign and stated currency; do not calculate a missing amount."
          },
          {
            "key": "stated_lead_time",
            "label": "Stated Lead Time",
            "type": "string",
            "required": false,
            "description": "Stated lead time exactly as printed in this quote. Preserve identifiers and qualifiers; do not look up or infer missing information."
          }
        ]
      }
    },
    {
      "key": "commercial_terms_text",
      "label": "Commercial Terms Text",
      "type": "string",
      "required": false,
      "description": "Commercial terms text exactly as printed in this quote. Preserve identifiers and qualifiers; do not look up or infer missing information."
    }
  ]
}