OpsGenie · Schema

NotificationRule

AlertsIncident ManagementMonitoringOn-CallOperations

Properties

Name Type Description
id string Unique identifier.
name string Rule name.
actionType string Action type that triggers this rule.
order integer Rule order.
enabled boolean Whether the rule is enabled.
criteria object
timeRestriction object
steps array Notification steps.
repeat object
View JSON Schema on GitHub

JSON Schema

opsgenie-notificationrule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/NotificationRule",
  "title": "NotificationRule",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier."
    },
    "name": {
      "type": "string",
      "description": "Rule name."
    },
    "actionType": {
      "type": "string",
      "description": "Action type that triggers this rule."
    },
    "order": {
      "type": "integer",
      "description": "Rule order."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the rule is enabled."
    },
    "criteria": {
      "$ref": "#/components/schemas/NotificationCriteria"
    },
    "timeRestriction": {
      "$ref": "#/components/schemas/TimeRestriction"
    },
    "steps": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/NotificationRuleStep"
      },
      "description": "Notification steps."
    },
    "repeat": {
      "type": "object",
      "properties": {
        "loopAfter": {
          "type": "integer",
          "description": "Steps after which to loop."
        },
        "enabled": {
          "type": "boolean",
          "description": "Repeat enabled."
        }
      }
    }
  }
}