{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-structure/tax-tax-election-collection-structure.json", "name": "TaxElectionCollection", "description": "TaxElectionCollection schema from Workday Payroll Workday Tax API", "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/$defs/TaxElection" } }, "total": { "type": "int32", "description": "Total number of tax elections", "example": 52 } }, "definitions": { "TaxElection": { "name": "TaxElection", "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier for the tax election", "example": "tel_w100542_w4_2026" }, "formType": { "type": "string", "enum": [ "W4", "StateWithholding", "LocalWithholding" ], "description": "Type of tax form", "example": "W4" }, "jurisdiction": { "$ref": "#/$defs/TaxJurisdictionRef" }, "filingStatus": { "type": "string", "description": "Filing status on the form", "example": "example" }, "multipleJobs": { "type": "boolean", "description": "Whether the worker has multiple jobs (W-4 Step 2)", "example": true }, "dependentsAmount": { "type": "double", "description": "Total amount for dependents (W-4 Step 3)", "example": 2000.0 }, "otherIncome": { "type": "double", "description": "Other income amount (W-4 Step 4a)", "example": 0.0 }, "deductions": { "type": "double", "description": "Itemized deductions amount (W-4 Step 4b)", "example": 0.0 }, "additionalWithholding": { "type": "double", "description": "Extra withholding per period (W-4 Step 4c)", "example": 50.0 }, "effectiveDate": { "type": "date", "description": "Effective date of the election", "example": "2026-04-30" }, "submittedOn": { "type": "datetime", "description": "When the election was submitted", "example": "2026-04-30T16:45:00Z" }, "status": { "type": "string", "enum": [ "Active", "Superseded", "Voided" ], "description": "Current status of the election", "example": "Active" } } }, "TaxJurisdictionRef": { "name": "TaxJurisdictionRef", "type": "object", "properties": { "id": { "type": "string", "description": "Jurisdiction identifier", "example": "tjur_us_federal" }, "descriptor": { "type": "string", "description": "Jurisdiction display name", "example": "Weekly USD Pay Group" } } } } }