{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-entra/json-schema/microsoft-entra-directory-object-collection-response-schema.json",
  "title": "DirectoryObjectCollectionResponse",
  "description": "Paged collection of directory objects",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-entra-groups-api-openapi.yml#/components/schemas/DirectoryObjectCollectionResponse",
  "type": "object",
  "properties": {
    "@odata.context": {
      "type": "string"
    },
    "@odata.count": {
      "type": "integer"
    },
    "@odata.nextLink": {
      "type": "string",
      "format": "uri"
    },
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DirectoryObject"
      }
    }
  },
  "$defs": {
    "DirectoryObject": {
      "type": "object",
      "description": "Base type for many directory resources including users, groups, and service principals",
      "properties": {
        "@odata.type": {
          "type": "string",
          "description": "The OData type string for the directory object"
        },
        "id": {
          "type": "string",
          "description": "Unique identifier for the directory object"
        },
        "displayName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The display name of the directory object"
        }
      }
    }
  }
}