Earning
Earning schema from Workday Payroll API
CompensationEnterpriseHuman ResourcesPayrollSoftware-as-a-ServiceTax
Properties
| Name |
Type |
Description |
| id |
string |
Unique earning record identifier |
| earningCode |
object |
|
| amount |
number |
Earning amount |
| hours |
number |
Hours worked for this earning |
| rate |
number |
Pay rate for this earning |
| effectiveDate |
string |
Effective date of the earning |
| payPeriod |
object |
|
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-earning-schema.json",
"title": "Earning",
"description": "Earning schema from Workday Payroll API",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique earning record identifier",
"example": "ern_20260430_00301"
},
"earningCode": {
"$ref": "#/$defs/EarningCodeRef"
},
"amount": {
"type": "number",
"format": "double",
"description": "Earning amount",
"example": 2500.0
},
"hours": {
"type": "number",
"format": "double",
"description": "Hours worked for this earning",
"example": 40.0
},
"rate": {
"type": "number",
"format": "double",
"description": "Pay rate for this earning",
"example": 32.5
},
"effectiveDate": {
"type": "string",
"format": "date",
"description": "Effective date of the earning",
"example": "2026-04-30"
},
"payPeriod": {
"$ref": "#/$defs/PayPeriod"
}
},
"$defs": {
"EarningCodeRef": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Earning code identifier",
"example": "REGULAR"
},
"descriptor": {
"type": "string",
"description": "Earning code display name",
"example": "Weekly USD Pay Group"
}
}
},
"PayPeriod": {
"type": "object",
"properties": {
"startDate": {
"type": "string",
"format": "date",
"description": "Start date of the pay period",
"example": "2026-04-30"
},
"endDate": {
"type": "string",
"format": "date",
"description": "End date of the pay period",
"example": "2026-04-30"
}
}
}
}
}
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/payroll-earning"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.