Microsoft Graph · Schema

workingHours

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks

Properties

Name Type Description
daysOfWeek array The days of the week on which the user works.
endTime string The time of the day that the user stops working.
startTime string The time of the day that the user starts working.
timeZone object The time zone to which the working hours apply.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphworkinghours-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.workingHours",
  "title": "workingHours",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "daysOfWeek": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/microsoft.graph.dayOfWeek"
          },
          {
            "type": "object",
            "nullable": true
          }
        ]
      },
      "description": "The days of the week on which the user works."
    },
    "endTime": {
      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?$",
      "type": "string",
      "description": "The time of the day that the user stops working.",
      "format": "time",
      "nullable": true
    },
    "startTime": {
      "pattern": "^([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?$",
      "type": "string",
      "description": "The time of the day that the user starts working.",
      "format": "time",
      "nullable": true
    },
    "timeZone": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.timeZoneBase"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The time zone to which the working hours apply."
    },
    "@odata.type": {
      "type": "string"
    }
  }
}