{
  "name": "Batch manufacturing record indexing",
  "description": "Extract product name, lot reference, batch date from batch record. 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": "product_name",
      "label": "Product Name",
      "type": "string",
      "required": false,
      "description": "Product name exactly as printed in this batch record. 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 batch record. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "batch_date",
      "label": "Batch Date",
      "type": "date",
      "required": false,
      "description": "Batch date explicitly printed in this batch record. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "process_rows",
      "label": "Process Rows",
      "type": "array",
      "required": false,
      "description": "Every visible process rows row in this batch record. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "step_reference",
            "label": "Step Reference",
            "type": "string",
            "required": false,
            "description": "Step reference exactly as printed in this batch record. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "process_text",
            "label": "Process Text",
            "type": "string",
            "required": false,
            "description": "Process text exactly as printed in this batch record. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "recorded_date",
            "label": "Recorded Date",
            "type": "date",
            "required": false,
            "description": "Recorded date explicitly printed in this batch record. Keep it distinct from other dates; leave it empty if no calendar date is stated."
          },
          {
            "key": "recorded_quantity",
            "label": "Recorded Quantity",
            "type": "number",
            "required": false,
            "description": "Recorded quantity as reported in this batch record. Preserve the labeled measure and its unit; do not estimate it."
          },
          {
            "key": "quantity_unit",
            "label": "Quantity Unit",
            "type": "string",
            "required": false,
            "description": "Quantity unit exactly as printed in this batch record. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "operator_text",
            "label": "Operator Text",
            "type": "string",
            "required": false,
            "description": "Operator text exactly as printed in this batch record. Preserve identifiers and qualifiers; do not look up or infer missing information."
          }
        ]
      }
    },
    {
      "key": "recorded_quantity",
      "label": "Recorded Quantity",
      "type": "number",
      "required": false,
      "description": "Recorded quantity as reported in this batch record. Preserve the labeled measure and its unit; do not estimate it."
    },
    {
      "key": "quantity_unit",
      "label": "Quantity Unit",
      "type": "string",
      "required": false,
      "description": "Quantity unit exactly as printed in this batch record. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "operator_text",
      "label": "Operator Text",
      "type": "string",
      "required": false,
      "description": "Operator text exactly as printed in this batch record. Preserve identifiers and qualifiers; do not look up or infer missing information."
    }
  ]
}