Microsoft Graph · Schema

microsoft.graph.directoryDefinition

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
discoverabilities object
discoveryDateTime string 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.
name string Name of the directory. Must be unique within the synchronization schema. Not nullable.
objects array Collection of objects supported by the directory.
readOnly boolean Whether this object is read-only.
version string Read only value that indicates version discovered. null if discovery hasn't yet occurred.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphdirectorydefinition-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.directoryDefinition",
  "title": "microsoft.graph.directoryDefinition",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "directoryDefinition",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "discoverabilities": {
          "$ref": "#/components/schemas/microsoft.graph.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/microsoft.graph.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"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-graph-microsoftgraphdirectorydefinition"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.