Microsoft Graph · Schema

microsoft.graph.site

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphsite-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.site",
  "title": "microsoft.graph.site",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.baseItem"
    },
    {
      "title": "site",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "displayName": {
          "type": "string",
          "description": "The full title for the site. Read-only.",
          "nullable": true
        },
        "error": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.publicError"
            },
            {
              "type": "object",
              "nullable": true
            }
          ]
        },
        "isPersonalSite": {
          "type": "boolean",
          "description": "Identifies whether the site is personal or not. Read-only.",
          "nullable": true
        },
        "root": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.root"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "If present, provides the root site in the site collection. Read-only."
        },
        "sharepointIds": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.sharepointIds"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Returns identifiers useful for SharePoint REST compatibility. Read-only."
        },
        "siteCollection": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.siteCollection"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Provides details about the site's site collection. Available only on the root site. Read-only."
        },
        "analytics": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.itemAnalytics"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Analytics about the view activities that took place on this site.",
          "x-ms-navigationProperty": true
        },
        "columns": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.columnDefinition"
          },
          "description": "The collection of column definitions reusable across lists under this site.",
          "x-ms-navigationProperty": true
        },
        "contentTypes": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.contentType"
          },
          "description": "The collection of content types defined for this site.",
          "x-ms-navigationProperty": true
        },
        "drive": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.drive"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The default drive (document library) for this site.",
          "x-ms-navigationProperty": true
        },
        "drives": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.drive"
          },
          "description": "The collection of drives (document libraries) under this site.",
          "x-ms-navigationProperty": true
        },
        "externalColumns": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.columnDefinition"
          },
          "x-ms-navigationProperty": true
        },
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.baseItem"
          },
          "description": "Used to address any item contained in this site. This collection can't be enumerated.",
          "x-ms-navigationProperty": true
        },
        "lists": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.list"
          },
          "description": "The collection of lists under this site.",
          "x-ms-navigationProperty": true
        },
        "onenote": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.onenote"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Calls the OneNote service for notebook related operations.",
          "x-ms-navigationProperty": true
        },
        "operations": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.richLongRunningOperation"
          },
          "description": "The collection of long-running operations on the site.",
          "x-ms-navigationProperty": true
        },
        "pages": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.baseSitePage"
          },
          "description": "The collection of pages in the baseSitePages list in this site.",
          "x-ms-navigationProperty": true
        },
        "permissions": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.permission"
          },
          "description": "The permissions associated with the site. Nullable.",
          "x-ms-navigationProperty": true
        },
        "sites": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.site"
          },
          "description": "The collection of the sub-sites under this site.",
          "x-ms-navigationProperty": true
        },
        "termStore": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.termStore.store"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The default termStore under this site.",
          "x-ms-navigationProperty": true
        },
        "termStores": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.termStore.store"
          },
          "description": "The collection of termStores under this site.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string",
          "default": "#microsoft.graph.site"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.site"
}