{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PaySlip",
  "title": "PaySlip",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "abc123"
    },
    "descriptor": {
      "type": "string",
      "example": "example_value"
    },
    "payPeriodStartDate": {
      "type": "string",
      "format": "date",
      "example": "2026-01-15"
    },
    "payPeriodEndDate": {
      "type": "string",
      "format": "date",
      "example": "2026-01-15"
    },
    "payDate": {
      "type": "string",
      "format": "date",
      "example": "2026-01-15"
    },
    "grossPay": {
      "type": "number",
      "format": "double",
      "example": 42.5
    },
    "netPay": {
      "type": "number",
      "format": "double",
      "example": 42.5
    },
    "totalDeductions": {
      "type": "number",
      "format": "double",
      "example": 42.5
    },
    "totalTaxes": {
      "type": "number",
      "format": "double",
      "example": 42.5
    },
    "currency": {
      "$ref": "#/components/schemas/ResourceReference"
    },
    "payGroup": {
      "$ref": "#/components/schemas/ResourceReference"
    }
  }
}