Microsoft Graph · Schema

DirectoryDefinition

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-directorydefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DirectoryDefinition",
  "title": "DirectoryDefinition",
  "allOf": [
    {
      "$ref": "#/components/schemas/Entity"
    },
    {
      "title": "directoryDefinition",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "discoverabilities": {
          "$ref": "#/components/schemas/DirectoryDefinitionDiscoverabilities"
        },
        "discoveryDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "Represents the discovery date and time using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.",
          "format": "date-time",
          "nullable": true
        },
        "name": {
          "type": "string",
          "description": "Name of the directory. Must be unique within the synchronization schema. Not nullable.",
          "nullable": true
        },
        "objects": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/ObjectDefinition"
          },
          "description": "Collection of objects supported by the directory."
        },
        "readOnly": {
          "type": "boolean",
          "description": "Whether this object is read-only."
        },
        "version": {
          "type": "string",
          "description": "Read only value that indicates version discovered. null if discovery hasn't yet occurred.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.directoryDefinition"
}