{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-emulation-api-emulated-device-response-schema.json",
  "title": "Emulation_API_EmulatedDeviceResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-emulation-api-openapi.yml#/components/schemas/Emulation_API_EmulatedDeviceResponse",
  "allOf": [
    {
      "$ref": "#/$defs/Emulation_API_EmulatedDevice"
    },
    {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The device name"
        },
        "codeName": {
          "type": "string",
          "description": "A code corresponding to the device name."
        },
        "id": {
          "type": "string",
          "description": "ID of the emulated device."
        },
        "availableUserAgents": {
          "type": "array",
          "description": "A list of user-agent strings for this emulated device.",
          "items": {
            "type": "string"
          }
        },
        "defaultUserAgentTemplate": {
          "type": "string",
          "description": "The default user-agent template to use for this device."
        }
      }
    }
  ],
  "$defs": {
    "Emulation_API_EmulatedDevice": {
      "type": "object",
      "required": [
        "category",
        "width",
        "height"
      ],
      "properties": {
        "category": {
          "$ref": "#/$defs/Emulation_API_EmulatedDeviceCategory"
        },
        "width": {
          "type": "integer",
          "description": "The width of the display of the emulated device.",
          "minimum": 50,
          "maximum": 9999
        },
        "height": {
          "type": "integer",
          "description": "The height of the display of the emulated device.",
          "minimum": 50,
          "maximum": 9999
        }
      }
    },
    "Emulation_API_EmulatedDeviceCategory": {
      "type": "string",
      "description": "The type of device being emulated.",
      "enum": [
        "desktop",
        "laptop",
        "phone",
        "tablet"
      ]
    }
  }
}