Availability period object

Because members may not be full-time employees and their availability can change over time, Ruddr uses member availability to determine expected hours and allows you to track its history.

Example

{
  "hoursPerDay": [
    8,
    8,
    8,
    8,
    8,
    0,
    0
  ],
  "id": "48ad3c84-5ae4-45cf-8e12-ba80cb464bf8",
  "start": "2025-04-21",
  "createdAt": "2025-04-21T13:45:06.186Z",
  "isDefault": true,
  "end": null
}

Attributes

NameTypeDescription
hoursPerDayarray of numbersA list of hours for each day of the week. The array size should always be 7. The first value represents Monday.
iduuidThe unique identifier for the object.
startdateThe start date for the period. Will be in the form YYYY-MM-DD.
createdAttimestampThe timestamp when the object was created.
isDefaultbooleanA flag to indicate if the availability period is the default.
enddateThe end date for the period. Will be in the form YYYY-MM-DD.