TANITARDevelopers
WebhooksEvent catalogTournaments

tournament.tournament.registration-closed

Version 1 of the tournament.tournament.registration-closed webhook event.

The tournament.tournament.registration-closed event.

Event typetournament.tournament.registration-closed
Schema version1
Routing keyevent.tournament.tournament.registration-closed.v1
Produced byTournament Management
Schemaurn:defendr:contract:tournament:tournament-registration-closed:1

data fields

FieldTypeRequiredDescription
tournamentIdstringyes
organizationIdstringyes
revisionintegeryes
status"registration_closed"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-000000000082
webhook-timestamp: 1800000000
webhook-signature: v1,Aafcx9gfHtNCmseSrTQMiwMS6KVhhrzIrCs4mYa0hiU=
tanitar-event-type: tournament.tournament.registration-closed
tanitar-schema-version: 1
tanitar-delivery-attempt: 1

{"messageId":"evt_00000000-0000-4000-8000-000000000082","kind":"event","type":"tournament.tournament.registration-closed","schemaVersion":1,"occurredAt":"2027-01-15T10:00:00.000Z","producer":"tournament-management-service","accountId":"acc_11111111-1111-4111-8111-111111111111","correlationId":"corr_00000000-0000-4000-8000-000000000082","data":{"tournamentId":"trn_11111111-1111-4111-8111-111111111111","organizationId":"org_11111111-1111-4111-8111-111111111111","revision":3,"status":"registration_closed"}}

The same body, formatted:

{
  "messageId": "evt_00000000-0000-4000-8000-000000000082",
  "kind": "event",
  "type": "tournament.tournament.registration-closed",
  "schemaVersion": 1,
  "occurredAt": "2027-01-15T10:00:00.000Z",
  "producer": "tournament-management-service",
  "accountId": "acc_11111111-1111-4111-8111-111111111111",
  "correlationId": "corr_00000000-0000-4000-8000-000000000082",
  "data": {
    "tournamentId": "trn_11111111-1111-4111-8111-111111111111",
    "organizationId": "org_11111111-1111-4111-8111-111111111111",
    "revision": 3,
    "status": "registration_closed"
  }
}

JSON Schema

urn:defendr:contract:tournament:tournament-registration-closed:1
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:defendr:contract:tournament:tournament-registration-closed:1",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "tournamentId",
    "organizationId",
    "revision",
    "status"
  ],
  "properties": {
    "tournamentId": {
      "type": "string"
    },
    "organizationId": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "status": {
      "const": "registration_closed"
    }
  }
}

On this page