TANITARDevelopers
WebhooksEvent catalogevent

event.registration.changed

Version 1 of the event.registration.changed webhook event.

The event.registration.changed event.

Event typeevent.registration.changed
Schema version1
Routing keyevent.event.registration.changed.v1
Produced byevent-management-service
Schemaurn:defendr:contract:event:registration-changed:1

data fields

FieldTypeRequiredDescription
eventIdstringyes
registrationIdstringyes
playerIdstringyes
changedBystringyes
changedAtstring (date-time)yes
revisionintegeryes
status"registered", "cancelled"yes

Some fields are required only in particular states. The JSON Schema below is authoritative.

Example delivery

Signed with the example secret whsec_placeholder_example_webhooks_signing_secret, so you can check your verifier against it. See Verifying signatures.

POST /your/webhook/endpoint HTTP/1.1
content-type: application/json
webhook-id: whd_00000000-0000-4000-8000-000000000006
webhook-timestamp: 1800000000
webhook-signature: v1,gZEJgAsKVXApbUWAQMUSyghoKPcqb1/O+8h9cCZM3Ps=
tanitar-event-type: event.registration.changed
tanitar-schema-version: 1
tanitar-delivery-attempt: 1

{"messageId":"evt_00000000-0000-4000-8000-000000000006","kind":"event","type":"event.registration.changed","schemaVersion":1,"occurredAt":"2027-01-15T10:00:00.000Z","producer":"event-management-service","accountId":"acc_11111111-1111-4111-8111-111111111111","correlationId":"corr_00000000-0000-4000-8000-000000000006","data":{"eventId":"event-example","registrationId":"registration-example","playerId":"player-example","status":"registered","revision":1,"changedBy":"operator-example","changedAt":"2026-10-28T00:00:00Z"}}

The same body, formatted:

{
  "messageId": "evt_00000000-0000-4000-8000-000000000006",
  "kind": "event",
  "type": "event.registration.changed",
  "schemaVersion": 1,
  "occurredAt": "2027-01-15T10:00:00.000Z",
  "producer": "event-management-service",
  "accountId": "acc_11111111-1111-4111-8111-111111111111",
  "correlationId": "corr_00000000-0000-4000-8000-000000000006",
  "data": {
    "eventId": "event-example",
    "registrationId": "registration-example",
    "playerId": "player-example",
    "status": "registered",
    "revision": 1,
    "changedBy": "operator-example",
    "changedAt": "2026-10-28T00:00:00Z"
  }
}

JSON Schema

urn:defendr:contract:event:registration-changed:1
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:defendr:contract:event:registration-changed:1",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "eventId",
    "registrationId",
    "playerId",
    "status",
    "revision",
    "changedBy",
    "changedAt"
  ],
  "properties": {
    "eventId": {
      "type": "string",
      "minLength": 1
    },
    "registrationId": {
      "type": "string",
      "minLength": 1
    },
    "playerId": {
      "type": "string",
      "minLength": 1
    },
    "changedBy": {
      "type": "string",
      "minLength": 1
    },
    "changedAt": {
      "type": "string",
      "format": "date-time"
    },
    "revision": {
      "type": "integer",
      "minimum": 1
    },
    "status": {
      "enum": [
        "registered",
        "cancelled"
      ]
    }
  }
}

On this page