{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/measure-sh/json-schema/measure-sh-device-errors-row-schema.json",
  "title": "DeviceErrorsRow",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dashboard.yaml#/components/schemas/DeviceErrorsRow",
  "type": "object",
  "required": [
    "device_manufacturer",
    "device_model",
    "device_name",
    "crash_count",
    "anr_count",
    "app_hang_count",
    "non_fatal_count",
    "error_count",
    "session_count"
  ],
  "properties": {
    "device_manufacturer": {
      "type": "string",
      "description": "Device manufacturer."
    },
    "device_model": {
      "type": "string",
      "description": "Device model, such as Pixel 8 or iPhone15,2."
    },
    "device_name": {
      "type": "string",
      "description": "The device name reported by most events for this model. A model may report more than one name."
    },
    "crash_count": {
      "type": "integer",
      "minimum": 0
    },
    "anr_count": {
      "type": "integer",
      "minimum": 0,
      "description": "ANRs. Only Android reports these."
    },
    "app_hang_count": {
      "type": "integer",
      "minimum": 0,
      "description": "App hangs. Only iOS and iPadOS report these."
    },
    "non_fatal_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Handled and unhandled exceptions."
    },
    "error_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Total errors on the device."
    },
    "session_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Sessions with at least one error."
    }
  }
}