{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-ise/json-schema/cisco-ise-alarm-rule-update-request-schema.json",
  "title": "AlarmRuleUpdateRequest",
  "description": "Represents the request payload for updating the status of an alarm rule, including notification 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/AlarmRuleUpdateRequest",
  "required": [
    "id"
  ],
  "type": "object",
  "properties": {
    "dashboardNotification": {
      "$ref": "#/$defs/DashboardNotification",
      "exampleSetFlag": true
    },
    "emailNotification": {
      "$ref": "#/$defs/EmailNotification",
      "exampleSetFlag": true
    },
    "id": {
      "type": "string",
      "description": "The ID of the alarm rule.",
      "exampleSetFlag": true
    },
    "status": {
      "type": "string",
      "description": "The status to update for the alarm rule.",
      "exampleSetFlag": true
    },
    "suppression": {
      "$ref": "#/$defs/Suppression",
      "exampleSetFlag": true
    },
    "webhookNotification": {
      "$ref": "#/$defs/WebhookNotification",
      "exampleSetFlag": true
    }
  },
  "exampleSetFlag": false,
  "$defs": {
    "DashboardNotification": {
      "title": "DashboardNotification",
      "type": "object",
      "properties": {
        "status": {
          "type": "boolean",
          "description": "Status of the dashboard notification.",
          "exampleSetFlag": true
        }
      },
      "description": "Configuration for dashboard notifications.",
      "exampleSetFlag": false
    },
    "EmailNotification": {
      "title": "EmailNotification",
      "type": "object",
      "properties": {
        "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"
          ]
        },
        "recipientEmail": {
          "type": "string",
          "description": "A list of email addresses to which notifications will be sent when the alarm rule is triggered.",
          "exampleSetFlag": true
        },
        "senderEmail": {
          "type": "string",
          "description": "Email of the sender.",
          "exampleSetFlag": true
        },
        "syslog": {
          "type": "boolean",
          "description": "Syslog information for email notifications.",
          "exampleSetFlag": true
        }
      },
      "description": "Configuration for email notifications.",
      "exampleSetFlag": false
    },
    "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
    },
    "WebhookNotification": {
      "title": "WebhookNotification",
      "type": "object",
      "properties": {
        "receiver": {
          "type": "array",
          "description": "List of receivers for the webhook notification.",
          "exampleSetFlag": true,
          "items": {
            "type": "string",
            "exampleSetFlag": false
          }
        },
        "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"
          ]
        }
      },
      "description": "Configuration for webhook notifications.",
      "exampleSetFlag": false
    }
  }
}