Workday Payroll · JSON Structure

Payroll Earning Code Collection Structure

EarningCodeCollection schema from Workday Payroll API

Type: object Properties: 2
CompensationEnterpriseHuman ResourcesPayrollSoftware-as-a-ServiceTax

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

Properties

data total

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-earning-code-collection-structure.json",
  "name": "EarningCodeCollection",
  "description": "EarningCodeCollection schema from Workday Payroll API",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/EarningCode"
      }
    },
    "total": {
      "type": "int32",
      "description": "Total number of earning codes",
      "example": 52
    }
  },
  "definitions": {
    "EarningCode": {
      "name": "EarningCode",
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier for the earning code",
          "example": "REGULAR"
        },
        "descriptor": {
          "type": "string",
          "description": "Display name of the earning code",
          "example": "Weekly USD Pay Group"
        },
        "type": {
          "type": "string",
          "enum": [
            "Regular",
            "Overtime",
            "Bonus",
            "Commission",
            "Holiday",
            "PTO",
            "Supplemental",
            "Other"
          ],
          "description": "Category of the earning",
          "example": "Regular"
        },
        "taxable": {
          "type": "boolean",
          "description": "Whether this earning is subject to taxation",
          "example": true
        },
        "active": {
          "type": "boolean",
          "description": "Whether the earning code is currently active",
          "example": true
        }
      }
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/payroll-earning-code-collection-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.