{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-catalyst-center/json-schema/cisco-catalyst-center-issue-trigger-definition-schema.json",
  "title": "IssueTriggerDefinition",
  "description": "Issue trigger definition.",
  "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/IssueTriggerDefinition",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Issue trigger definition identifier.",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "description": "Issue trigger name used internally.",
      "readOnly": true
    },
    "displayName": {
      "type": "string",
      "description": "Issue trigger name for display purposes.",
      "readOnly": true
    },
    "description": {
      "type": "string",
      "description": "Description of issue trigger definition.",
      "readOnly": true
    },
    "priority": {
      "$ref": "#/$defs/Priority"
    },
    "defaultPriority": {
      "readOnly": true,
      "allOf": [
        {
          "$ref": "#/$defs/Priority"
        }
      ]
    },
    "deviceType": {
      "$ref": "#/$defs/IssueDeviceType"
    },
    "issueEnabled": {
      "type": "boolean",
      "description": "Issue trigger enabled or disabled. `false` indicates that no issues are needed to be generated for this definition.\n\nExample: if `isis_adjacency_failure` is disabled, no `isis_adjacency_failure` issues are generated for given profile and device type.\n",
      "default": true
    },
    "profileId": {
      "type": "string",
      "description": "Id of network design profile of type assurance. Please refer to network design profile documentation for more details.",
      "readOnly": true,
      "default": "global"
    },
    "definitionStatus": {
      "type": "string",
      "description": "Status of the issue trigger definition.",
      "readOnly": true,
      "default": "DEFAULT",
      "enum": [
        "CUSTOM",
        "DEFAULT"
      ]
    },
    "categoryName": {
      "$ref": "#/$defs/IssueCategory"
    },
    "synchronizeToHealthThreshold": {
      "type": "boolean",
      "description": "Indicates to synchronize with health score definition. Applicable only to `global` profile issue trigger definition."
    },
    "thresholdValue": {
      "type": "number",
      "description": "Threshold value for given issue trigger.\n\nExample: CPU Utilization threshold > 90 indicates system needs to generate issue when CPU Utilization crosses 90%.\n"
    },
    "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
    }
  },
  "$defs": {
    "IssueCategory": {
      "type": "string",
      "description": "Category of the issue trigger definition. Indicates intent of grouped issues. To be more precise link related issues are grouped under connectivity.\n\nExample: WAN Interface Down is part of Connectivity category under Switches And Hubs device type.\n",
      "readOnly": true,
      "enum": [
        "Connectivity",
        "Connected",
        "Device",
        "Availability",
        "System",
        "Onboarding",
        "Utilization",
        "Application",
        "Sensor Test",
        "AP Anomaly"
      ]
    },
    "IssueDeviceType": {
      "type": "string",
      "description": "These are the device types supported for issue trigger definitions.",
      "enum": [
        "Router",
        "Switch and Hub",
        "Wireless Controller",
        "Unified AP",
        "Wireless Client",
        "Wired Client",
        "Application",
        "Sensor",
        "Third Party Device"
      ]
    },
    "Priority": {
      "type": "string",
      "description": "Issue priority, possible values are P1, P2, P3, P4.\n\n`P1`: A critical issue that needs immediate attention and can have a wide impact on network operations.\n\n`P2`: A major issue that can potentially impact multiple devices or clients.\n\n`P3`: A minor issue that has a localized or minimal impact.\n\n`P4`: A warning issue that may not be an immediate problem but addressing it can optimize the network performance.\n",
      "enum": [
        "P1",
        "P2",
        "P3",
        "P4"
      ]
    }
  }
}