Skip to content

Triggers ​

  • N/A

Consumer notes ​

Use eventId as the idempotency key.

DECISION.CREATED.schema.json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {
    "Map(String,Object)": {
      "type": "object"
    },
    "Map(String,Object)-nullable": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/Map(String,Object)"
        }
      ]
    },
    "PivotValueData": {
      "type": "object",
      "properties": {
        "pivotId": {
          "type": [
            "integer",
            "null"
          ]
        },
        "pivotValue": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  },
  "type": "object",
  "properties": {
    "alertId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "createdAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "outcome": {
      "type": [
        "string",
        "null"
      ]
    },
    "pivotValues": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/PivotValueData"
      }
    },
    "scenarioId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "score": {
      "type": "integer"
    },
    "triggerObject": {
      "$ref": "#/$defs/Map(String,Object)-nullable"
    },
    "triggerObjectType": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}