{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ad/json-schema/azure-ad-microsoft-graph-device-metadata-schema.json",
  "title": "deviceMetadata",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ad-users-userdatasecurityandgovernance-api-openapi.yml#/components/schemas/microsoft.graph.deviceMetadata",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "deviceType": {
      "type": [
        "string",
        "null"
      ],
      "description": "Optional. The general type of the device (for example, 'Managed', 'Unmanaged')."
    },
    "ipAddress": {
      "type": [
        "string",
        "null"
      ],
      "description": "The Internet Protocol (IP) address of the device."
    },
    "operatingSystemSpecifications": {
      "anyOf": [
        {
          "$ref": "#/$defs/microsoft.graph.operatingSystemSpecifications"
        },
        {
          "type": [
            "object",
            "null"
          ]
        }
      ],
      "description": "Details about the operating system platform and version."
    },
    "@odata.type": {
      "type": "string"
    }
  },
  "$defs": {
    "microsoft.graph.operatingSystemSpecifications": {
      "title": "operatingSystemSpecifications",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "operatingSystemPlatform": {
          "type": "string",
          "description": "The platform of the operating system (for example, 'Windows')."
        },
        "operatingSystemVersion": {
          "type": "string",
          "description": "The version string of the operating system."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  }
}