Domain Model
Shift Override
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string.uuid | Yes | — | Id |
| createdAt | string.date-time | Yes | — | Created at |
| updatedAt | string.date-time | Yes | — | Updated at |
| workspaceId | string.uuid | Yes | — | ID of the associated workspace |
| userId | string.uuid | Yes | — | ID of the associated user |
| date | string | Yes | — | Date |
| startTime | unknown | No | — | Start time |
| endTime | unknown | No | — | End time |
| reason | unknown | No | — | Reason |
Create Schema
Fields accepted when creating a new record:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| workspaceId | string.uuid | No | — | ID of the associated workspace |
| userId | string.uuid | Yes | — | ID of the associated user |
| date | string | Yes | — | Date |
| startTime | unknown | No | — | Start time |
| endTime | unknown | No | — | End time |
| reason | string | No | — | Reason |
Update Schema
All fields are optional when updating:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| date | string | No | — | Date |
| startTime | unknown | No | — | Start time |
| endTime | unknown | No | — | End time |
| reason | string | No | — | Reason |