TANITARDevelopers
WebhooksEvent catalogTournaments

tournament.match.evidence-submitted

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

The tournament.match.evidence-submitted event.

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

data fields

FieldTypeRequiredDescription
evidenceIdstringyes
matchIdstringyes
tournamentIdstringyes
organizationIdstringyes
state"pending"yes
revision1yes
mediaIdstringyes
mediaRevision1yes
storageBindingstringyes

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-000000000050
webhook-timestamp: 1800000000
webhook-signature: v1,G0o6FxkloTVH7c3LA9X5hcs23VJ6Crj9Q3/m7yJ3tHY=
tanitar-event-type: tournament.match.evidence-submitted
tanitar-schema-version: 1
tanitar-delivery-attempt: 1

{"messageId":"evt_00000000-0000-4000-8000-000000000050","kind":"event","type":"tournament.match.evidence-submitted","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-000000000050","data":{"evidenceId":"evd_1","matchId":"mtc_1","tournamentId":"trn_1","organizationId":"org_1","state":"pending","revision":1,"mediaId":"med_1","mediaRevision":1,"storageBinding":"platform-managed-v1"}}

The same body, formatted:

{
  "messageId": "evt_00000000-0000-4000-8000-000000000050",
  "kind": "event",
  "type": "tournament.match.evidence-submitted",
  "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-000000000050",
  "data": {
    "evidenceId": "evd_1",
    "matchId": "mtc_1",
    "tournamentId": "trn_1",
    "organizationId": "org_1",
    "state": "pending",
    "revision": 1,
    "mediaId": "med_1",
    "mediaRevision": 1,
    "storageBinding": "platform-managed-v1"
  }
}

JSON Schema

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

On this page