Properties
| Name | Type | Description |
|---|---|---|
| day_of_week | string | The day of the week this availability applies to. |
| start_time | string | The start time in HH:mm format. |
| end_time | string | The end time in HH:mm format. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Availability",
"title": "Availability",
"type": "object",
"description": "A time window defining when a schedule or item is available.",
"properties": {
"day_of_week": {
"type": "string",
"description": "The day of the week this availability applies to.",
"enum": [
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY",
"SATURDAY",
"SUNDAY"
]
},
"start_time": {
"type": "string",
"description": "The start time in HH:mm format.",
"pattern": "^\\d{2}:\\d{2}$"
},
"end_time": {
"type": "string",
"description": "The end time in HH:mm format.",
"pattern": "^\\d{2}:\\d{2}$"
}
}
}