{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thousandeyes/json-schema/thousandeyes-endpoint-test-results-api-endpoint-tests-data-rounds-search-schema.json",
  "title": "Endpoint_Test_Results_API_EndpointTestsDataRoundsSearch",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thousandeyes-network-endpoint-scheduled-test-results-api-openapi.yml#/components/schemas/Endpoint_Test_Results_API_EndpointTestsDataRoundsSearch",
  "type": "object",
  "properties": {
    "searchSort": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestsDataSearchSort"
      }
    },
    "thresholdFilter": {
      "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestsDataThresholdFilters"
    },
    "searchFilters": {
      "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestsDataSearchFilter"
    }
  },
  "$defs": {
    "Endpoint_Test_Results_API_ConditionalOperator": {
      "type": "string",
      "enum": [
        "and",
        "or"
      ]
    },
    "Endpoint_Test_Results_API_EndpointTestsDataSearchFilter": {
      "type": "object",
      "properties": {
        "agentId": {
          "description": "Filter using the `agent-id`.",
          "type": "array",
          "items": {
            "type": "string",
            "format": "uuid"
          }
        },
        "userPrincipalName": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_UserPrincipalNameFilter"
        },
        "nicModel": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_NicModelFilter"
        },
        "nicDriverVersion": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_NicDriverVersionFilter"
        }
      }
    },
    "Endpoint_Test_Results_API_EndpointTestsDataSearchSort": {
      "type": "object",
      "properties": {
        "sort": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestsDataSearchSortKey"
        },
        "order": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_SortOrder"
        }
      }
    },
    "Endpoint_Test_Results_API_EndpointTestsDataSearchSortKey": {
      "type": "string",
      "enum": [
        "round-id",
        "loss",
        "latency",
        "jitter",
        "cpu",
        "memory",
        "signal-quality"
      ]
    },
    "Endpoint_Test_Results_API_EndpointTestsDataThresholdFilter": {
      "type": "object",
      "description": "The metric is filtered based on the threshold value and operator provided.",
      "properties": {
        "name": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_ThresholdFilterName"
        },
        "value": {
          "type": "number",
          "description": "The threshold value.",
          "format": "double"
        },
        "operator": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_ThresholdFilterOperator"
        }
      }
    },
    "Endpoint_Test_Results_API_EndpointTestsDataThresholdFilters": {
      "type": "object",
      "description": "All filters are applied based on the conditional operator (and/or).",
      "properties": {
        "filters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Endpoint_Test_Results_API_EndpointTestsDataThresholdFilter"
          }
        },
        "conditionalOperator": {
          "$ref": "#/$defs/Endpoint_Test_Results_API_ConditionalOperator"
        }
      }
    },
    "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_SortOrder": {
      "type": "string",
      "description": "Parameter indicates the ascending/descending  order of the sorting, using either the asc or desc values.",
      "enum": [
        "asc",
        "desc"
      ]
    },
    "Endpoint_Test_Results_API_ThresholdFilterName": {
      "type": "string",
      "description": "Metric on which the threshold filter is applied.",
      "enum": [
        "loss",
        "latency",
        "jitter",
        "cpu",
        "memory",
        "signal-quality",
        "application-score",
        "zta-ingress-loss",
        "zta-service-loss",
        "zta-ingress-avg-latency",
        "zta-service-avg-latency",
        "zta-ingress-jitter",
        "zta-service-jitter"
      ]
    },
    "Endpoint_Test_Results_API_ThresholdFilterOperator": {
      "type": "string",
      "enum": [
        "gte",
        "lte"
      ]
    },
    "Endpoint_Test_Results_API_UserPrincipalName": {
      "type": "string",
      "description": "User login name in Internet-style format, typically used in Active Directory environments."
    },
    "Endpoint_Test_Results_API_UserPrincipalNameFilter": {
      "description": "Filters results based on an array of `userPrincipalName` values.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/Endpoint_Test_Results_API_UserPrincipalName"
      }
    }
  }
}