{
  "$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-response-schema.json",
  "title": "HealthScoreDefinitionResponse",
  "description": "Response object for list of health score definitions.",
  "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/HealthScoreDefinitionResponse",
  "type": "object",
  "properties": {
    "response": {
      "$ref": "#/$defs/HealthScoreDefinition"
    },
    "version": {
      "type": "string"
    }
  },
  "$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."
    }
  }
}