{
  "name": "Certified payroll submission intake",
  "description": "Extract contractor name, project name, week ending from certified payroll 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": "contractor_name",
      "label": "Contractor Name",
      "type": "string",
      "required": false,
      "description": "Contractor name exactly as printed in this certified payroll report. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "project_name",
      "label": "Project Name",
      "type": "string",
      "required": false,
      "description": "Project name exactly as printed in this certified payroll report. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "week_ending",
      "label": "Week Ending",
      "type": "date",
      "required": false,
      "description": "Week ending explicitly printed in this certified payroll report. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "payroll_reference",
      "label": "Payroll Reference",
      "type": "string",
      "required": false,
      "description": "Payroll reference exactly as printed in this certified payroll report. Preserve identifiers and qualifiers; do not look up or infer missing information."
    },
    {
      "key": "wage_rows",
      "label": "Wage Rows",
      "type": "array",
      "required": false,
      "description": "Every visible wage rows row in this certified payroll report. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "worker_reference",
            "label": "Worker Reference",
            "type": "string",
            "required": false,
            "description": "Worker reference exactly as printed in this certified payroll report. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "work_classification",
            "label": "Work Classification",
            "type": "string",
            "required": false,
            "description": "Work classification exactly as printed in this certified payroll report. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "regular_hours",
            "label": "Regular Hours",
            "type": "number",
            "required": false,
            "description": "Regular hours as reported in this certified payroll report. Preserve the labeled measure and its unit; do not estimate it."
          },
          {
            "key": "overtime_hours",
            "label": "Overtime Hours",
            "type": "number",
            "required": false,
            "description": "Overtime hours as reported in this certified payroll report. Preserve the labeled measure and its unit; do not estimate it."
          },
          {
            "key": "gross_wages",
            "label": "Gross Wages",
            "type": "currency",
            "required": false,
            "description": "Gross wages explicitly labeled in this certified payroll report. Preserve its sign and stated currency; do not calculate a missing amount."
          },
          {
            "key": "deductions",
            "label": "Deductions",
            "type": "currency",
            "required": false,
            "description": "Deductions explicitly labeled in this certified payroll report. Preserve its sign and stated currency; do not calculate a missing amount."
          },
          {
            "key": "net_wages",
            "label": "Net Wages",
            "type": "currency",
            "required": false,
            "description": "Net wages explicitly labeled in this certified payroll report. Preserve its sign and stated currency; do not calculate a missing amount."
          }
        ]
      }
    },
    {
      "key": "certification_text",
      "label": "Certification Text",
      "type": "string",
      "required": false,
      "description": "Certification wording printed in the source. Extraction does not confirm that it is accurate or legally sufficient."
    }
  ]
}