{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-graph/json-schema/microsoft-graph-microsoft-graph-user-experience-analytics-device-performance-schema.json",
  "title": "microsoft.graph.userExperienceAnalyticsDevicePerformance",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-devicemanagement-userexperienceanalyticsdeviceperformance-api-openapi.yml#/components/schemas/microsoft.graph.userExperienceAnalyticsDevicePerformance",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "userExperienceAnalyticsDevicePerformance",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "averageBlueScreens": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Average (mean) number of Blue Screens per device in the last 30 days. Valid values 0 to 9999999"
        },
        "averageRestarts": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Average (mean) number of Restarts per device in the last 30 days. Valid values 0 to 9999999"
        },
        "blueScreenCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of Blue Screens in the last 30 days. Valid values 0 to 9999999",
          "format": "int32"
        },
        "bootScore": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The user experience analytics device boot score.",
          "format": "int32"
        },
        "coreBootTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The user experience analytics device core boot time in milliseconds.",
          "format": "int32"
        },
        "coreLoginTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The user experience analytics device core login time in milliseconds.",
          "format": "int32"
        },
        "deviceCount": {
          "type": "number",
          "description": "User experience analytics summarized device count.",
          "format": "int64"
        },
        "deviceName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user experience analytics device name."
        },
        "diskType": {
          "$ref": "#/$defs/microsoft.graph.diskType"
        },
        "groupPolicyBootTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The user experience analytics device group policy boot time in milliseconds.",
          "format": "int32"
        },
        "groupPolicyLoginTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The user experience analytics device group policy login time in milliseconds.",
          "format": "int32"
        },
        "healthStatus": {
          "$ref": "#/$defs/microsoft.graph.userExperienceAnalyticsHealthState"
        },
        "loginScore": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The user experience analytics device login score.",
          "format": "int32"
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user experience analytics device manufacturer."
        },
        "model": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user experience analytics device model."
        },
        "modelStartupPerformanceScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "The user experience analytics model level startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
        },
        "operatingSystemVersion": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user experience analytics device Operating System version."
        },
        "responsiveDesktopTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The user experience analytics responsive desktop time in milliseconds.",
          "format": "int32"
        },
        "restartCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "Number of Restarts in the last 30 days. Valid values 0 to 9999999",
          "format": "int32"
        },
        "startupPerformanceScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "The user experience analytics device startup performance score. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "The user experience analytics device performance entity contains device boot performance details."
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.userExperienceAnalyticsDevicePerformance",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "microsoft.graph.diskType": {
      "title": "diskType",
      "enum": [
        "unknown",
        "hdd",
        "ssd",
        "unknownFutureValue"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "diskType",
        "modelAsString": false,
        "values": [
          {
            "value": "unknown",
            "description": "Enum member for unknown or default diskType.",
            "name": "unknown"
          },
          {
            "value": "hdd",
            "description": "Enum member for HDD devices.",
            "name": "hdd"
          },
          {
            "value": "ssd",
            "description": "Enum member for SSD devices.",
            "name": "ssd"
          },
          {
            "value": "unknownFutureValue",
            "description": "Evolvable enumeration sentinel value. Do not use.",
            "name": "unknownFutureValue"
          }
        ]
      }
    },
    "microsoft.graph.entity": {
      "title": "entity",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique identifier for an entity. Read-only."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    },
    "microsoft.graph.userExperienceAnalyticsHealthState": {
      "title": "userExperienceAnalyticsHealthState",
      "enum": [
        "unknown",
        "insufficientData",
        "needsAttention",
        "meetingGoals",
        "unknownFutureValue"
      ],
      "type": "string",
      "x-ms-enum": {
        "name": "userExperienceAnalyticsHealthState",
        "modelAsString": false,
        "values": [
          {
            "value": "unknown",
            "description": "Indicates that the health state is unknown.",
            "name": "unknown"
          },
          {
            "value": "insufficientData",
            "description": "Indicates that the health state is insufficient data.",
            "name": "insufficientData"
          },
          {
            "value": "needsAttention",
            "description": "Indicates that the health state needs attention.",
            "name": "needsAttention"
          },
          {
            "value": "meetingGoals",
            "description": "Indicates that the health state is meeting goals.",
            "name": "meetingGoals"
          },
          {
            "value": "unknownFutureValue",
            "description": "Evolvable enumeration sentinel value. Do not use.",
            "name": "unknownFutureValue"
          }
        ]
      }
    }
  }
}