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