Employee Compensation

A Workday employee compensation package including base pay, bonuses, and equity

Properties

Name Type Description
employeeId string Employee identifier
employeeName string Employee full name
effectiveDate string Compensation effective date
compensationGradeId string Compensation grade identifier
basePay number Base pay amount
payFrequency string Pay frequency
currency string Currency code
totalCashCompensation number Total cash compensation
payComponents array Individual pay components
View JSON Schema on GitHub

JSON Schema

workday-advanced-compensation-employee-compensation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/workday-advanced-compensation/refs/heads/main/json-schema/workday-advanced-compensation-employee-compensation-schema.json",
  "title": "Employee Compensation",
  "description": "A Workday employee compensation package including base pay, bonuses, and equity",
  "type": "object",
  "properties": {
    "employeeId": {
      "type": "string",
      "description": "Employee identifier"
    },
    "employeeName": {
      "type": "string",
      "description": "Employee full name"
    },
    "effectiveDate": {
      "type": "string",
      "format": "date",
      "description": "Compensation effective date"
    },
    "compensationGradeId": {
      "type": "string",
      "description": "Compensation grade identifier"
    },
    "basePay": {
      "type": "number",
      "description": "Base pay amount"
    },
    "payFrequency": {
      "type": "string",
      "description": "Pay frequency"
    },
    "currency": {
      "type": "string",
      "description": "Currency code"
    },
    "totalCashCompensation": {
      "type": "number",
      "description": "Total cash compensation"
    },
    "payComponents": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PayComponent"
      },
      "description": "Individual pay components"
    }
  },
  "required": [
    "employeeId",
    "effectiveDate",
    "basePay",
    "currency"
  ],
  "$defs": {
    "PayComponent": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "Pay component type"
        },
        "amount": {
          "type": "number",
          "description": "Component amount"
        },
        "currency": {
          "type": "string",
          "description": "Currency code"
        },
        "frequency": {
          "type": "string",
          "description": "Payment frequency"
        }
      },
      "required": [
        "type",
        "amount"
      ]
    }
  }
}