TANITARDevelopers
WebhooksEvent catalogTournaments

tournament.match.evidence-reviewed

Version 1 of the tournament.match.evidence-reviewed webhook event.

The tournament.match.evidence-reviewed event.

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

data fields

FieldTypeRequiredDescription
evidenceIdstringyes
matchIdstringyes
tournamentIdstringyes
organizationIdstringyes
state"approved", "rejected"yes
revisionintegeryes
mediaIdstringno
mediaRevisionintegerno

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-000000000049
webhook-timestamp: 1800000000
webhook-signature: v1,/iBpODov6Eu97lhB1+5W0La2moR4R/8zixMxOszycLQ=
tanitar-event-type: tournament.match.evidence-reviewed
tanitar-schema-version: 1
tanitar-delivery-attempt: 1

{"messageId":"evt_00000000-0000-4000-8000-000000000049","kind":"event","type":"tournament.match.evidence-reviewed","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-000000000049","data":{"evidenceId":"evd_11111111-1111-4111-8111-111111111111","matchId":"mtc_11111111-1111-4111-8111-111111111111","tournamentId":"trn_11111111-1111-4111-8111-111111111111","organizationId":"org_11111111-1111-4111-8111-111111111111","state":"approved","revision":2}}

The same body, formatted:

{
  "messageId": "evt_00000000-0000-4000-8000-000000000049",
  "kind": "event",
  "type": "tournament.match.evidence-reviewed",
  "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-000000000049",
  "data": {
    "evidenceId": "evd_11111111-1111-4111-8111-111111111111",
    "matchId": "mtc_11111111-1111-4111-8111-111111111111",
    "tournamentId": "trn_11111111-1111-4111-8111-111111111111",
    "organizationId": "org_11111111-1111-4111-8111-111111111111",
    "state": "approved",
    "revision": 2
  }
}

JSON Schema

urn:defendr:contract:tournament:match-evidence-reviewed:1
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:defendr:contract:tournament:match-evidence-reviewed:1",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "evidenceId",
    "matchId",
    "tournamentId",
    "organizationId",
    "state",
    "revision"
  ],
  "properties": {
    "evidenceId": {
      "type": "string"
    },
    "matchId": {
      "type": "string"
    },
    "tournamentId": {
      "type": "string"
    },
    "organizationId": {
      "type": "string"
    },
    "state": {
      "enum": [
        "approved",
        "rejected"
      ]
    },
    "revision": {
      "type": "integer"
    },
    "mediaId": {
      "type": "string"
    },
    "mediaRevision": {
      "type": "integer",
      "minimum": 1
    }
  }
}

On this page