{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-ise/json-schema/cisco-ise-alarm-rule-update-response-wrapper-schema.json",
  "title": "AlarmRuleUpdateResponseWrapper",
  "description": "Represents the response wrapper for operations that update the status of alarm rule. This wrapper includes a list of webhook configurations with their updated statuses and the API version information.",
  "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/AlarmRuleUpdateResponseWrapper",
  "type": "object",
  "properties": {
    "alarmList": {
      "type": "array",
      "description": "A list of alarm rule, including details such as ID and status.",
      "exampleSetFlag": true,
      "items": {
        "$ref": "#/$defs/AlarmRuleUpdateResponse",
        "exampleSetFlag": false
      }
    },
    "version": {
      "type": "string",
      "description": "The version of the API or the response format being used.",
      "exampleSetFlag": true
    }
  },
  "exampleSetFlag": false,
  "$defs": {
    "AlarmRuleUpdateResponse": {
      "title": "AlarmRuleUpdateResponse",
      "type": "object",
      "properties": {
        "dashboardNotification": {
          "$ref": "#/$defs/DashboardNotificationResponse",
          "exampleSetFlag": true
        },
        "emailNotification": {
          "$ref": "#/$defs/EmailNotificationResponse",
          "exampleSetFlag": true
        },
        "id": {
          "type": "string",
          "description": "The unique identifier of the alarm rule.",
          "exampleSetFlag": true
        },
        "status": {
          "type": "string",
          "description": "The updated status of the alarm rule, indicating whether it is enabled or disabled.",
          "exampleSetFlag": true
        },
        "suppression": {
          "$ref": "#/$defs/SuppressionResponse",
          "exampleSetFlag": true
        },
        "webhookNotification": {
          "$ref": "#/$defs/WebhookNotificationResponse",
          "exampleSetFlag": true
        }
      },
      "description": "Represents the response object for a alarm rule status update operation. This object includes the unique identifier of the alarm and its updated status.",
      "exampleSetFlag": false
    },
    "DashboardNotificationResponse": {
      "title": "DashboardNotificationResponse",
      "type": "object",
      "properties": {
        "status": {
          "type": "boolean",
          "description": "Status of the dashboard notification.",
          "exampleSetFlag": true
        }
      },
      "description": "Configuration for dashboard notifications.",
      "exampleSetFlag": false
    },
    "EmailNotificationResponse": {
      "title": "EmailNotificationResponse",
      "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": "array",
          "description": "List of recipient emails.",
          "exampleSetFlag": true,
          "items": {
            "type": "string",
            "exampleSetFlag": false
          }
        },
        "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
    },
    "SuppressionResponse": {
      "title": "SuppressionResponse",
      "type": "object",
      "properties": {
        "suppressFor": {
          "type": "object",
          "description": "Suppression time left.",
          "exampleSetFlag": true
        }
      },
      "description": "Configuration for suppression settings.",
      "exampleSetFlag": false
    },
    "WebhookNotificationResponse": {
      "title": "WebhookNotificationResponse",
      "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
    }
  }
}