{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-application-health-score-definition-schema.json",
  "title": "ApplicationHealthScoreDefinition",
  "description": "Application health score definition.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-catalyst-center-applicationhealthscoredefinitions-api-openapi.yml#/components/schemas/ApplicationHealthScoreDefinition",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Application health score definition id.",
      "format": "uuid",
      "readOnly": true
    },
    "kpiName": {
      "type": "string",
      "description": "Application health KPI name.",
      "readOnly": true,
      "enum": [
        "packetLoss",
        "jitter",
        "latency",
        "appDelay"
      ]
    },
    "trafficClass": {
      "type": "string",
      "description": "Traffic class for application health score definition.",
      "readOnly": true,
      "enum": [
        "voip-telephony",
        "multimedia-conferencing",
        "multimedia-streaming",
        "real-time-interactive",
        "broadcast-video",
        "signaling",
        "network-control",
        "ops-admin-mgmt",
        "transactional-data",
        "bulk-data"
      ]
    },
    "includeForHealthScore": {
      "type": "boolean",
      "description": "Flag to indicate whether the KPI is included for the application health score calulation or not.\n"
    },
    "includeForHealthScoreDefault": {
      "type": "boolean",
      "description": "Default flag to indicate whether the KPI is included for application health calulation or not. \n",
      "readOnly": true
    },
    "definitionType": {
      "type": "string",
      "description": "Definition type to indicate whether the health score definition has been customized or not.",
      "readOnly": true,
      "default": "DEFAULT",
      "enum": [
        "CUSTOM",
        "DEFAULT"
      ]
    },
    "unit": {
      "type": "string",
      "description": "Application Health score definition unit.",
      "readOnly": true,
      "enum": [
        "sec",
        "msec",
        "percent"
      ]
    },
    "weightValue": {
      "maximum": 10,
      "minimum": 1,
      "type": "integer",
      "description": "The weightage of the KPI used for application health score calculation.\n",
      "format": "int32"
    },
    "weightDefaultValue": {
      "maximum": 10,
      "minimum": 1,
      "type": "integer",
      "description": "The default weightage of the KPI used for application health score calculation.\n",
      "format": "int32",
      "readOnly": true
    },
    "badValue": {
      "type": "number",
      "description": "The upper threshold value of the KPI for poor (1-3) health score.\n"
    },
    "badDefaultValue": {
      "type": "number",
      "description": "The default upper threshold value of the KPI for poor (1-3) health score.\n",
      "readOnly": true
    },
    "badMinValue": {
      "type": "number",
      "description": "Minimum value allowed for upper threshold value of the KPI for poor (1-3) health score.\n",
      "readOnly": true
    },
    "badMaxValue": {
      "type": "number",
      "description": "Maximum value allowed for upper threshold value of the KPI for poor (1-3) health score.\n",
      "readOnly": true
    },
    "poorValue": {
      "type": "number",
      "description": "The lower threshold value of the KPI for poor (1-3) health score. This would be same as the upper threshold value of the KPI for fair (4-7) health score.\n"
    },
    "poorDefaultValue": {
      "type": "number",
      "description": "The default lower threshold value of the KPI for poor (1-3) health score.\n",
      "readOnly": true
    },
    "poorMinValue": {
      "type": "number",
      "description": "Minimum value allowed for lower threshold value of the KPI for poor (1-3) health score.\n",
      "readOnly": true
    },
    "poorMaxValue": {
      "type": "number",
      "description": "Maximum value allowed for lower threshold value of the KPI for poor (1-3) health score.\n",
      "readOnly": true
    },
    "goodValue": {
      "type": "number",
      "description": "The lower threshold value of the KPI for fair (4-7) health score. This would be same as the upper threshold value of the KPI for good (8-10) health score.\n"
    },
    "goodDefaultValue": {
      "type": "number",
      "description": "The default lower threshold value of the KPI for fair (4-7) health score.\n",
      "readOnly": true
    },
    "goodMinValue": {
      "type": "number",
      "description": "Minimum value allowed for lower threshold value of the KPI for fair (4-7) health score.\n",
      "readOnly": true
    },
    "goodMaxValue": {
      "type": "number",
      "description": "Maximum value allowed for lower threshold value of the KPI for fair (4-7) health score.\n",
      "readOnly": true
    },
    "greatValue": {
      "type": "number",
      "description": "The lower threshold value of the KPI for good (8-10) health score.\n"
    },
    "greatDefaultValue": {
      "type": "number",
      "description": "The default lower threshold value of the KPI for good (8-10) health score.\n",
      "readOnly": true
    },
    "greatMinValue": {
      "type": "number",
      "description": "Minimum value allowed for the lower threshold value of the KPI for good (8-10) health score.\n",
      "readOnly": true
    },
    "greatMaxValue": {
      "type": "number",
      "description": "Maximum value allowed for the lower threshold value of the KPI for good (8-10) health score.\n",
      "readOnly": true
    },
    "lastModified": {
      "type": "integer",
      "description": "Last modification time in milliseconds since UNIX epoch. This is applicable only for modified thresholds.\n",
      "format": "int64",
      "readOnly": true
    }
  }
}