Skip to content

Triggers ​

  • N/A

Consumer notes ​

Use eventId as the idempotency key.

ALERT.CHECKLIST_ITEM_UPDATED.schema.json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$defs": {
    "CompletedStatus": {
      "type": "string",
      "enum": [
        "IN_PROGRESS",
        "COMPLETED"
      ]
    },
    "CompletedStatus-nullable": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/CompletedStatus"
        }
      ]
    },
    "InputValue": {
      "type": "object",
      "properties": {
        "checked": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "endDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "inputtedText": {
          "type": [
            "string",
            "null"
          ]
        },
        "selected": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "singleSelect": {
          "type": [
            "string",
            "null"
          ]
        },
        "startDate": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    },
    "InputValue-nullable": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/InputValue"
        }
      ]
    },
    "ItemType": {
      "type": "string",
      "enum": [
        "CHECKBOX",
        "CHECKBOX_WITH_TEXT",
        "TEXT_INPUT",
        "AREA_INPUT",
        "SINGLE_SELECT_DROPDOWN",
        "MULTI_SELECT_DROPDOWN",
        "DATE_RANGE"
      ]
    },
    "ItemType-nullable": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/ItemType"
        }
      ]
    },
    "WebhookUserData": {
      "type": "object",
      "properties": {
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "id": {
          "type": [
            "integer",
            "null"
          ]
        },
        "username": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "WebhookUserData-nullable": {
      "anyOf": [
        {
          "type": "null"
        },
        {
          "$ref": "#/$defs/WebhookUserData"
        }
      ]
    }
  },
  "type": "object",
  "properties": {
    "alertId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "groupId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "inputValue": {
      "$ref": "#/$defs/InputValue-nullable"
    },
    "itemType": {
      "$ref": "#/$defs/ItemType-nullable"
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "$ref": "#/$defs/CompletedStatus-nullable"
    },
    "updatedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updatedBy": {
      "$ref": "#/$defs/WebhookUserData-nullable"
    }
  }
}