{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-ise/json-schema/cisco-ise-alarm-rule-request-schema.json",
  "title": "AlarmRuleRequest",
  "description": "Represents the request payload for creating or updating an alarm rule. This object contains various properties that define the alarm rule, including its unique identifier, name, description, category, severity, and other relevant settings.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-ise-alarmconfigurations-services-api-openapi.yml#/components/schemas/AlarmRuleRequest",
  "required": [
    "alarmTypeId",
    "description",
    "name",
    "severity",
    "suggestedAction"
  ],
  "type": "object",
  "properties": {
    "alarmTypeId": {
      "type": "string",
      "description": "The type ID of the alarm rule, which may correspond to a specific category or classification of alarms.",
      "exampleSetFlag": true
    },
    "dashboardNotification": {
      "type": "boolean",
      "description": "Indicates whether dashboard notifications are enabled for this alarm rule.",
      "exampleSetFlag": true
    },
    "description": {
      "type": "string",
      "description": "A brief description of the alarm rule.",
      "exampleSetFlag": true
    },
    "emailFrequency": {
      "type": "integer",
      "description": "The frequency at which email notifications are sent.",
      "format": "int32",
      "exampleSetFlag": true
    },
    "emailFrequencyEnabled": {
      "type": "boolean",
      "description": "Indicates whether the email frequency is enabled or disabled.",
      "exampleSetFlag": true
    },
    "emailFrequencyUnit": {
      "type": "string",
      "exampleSetFlag": true,
      "enum": [
        "Days",
        "Hours",
        "Minutes",
        "Seconds"
      ]
    },
    "emailNotification": {
      "type": "boolean",
      "description": "Indicates whether email notifications are enabled for this alarm rule.",
      "exampleSetFlag": true
    },
    "emailText": {
      "type": "string",
      "description": "Custom text to be included in email notifications when the alarm rule is triggered.",
      "exampleSetFlag": true
    },
    "enabledSyslog": {
      "type": "boolean",
      "description": "Indicates whether syslog notifications are enabled for this alarm rule.",
      "exampleSetFlag": true
    },
    "filters": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "exampleSetFlag": false,
        "items": {
          "type": "string",
          "exampleSetFlag": false
        }
      },
      "description": "List of Filter conditions",
      "exampleSetFlag": true
    },
    "isUserDefined": {
      "type": "boolean",
      "description": "Indicates whether the alarm rule is user-defined or system-defined.",
      "exampleSetFlag": true
    },
    "name": {
      "type": "string",
      "description": "The name of the alarm rule.",
      "exampleSetFlag": true
    },
    "receiverEmailAddress": {
      "type": "string",
      "description": "A list of email addresses to which notifications will be sent when the alarm rule is triggered.",
      "exampleSetFlag": true
    },
    "senderMailAddress": {
      "type": "string",
      "description": "The email address from which notifications will be sent when the alarm rule is triggered.",
      "exampleSetFlag": true
    },
    "severity": {
      "type": "integer",
      "description": "The severity level of the alarm rule.",
      "format": "int32",
      "exampleSetFlag": true
    },
    "status": {
      "type": "string",
      "description": "Indicates whether the alarm rule is Enabled, Disabled or Suppressed.",
      "exampleSetFlag": true
    },
    "suggestedAction": {
      "type": "string",
      "description": "Suggested actions to be taken when the alarm rule is triggered.",
      "exampleSetFlag": true
    },
    "suppression": {
      "$ref": "#/$defs/Suppression",
      "exampleSetFlag": true
    },
    "thresholdInterval": {
      "type": "string",
      "description": "The interval at which the threshold condition is evaluated.",
      "exampleSetFlag": true
    },
    "thresholdLowerBound": {
      "type": "number",
      "description": "The threshold lower bound value.",
      "format": "bigdecimal",
      "exampleSetFlag": true
    },
    "thresholdOn": {
      "type": "string",
      "description": "The specific field or metric on which the threshold condition is applied.",
      "exampleSetFlag": true
    },
    "thresholdOperator": {
      "type": "string",
      "description": "The operator used for threshold evaluation, such as \"greater than\" or \"less than.\"",
      "exampleSetFlag": true
    },
    "thresholdType": {
      "type": "string",
      "description": "The type of threshold condition, such as \"static\" or \"dynamic.\"",
      "exampleSetFlag": true
    },
    "thresholdUpperBound": {
      "type": "number",
      "description": "The threshold upper bound value.",
      "format": "bigdecimal",
      "exampleSetFlag": true
    },
    "thresholdValue": {
      "type": "number",
      "description": "The threshold value that, when exceeded, will trigger the alarm.",
      "format": "bigdecimal",
      "exampleSetFlag": true
    },
    "webhookFrequency": {
      "type": "integer",
      "description": "The frequency at which webhook notifications are sent.",
      "format": "int32",
      "exampleSetFlag": true
    },
    "webhookFrequencyEnabled": {
      "type": "boolean",
      "description": "Indicates whether the webhook frequency is enabled or disabled.",
      "exampleSetFlag": true
    },
    "webhookFrequencyUnit": {
      "type": "string",
      "exampleSetFlag": true,
      "enum": [
        "Days",
        "Hours",
        "Minutes",
        "Seconds"
      ]
    },
    "webhookNotification": {
      "type": "boolean",
      "description": "Indicates whether webhook notifications are enabled for this alarm rule.",
      "exampleSetFlag": true
    },
    "webhookReceiver": {
      "type": "array",
      "description": "Webhook ids to be associated with the alarm",
      "exampleSetFlag": true,
      "items": {
        "type": "string",
        "exampleSetFlag": false
      }
    }
  },
  "exampleSetFlag": false,
  "$defs": {
    "Suppression": {
      "title": "Suppression",
      "type": "object",
      "properties": {
        "suppressFor": {
          "type": "integer",
          "description": "Suppression time in minutes.",
          "format": "int32",
          "exampleSetFlag": true
        }
      },
      "description": "Configuration for suppression settings.",
      "exampleSetFlag": false
    }
  }
}