{
  "$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-startup-history-schema.json",
  "title": "microsoft.graph.userExperienceAnalyticsDeviceStartupHistory",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-graph-devicemanagement-userexperienceanalyticsdevicestartuphistory-api-openapi.yml#/components/schemas/microsoft.graph.userExperienceAnalyticsDeviceStartupHistory",
  "allOf": [
    {
      "$ref": "#/$defs/microsoft.graph.entity"
    },
    {
      "title": "userExperienceAnalyticsDeviceStartupHistory",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "coreBootTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The device core boot time in milliseconds. Supports: $select, $OrderBy. Read-only.",
          "format": "int32"
        },
        "coreLoginTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The device core login time in milliseconds. Supports: $select, $OrderBy. Read-only.",
          "format": "int32"
        },
        "deviceId": {
          "type": [
            "string",
            "null"
          ],
          "description": "The Intune device id of the device. Supports: $select, $OrderBy. Read-only."
        },
        "featureUpdateBootTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The impact of device feature updates on boot time in milliseconds. Supports: $select, $OrderBy. Read-only.",
          "format": "int32"
        },
        "groupPolicyBootTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The impact of device group policy client on boot time in milliseconds. Supports: $select, $OrderBy. Read-only.",
          "format": "int32"
        },
        "groupPolicyLoginTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The impact of device group policy client on login time in milliseconds. Supports: $select, $OrderBy. Read-only.",
          "format": "int32"
        },
        "isFeatureUpdate": {
          "type": "boolean",
          "description": "When TRUE, indicates the device boot record is associated with feature updates. When FALSE, indicates the device boot record is not associated with feature updates. Supports: $select, $OrderBy. Read-only."
        },
        "isFirstLogin": {
          "type": "boolean",
          "description": "When TRUE, indicates the device login is the first login after a reboot. When FALSE, indicates the device login is not the first login after a reboot. Supports: $select, $OrderBy. Read-only."
        },
        "operatingSystemVersion": {
          "type": [
            "string",
            "null"
          ],
          "description": "The user experience analytics device boot record's operating system version. Supports: $select, $OrderBy. Read-only."
        },
        "responsiveDesktopTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The time for desktop to become responsive during login process in milliseconds. Supports: $select, $OrderBy. Read-only.",
          "format": "int32"
        },
        "restartCategory": {
          "$ref": "#/$defs/microsoft.graph.userExperienceAnalyticsOperatingSystemRestartCategory"
        },
        "restartFaultBucket": {
          "type": [
            "string",
            "null"
          ],
          "description": "OS restart fault bucket. The fault bucket is used to find additional information about a system crash. Supports: $select, $OrderBy. Read-only."
        },
        "restartStopCode": {
          "type": [
            "string",
            "null"
          ],
          "description": "OS restart stop code. This shows the bug check code which can be used to look up the blue screen reason. Supports: $select, $OrderBy. Read-only."
        },
        "startTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "The device boot start time. The value cannot be modified and is automatically populated when the device performs a reboot. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2022 would look like this: '2022-01-01T00:00:00Z'. Returned by default. Read-only.",
          "format": "date-time"
        },
        "totalBootTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The device total boot time in milliseconds. Supports: $select, $OrderBy. Read-only.",
          "format": "int32"
        },
        "totalLoginTimeInMs": {
          "maximum": 2147483647,
          "minimum": -2147483648,
          "type": "number",
          "description": "The device total login time in milliseconds. Supports: $select, $OrderBy. Read-only.",
          "format": "int32"
        },
        "@odata.type": {
          "type": "string"
        }
      },
      "description": "The user experience analytics device startup history entity contains device boot performance history details."
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.userExperienceAnalyticsDeviceStartupHistory",
  "$defs": {
    "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.userExperienceAnalyticsOperatingSystemRestartCategory": {
      "title": "userExperienceAnalyticsOperatingSystemRestartCategory",
      "enum": [
        "unknown",
        "restartWithUpdate",
        "restartWithoutUpdate",
        "blueScreen",
        "shutdownWithUpdate",
        "shutdownWithoutUpdate",
        "longPowerButtonPress",
        "bootError",
        "update",
        "unknownFutureValue"
      ],
      "type": "string",
      "description": "Operating System restart category.",
      "x-ms-enum": {
        "name": "userExperienceAnalyticsOperatingSystemRestartCategory",
        "modelAsString": false,
        "values": [
          {
            "value": "unknown",
            "description": "Default. Set to unknown if device operating system restart category has not yet been calculated.",
            "name": "unknown"
          },
          {
            "value": "restartWithUpdate",
            "description": "Indicates that the device operating system restart is along with an update.",
            "name": "restartWithUpdate"
          },
          {
            "value": "restartWithoutUpdate",
            "description": "Indicates that the device operating system restart is without update.",
            "name": "restartWithoutUpdate"
          },
          {
            "value": "blueScreen",
            "description": "Indicates that the device operating system restart is due to a specific stop error.",
            "name": "blueScreen"
          },
          {
            "value": "shutdownWithUpdate",
            "description": "Indicates that the device operating system restart is due to shutdown with update.",
            "name": "shutdownWithUpdate"
          },
          {
            "value": "shutdownWithoutUpdate",
            "description": "Indicates that the device operating system restart is due to shutdown without update.",
            "name": "shutdownWithoutUpdate"
          },
          {
            "value": "longPowerButtonPress",
            "description": "Indicates that the device operating system restart is due to update long power-button press.",
            "name": "longPowerButtonPress"
          },
          {
            "value": "bootError",
            "description": "Indicates that the device operating system restart is due to boot error.",
            "name": "bootError"
          },
          {
            "value": "update",
            "description": "Indicates that the device operating system restarted after an update.",
            "name": "update"
          },
          {
            "value": "unknownFutureValue",
            "description": "Evolvable enumeration sentinel value. Do not use.",
            "name": "unknownFutureValue"
          }
        ]
      }
    }
  }
}