Workday Payroll · JSON Structure

Payroll Input Time Off Input Structure

TimeOffInput schema from Workday Payroll Input API

Type: object Properties: 8
CompensationEnterpriseHuman ResourcesPayrollSaaSTax

TimeOffInput is a JSON Structure definition published by Workday Payroll, describing 8 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id worker timeOffType startDate endDate hours status paid

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/payroll-input-time-off-input-structure.json",
  "name": "TimeOffInput",
  "description": "TimeOffInput schema from Workday Payroll Input API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the time off input",
      "example": "to_w100542_20260415"
    },
    "worker": {
      "$ref": "#/$defs/WorkerRef"
    },
    "timeOffType": {
      "type": "string",
      "description": "Type of time off",
      "example": "Vacation"
    },
    "startDate": {
      "type": "date",
      "description": "Start date of time off",
      "example": "2026-04-30"
    },
    "endDate": {
      "type": "date",
      "description": "End date of time off",
      "example": "2026-04-30"
    },
    "hours": {
      "type": "double",
      "description": "Total hours of time off",
      "example": 40.0
    },
    "status": {
      "type": "string",
      "enum": [
        "Pending",
        "Approved",
        "Processed"
      ],
      "description": "Current status",
      "example": "Pending"
    },
    "paid": {
      "type": "boolean",
      "description": "Whether the time off is paid",
      "example": true
    }
  },
  "definitions": {
    "WorkerRef": {
      "name": "WorkerRef",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Worker identifier",
          "example": "w_100542"
        },
        "descriptor": {
          "type": "string",
          "description": "Worker display name",
          "example": "Weekly USD Pay Group"
        }
      }
    }
  }
}