{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-sites-summary-analytics-request-schema.json",
  "title": "SitesSummaryAnalyticsRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-sitehealthsummaries-api-openapi.yml#/components/schemas/SitesSummaryAnalyticsRequest",
  "type": "object",
  "properties": {
    "startTime": {
      "$ref": "#/$defs/startTime"
    },
    "endTime": {
      "$ref": "#/$defs/endTime"
    },
    "views": {
      "type": "array",
      "description": "list of applied views",
      "items": {
        "$ref": "#/$defs/SiteHealthView"
      }
    },
    "attributes": {
      "type": "array",
      "description": "list of applied attributes",
      "items": {
        "$ref": "#/$defs/SiteHealthKey"
      }
    }
  },
  "$defs": {
    "SiteHealthKey": {
      "type": "string",
      "description": "Field names which are supported by this API as attributes or filter keys",
      "enum": [
        "id",
        "siteHierarchy",
        "siteHierarchyId",
        "siteType",
        "latitude",
        "longitude",
        "networkDeviceGoodHealthPercentage",
        "clientGoodHealthPercentage",
        "wiredClientGoodHealthPercentage",
        "wirelessClientGoodHealthPercentage",
        "clientCount",
        "clientGoodHealthCount",
        "wiredClientCount",
        "wirelessClientCount",
        "wiredClientGoodHealthCount",
        "wirelessClientGoodHealthCount",
        "networkDeviceCount",
        "networkDeviceGoodHealthCount",
        "accessDeviceCount",
        "accessDeviceGoodHealthCount",
        "coreDeviceCount",
        "coreDeviceGoodHealthCount",
        "distributionDeviceCount",
        "distributionDeviceGoodHealthCount",
        "routerDeviceCount",
        "routerDeviceGoodHealthCount",
        "wirelessDeviceCount",
        "wirelessDeviceGoodHealthCount",
        "apDeviceCount",
        "apDeviceGoodHealthCount",
        "wlcDeviceCount",
        "wlcDeviceGoodHealthCount",
        "switchDeviceCount",
        "switchDeviceGoodHealthCount",
        "accessDeviceGoodHealthPercentage",
        "coreDeviceGoodHealthPercentage",
        "distributionDeviceGoodHealthPercentage",
        "routerDeviceGoodHealthPercentage",
        "apDeviceGoodHealthPercentage",
        "wlcDeviceGoodHealthPercentage",
        "switchDeviceGoodHealthPercentage",
        "wirelessDeviceGoodHealthPercentage",
        "clientDataUsage",
        "p1IssueCount",
        "p2IssueCount",
        "p3IssueCount",
        "p4IssueCount",
        "issueCount"
      ]
    },
    "SiteHealthView": {
      "type": "string",
      "description": "Views which are supported by this API. Each view represents a specific data set.\n\n### Response data proviced by each view:  \n\n1. **site**\n[id, siteHierarchy, siteHierarchyId, siteType, latitude, longitude]  \n\n2. **network**\n[id, networkDeviceCount, networkDeviceGoodHealthCount,wirelessDeviceCount, wirelessDeviceGoodHealthCount, accessDeviceCount, accessDeviceGoodHealthCount, coreDeviceCount, coreDeviceGoodHealthCount, distributionDeviceCount, distributionDeviceGoodHealthCount, routerDeviceCount, routerDeviceGoodHealthCount, apDeviceCount, apDeviceGoodHealthCount, wlcDeviceCount, wlcDeviceGoodHealthCount, switchDeviceCount, switchDeviceGoodHealthCount, networkDeviceGoodHealthPercentage, accessDeviceGoodHealthPercentage, coreDeviceGoodHealthPercentage, distributionDeviceGoodHealthPercentage, routerDeviceGoodHealthPercentage, apDeviceGoodHealthPercentage, wlcDeviceGoodHealthPercentage, switchDeviceGoodHealthPercentage, wirelessDeviceGoodHealthPercentage]  \n\n3. **client**\n[id, clientCount, clientGoodHealthCount, wiredClientCount, wirelessClientCount, wiredClientGoodHealthCount, wirelessClientGoodHealthCount, clientGoodHealthPercentage, wiredClientGoodHealthPercentage, wirelessClientGoodHealthPercentage, clientDataUsage]  \n\n4. **issue**\n[id, p1IssueCount, p2IssueCount, p3IssueCount, p4IssueCount, issueCount]  \n\n\nWhen this list is not added the default summaries will be: \n\n**[site,client,network,issue]**\n",
      "enum": [
        "site",
        "client",
        "network",
        "issue"
      ]
    },
    "endTime": {
      "type": "integer",
      "description": "End time to which the API queries the dataset related to the resource. It must be specified in terms of milliseconds since UNIX epoch. Value is inclusive.",
      "format": "int64"
    },
    "startTime": {
      "type": "integer",
      "description": "Start time from which the API queries the dataset related to the resource. It must be specified in terms of milliseconds since UNIX epoch. Value is inclusive.",
      "format": "int64"
    }
  }
}