{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "DeviceInsights",
  "type": "object",
  "description": "The insights details associated with the device.",
  "properties": {
    "uDeviceId": {
      "type": "string",
      "description": "The generated unique device identifier."
    },
    "lastSeen": {
      "type": "string",
      "description": "The ISO UTC timestamp when the device was last seen."
    },
    "firstSeen": {
      "type": "string",
      "description": "The ISO UTC timestamp when the device was first seen."
    },
    "lastSeenDays": {
      "type": "integer",
      "description": "Number of of days since the device was last seen. If the device has not been observed before, lastSeenDays will be 0."
    },
    "firstSeenDays": {
      "type": "integer",
      "description": "Number of days since the device was first seen. If the device has not been observed before, firstSeenDays will be 0."
    },
    "accountDeviceId": {
      "type": "string",
      "description": "This field contains the account device identification hash. If hashedAccountId (optional field) is not present in the request or the device resolved to a default UDID, the accountDeviceId field will be omitted from the response"
    },
    "alerts": {
      "type": "array"
    }
  }
}