{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-exchange/json-schema/microsoft-exchange-calendar-collection-response-schema.json",
  "title": "CalendarCollectionResponse",
  "description": "Collection of calendars",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-exchange-calendars-api-openapi.yml#/components/schemas/CalendarCollectionResponse",
  "type": "object",
  "properties": {
    "@odata.context": {
      "type": "string"
    },
    "@odata.nextLink": {
      "type": "string",
      "format": "uri"
    },
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Calendar"
      }
    }
  },
  "$defs": {
    "Calendar": {
      "type": "object",
      "description": "A container for event resources. Can be a user calendar or a group calendar.",
      "properties": {
        "id": {
          "type": "string",
          "readOnly": true,
          "description": "The calendar's unique identifier"
        },
        "name": {
          "type": "string",
          "description": "The calendar name"
        },
        "color": {
          "type": "string",
          "enum": [
            "auto",
            "lightBlue",
            "lightGreen",
            "lightOrange",
            "lightGray",
            "lightYellow",
            "lightTeal",
            "lightPink",
            "lightBrown",
            "lightRed",
            "maxColor"
          ],
          "description": "Specifies the color theme of the calendar in the UI"
        },
        "hexColor": {
          "type": "string",
          "readOnly": true,
          "description": "The calendar color in hex format"
        },
        "isDefaultCalendar": {
          "type": "boolean",
          "description": "Whether this is the default calendar for new events"
        },
        "changeKey": {
          "type": "string",
          "readOnly": true,
          "description": "Identifies the version of the calendar object"
        },
        "canEdit": {
          "type": "boolean",
          "readOnly": true,
          "description": "Whether the user can write to the calendar"
        },
        "canShare": {
          "type": "boolean",
          "readOnly": true,
          "description": "Whether the user can share the calendar"
        },
        "canViewPrivateItems": {
          "type": "boolean",
          "readOnly": true,
          "description": "Whether the user can read private calendar items"
        },
        "isRemovable": {
          "type": "boolean",
          "readOnly": true,
          "description": "Whether this user calendar can be deleted"
        },
        "isTallyingResponses": {
          "type": "boolean",
          "readOnly": true,
          "description": "Whether this calendar supports tracking meeting responses"
        },
        "owner": {
          "$ref": "#/$defs/EmailAddress"
        },
        "allowedOnlineMeetingProviders": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "unknown",
              "skypeForBusiness",
              "skypeForConsumer",
              "teamsForBusiness"
            ]
          },
          "description": "Online meeting providers available for this calendar"
        },
        "defaultOnlineMeetingProvider": {
          "type": "string",
          "enum": [
            "unknown",
            "skypeForBusiness",
            "skypeForConsumer",
            "teamsForBusiness"
          ],
          "description": "Default online meeting provider for this calendar"
        }
      }
    },
    "EmailAddress": {
      "type": "object",
      "description": "The name and email address of a person",
      "properties": {
        "name": {
          "type": "string",
          "description": "The display name"
        },
        "address": {
          "type": "string",
          "format": "email",
          "description": "The email address"
        }
      }
    }
  }
}