Workday Tracking System · JSON Structure

Time Tracking Time Block Input Structure

Input payload for creating or updating a time block

Type: object Properties: 8 Required: 3
Absence ManagementAttendanceEnterpriseHCMHuman Capital ManagementPayrollSchedulingTime TrackingTimesheetsWorkforce Management

TimeBlockInput is a JSON Structure definition published by Workday Tracking System, describing 8 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

date startTime endTime hours type projectId taskId comment

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-tracking-system/refs/heads/main/json-structure/time-tracking-time-block-input-structure.json",
  "name": "TimeBlockInput",
  "description": "Input payload for creating or updating a time block",
  "type": "object",
  "properties": {
    "date": {
      "type": "date",
      "description": "Date of the time block (YYYY-MM-DD)"
    },
    "startTime": {
      "type": "time",
      "description": "Start time of the time block (HH:MM:SS)"
    },
    "endTime": {
      "type": "time",
      "description": "End time of the time block (HH:MM:SS)"
    },
    "hours": {
      "type": "float",
      "description": "Total hours worked"
    },
    "type": {
      "type": "string",
      "description": "Type of time block",
      "enum": [
        "Regular",
        "Overtime",
        "Holiday",
        "Leave"
      ]
    },
    "projectId": {
      "type": "string",
      "description": "Associated project ID (optional)"
    },
    "taskId": {
      "type": "string",
      "description": "Associated task ID (optional)"
    },
    "comment": {
      "type": "string",
      "description": "Optional comment"
    }
  },
  "required": [
    "date",
    "hours",
    "type"
  ]
}