{
  "name": "Supplier audit corrective action intake",
  "description": "Extract supplier name, audit reference, finding reference from corrective action report. 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 corrective action report. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "audit_reference",
      "label": "Audit Reference",
      "type": "string",
      "required": false,
      "description": "Audit reference exactly as printed in this corrective action report. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "finding_reference",
      "label": "Finding Reference",
      "type": "string",
      "required": false,
      "description": "Finding reference exactly as printed in this corrective action report. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "response_date",
      "label": "Response Date",
      "type": "date",
      "required": false,
      "description": "Response date explicitly printed in the source. Do not calculate a deadline from a relative period; preserve that wording for review."
    },
    {
      "key": "corrective_actions",
      "label": "Corrective Actions",
      "type": "array",
      "required": false,
      "description": "Every visible corrective actions row in this corrective action report. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "action_reference",
            "label": "Action Reference",
            "type": "string",
            "required": false,
            "description": "Action reference exactly as printed in this corrective action report. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "action_text",
            "label": "Action Text",
            "type": "string",
            "required": false,
            "description": "Action text exactly as printed in this corrective action report. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "owner_name",
            "label": "Owner Name",
            "type": "string",
            "required": false,
            "description": "Owner name exactly as printed in this corrective action report. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "stated_target_date",
            "label": "Stated Target Date",
            "type": "date",
            "required": false,
            "description": "Date explicitly assigned to this action. Leave empty if the source gives no date."
          },
          {
            "key": "stated_status",
            "label": "Stated Status",
            "type": "string",
            "required": false,
            "description": "Status exactly as the document describes it. Do not infer authorization, settlement, completion or current validity."
          }
        ]
      }
    },
    {
      "key": "evidence_references",
      "label": "Evidence References",
      "type": "string",
      "required": false,
      "description": "Evidence references exactly as printed in this corrective action report. Preserve identifiers and qualifiers; do not look up or infer missing information."
    }
  ]
}