{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/PayrollInputRequest", "title": "PayrollInputRequest", "type": "object", "required": [ "worker", "payComponent" ], "properties": { "worker": { "$ref": "#/components/schemas/ResourceReference" }, "payComponent": { "$ref": "#/components/schemas/ResourceReference" }, "amount": { "type": "number" }, "startDate": { "type": "string", "format": "date" }, "endDate": { "type": "string", "format": "date" } } }