Microsoft Graph · Schema

recurrencePattern

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks

Properties

Name Type Description
dayOfMonth number The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly.
daysOfWeek array A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, a
firstDayOfWeek object The first day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly.
index object Specifies on which instance of the allowed days specified in daysOfWeek the event occurs, counted from the first instance in the month. The possible values are: first, second, third, fourth, last. Def
interval number The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required.
month number The month in which the event occurs. This is a number from 1 to 12.
type object The recurrence pattern type: daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly. Required. For more information, see values of type property.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphrecurrencepattern-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.recurrencePattern",
  "title": "recurrencePattern",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "dayOfMonth": {
      "maximum": 2147483647,
      "minimum": -2147483648,
      "type": "number",
      "description": "The day of the month on which the event occurs. Required if type is absoluteMonthly or absoluteYearly.",
      "format": "int32"
    },
    "daysOfWeek": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/microsoft.graph.dayOfWeek"
          },
          {
            "type": "object",
            "nullable": true
          }
        ]
      },
      "description": "A collection of the days of the week on which the event occurs. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. If type is relativeMonthly or relativeYearly, and daysOfWeek specifies more than one day, the event falls on the first day that satisfies the pattern.  Required if type is weekly, relativeMonthly, or relativeYearly."
    },
    "firstDayOfWeek": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.dayOfWeek"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The first day of the week. The possible values are: sunday, monday, tuesday, wednesday, thursday, friday, saturday. Default is sunday. Required if type is weekly."
    },
    "index": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.weekIndex"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "Specifies on which instance of the allowed days specified in daysOfWeek the event occurs, counted from the first instance in the month. The possible values are: first, second, third, fourth, last. Default is first. Optional and used if type is relativeMonthly or relativeYearly."
    },
    "interval": {
      "maximum": 2147483647,
      "minimum": -2147483648,
      "type": "number",
      "description": "The number of units between occurrences, where units can be in days, weeks, months, or years, depending on the type. Required.",
      "format": "int32"
    },
    "month": {
      "maximum": 2147483647,
      "minimum": -2147483648,
      "type": "number",
      "description": "The month in which the event occurs.  This is a number from 1 to 12.",
      "format": "int32"
    },
    "type": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.recurrencePatternType"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The recurrence pattern type: daily, weekly, absoluteMonthly, relativeMonthly, absoluteYearly, relativeYearly. Required. For more information, see values of type property."
    },
    "@odata.type": {
      "type": "string"
    }
  }
}