{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-transit-network-summary-trend-schema.json",
  "title": "transitNetworkSummaryTrend",
  "description": "Transit Networks score Response",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-transitnetworkhealthsummaries-api-openapi.yml#/components/schemas/transitNetworkSummaryTrend",
  "type": "object",
  "properties": {
    "response": {
      "type": "array",
      "description": "Successfully return list of Transit networks health trend data",
      "items": {
        "$ref": "#/$defs/TransitNetworkTrend"
      }
    },
    "page": {
      "$ref": "#/$defs/TimeBasedPagination"
    },
    "version": {
      "type": "string"
    }
  },
  "$defs": {
    "TimeBasedPagination": {
      "type": "object",
      "properties": {
        "limit": {
          "minimum": 1,
          "type": "integer",
          "description": "Number of records to fetch in a page"
        },
        "offset": {
          "minimum": 1,
          "type": "integer",
          "description": "Starting offset of data to fetch and returned",
          "default": 1
        },
        "timeSortOrder": {
          "type": "string",
          "description": "Sort order. `asc` for ascending and  `desc` for descending",
          "default": "asc",
          "enum": [
            "asc",
            "desc"
          ]
        },
        "count": {
          "type": "integer",
          "description": "Number of records returned after applying applicable filtering. Field is ignored for request and updated by API in the response"
        }
      }
    },
    "TransitNetworkAnalyticsAttribute": {
      "type": "string",
      "description": "Supported filter attributes related to clients",
      "enum": [
        "goodHealthPercentage",
        "goodHealthDeviceCount",
        "totalDeviceCount",
        "poorHealthDeviceCount",
        "fairHealthDeviceCount",
        "transitControlPlaneHealthPercentage",
        "transitControlPlaneTotalDeviceCount",
        "transitControlPlaneGoodHealthDeviceCount",
        "transitControlPlanePoorHealthDeviceCount",
        "transitControlPlaneFairHealthDeviceCount",
        "transitServicesHealthPercentage",
        "transitServicesTotalDeviceCount",
        "transitServicesGoodHealthDeviceCount",
        "transitServicesPoorHealthDeviceCount",
        "transitServicesFairHealthDeviceCount",
        "pubsubTransitHealthPercentage",
        "pubsubTransitTotalDeviceCount",
        "pubsubTransitGoodHealthDeviceCount",
        "pubsubTransitPoorHealthDeviceCount",
        "pubsubTransitFairHealthDeviceCount",
        "lispTransitHealthPercentage",
        "lispTransitTotalDeviceCount",
        "lispTransitGoodHealthDeviceCount",
        "lispTransitPoorHealthDeviceCount",
        "lispTransitFairHealthDeviceCount",
        "internetAvailTransitHealthPercentage",
        "internetAvailTransitTotalDeviceCount",
        "internetAvailTransitGoodHealthDeviceCount",
        "internetAvailTransitPoorHealthDeviceCount",
        "internetAvailTransitFairHealthDeviceCount",
        "bgpTcpHealthPercentage",
        "bgpTcpTotalDeviceCount",
        "bgpTcpGoodHealthDeviceCount",
        "bgpTcpPoorHealthDeviceCount",
        "bgpTcpFairHealthDeviceCount"
      ]
    },
    "TransitNetworkAttributeValuePair": {
      "type": "object",
      "properties": {
        "name": {
          "$ref": "#/$defs/TransitNetworkAnalyticsAttribute"
        },
        "value": {
          "type": "object",
          "description": "This is the value of the attribute requested for analytics API."
        }
      }
    },
    "TransitNetworkTrend": {
      "type": "object",
      "properties": {
        "timestamp": {
          "type": "integer",
          "description": "For trend API timestamp is the default groupBy attribute.",
          "format": "int64"
        },
        "attributes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TransitNetworkAttributeValuePair"
          }
        }
      },
      "description": "The aggregate trend response includes timestamp, attributes, aggregateAttributes, and group attributes. The attributes aggregateAttributes and groups are mutually exclusive. If a user requests trends without groupBy attributes, the response includes timestamp, attributes, and aggregateAttributes. However, if a user requests trends with groupBy attributes, the response includes timestamp, and the groups array contains attributes and aggregatedAttributes for each array element.\n"
    }
  }
}