{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Calendar",
  "title": "Calendar",
  "type": "object",
  "description": "A calendar which is a container for events.",
  "properties": {
    "id": {
      "type": "string",
      "readOnly": true,
      "description": "The unique identifier for the calendar.",
      "example": "abc123"
    },
    "name": {
      "type": "string",
      "description": "The calendar name.",
      "example": "Example Title"
    },
    "color": {
      "type": "string",
      "enum": [
        "auto",
        "lightBlue",
        "lightGreen",
        "lightOrange",
        "lightGray",
        "lightYellow",
        "lightTeal",
        "lightPink",
        "lightBrown",
        "lightRed",
        "maxColor"
      ],
      "description": "Specifies the color theme for the calendar.",
      "example": "auto"
    },
    "changeKey": {
      "type": "string",
      "readOnly": true,
      "description": "Identifies the version of the calendar object.",
      "example": "example_value"
    },
    "canEdit": {
      "type": "boolean",
      "readOnly": true,
      "description": "Whether the user can write to the calendar.",
      "example": true
    },
    "canShare": {
      "type": "boolean",
      "readOnly": true,
      "description": "Whether the user has permission to share the calendar.",
      "example": true
    },
    "canViewPrivateItems": {
      "type": "boolean",
      "readOnly": true,
      "description": "Whether the user can read calendar items marked as private.",
      "example": true
    },
    "isDefaultCalendar": {
      "type": "boolean",
      "readOnly": true,
      "description": "Whether this is the default calendar.",
      "example": true
    },
    "owner": {
      "$ref": "#/components/schemas/EmailAddress"
    },
    "hexColor": {
      "type": "string",
      "description": "The calendar color expressed in hex format of three six-digit values.",
      "example": "example_value"
    },
    "isRemovable": {
      "type": "boolean",
      "readOnly": true,
      "description": "Whether the calendar can be deleted from the user's mailbox.",
      "example": true
    },
    "isTallyingResponses": {
      "type": "boolean",
      "description": "Whether the calendar supports tracking of meeting responses.",
      "example": true
    },
    "allowedOnlineMeetingProviders": {
      "type": "array",
      "readOnly": true,
      "items": {
        "type": "string"
      },
      "description": "The online meeting service providers available for events in this calendar.",
      "example": []
    },
    "defaultOnlineMeetingProvider": {
      "type": "string",
      "description": "The default online meeting provider for meetings sent from this calendar.",
      "example": "example_value"
    }
  }
}