Microsoft Graph · Schema
microsoft.graph.shift
Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/microsoft.graph.shift",
"title": "microsoft.graph.shift",
"allOf": [
{
"$ref": "#/components/schemas/microsoft.graph.changeTrackedEntity"
},
{
"title": "shift",
"required": [
"@odata.type"
],
"type": "object",
"properties": {
"draftShift": {
"anyOf": [
{
"$ref": "#/components/schemas/microsoft.graph.shiftItem"
},
{
"type": "object",
"nullable": true
}
],
"description": "Draft changes in the shift. Draft changes are only visible to managers. The changes are visible to employees when they're shared, which copies the changes from the draftShift to the sharedShift property."
},
"isStagedForDeletion": {
"type": "boolean",
"description": "The shift is marked for deletion, a process that is finalized when the schedule is shared.",
"nullable": true
},
"schedulingGroupId": {
"type": "string",
"description": "ID of the scheduling group the shift is part of. Required.",
"nullable": true
},
"sharedShift": {
"anyOf": [
{
"$ref": "#/components/schemas/microsoft.graph.shiftItem"
},
{
"type": "object",
"nullable": true
}
],
"description": "The shared version of this shift that is viewable by both employees and managers. Updates to the sharedShift property send notifications to users in the Teams client."
},
"userId": {
"type": "string",
"description": "ID of the user assigned to the shift. Required.",
"nullable": true
},
"@odata.type": {
"type": "string",
"default": "#microsoft.graph.shift"
}
}
}
],
"x-ms-discriminator-value": "#microsoft.graph.shift"
}