{
  "operationId": "requestTimeOff",
  "method": "POST",
  "path": "/workers/{ID}/requestTimeOff",
  "summary": "Request Time Off",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "RequesttimeoffRequestExample",
      "example": {
        "days": [
          {
            "date": "2026-01-15",
            "dailyQuantity": 42.5,
            "comment": "example_value"
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "201",
      "contentType": "application/json",
      "name": "Requesttimeoff201Example",
      "example": {
        "id": "abc123",
        "descriptor": "example_value",
        "date": "2026-01-15",
        "dailyQuantity": 42.5,
        "unit": {
          "id": "abc123",
          "descriptor": "example_value",
          "href": "https://www.example.com"
        },
        "timeOffType": {
          "id": "abc123",
          "descriptor": "example_value",
          "href": "https://www.example.com"
        },
        "status": "example_value"
      }
    }
  ]
}