{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/at-t-developer-hub/refs/heads/main/json-structure/network-insights-api-device-structure.json",
  "description": "Device identifier for network metrics queries",
  "type": "object",
  "properties": {
    "phoneNumber": {
      "type": "string",
      "description": "Mobile phone number in E.164 format",
      "example": "+12125551234"
    },
    "ipv4Address": {
      "type": "object",
      "description": "Device IP address (alternative to phoneNumber)",
      "properties": {
        "publicAddress": {
          "type": "string",
          "example": "203.0.113.42"
        }
      }
    }
  },
  "name": "Device"
}