{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-site-health-summaries-schema.json",
  "title": "siteHealthSummaries",
  "description": "Site health summaries response model",
  "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/siteHealthSummaries",
  "type": "object",
  "properties": {
    "response": {
      "type": "array",
      "description": "Successfully returned list of Sites\n",
      "items": {
        "$ref": "#/$defs/SiteHealthSummary"
      }
    },
    "page": {
      "$ref": "#/$defs/PaginationResponse"
    },
    "version": {
      "type": "string"
    }
  },
  "$defs": {
    "PaginationResponse": {
      "type": "object",
      "properties": {
        "limit": {
          "type": "integer",
          "description": "The reference to the limit applied in the Pagination   Request."
        },
        "offset": {
          "type": "integer",
          "description": "The reference to the record offset applied in the   Pagination Request."
        },
        "count": {
          "type": "integer",
          "description": "Total number of records related to the resource after   applying applicable filtering"
        },
        "sortBy": {
          "type": "array",
          "description": "Reference to the sortBy that was applied in the Pagination   Request.",
          "items": {
            "$ref": "#/$defs/PaginationResponse_sortBy"
          }
        }
      }
    },
    "PaginationResponse_sortBy": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Field name by which sort is requested"
        },
        "order": {
          "type": "string",
          "description": "Sort order. 'asc' for ascending and 'desc' for   descending",
          "enum": [
            "asc",
            "desc"
          ]
        }
      },
      "description": "List of field names and corresponding order used to sort   the records."
    },
    "SiteHealthSummary": {
      "required": [
        "id"
      ],
      "type": "object",
      "properties": {
        "networkDeviceGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of network devices that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "networkDeviceGoodHealthCount": {
          "type": "integer",
          "description": "the number of network devices that are considered healthy",
          "format": "int64"
        },
        "clientGoodHealthCount": {
          "type": "integer",
          "description": "the number of clients that are considered healthy",
          "format": "int64"
        },
        "clientGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of clients (wired and wireless) that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "wiredClientGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of wired clients that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "wirelessClientGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of wireless clients that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "clientCount": {
          "type": "integer",
          "description": "the total number of clients (wired and wireless)",
          "format": "int64"
        },
        "wiredClientCount": {
          "type": "integer",
          "description": "the total number of wired clients",
          "format": "int64"
        },
        "wirelessClientCount": {
          "type": "integer",
          "description": "the total number of wireless clients",
          "format": "int64"
        },
        "wiredClientGoodHealthCount": {
          "type": "integer",
          "description": "the number of wired clients that are considered healthy",
          "format": "int64"
        },
        "wirelessClientGoodHealthCount": {
          "type": "integer",
          "description": "the number of wireless clients that are considered healthy",
          "format": "int64"
        },
        "networkDeviceCount": {
          "type": "integer",
          "description": "the total number of network devices",
          "format": "int64"
        },
        "accessDeviceCount": {
          "type": "integer",
          "description": "the total number of network devices defined under the \"access\" grouping",
          "format": "int64"
        },
        "accessDeviceGoodHealthCount": {
          "type": "integer",
          "description": "the number of network devices defined under the \"access\" grouping that are considered healthy",
          "format": "int64"
        },
        "coreDeviceCount": {
          "type": "integer",
          "description": "the total number of network devices defined under the \"core\" grouping",
          "format": "int64"
        },
        "coreDeviceGoodHealthCount": {
          "type": "integer",
          "description": "the number of network devices defined under the \"core\" grouping that are considered healthy",
          "format": "int64"
        },
        "distributionDeviceCount": {
          "type": "integer",
          "description": "the total number of network devices defined under the \"distribution\" grouping",
          "format": "int64"
        },
        "distributionDeviceGoodHealthCount": {
          "type": "integer",
          "description": "the number of network devices defined under the \"distribution\" grouping that are considered healthy",
          "format": "int64"
        },
        "routerDeviceCount": {
          "type": "integer",
          "description": "the total number of network devices defined under the \"router\" grouping",
          "format": "int64"
        },
        "routerDeviceGoodHealthCount": {
          "type": "integer",
          "description": "the number of network devices defined under the \"router\" grouping that are considered healthy",
          "format": "int64"
        },
        "wirelessDeviceCount": {
          "type": "integer",
          "description": "the total number of network devices defined under the \"wireless\" grouping",
          "format": "int64"
        },
        "wirelessDeviceGoodHealthCount": {
          "type": "integer",
          "description": "the number of network devices defined under the \"wireless\" grouping that are considered healthy",
          "format": "int64"
        },
        "apDeviceCount": {
          "type": "integer",
          "description": "the total number of network devices defined under the \"ap\" (Access Point) grouping",
          "format": "int64"
        },
        "apDeviceGoodHealthCount": {
          "type": "integer",
          "description": "the number of network devices defined under the \"ap\" (Access Point) grouping that are considered healthy",
          "format": "int64"
        },
        "wlcDeviceCount": {
          "type": "integer",
          "description": "the total number of network devices defined under the \"wlc\" (Wireless Controller) grouping",
          "format": "int64"
        },
        "wlcDeviceGoodHealthCount": {
          "type": "integer",
          "description": "the number of network devices defined under the \"wlc\" (Wireless Controller) grouping that are considered healthy",
          "format": "int64"
        },
        "switchDeviceCount": {
          "type": "integer",
          "description": "the total number of network devices defined under the \"switch\" grouping",
          "format": "int64"
        },
        "switchDeviceGoodHealthCount": {
          "type": "integer",
          "description": "the number of network devices defined under the \"switch\" grouping that are considered healthy",
          "format": "int64"
        },
        "accessDeviceGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of network devices defined under the \"access\" grouping that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "coreDeviceGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of network devices defined under the \"core\" grouping that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "distributionDeviceGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of network devices defined under the \"distribution\" grouping that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "routerDeviceGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of network devices defined under the \"router\" grouping that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "apDeviceGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of network devices defined under the \"ap\" (Access Point) grouping that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "wlcDeviceGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of network devices defined under the \"wlc\" (Wireless Controller) grouping that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "switchDeviceGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of network devices defined under the \"switch\" grouping that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "wirelessDeviceGoodHealthPercentage": {
          "type": "number",
          "description": "the percentage of network devices defined under the \"wireless\" grouping that are considered healthy\n\nabsence of data will result in null value\n"
        },
        "clientDataUsage": {
          "type": "number",
          "description": "the amount of data used by clients (both tx and rx) in bytes.\n"
        },
        "p1IssueCount": {
          "type": "integer",
          "description": "the number of p1 issues",
          "format": "int64"
        },
        "p2IssueCount": {
          "type": "integer",
          "description": "the number of p2 issues",
          "format": "int64"
        },
        "p3IssueCount": {
          "type": "integer",
          "description": "the number of p3 issues",
          "format": "int64"
        },
        "p4IssueCount": {
          "type": "integer",
          "description": "the number of p4 issues",
          "format": "int64"
        },
        "issueCount": {
          "type": "integer",
          "description": "the total number of issues",
          "format": "int64"
        }
      },
      "description": "catalyst center site and corresponding assurance health details",
      "allOf": [
        {
          "$ref": "#/$defs/site"
        }
      ]
    },
    "site": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique uuid of the site.\nFor aggregation requests, the value will be null since the unique   identifier will not apply.\n"
        },
        "siteHierarchy": {
          "type": "string",
          "description": "The full hierarchical breakdown of the site tree, including the   specific site name. All site trees start with Global.\nFor aggregation requests, the value will be null since the unique   identifier will not apply.\n"
        },
        "siteHierarchyId": {
          "type": "string",
          "description": "The full hierarchy breakdown of the site tree in id form, including   the specific site id.\nFor aggregation requests, the value will be null since the unique   identifier will not apply\n"
        },
        "siteType": {
          "type": "string",
          "description": "Type of site\nFor aggregation requests, the value may be null since the unique   identifier may not apply\n",
          "enum": [
            "floor",
            "building",
            "area",
            "global"
          ]
        },
        "latitude": {
          "type": "number",
          "description": "buildings can have their latitude attribute populated to help with   locating.\nnon-buildings will have a null value for this field\nFor aggregation requests, the value will be null since the unique   identifier will not apply\n"
        },
        "longitude": {
          "type": "number",
          "description": "buildings can have their longitude attribute populated to help with   locating\nnon-buildings will have a null value for this field\nFor aggregation requests, the value will be null since the unique   identifier will not apply\n"
        }
      },
      "description": "generic catalyst center site object"
    }
  }
}