OpsGenie · Schema

NotificationRuleStep

AlertsIncident ManagementMonitoringOn-CallOperations

Properties

Name Type Description
id string Step ID.
contact object Contact information for the step.
sendAfter object Delay before sending this step's notification.
enabled boolean Whether the step is enabled.
View JSON Schema on GitHub

JSON Schema

opsgenie-notificationrulestep-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/NotificationRuleStep",
  "title": "NotificationRuleStep",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Step ID."
    },
    "contact": {
      "type": "object",
      "properties": {
        "method": {
          "type": "string",
          "enum": [
            "email",
            "sms",
            "voice",
            "mobile"
          ],
          "description": "Notification delivery method."
        },
        "to": {
          "type": "string",
          "description": "Contact address (email, phone number, etc.)."
        }
      },
      "description": "Contact information for the step."
    },
    "sendAfter": {
      "type": "object",
      "properties": {
        "timeAmount": {
          "type": "integer",
          "description": "Amount of time to wait before sending."
        },
        "timeUnit": {
          "type": "string",
          "enum": [
            "minutes",
            "hours",
            "days"
          ],
          "description": "Time unit."
        }
      },
      "description": "Delay before sending this step's notification."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the step is enabled."
    }
  }
}