WebhooksEvent catalogevent
event.registration.changed
Version 1 of the event.registration.changed webhook event.
The event.registration.changed event.
| Event type | event.registration.changed |
| Schema version | 1 |
| Routing key | event.event.registration.changed.v1 |
| Produced by | event-management-service |
| Schema | urn:defendr:contract:event:registration-changed:1 |
data fields
| Field | Type | Required | Description |
|---|---|---|---|
eventId | string | yes | |
registrationId | string | yes | |
playerId | string | yes | |
changedBy | string | yes | |
changedAt | string (date-time) | yes | |
revision | integer | yes | |
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"
]
}
}
}