TANITARDevelopers
WebhooksEvent catalogTournaments

tournament.match.result-reverted

Version 1 of the tournament.match.result-reverted webhook event.

The tournament.match.result-reverted event.

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

data fields

FieldTypeRequiredDescription
matchIdstringyes
tournamentIdstringyes
organizationIdstringyes
revisionintegeryes
revertedRevisionintegeryes
cascadeIdstringyes
reasonstringno

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-000000000057
webhook-timestamp: 1800000000
webhook-signature: v1,wTcoPJ325HeBm6spXLjHgIen9IRKw6eD9QJOBDTNCG0=
tanitar-event-type: tournament.match.result-reverted
tanitar-schema-version: 1
tanitar-delivery-attempt: 1

{"messageId":"evt_00000000-0000-4000-8000-000000000057","kind":"event","type":"tournament.match.result-reverted","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-000000000057","data":{"matchId":"mtc_11111111-1111-4111-8111-111111111111","tournamentId":"trn_11111111-1111-4111-8111-111111111111","organizationId":"org_11111111-1111-4111-8111-111111111111","revision":3,"revertedRevision":2,"cascadeId":"csc_22222222-2222-4222-8222-222222222222","reason":"Wrong lobby reported"}}

The same body, formatted:

{
  "messageId": "evt_00000000-0000-4000-8000-000000000057",
  "kind": "event",
  "type": "tournament.match.result-reverted",
  "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-000000000057",
  "data": {
    "matchId": "mtc_11111111-1111-4111-8111-111111111111",
    "tournamentId": "trn_11111111-1111-4111-8111-111111111111",
    "organizationId": "org_11111111-1111-4111-8111-111111111111",
    "revision": 3,
    "revertedRevision": 2,
    "cascadeId": "csc_22222222-2222-4222-8222-222222222222",
    "reason": "Wrong lobby reported"
  }
}

JSON Schema

urn:defendr:contract:tournament:match-result-reverted:1
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:defendr:contract:tournament:match-result-reverted:1",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "matchId",
    "tournamentId",
    "organizationId",
    "revision",
    "revertedRevision",
    "cascadeId"
  ],
  "properties": {
    "matchId": {
      "type": "string"
    },
    "tournamentId": {
      "type": "string"
    },
    "organizationId": {
      "type": "string"
    },
    "revision": {
      "type": "integer"
    },
    "revertedRevision": {
      "type": "integer"
    },
    "cascadeId": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    }
  }
}

On this page