Skip to content

Triggers ​

  • N/A

Consumer notes ​

Use eventId as the idempotency key.

DECISION.RULE_EXECUTION_SNOOZED.schema.json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {
    "WebhookDecisionRuleData": {
      "type": "object",
      "properties": {
        "decisionId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "type": [
            "integer",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "outcome": {
          "type": [
            "string",
            "null"
          ]
        },
        "scoreModifier": {
          "type": "integer"
        }
      }
    }
  },
  "type": "object",
  "properties": {
    "decisionIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "integer"
      }
    },
    "decisionRules": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/WebhookDecisionRuleData"
      }
    }
  }
}