{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-endpoint-test-results-api-endpoint-network-topology-result-request-schema.json",
  "title": "Endpoint_Test_Results_API_EndpointNetworkTopologyResultRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-local-network-endpoint-test-results-api-openapi.yml#/components/schemas/Endpoint_Test_Results_API_EndpointNetworkTopologyResultRequest",
  "type": "object",
  "properties": {
    "thresholdFilter": {
      "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointNetworkTopologyThresholdFilter"
    },
    "searchFilters": {
      "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointNetworkTopologyResultRequestFilter"
    }
  },
  "$defs": {
    "Endpoint_Test_Results_API_ConditionalOperator": {
      "type": "string",
      "enum": [
        "and",
        "or"
      ]
    },
    "Endpoint_Test_Results_API_EndpointNetworkTopologyResultRequestFilter": {
      "allOf": [
        {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointResultRequestFilter"
        },
        {
          "type": "object",
          "properties": {
            "type": {
              "type": "array",
              "description": "Web site base domain visited during the session.",
              "items": {
                "$ref": "#/$defs/Endpoint_Test_Results_API_NetworkTopologyType"
              }
            }
          }
        }
      ]
    },
    "Endpoint_Test_Results_API_EndpointNetworkTopologyThresholdFilter": {
      "type": "object",
      "description": "Applies all filters using the specified conditional operator (AND or OR).",
      "properties": {
        "filters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Endpoint_Test_Results_API_LocalNetworksThresholdFilter"
          }
        },
        "conditionalOperator": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_ConditionalOperator"
        }
      }
    },
    "Endpoint_Test_Results_API_EndpointResultRequestFilter": {
      "type": "object",
      "properties": {
        "location": {
          "type": "array",
          "description": "Location of the endpoint agent.",
          "items": {
            "type": "string"
          }
        },
        "connection": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Endpoint_Test_Results_API_InterfaceHardwareType"
          }
        },
        "platform": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Endpoint_Test_Results_API_Platform"
          }
        },
        "gateway": {
          "type": "array",
          "description": "Endpoint agent default gateway IP address.",
          "items": {
            "type": "string"
          }
        },
        "proxyTarget": {
          "type": "array",
          "description": "Endpoint agent proxy IP address.",
          "items": {
            "type": "string"
          }
        },
        "vpnTarget": {
          "type": "array",
          "description": "Endpoint agent VPN endpoint IP address.",
          "items": {
            "type": "string"
          }
        },
        "agentId": {
          "type": "array",
          "description": "Endpoint agent ID.",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "networkId": {
          "type": "array",
          "description": "Network ID.",
          "items": {
            "type": "string"
          }
        },
        "ssid": {
          "type": "array",
          "description": "WiFi SSID.",
          "items": {
            "type": "string"
          }
        },
        "bssid": {
          "type": "array",
          "description": "WiFi BSSID.",
          "items": {
            "type": "string"
          }
        },
        "nicModel": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_NicModelFilter"
        },
        "nicDriverVersion": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_NicDriverVersionFilter"
        }
      }
    },
    "Endpoint_Test_Results_API_InterfaceHardwareType": {
      "type": "string",
      "enum": [
        "unknown",
        "wireless",
        "ethernet",
        "modem",
        "virtual",
        "loopback",
        "other"
      ]
    },
    "Endpoint_Test_Results_API_LocalNetworksThresholdFilter": {
      "type": "object",
      "description": "Filters the metric using the specified operator and threshold value.",
      "properties": {
        "name": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_LocalNetworksThresholdFilterName"
        },
        "value": {
          "type": "number",
          "description": "The threshold value.",
          "format": "double"
        },
        "operator": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_ThresholdFilterOperator"
        }
      }
    },
    "Endpoint_Test_Results_API_LocalNetworksThresholdFilterName": {
      "type": "string",
      "description": "Metric on which the threshold filter is applied.",
      "enum": [
        "vpn-score",
        "avg-rtt",
        "mean-dev-rtt",
        "loss"
      ]
    },
    "Endpoint_Test_Results_API_NetworkTopologyType": {
      "type": "string",
      "enum": [
        "vpn",
        "proxy",
        "gateway",
        "dns",
        "unknown"
      ]
    },
    "Endpoint_Test_Results_API_NicDriverVersionFilter": {
      "description": "Filters results to NIC driver versions that exactly match one of the provided values. Matching is case-sensitive.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "Endpoint_Test_Results_API_NicModelFilter": {
      "description": "Filters results to NIC models that exactly match one of the provided values. Matching is case-sensitive.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "Endpoint_Test_Results_API_Platform": {
      "description": "OS platform types. Platform \"linux\" was recently renamed to \"roomos\".",
      "type": "string",
      "enum": [
        "windows",
        "roomos",
        "phoneos",
        "elux",
        "cisco-wireless",
        "cisco-wireless-cloud",
        "linux",
        "mac",
        "android",
        "unknown"
      ]
    },
    "Endpoint_Test_Results_API_ThresholdFilterOperator": {
      "type": "string",
      "enum": [
        "gte",
        "lte"
      ]
    }
  }
}