{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/PaySlipsResponse", "title": "PaySlipsResponse", "type": "object", "properties": { "total": { "type": "integer" }, "data": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "descriptor": { "type": "string" }, "payPeriodStartDate": { "type": "string", "format": "date" }, "payPeriodEndDate": { "type": "string", "format": "date" }, "grossPay": { "type": "number" }, "netPay": { "type": "number" } } } } } }