{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-network-application-summary-response-schema.json",
  "title": "NetworkApplicationSummaryResponse",
  "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/NetworkApplicationSummaryResponse",
  "type": "object",
  "properties": {
    "response": {
      "$ref": "#/$defs/NetworkApplicationsGroupsResponse"
    },
    "page": {
      "$ref": "#/$defs/NetworkApplicationPaginationWithAggregate"
    },
    "version": {
      "type": "string",
      "description": "The version of the response"
    }
  },
  "$defs": {
    "NetworkApplicationAggregateAttributeResponse": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the requested aggregate attribute"
        },
        "function": {
          "type": "string",
          "description": "Aggregate function requested for the attribute"
        },
        "value": {
          "type": "object",
          "description": "This is the aggregate value of the attribute after applying the function on the dataset"
        }
      }
    },
    "NetworkApplicationAggregateAttributesResponse": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NetworkApplicationAggregateAttributeResponse"
      }
    },
    "NetworkApplicationAnalyticsAttributeResponse": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Name of the attribute requested for analytics API."
        },
        "value": {
          "type": "object",
          "description": "This is the value of the attribute requested for analytics API."
        }
      }
    },
    "NetworkApplicationAnalyticsAttributesResponse": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NetworkApplicationAnalyticsAttributeResponse"
      }
    },
    "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"
    },
    "NetworkApplicationsGroupResponse": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "This is the group key. Unique value to identify the group. It is concatenation of groupBy attributes"
        },
        "attributes": {
          "$ref": "#/$defs/NetworkApplicationAnalyticsAttributeResponse"
        },
        "aggregateAttributes": {
          "$ref": "#/$defs/NetworkApplicationAggregateAttributesResponse"
        }
      }
    },
    "NetworkApplicationsGroupsResponse": {
      "type": "object",
      "properties": {
        "attributes": {
          "$ref": "#/$defs/NetworkApplicationAnalyticsAttributesResponse"
        },
        "aggregateAttributes": {
          "$ref": "#/$defs/NetworkApplicationAggregateAttributesResponse"
        },
        "groups": {
          "type": "array",
          "description": "Additional groups and respective attributes under the group.\nThe attributes comprising of each group are added to attributes list.\n",
          "items": {
            "$ref": "#/$defs/NetworkApplicationsGroupResponse"
          }
        }
      },
      "description": "Network Application Summary response contains attributes, aggregateAttributes and groups\nattributes, aggregatedAttributes and groups are mutually exclusive.\nIf user requests for summary without groupBy attributes then response includes attributes, aggregateAttributes\nIf user requests for summary with groupBy attributes then response then includes groups array contain attributes, aggregatedAttributes for each array element \n"
    }
  }
}