{
  "$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-scores-schema.json",
  "title": "microsoft.graph.userExperienceAnalyticsDeviceScores",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-devicemanagement-userexperienceanalyticsdevicescores-api-openapi.yml#/components/schemas/microsoft.graph.userExperienceAnalyticsDeviceScores",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "userExperienceAnalyticsDeviceScores",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "appReliabilityScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Indicates a score calculated from application health data to indicate when a device is having problems running one or more applications. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
        },
        "batteryHealthScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Indicates a calulated score indicating the health of the device's battery. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
        },
        "deviceName": {
          "type": [
            "string",
            "null"
          ],
          "description": "The name of the device. Supports: $select, $OrderBy. Read-only."
        },
        "endpointAnalyticsScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Indicates a weighted average of the various scores. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
        },
        "healthStatus": {
          "$ref": "#/$defs/microsoft.graph.userExperienceAnalyticsHealthState"
        },
        "manufacturer": {
          "type": [
            "string",
            "null"
          ],
          "description": "The manufacturer name of the device. Examples: Microsoft Corporation, HP, Lenovo. Supports: $select, $OrderBy. Read-only."
        },
        "model": {
          "type": [
            "string",
            "null"
          ],
          "description": "The model name of the device. Supports: $select, $OrderBy. Read-only."
        },
        "startupPerformanceScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Indicates a weighted average of boot score and logon score used for measuring startup performance. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
        },
        "workFromAnywhereScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "Indicates a weighted score of the work from anywhere on a device level. Valid values range from 0-100. Value -1 means associated score is unavailable. A higher score indicates a healthier device. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "The user experience analytics device scores entity consolidates the various Endpoint Analytics scores."
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.userExperienceAnalyticsDeviceScores",
  "$defs": {
    "ReferenceNumeric": {
      "enum": [
        "-INF",
        "INF",
        "NaN",
        null
      ],
      "type": [
        "string",
        "null"
      ]
    },
    "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"
          }
        ]
      }
    }
  }
}