{
  "name": "Construction timesheet cost coding inputs",
  "description": "Extract worker name, project name, week ending from timesheet. 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": "worker_name",
      "label": "Worker Name",
      "type": "string",
      "required": false,
      "description": "Worker name exactly as printed in this timesheet. 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 timesheet. 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 timesheet. Keep it distinct from other dates; leave it empty if no calendar date is stated."
    },
    {
      "key": "time_rows",
      "label": "Time Rows",
      "type": "array",
      "required": false,
      "description": "Every visible time rows row in this timesheet. Preserve separate rows, labels and qualifiers; do not merge entries or reconstruct missing ones.",
      "items": {
        "type": "object",
        "fields": [
          {
            "key": "work_date",
            "label": "Work Date",
            "type": "date",
            "required": false,
            "description": "Work date explicitly printed in this timesheet. Keep it distinct from other dates; leave it empty if no calendar date is stated."
          },
          {
            "key": "project_reference",
            "label": "Project Reference",
            "type": "string",
            "required": false,
            "description": "Project reference exactly as printed in this timesheet. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "cost_code",
            "label": "Cost Code",
            "type": "string",
            "required": false,
            "description": "Cost code exactly as printed in this timesheet. Preserve identifiers and qualifiers; do not look up or infer missing information."
          },
          {
            "key": "task_text",
            "label": "Task Text",
            "type": "string",
            "required": false,
            "description": "Task text exactly as printed in this timesheet. 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 timesheet. 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 timesheet. Preserve the labeled measure and its unit; do not estimate it."
          },
          {
            "key": "stated_rate",
            "label": "Stated Rate",
            "type": "currency",
            "required": false,
            "description": "Rate printed in the source. Preserve its stated unit or rate basis separately."
          }
        ]
      }
    },
    {
      "key": "total_hours",
      "label": "Total Hours",
      "type": "number",
      "required": false,
      "description": "Total hours as reported in this timesheet. Preserve the labeled measure and its unit; do not estimate it."
    },
    {
      "key": "approval_text",
      "label": "Approval Text",
      "type": "string",
      "required": false,
      "description": "Printed approval wording or signoff text. Do not infer approval from an empty box or an unverified signature."
    }
  ]
}