{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/measure-sh/json-schema/measure-sh-device-sessions-row-schema.json",
  "title": "DeviceSessionsRow",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dashboard.yaml#/components/schemas/DeviceSessionsRow",
  "type": "object",
  "required": [
    "device_manufacturer",
    "device_model",
    "device_name",
    "session_count",
    "percent_of_sessions"
  ],
  "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."
    },
    "session_count": {
      "type": "integer",
      "minimum": 0,
      "description": "Sessions on the device that overlap the date range."
    },
    "percent_of_sessions": {
      "type": "number",
      "minimum": 0,
      "maximum": 100,
      "description": "The device's share of all matching sessions, as a percentage."
    }
  }
}