changedInput schema / properties / data / properties / attributes / properties / trigger_params / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "required": [
- "trigger_type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "incident_action_item_condition": {
- "enum": [
- "ALL",
- "ANY",
- "NONE"
- ],
- "type": "string"
- },
- "incident_action_item_condition_group": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_action_item_condition_kind": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_action_item_condition_priority": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_action_item_condition_status": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_action_item_group_ids": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "incident_action_item_kinds": {
- "items": {
- "enum": [
- "task",
- "follow_up"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "incident_action_item_priorities": {
- "items": {
- "enum": [
- "high",
- "medium",
- "low"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "incident_action_item_statuses": {
- "items": {
- "enum": [
- "open",
- "in_progress",
- "cancelled",
- "done"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "incident_condition": {
- "default": "ALL",
- "enum": [
- "ALL",
- "ANY",
- "NONE"
- ],
- "type": "string"
- },
- "incident_condition_acknowledged_at": {
- "enum": [
- "SET",
- "UNSET",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "incident_condition_detected_at": {
- "enum": [
- "SET",
- "UNSET",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "incident_condition_environment": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_functionality": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_group": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_incident_roles": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_incident_type": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_kind": {
- "default": "IS",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_label": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_label_use_regexp": {
- "default": false,
- "type": "boolean"
- },
- "incident_condition_mitigated_at": {
- "enum": [
- "SET",
- "UNSET",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "incident_condition_resolved_at": {
- "enum": [
- "SET",
- "UNSET",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "incident_condition_scheduled_for": {
- "enum": [
- "SET",
- "UNSET",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "incident_condition_scheduled_until": {
- "enum": [
- "SET",
- "UNSET",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "incident_condition_service": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_severity": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_started_at": {
- "enum": [
- "SET",
- "UNSET",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "incident_condition_status": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_sub_status": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_condition_summary": {
- "enum": [
- "SET",
- "UNSET",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "incident_condition_visibility": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "incident_conditional_inactivity": {
- "enum": [
- "IS",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "incident_inactivity_duration": {
- "description": "ex. 10 min, 1h, 3 days, 2 weeks",
- "type": [
- "string",
- "null"
- ]
- },
- "incident_kinds": {
- "items": {
- "enum": [
- "test",
- "test_sub",
- "example",
- "example_sub",
- "normal",
- "normal_sub",
- "backfilled",
- "scheduled",
- "scheduled_sub"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "incident_labels": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "incident_statuses": {
- "items": {
- "enum": [
- "in_triage",
- "started",
- "detected",
- "acknowledged",
- "mitigated",
- "resolved",
- "closed",
- "cancelled",
- "scheduled",
- "in_progress",
- "completed"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "incident_visibilities": {
- "items": {
- "type": "boolean"
- },
- "type": "array"
- },
- "trigger_type": {
- "enum": [
- "action_item"
- ],
- "type": "string"
- },
- "triggers": {
- "items": {
- "description": "Actions that trigger the workflow. One of custom_fields.<slug>.updated, incident_updated, action_item_created, action_item_updated, assigned_user_updated, summary_updated, description_updated, status_updated, priority_updated, due_date_updated, teams_updated, slack_command",
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "trigger_type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "alert_condition": {
- "enum": [
- "ALL",
- "ANY",
- "NONE"
- ],
- "type": "string"
- },
- "alert_condition_label": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "alert_condition_label_use_regexp": {
- "default": false,
- "type": "boolean"
- },
- "alert_condition_payload": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "alert_condition_payload_use_regexp": {
- "default": false,
- "type": "boolean"
- },
- "alert_condition_source": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "alert_condition_source_use_regexp": {
- "default": false,
- "type": "boolean"
- },
- "alert_condition_status": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "alert_condition_status_use_regexp": {
- "default": false,
- "type": "boolean"
- },
- "alert_condition_urgency": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "alert_field_conditions": {
- "items": {
- "properties": {
- "alert_field_id": {
- "type": "string"
- },
- "condition_type": {
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "values": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "alert_field_id",
- "condition_type"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "alert_labels": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "alert_payload": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "alert_payload_conditions": {
- "properties": {
- "conditions": {
- "items": {
- "properties": {
- "operator": {
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "query": {
- "type": "string"
- },
- "use_regexp": {
- "type": "boolean"
- },
- "values": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "query",
- "operator"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "logic": {
- "enum": [
- "ALL",
- "ANY",
- "NONE"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "alert_query_payload": {
- "description": "You can use jsonpath syntax. eg: $.incident.teams[*]",
- "type": [
- "string",
- "null"
- ]
- },
- "alert_sources": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "alert_statuses": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "alert_urgency_ids": {
- "items": {
- "format": "uuid",
- "type": "string"
- },
- "type": "array"
- },
- "trigger_type": {
- "enum": [
- "alert"
- ],
- "type": "string"
- },
- "triggers": {
- "items": {
- "description": "Actions that trigger the workflow",
- "enum": [
- "alert_created",
- "alert_status_updated"
- ],
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "trigger_type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "pulse_condition": {
- "enum": [
- "ALL",
- "ANY",
- "NONE"
- ],
- "type": "string"
- },
- "pulse_condition_label": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "pulse_condition_label_use_regexp": {
- "default": false,
- "type": "boolean"
- },
- "pulse_condition_payload": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "pulse_condition_payload_use_regexp": {
- "default": false,
- "type": "boolean"
- },
- "pulse_condition_source": {
- "default": "ANY",
- "enum": [
- "IS",
- "IS NOT",
- "ANY",
- "CONTAINS",
- "CONTAINS_ALL",
- "CONTAINS_NONE",
- "NONE",
- "SET",
- "UNSET"
- ],
- "type": "string"
- },
- "pulse_condition_source_use_regexp": {
- "default": false,
- "type": "boolean"
- },
- "pulse_labels": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "pulse_payload": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "pulse_query_payload": {
- "description": "You can use jsonpath syntax. eg: $.incident.teams[*]",
- "type": [
- "string",
- "null"
- ]
- },
- "pulse_sources": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "trigger_type": {
- "enum": [
- "pulse"
- ],
- "type": "string"
- },
- "triggers": {
- "items": {
- "description": "Actions that trigger the workflow",
- "enum": [
- "pulse_created"
- ],
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "trigger_type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "trigger_type": {
- "enum": [
- "simple"
- ],
- "type": "string"
- },
- "triggers": {
- "items": {
- "description": "Actions that trigger the workflow",
- "enum": [
- "slack_command"
- ],
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "trigger_type"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": true,
+ "required": [
+ "trigger_type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "incident_action_item_condition": {
+ "enum": [
+ "ALL",
+ "ANY",
+ "NONE"
+ ],
+ "type": "string"
+ },
+ "incident_action_item_condition_group": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_action_item_condition_kind": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_action_item_condition_priority": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_action_item_condition_status": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_action_item_group_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "incident_action_item_kinds": {
+ "items": {
+ "enum": [
+ "task",
+ "follow_up"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "incident_action_item_priorities": {
+ "items": {
+ "enum": [
+ "high",
+ "medium",
+ "low"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "incident_action_item_statuses": {
+ "items": {
+ "enum": [
+ "open",
+ "in_progress",
+ "cancelled",
+ "done"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "incident_condition": {
+ "default": "ALL",
+ "enum": [
+ "ALL",
+ "ANY",
+ "NONE"
+ ],
+ "type": "string"
+ },
+ "incident_condition_acknowledged_at": {
+ "enum": [
+ "SET",
+ "UNSET",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "incident_condition_detected_at": {
+ "enum": [
+ "SET",
+ "UNSET",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "incident_condition_environment": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_functionality": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_group": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_incident_roles": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_incident_type": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_kind": {
+ "default": "IS",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_label": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_label_use_regexp": {
+ "default": false,
+ "type": "boolean"
+ },
+ "incident_condition_mitigated_at": {
+ "enum": [
+ "SET",
+ "UNSET",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "incident_condition_resolved_at": {
+ "enum": [
+ "SET",
+ "UNSET",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "incident_condition_scheduled_for": {
+ "enum": [
+ "SET",
+ "UNSET",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "incident_condition_scheduled_until": {
+ "enum": [
+ "SET",
+ "UNSET",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "incident_condition_service": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_severity": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_started_at": {
+ "enum": [
+ "SET",
+ "UNSET",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "incident_condition_status": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_sub_status": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_condition_summary": {
+ "enum": [
+ "SET",
+ "UNSET",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "incident_condition_visibility": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "incident_conditional_inactivity": {
+ "enum": [
+ "IS",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "incident_inactivity_duration": {
+ "description": "ex. 10 min, 1h, 3 days, 2 weeks",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "incident_kinds": {
+ "items": {
+ "enum": [
+ "test",
+ "test_sub",
+ "example",
+ "example_sub",
+ "normal",
+ "normal_sub",
+ "backfilled",
+ "scheduled",
+ "scheduled_sub"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "incident_labels": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "incident_statuses": {
+ "items": {
+ "enum": [
+ "in_triage",
+ "started",
+ "detected",
+ "acknowledged",
+ "mitigated",
+ "resolved",
+ "closed",
+ "cancelled",
+ "scheduled",
+ "in_progress",
+ "completed"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "incident_visibilities": {
+ "items": {
+ "type": "boolean"
+ },
+ "type": "array"
+ },
+ "trigger_type": {
+ "enum": [
+ "action_item"
+ ],
+ "type": "string"
+ },
+ "triggers": {
+ "items": {
+ "description": "Actions that trigger the workflow. One of custom_fields.<slug>.updated, incident_updated, action_item_created, action_item_updated, assigned_user_updated, summary_updated, description_updated, status_updated, priority_updated, due_date_updated, teams_updated, slack_command",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "trigger_type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "alert_condition": {
+ "enum": [
+ "ALL",
+ "ANY",
+ "NONE"
+ ],
+ "type": "string"
+ },
+ "alert_condition_label": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "alert_condition_label_use_regexp": {
+ "default": false,
+ "type": "boolean"
+ },
+ "alert_condition_payload": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "alert_condition_payload_use_regexp": {
+ "default": false,
+ "type": "boolean"
+ },
+ "alert_condition_source": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "alert_condition_source_use_regexp": {
+ "default": false,
+ "type": "boolean"
+ },
+ "alert_condition_status": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "alert_condition_status_use_regexp": {
+ "default": false,
+ "type": "boolean"
+ },
+ "alert_condition_urgency": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "alert_field_conditions": {
+ "items": {
+ "properties": {
+ "alert_field_id": {
+ "type": "string"
+ },
+ "condition_type": {
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "values": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "alert_field_id",
+ "condition_type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "alert_labels": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "alert_payload": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "alert_payload_conditions": {
+ "properties": {
+ "conditions": {
+ "items": {
+ "properties": {
+ "operator": {
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "query": {
+ "type": "string"
+ },
+ "use_regexp": {
+ "type": "boolean"
+ },
+ "values": {
+ "description": "Required, with at least one value, unless the operator is SET or UNSET",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "query",
+ "operator"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "logic": {
+ "enum": [
+ "ALL",
+ "ANY",
+ "NONE"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "alert_query_payload": {
+ "description": "You can use jsonpath syntax. eg: $.incident.teams[*]",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "alert_sources": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "alert_statuses": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "alert_urgency_ids": {
+ "items": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "trigger_type": {
+ "enum": [
+ "alert"
+ ],
+ "type": "string"
+ },
+ "triggers": {
+ "items": {
+ "description": "Actions that trigger the workflow",
+ "enum": [
+ "alert_created",
+ "alert_status_updated"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "trigger_type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "pulse_condition": {
+ "enum": [
+ "ALL",
+ "ANY",
+ "NONE"
+ ],
+ "type": "string"
+ },
+ "pulse_condition_label": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "pulse_condition_label_use_regexp": {
+ "default": false,
+ "type": "boolean"
+ },
+ "pulse_condition_payload": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "pulse_condition_payload_use_regexp": {
+ "default": false,
+ "type": "boolean"
+ },
+ "pulse_condition_source": {
+ "default": "ANY",
+ "enum": [
+ "IS",
+ "IS NOT",
+ "ANY",
+ "CONTAINS",
+ "CONTAINS_ALL",
+ "CONTAINS_NONE",
+ "NONE",
+ "SET",
+ "UNSET"
+ ],
+ "type": "string"
+ },
+ "pulse_condition_source_use_regexp": {
+ "default": false,
+ "type": "boolean"
+ },
+ "pulse_labels": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "pulse_payload": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "pulse_query_payload": {
+ "description": "You can use jsonpath syntax. eg: $.incident.teams[*]",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "pulse_sources": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "trigger_type": {
+ "enum": [
+ "pulse"
+ ],
+ "type": "string"
+ },
+ "triggers": {
+ "items": {
+ "description": "Actions that trigger the workflow",
+ "enum": [
+ "pulse_created"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "trigger_type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "trigger_type": {
+ "enum": [
+ "simple"
+ ],
+ "type": "string"
+ },
+ "triggers": {
+ "items": {
+ "description": "Actions that trigger the workflow",
+ "enum": [
+ "slack_command"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "trigger_type"
+ ],
+ "type": "object"
+ }
+]