TANITARDevelopers
WebhooksEvent catalogTournaments

tournament.tournament.archived

Version 1 of the tournament.tournament.archived webhook event.

The tournament.tournament.archived event.

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

data fields

FieldTypeRequiredDescription
tournamentIdstringyes
organizationIdstringyes
revisionintegeryes
status"archived"yes
archivedAtstring (date-time)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-000000000076
webhook-timestamp: 1800000000
webhook-signature: v1,qOrgHhioehHL2ontA5rv606YPJrsIymx4m6yYgXiqFg=
tanitar-event-type: tournament.tournament.archived
tanitar-schema-version: 1
tanitar-delivery-attempt: 1

{"messageId":"evt_00000000-0000-4000-8000-000000000076","kind":"event","type":"tournament.tournament.archived","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-000000000076","data":{"tournamentId":"trn_11111111-1111-4111-8111-111111111111","organizationId":"org_11111111-1111-4111-8111-111111111111","revision":3,"status":"archived","archivedAt":"2026-08-17T12:00:00.000Z"}}

The same body, formatted:

{
  "messageId": "evt_00000000-0000-4000-8000-000000000076",
  "kind": "event",
  "type": "tournament.tournament.archived",
  "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-000000000076",
  "data": {
    "tournamentId": "trn_11111111-1111-4111-8111-111111111111",
    "organizationId": "org_11111111-1111-4111-8111-111111111111",
    "revision": 3,
    "status": "archived",
    "archivedAt": "2026-08-17T12:00:00.000Z"
  }
}

JSON Schema

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

On this page