{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-health-score-definition-list-response-schema.json",
  "title": "HealthScoreDefinitionListResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-systemissueandhealthscoredefinitions-api-openapi.yml#/components/schemas/HealthScoreDefinitionListResponse",
  "type": "object",
  "properties": {
    "response": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/HealthScoreDefinition"
      }
    },
    "version": {
      "type": "string"
    },
    "page": {
      "$ref": "#/$defs/PaginationResponse"
    }
  },
  "$defs": {
    "HealthDeviceType": {
      "type": "string",
      "description": "These are the device type supported for health score definitions.",
      "readOnly": true,
      "enum": [
        "Router",
        "Switch and Hub",
        "Wireless Controller",
        "Unified AP",
        "Wireless Client",
        "Wired Client"
      ]
    },
    "HealthScoreDefinition": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Health score definition id.",
          "format": "uuid",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Health score definition name.",
          "readOnly": true
        },
        "displayName": {
          "type": "string",
          "description": "Health score definition name for display purposes.",
          "readOnly": true
        },
        "deviceFamily": {
          "$ref": "#/$defs/HealthDeviceType"
        },
        "description": {
          "type": "string",
          "description": "Description of the health score definition.",
          "readOnly": true
        },
        "includeForOverallHealth": {
          "type": "boolean",
          "description": "Flag to indicate whether the KPI is included for overall health calulations or not. \n",
          "default": true
        },
        "definitionStatus": {
          "type": "string",
          "description": "Status of the health score definition.",
          "readOnly": true,
          "default": "DEFAULT",
          "enum": [
            "CUSTOM",
            "DEFAULT"
          ]
        },
        "thresholdValue": {
          "type": "number",
          "description": "Threshold value to determine whether health is good or bad.\nExample: cpuUtilizationThreshold > 90, makes health score for device 1/poor if it exceeds cpu utilization 90%.\n"
        },
        "synchronizeToIssueThreshold": {
          "type": "boolean",
          "description": "Flag to indicate whether to synchronize with assurance issue trigger definitions. Applicable only to global profile issue trigger definitions.\n",
          "default": false
        },
        "lastModified": {
          "type": "string",
          "description": "Last modification time. This is applicable for modified threshold in epoch format, by default it will be empty.\n",
          "readOnly": true
        }
      },
      "description": "Health score definition."
    },
    "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."
    }
  }
}