{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-network-applications-response-model-schema.json",
  "title": "NetworkApplicationsResponseModel",
  "description": "Collection of application experience records",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-networkapplications-api-openapi.yml#/components/schemas/NetworkApplicationsResponseModel",
  "type": "object",
  "properties": {
    "response": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NetworkApplication"
      }
    },
    "page": {
      "$ref": "#/$defs/NetworkApplicationPaginationWithAggregate"
    },
    "version": {
      "type": "string",
      "description": "The version of the response"
    }
  },
  "$defs": {
    "ApplicationName": {
      "type": "string",
      "description": "Name of the application for which the experience data is intended.\n    "
    },
    "NetworkApplication": {
      "type": "object",
      "description": "Application Experience details",
      "allOf": [
        {
          "$ref": "#/$defs/NetworkApplicationBasic"
        },
        {
          "$ref": "#/$defs/NetworkApplicationCommonDetail"
        }
      ]
    },
    "NetworkApplicationBasic": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique ID of the application, that is application name"
        },
        "applicationName": {
          "$ref": "#/$defs/ApplicationName"
        },
        "ssid": {
          "$ref": "#/$defs/ssid"
        },
        "siteId": {
          "type": "string",
          "description": "Unique ID of the site."
        },
        "exporterIpAddress": {
          "type": "string",
          "description": "IP address of the netflow exporter device."
        },
        "exporterNetworkDeviceId": {
          "type": "string",
          "description": "Unique ID of the netflow exporter device."
        },
        "businessRelevance": {
          "type": "string",
          "description": "The application can be chosen to be categorized as business-relevant, irrelevant, or default (neutral). By doing so, the assurance application prioritizes the monitoring and analysis of business-relevant data, ensuring critical insights are captured. Applications marked as irrelevant or default are selectively excluded from certain data sets, streamlining focus on what's most important for business outcomes."
        }
      },
      "description": "Basic information about the network application"
    },
    "NetworkApplicationCommonDetail": {
      "type": "object",
      "properties": {
        "usage": {
          "type": "integer",
          "description": "The number of bytes transferred for the application.",
          "format": "int64"
        },
        "throughput": {
          "type": "number",
          "description": "The rate of application traffic per second between the client and server, measured in bits per second."
        },
        "healthScore": {
          "type": "integer",
          "description": "The health score of the application, has value in the range of 1 to 10."
        },
        "packetLossPercent": {
          "type": "number",
          "description": "The percentage of packet loss. This metric applies only to TCP-based and RTP-based applications. In TCP it is based on client retransmission, in RTP it is based on sequence number."
        },
        "networkLatency": {
          "type": "number",
          "description": "The average network latency time, in milliseconds. This metric applies only to TCP-based applications."
        },
        "applicationServerLatency": {
          "type": "number",
          "description": "The time it takes for the application server to respond to the first application request from the client, in milliseconds. This metric applies only to TCP-based applications."
        },
        "clientNetworkLatency": {
          "type": "number",
          "description": "The client RTT (round trip time), in milliseconds. This metric applies only to TCP-based applications."
        },
        "serverNetworkLatency": {
          "type": "number",
          "description": "The server RTT (round trip time), in milliseconds. This metric applies only to TCP-based applications."
        },
        "trafficClass": {
          "type": "string",
          "description": "Traffic Class of the application"
        },
        "jitter": {
          "type": "number",
          "description": "The variance in time delay between data packets over your network, in milliseconds. This metric applies only to RTP-based applications."
        },
        "ssid": {
          "type": "string",
          "description": "In the context of a network application, SSID refers to the name of the wireless network to which the client connects."
        }
      },
      "description": "Network application experience information"
    },
    "NetworkApplicationPaginationWithAggregate": {
      "type": "object",
      "properties": {
        "limit": {
          "maximum": 500,
          "minimum": 1,
          "type": "integer",
          "description": "Number of records to fetch in a page",
          "default": 100
        },
        "offset": {
          "minimum": 1,
          "type": "integer",
          "description": "Starting offset of data to fetch and returned",
          "default": 1
        },
        "cursor": {
          "type": "string",
          "description": "It's an opaque string field that indicates the next record in the requested collection. If no records remain, the API returns a response with a count of zero. The default value is an empty string, and the initial value must be an empty string. The cursor value is populated by the API in the response page block. If the user wants more records, the cursor in the subsequent request must be updated with the value from the previous response."
        },
        "count": {
          "type": "integer",
          "description": "Total number of records related to the resource after applying applicable filtering. Field is ignored for request and updated by API in the response"
        },
        "sortBy": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NetworkApplicationSortByObj"
          }
        }
      }
    },
    "NetworkApplicationSortByObj": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Attributes related to network application resource that can be used to sort the response.",
          "enum": [
            "applicationName",
            "siteId",
            "exporterIpAddress",
            "exporterNetworkDeviceId",
            "businessRelevance",
            "usage",
            "throughput",
            "packetLossPercent",
            "networkLatency",
            "applicationServerLatency",
            "clientNetworkLatency",
            "serverNetworkLatency",
            "trafficClass",
            "jitter",
            "ssid",
            "healthScore"
          ]
        },
        "function": {
          "type": "string",
          "description": "Type of aggregate function to apply on the field when querying data",
          "enum": [
            "min",
            "max",
            "avg",
            "count",
            "latest",
            "sum",
            "distinctCount"
          ]
        },
        "order": {
          "type": "string",
          "description": "Sort order. 'asc' for ascending and 'desc' for descending",
          "enum": [
            "asc",
            "desc"
          ]
        }
      },
      "description": "This is a unified sortBy model for attributes and aggregate attributes request. If function is specified then API will sort the colllection on  aggregated attribute. If function is not specified API will sort the collection on attribute.\n"
    },
    "ssid": {
      "type": "string",
      "description": "In the context of a network application, SSID refers to the name of the wireless network to which the client connects."
    }
  }
}