{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "uuid": {
      "type": "string",
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
    },
    "message_name": {
      "type": "string",
      "pattern": "^removeBoundary$"
    },
    "metadata": {
      "type": "object"
    },
    "payload": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
        },
        "boundary_id": {
          "type": "string",
          "pattern": "^[a-z0-9_\\-]{3,255}$"
        }
      },
      "additionalProperties": false,
      "required": [
        "id",
        "boundary_id"
      ]
    }
  },
  "required": [
    "uuid",
    "message_name",
    "metadata",
    "payload"
  ]
}
