Microsoft Graph · Schema

microsoft.graph.schedule

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphschedule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.schedule",
  "title": "microsoft.graph.schedule",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "schedule",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Indicates whether the schedule is enabled for the team. Required.",
          "nullable": true
        },
        "isActivitiesIncludedWhenCopyingShiftsEnabled": {
          "type": "boolean",
          "description": "Indicates whether copied shifts include activities from the original shift.",
          "nullable": true
        },
        "offerShiftRequestsEnabled": {
          "type": "boolean",
          "description": "Indicates whether offer shift requests are enabled for the schedule.",
          "nullable": true
        },
        "openShiftsEnabled": {
          "type": "boolean",
          "description": "Indicates whether open shifts are enabled for the schedule.",
          "nullable": true
        },
        "provisionStatus": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.operationStatus"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The status of the schedule provisioning. The possible values are notStarted, running, completed, failed.",
          "readOnly": true
        },
        "provisionStatusCode": {
          "type": "string",
          "description": "Additional information about why schedule provisioning failed.",
          "nullable": true,
          "readOnly": true
        },
        "startDayOfWeek": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.dayOfWeek"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Indicates the start day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday."
        },
        "swapShiftsRequestsEnabled": {
          "type": "boolean",
          "description": "Indicates whether swap shifts requests are enabled for the schedule.",
          "nullable": true
        },
        "timeClockEnabled": {
          "type": "boolean",
          "description": "Indicates whether time clock is enabled for the schedule.",
          "nullable": true
        },
        "timeClockSettings": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.timeClockSettings"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The time clock location settings for this schedule."
        },
        "timeOffRequestsEnabled": {
          "type": "boolean",
          "description": "Indicates whether time off requests are enabled for the schedule.",
          "nullable": true
        },
        "timeZone": {
          "type": "string",
          "description": "Indicates the time zone of the schedule team using tz database format. Required.",
          "nullable": true
        },
        "workforceIntegrationIds": {
          "type": "array",
          "items": {
            "type": "string",
            "nullable": true
          },
          "description": "The IDs for the workforce integrations associated with this schedule."
        },
        "dayNotes": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.dayNote"
          },
          "description": "The day notes in the schedule.",
          "x-ms-navigationProperty": true
        },
        "offerShiftRequests": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.offerShiftRequest"
          },
          "description": "The offer requests for shifts in the schedule.",
          "x-ms-navigationProperty": true
        },
        "openShiftChangeRequests": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.openShiftChangeRequest"
          },
          "description": "The open shift requests in the schedule.",
          "x-ms-navigationProperty": true
        },
        "openShifts": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/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": "#/components/schemas/microsoft.graph.schedulingGroup"
          },
          "description": "The logical grouping of users in the schedule (usually by role).",
          "x-ms-navigationProperty": true
        },
        "shifts": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.shift"
          },
          "description": "The shifts in the schedule.",
          "x-ms-navigationProperty": true
        },
        "swapShiftsChangeRequests": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.swapShiftsChangeRequest"
          },
          "description": "The swap requests for shifts in the schedule.",
          "x-ms-navigationProperty": true
        },
        "timeCards": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.timeCard"
          },
          "description": "The time cards in the schedule.",
          "x-ms-navigationProperty": true
        },
        "timeOffReasons": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.timeOffReason"
          },
          "description": "The set of reasons for a time off in the schedule.",
          "x-ms-navigationProperty": true
        },
        "timeOffRequests": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.timeOffRequest"
          },
          "description": "The time off requests in the schedule.",
          "x-ms-navigationProperty": true
        },
        "timesOff": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/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"
}