{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-teams/json-schema/microsoft-teams-microsoft-graph-schedule-schema.json",
  "title": "microsoft.graph.schedule",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-teams-teams-schedule-api-openapi.yml#/components/schemas/microsoft.graph.schedule",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "schedule",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "enabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the schedule is enabled for the team. Required."
        },
        "isActivitiesIncludedWhenCopyingShiftsEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether copied shifts include activities from the original shift."
        },
        "offerShiftRequestsEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether offer shift requests are enabled for the schedule."
        },
        "openShiftsEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether open shifts are enabled for the schedule."
        },
        "provisionStatus": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.operationStatus"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The status of the schedule provisioning. The possible values are notStarted, running, completed, failed.",
          "readOnly": true
        },
        "provisionStatusCode": {
          "type": [
            "string",
            "null"
          ],
          "description": "Additional information about why schedule provisioning failed.",
          "readOnly": true
        },
        "startDayOfWeek": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.dayOfWeek"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Indicates the start day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday."
        },
        "swapShiftsRequestsEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether swap shifts requests are enabled for the schedule."
        },
        "timeClockEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether time clock is enabled for the schedule."
        },
        "timeClockSettings": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.timeClockSettings"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The time clock location settings for this schedule."
        },
        "timeOffRequestsEnabled": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether time off requests are enabled for the schedule."
        },
        "timeZone": {
          "type": [
            "string",
            "null"
          ],
          "description": "The time zone of the schedule team as an IANA time zone database (tz database) name; for example, America/Chicago. For the full list of valid values, see List of tz database time zones. Required."
        },
        "workforceIntegrationIds": {
          "type": "array",
          "items": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": "The IDs for the workforce integrations associated with this schedule."
        },
        "dayNotes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.dayNote"
          },
          "description": "The day notes in the schedule.",
          "x-ms-navigationProperty": true
        },
        "offerShiftRequests": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.offerShiftRequest"
          },
          "description": "The offer requests for shifts in the schedule.",
          "x-ms-navigationProperty": true
        },
        "openShiftChangeRequests": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.openShiftChangeRequest"
          },
          "description": "The open shift requests in the schedule.",
          "x-ms-navigationProperty": true
        },
        "openShifts": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.openShift"
          },
          "description": "The set of open shifts in a scheduling group in the schedule.",
          "x-ms-navigationProperty": true
        },
        "schedulingGroups": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.schedulingGroup"
          },
          "description": "The logical grouping of users in the schedule (usually by role).",
          "x-ms-navigationProperty": true
        },
        "shifts": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.shift"
          },
          "description": "The shifts in the schedule.",
          "x-ms-navigationProperty": true
        },
        "swapShiftsChangeRequests": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.swapShiftsChangeRequest"
          },
          "description": "The swap requests for shifts in the schedule.",
          "x-ms-navigationProperty": true
        },
        "timeCards": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.timeCard"
          },
          "description": "The time cards in the schedule.",
          "x-ms-navigationProperty": true
        },
        "timeOffReasons": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.timeOffReason"
          },
          "description": "The set of reasons for a time off in the schedule.",
          "x-ms-navigationProperty": true
        },
        "timeOffRequests": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.timeOffRequest"
          },
          "description": "The time off requests in the schedule.",
          "x-ms-navigationProperty": true
        },
        "timesOff": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.timeOff"
          },
          "description": "The instances of times off in the schedule.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.schedule",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "microsoft.graph.bodyType": {
      "title": "bodyType",
      "enum": [
        "text",
        "html"
      ],
      "type": "string"
    },
    "microsoft.graph.changeTrackedEntity": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.entity"
        },
        {
          "title": "changeTrackedEntity",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "createdBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Identity of the creator of the entity."
            },
            "createdDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
              "format": "date-time",
              "readOnly": true
            },
            "lastModifiedBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.identitySet"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Identity of the person who last modified the entity.",
              "readOnly": true
            },
            "lastModifiedDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z",
              "format": "date-time",
              "readOnly": true
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.confirmedBy": {
      "title": "confirmedBy",
      "enum": [
        "none",
        "user",
        "manager",
        "unknownFutureValue"
      ],
      "type": "string",
      "x-ms-enum-flags": {
        "isFlags": true
      }
    },
    "microsoft.graph.dayNote": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.changeTrackedEntity"
        },
        {
          "title": "dayNote",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "dayNoteDate": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date of the day note.",
              "format": "date"
            },
            "draftDayNote": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.itemBody"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The draft version of this day note that is viewable by managers. Only contentType text is supported."
            },
            "sharedDayNote": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.itemBody"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The shared version of this day note that is viewable by both employees and managers. Only contentType text is supported."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.dayNote"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.dayNote"
    },
    "microsoft.graph.dayOfWeek": {
      "title": "dayOfWeek",
      "enum": [
        "sunday",
        "monday",
        "tuesday",
        "wednesday",
        "thursday",
        "friday",
        "saturday"
      ],
      "type": "string"
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.geoCoordinates": {
      "title": "geoCoordinates",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "altitude": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Optional. The altitude (height), in feet,  above sea level for the item. Read-only."
        },
        "latitude": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Optional. The latitude, in decimal, for the item. Read-only."
        },
        "longitude": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Optional. The longitude, in decimal, for the item. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.identity": {
      "title": "identity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the identity.For drive items, the display name might not always be available or up to date. For example, if a user changes their display name the API might show the new value in a future response, but the items associated with the user don't show up as changed when using delta."
        },
        "id": {
          "type": [
            "string",
            "null"
          ],
          "description": "Unique identifier for the identity or actor. For example, in the access reviews decisions API, this property might record the id of the principal, that is, the group, user, or application that's subject to review."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.identitySet": {
      "title": "identitySet",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "application": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The application associated with this action."
        },
        "device": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The device associated with this action."
        },
        "user": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.identity"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Optional. The user associated with this action."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.itemBody": {
      "title": "itemBody",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "content": {
          "type": [
            "string",
            "null"
          ],
          "description": "The content of the item."
        },
        "contentType": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.bodyType"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The type of the content. Possible values are text and html."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.offerShiftRequest": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.scheduleChangeRequest"
        },
        {
          "title": "offerShiftRequest",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "recipientActionDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time when the recipient approved or declined the request.",
              "format": "date-time",
              "readOnly": true
            },
            "recipientActionMessage": {
              "type": [
                "string",
                "null"
              ],
              "description": "The message sent by the recipient regarding the request."
            },
            "recipientUserId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The recipient's user ID."
            },
            "senderShiftId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The sender's shift ID."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.offerShiftRequest"
            }
          }
        }
      ]
    },
    "microsoft.graph.openShift": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.changeTrackedEntity"
        },
        {
          "title": "openShift",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "draftOpenShift": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.openShiftItem"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Draft changes in the openShift are only visible to managers until they're shared."
            },
            "isStagedForDeletion": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "The openShift is marked for deletion, a process that is finalized when the schedule is shared."
            },
            "schedulingGroupId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The ID of the schedulingGroup that contains the openShift."
            },
            "sharedOpenShift": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.openShiftItem"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The shared version of this openShift that is viewable by both employees and managers."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.openShift"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.openShift"
    },
    "microsoft.graph.openShiftChangeRequest": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.scheduleChangeRequest"
        },
        {
          "title": "openShiftChangeRequest",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "openShiftId": {
              "type": [
                "string",
                "null"
              ],
              "description": "ID for the open shift."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.openShiftChangeRequest"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.openShiftChangeRequest"
    },
    "microsoft.graph.openShiftItem": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.shiftItem"
        },
        {
          "title": "openShiftItem",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "openSlotCount": {
              "maximum": 2147483647,
              "minimum": -2147483648,
              "type": "number",
              "description": "Count of the number of slots for the given open shift.",
              "format": "int32"
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.openShiftItem"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.openShiftItem"
    },
    "microsoft.graph.operationStatus": {
      "title": "operationStatus",
      "enum": [
        "NotStarted",
        "Running",
        "Completed",
        "Failed"
      ],
      "type": "string"
    },
    "microsoft.graph.scheduleChangeRequest": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.changeTrackedEntity"
        },
        {
          "title": "scheduleChangeRequest",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "assignedTo": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.scheduleChangeRequestActor"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Indicates who the request is assigned to. The possible values are: sender, recipient, manager, system, unknownFutureValue."
            },
            "managerActionDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time when the manager approved or declined the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
              "format": "date-time",
              "readOnly": true
            },
            "managerActionMessage": {
              "type": [
                "string",
                "null"
              ],
              "description": "The message sent by the manager regarding the scheduleChangeRequest. Optional."
            },
            "managerUserId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The user ID of the manager who approved or declined the scheduleChangeRequest.",
              "readOnly": true
            },
            "senderDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time when the sender sent the scheduleChangeRequest. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
              "format": "date-time",
              "readOnly": true
            },
            "senderMessage": {
              "type": [
                "string",
                "null"
              ],
              "description": "The message sent by the sender of the scheduleChangeRequest. Optional."
            },
            "senderUserId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The user ID of the sender of the scheduleChangeRequest.",
              "readOnly": true
            },
            "state": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.scheduleChangeState"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The state of the scheduleChangeRequest. The possible values are: pending, approved, declined, unknownFutureValue."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.scheduleChangeRequest"
            }
          }
        }
      ]
    },
    "microsoft.graph.scheduleChangeRequestActor": {
      "title": "scheduleChangeRequestActor",
      "enum": [
        "sender",
        "recipient",
        "manager",
        "system",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.scheduleChangeState": {
      "title": "scheduleChangeState",
      "enum": [
        "pending",
        "approved",
        "declined",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.scheduleEntity": {
      "title": "scheduleEntity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "endDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "startDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "theme": {
          "$ref": "#/$defs/microsoft.graph.scheduleEntityTheme"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.scheduleEntityTheme": {
      "title": "scheduleEntityTheme",
      "enum": [
        "white",
        "blue",
        "green",
        "purple",
        "pink",
        "yellow",
        "gray",
        "darkBlue",
        "darkGreen",
        "darkPurple",
        "darkPink",
        "darkYellow",
        "unknownFutureValue",
        "darkRed",
        "cranberry",
        "darkOrange",
        "bronze",
        "peach",
        "gold",
        "lime",
        "forest",
        "lightGreen",
        "jade",
        "lightTeal",
        "darkTeal",
        "steel",
        "skyBlue",
        "blueGray",
        "lavender",
        "lilac",
        "plum",
        "magenta",
        "darkBrown",
        "beige",
        "charcoal",
        "silver"
      ],
      "type": "string"
    },
    "microsoft.graph.schedulingGroup": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.changeTrackedEntity"
        },
        {
          "title": "schedulingGroup",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "code": {
              "type": [
                "string",
                "null"
              ],
              "description": "The code for the schedulingGroup to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters."
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The display name for the schedulingGroup. Required."
            },
            "isActive": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "Indicates whether the schedulingGroup can be used when creating new entities or updating existing ones. Required.",
              "readOnly": true
            },
            "userIds": {
              "type": "array",
              "items": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "description": "The list of user IDs that are a member of the schedulingGroup. Required."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.schedulingGroup"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.schedulingGroup"
    },
    "microsoft.graph.shift": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.changeTrackedEntity"
        },
        {
          "title": "shift",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "draftShift": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.shiftItem"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "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",
                "null"
              ],
              "description": "The shift is marked for deletion, a process that is finalized when the schedule is shared."
            },
            "schedulingGroupId": {
              "type": [
                "string",
                "null"
              ],
              "description": "ID of the scheduling group the shift is part of. Required."
            },
            "sharedShift": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.shiftItem"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "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",
                "null"
              ],
              "description": "ID of the user assigned to the shift. Required."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.shift"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.shift"
    },
    "microsoft.graph.shiftActivity": {
      "title": "shiftActivity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "code": {
          "type": [
            "string",
            "null"
          ],
          "description": "Customer defined code for the shiftActivity. Required."
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the shiftActivity. Required."
        },
        "endDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "The end date and time for the shiftActivity. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.",
          "format": "date-time"
        },
        "isPaid": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether the microsoft.graph.user should be paid for the activity during their shift. Required."
        },
        "startDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": [
            "string",
            "null"
          ],
          "description": "The start date and time for the shiftActivity. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Required.",
          "format": "date-time"
        },
        "theme": {
          "$ref": "#/$defs/microsoft.graph.scheduleEntityTheme"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.shiftItem": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.scheduleEntity"
        },
        {
          "title": "shiftItem",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "activities": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.shiftActivity"
              },
              "description": "An incremental part of a shift which can cover details of when and where an employee is during their shift. For example, an assignment or a scheduled break or lunch. Required."
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The shift label of the shiftItem."
            },
            "notes": {
              "type": [
                "string",
                "null"
              ],
              "description": "The shift notes for the shiftItem."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ]
    },
    "microsoft.graph.swapShiftsChangeRequest": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.offerShiftRequest"
        },
        {
          "title": "swapShiftsChangeRequest",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "recipientShiftId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The recipient's Shift ID"
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.swapShiftsChangeRequest"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.swapShiftsChangeRequest"
    },
    "microsoft.graph.timeCard": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.changeTrackedEntity"
        },
        {
          "title": "timeCard",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "breaks": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/microsoft.graph.timeCardBreak"
              },
              "description": "The list of breaks associated with the timeCard."
            },
            "clockInEvent": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.timeCardEvent"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The clock-in event of the timeCard."
            },
            "clockOutEvent": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.timeCardEvent"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The clock-out event of the timeCard."
            },
            "confirmedBy": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.confirmedBy"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Indicates whether this timeCard entry is confirmed. The possible values are: none, user, manager, unknownFutureValue."
            },
            "notes": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.itemBody"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Notes about the timeCard."
            },
            "originalEntry": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.timeCardEntry"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The original timeCardEntry of the timeCard before it was edited."
            },
            "state": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.timeCardState"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The current state of the timeCard during its life cycle. The possible values are: clockedIn, onBreak, clockedOut, unknownFutureValue."
            },
            "userId": {
              "type": [
                "string",
                "null"
              ],
              "description": "User ID to which the timeCard belongs."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.timeCard"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.timeCard"
    },
    "microsoft.graph.timeCardBreak": {
      "title": "timeCardBreak",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "breakId": {
          "type": [
            "string",
            "null"
          ],
          "description": "ID of the timeCardBreak."
        },
        "end": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.timeCardEvent"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The start event of the timeCardBreak."
        },
        "notes": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.itemBody"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Notes about the timeCardBreak."
        },
        "start": {
          "$ref": "#/$defs/microsoft.graph.timeCardEvent"
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.timeCardEntry": {
      "title": "timeCardEntry",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "breaks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/microsoft.graph.timeCardBreak"
          },
          "description": "The clock-in event of the timeCard."
        },
        "clockInEvent": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.timeCardEvent"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The clock-out event of the timeCard."
        },
        "clockOutEvent": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.timeCardEvent"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The list of breaks associated with the timeCard."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.timeCardEvent": {
      "title": "timeCardEvent",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "dateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "The time the entry is recorded.",
          "format": "date-time"
        },
        "isAtApprovedLocation": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "Indicates whether this action happens at an approved location."
        },
        "notes": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.itemBody"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "Notes about the timeCardEvent."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.timeCardState": {
      "title": "timeCardState",
      "enum": [
        "clockedIn",
        "onBreak",
        "clockedOut",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.timeClockSettings": {
      "title": "timeClockSettings",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "approvedLocation": {
          "anyOf": [
            {
              "$ref": "#/$defs/microsoft.graph.geoCoordinates"
            },
            {
              "type": [
                "object",
                "null"
              ]
            }
          ],
          "description": "The approved location of the timeClock."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.timeOff": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.changeTrackedEntity"
        },
        {
          "title": "timeOff",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "draftTimeOff": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.timeOffItem"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The draft version of this timeOff item that is viewable by managers. It must be shared before it's visible to team members. Required."
            },
            "isStagedForDeletion": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "The timeOff is marked for deletion, a process that is finalized when the schedule is shared."
            },
            "sharedTimeOff": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.timeOffItem"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "The shared version of this timeOff that is viewable by both employees and managers. Updates to the sharedTimeOff property send notifications to users in the Teams client. Required."
            },
            "userId": {
              "type": [
                "string",
                "null"
              ],
              "description": "ID of the user assigned to the timeOff. Required."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.timeOff"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.timeOff"
    },
    "microsoft.graph.timeOffItem": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.scheduleEntity"
        },
        {
          "title": "timeOffItem",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "timeOffReasonId": {
              "type": [
                "string",
                "null"
              ],
              "description": "ID of the timeOffReason for this timeOffItem. Required."
            },
            "@odata.type": {
              "type": "string"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.timeOffItem"
    },
    "microsoft.graph.timeOffReason": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.changeTrackedEntity"
        },
        {
          "title": "timeOffReason",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "code": {
              "type": [
                "string",
                "null"
              ],
              "description": "The code of the timeOffReason to represent an external identifier. This field must be unique within the team in Microsoft Teams and uses an alphanumeric format, with a maximum of 100 characters."
            },
            "displayName": {
              "type": [
                "string",
                "null"
              ],
              "description": "The name of the timeOffReason. Required."
            },
            "iconType": {
              "anyOf": [
                {
                  "$ref": "#/$defs/microsoft.graph.timeOffReasonIconType"
                },
                {
                  "type": [
                    "object",
                    "null"
                  ]
                }
              ],
              "description": "Supported icon types are: none, car, calendar, running, plane, firstAid, doctor, notWorking, clock, juryDuty, globe, cup, phone, weather, umbrella, piggyBank, dog, cake, trafficCone, pin, sunny. Required."
            },
            "isActive": {
              "type": [
                "boolean",
                "null"
              ],
              "description": "Indicates whether the timeOffReason can be used when creating new entities or updating existing ones. Required."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.timeOffReason"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.timeOffReason"
    },
    "microsoft.graph.timeOffReasonIconType": {
      "title": "timeOffReasonIconType",
      "enum": [
        "none",
        "car",
        "calendar",
        "running",
        "plane",
        "firstAid",
        "doctor",
        "notWorking",
        "clock",
        "juryDuty",
        "globe",
        "cup",
        "phone",
        "weather",
        "umbrella",
        "piggyBank",
        "dog",
        "cake",
        "trafficCone",
        "pin",
        "sunny",
        "unknownFutureValue"
      ],
      "type": "string"
    },
    "microsoft.graph.timeOffRequest": {
      "allOf": [
        {
          "$ref": "#/$defs/microsoft.graph.scheduleChangeRequest"
        },
        {
          "title": "timeOffRequest",
          "required": [
            "@odata.type"
          ],
          "type": "object",
          "properties": {
            "endDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time the time off ends in ISO 8601 format and in UTC time.",
              "format": "date-time"
            },
            "startDateTime": {
              "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
              "type": [
                "string",
                "null"
              ],
              "description": "The date and time the time off starts in ISO 8601 format and in UTC time.",
              "format": "date-time"
            },
            "timeOffReasonId": {
              "type": [
                "string",
                "null"
              ],
              "description": "The reason for the time off."
            },
            "@odata.type": {
              "type": "string",
              "default": "#microsoft.graph.timeOffRequest"
            }
          }
        }
      ],
      "x-ms-discriminator-value": "#microsoft.graph.timeOffRequest"
    }
  }
}