Space Docs
Domain Model

Shift Assignment

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
shiftTemplateIdstring.uuidYes—ID of the associated shift template
effectiveFromstringYes—Effective from
effectiveTostring,nullNo—Effective to
overridePrioritynumberYes—Override priority

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstring.uuidNo—ID of the associated workspace
userIdstring.uuidYes—ID of the associated user
shiftTemplateIdstring.uuidYes—ID of the associated shift template
effectiveFromstringYes—Effective from
effectiveTounknownNo—Effective to
overridePriorityintegerNo—Override priority

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
effectiveFromstringNo—Effective from
effectiveTounknownNo—Effective to
overridePriorityintegerNo—Override priority

On this page