{
  "$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-app-health-device-model-performance-schema.json",
  "title": "microsoft.graph.userExperienceAnalyticsAppHealthDeviceModelPerformance",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-devicemanagement-userexperienceanalyticsapphealthdevicemodelperformance-api-openapi.yml#/components/schemas/microsoft.graph.userExperienceAnalyticsAppHealthDeviceModelPerformance",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "userExperienceAnalyticsAppHealthDeviceModelPerformance",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "activeDeviceCount": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The number of active devices for the model. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647",
          "format": "int32"
        },
        "deviceManufacturer": {
          "type": [
            "string",
            "null"
          ],
          "description": "The manufacturer name of the device. Supports: $select, $OrderBy. Read-only."
        },
        "deviceModel": {
          "type": [
            "string",
            "null"
          ],
          "description": "The model name of the device. Supports: $select, $OrderBy. Read-only."
        },
        "healthStatus": {
          "$ref": "#/$defs/microsoft.graph.userExperienceAnalyticsHealthState"
        },
        "meanTimeToFailureInMinutes": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The mean time to failure for the application in minutes. Valid values 0 to 2147483647. Supports: $filter, $select, $OrderBy. Read-only. Valid values -2147483648 to 2147483647",
          "format": "int32"
        },
        "modelAppHealthScore": {
          "oneOf": [
            {
              "type": [
                "number",
                "null"
              ],
              "format": "double"
            },
            {
              "type": [
                "string",
                "null"
              ]
            },
            {
              "$ref": "#/$defs/ReferenceNumeric"
            }
          ],
          "description": "The application health score of the device model. Valid values 0 to 100. Supports: $filter, $select, $OrderBy. Read-only. Valid values -1.79769313486232E+308 to 1.79769313486232E+308"
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "The user experience analytics device model performance entity contains device model performance details."
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.userExperienceAnalyticsAppHealthDeviceModelPerformance",
  "$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"
          }
        ]
      }
    }
  }
}