Time Block

Represents a time block recording worked hours for a worker within the Workday Time Tracking system.

EnterpriseERPFinanceHCMIntegrationPayroll

Properties

Name Type Description
id string The unique Workday identifier for the time block
descriptor string The display name of the time block
worker object The worker who recorded the time
date string The date of the time block
startTime string The start time of the time block
endTime string The end time of the time block
totalHours number The total hours recorded in the time block
timeCode object The time code classification (Regular, Overtime, etc.)
timeZone string The time zone for the time block
comment string Optional comment for the time block
View JSON Schema on GitHub

JSON Schema

workday-integration-time-block-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://schemas.workday.com/timeBlock",
  "title": "Time Block",
  "description": "Represents a time block recording worked hours for a worker within the Workday Time Tracking system.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique Workday identifier for the time block"
    },
    "descriptor": {
      "type": "string",
      "description": "The display name of the time block"
    },
    "worker": {
      "$ref": "#/$defs/ResourceReference",
      "description": "The worker who recorded the time"
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "The date of the time block"
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "The start time of the time block"
    },
    "endTime": {
      "type": "string",
      "format": "date-time",
      "description": "The end time of the time block"
    },
    "totalHours": {
      "type": "number",
      "description": "The total hours recorded in the time block"
    },
    "timeCode": {
      "$ref": "#/$defs/ResourceReference",
      "description": "The time code classification (Regular, Overtime, etc.)"
    },
    "timeZone": {
      "type": "string",
      "description": "The time zone for the time block"
    },
    "comment": {
      "type": "string",
      "description": "Optional comment for the time block"
    }
  },
  "required": ["id", "worker", "date"],
  "$defs": {
    "ResourceReference": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "descriptor": {
          "type": "string"
        },
        "href": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": ["id"]
    }
  }
}