{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/workday-payroll/refs/heads/main/json-schema/payroll-input-one-time-payment-collection-schema.json", "title": "OneTimePaymentCollection", "description": "OneTimePaymentCollection schema from Workday Payroll Input API", "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/$defs/OneTimePayment" } }, "total": { "type": "integer", "description": "Total number of one-time payments", "example": 52 } }, "$defs": { "OneTimePayment": { "type": "object", "properties": { "id": { "type": "string", "description": "Unique identifier for the one-time payment", "example": "pmt_20260502_00045" }, "worker": { "$ref": "#/$defs/WorkerRef" }, "earningCode": { "type": "string", "description": "Earning code for the payment", "example": "REGULAR" }, "amount": { "type": "number", "format": "double", "description": "Payment amount", "example": 2500.0 }, "currency": { "type": "string", "description": "ISO 4217 currency code", "example": "USD" }, "reason": { "type": "string", "description": "Reason for the one-time payment", "example": "Q1 2026 performance bonus" }, "effectiveDate": { "type": "string", "format": "date", "description": "Effective date for the payment", "example": "2026-04-30" }, "status": { "type": "string", "enum": [ "Pending", "Approved", "Processed", "Rejected" ], "description": "Current status", "example": "Pending" }, "createdOn": { "type": "string", "format": "date-time", "description": "When the request was created", "example": "2026-04-30T16:45:00Z" }, "submittedBy": { "type": "string", "description": "User who submitted the request", "example": "payroll.admin@example.com" } } }, "WorkerRef": { "type": "object", "properties": { "id": { "type": "string", "description": "Worker identifier", "example": "w_100542" }, "descriptor": { "type": "string", "description": "Worker display name", "example": "Weekly USD Pay Group" } } } } }