ZRM Docs
Domain Model

Time Off Request

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYesId
createdAtstring.date-timeYesCreated at
updatedAtstring.date-timeYesUpdated at
workspaceIdstring.uuidYesID of the associated workspace
userIdstring.uuidYesID of the associated user
startDatestringYesStart date
endDatestringYesEnd date
timeOffTypeenum(pto, sick, personal, training, jury_duty, bereavement, other)YesTime off type
statusenum(pending, approved, denied)YesStatus
notesunknownNoNotes
approvedByIdunknownNoID of the associated approved by
approvedAtunknownNoApproved at
denialReasonunknownNoDenial reason
googleCalendarEventIdunknownNoID of the associated google calendar event

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstring.uuidNoID of the associated workspace
startDatestringYesStart date
endDatestringYesEnd date
timeOffTypeenum(pto, sick, personal, training, jury_duty, bereavement, other)YesTime off type
notesstringNoNotes

On this page