Space Docs
Domain Model

Time Off Request

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
workspaceIdstring.uuidYes—ID of the associated workspace
userIdstring.uuidYes—ID of the associated user
startDatestringYes—Start date
endDatestringYes—End date
timeOffTypeenum(pto, sick, personal, training, jury_duty, bereavement, other)Yes—Time off type
statusenum(pending, approved, denied)Yes—Status
notesstring,nullNo—Notes
approvedByIdunknownNo—ID of the associated approved by
approvedAtunknownNo—Approved at
denialReasonstring,nullNo—Denial reason
googleCalendarEventIdstring,nullNo—ID of the associated google calendar event

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstring.uuidNo—ID of the associated workspace
startDatestringYes—Start date
endDatestringYes—End date
timeOffTypeenum(pto, sick, personal, training, jury_duty, bereavement, other)Yes—Time off type
notesstringNo—Notes

On this page