WebhooksEvent catalogTournaments
tournament.match.readiness-updated
Version 1 of the tournament.match.readiness-updated webhook event.
The tournament.match.readiness-updated event.
| Event type | tournament.match.readiness-updated |
| Schema version | 1 |
| Routing key | event.tournament.match.readiness-updated.v1 |
| Produced by | Tournament Management |
| Schema | urn:defendr:contract:tournament:match-readiness-updated:1 |
data fields
| Field | Type | Required | Description |
|---|---|---|---|
matchId | string | yes | |
tournamentId | string | yes | |
organizationId | string | yes | |
readinessRevision | integer | yes | |
readyEnrollmentIds | array of string | 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-000000000054
webhook-timestamp: 1800000000
webhook-signature: v1,Z30WqtQ3lQfIa19kPIdR1AY/dF7Z0q45ZE9uIzUL9T4=
tanitar-event-type: tournament.match.readiness-updated
tanitar-schema-version: 1
tanitar-delivery-attempt: 1
{"messageId":"evt_00000000-0000-4000-8000-000000000054","kind":"event","type":"tournament.match.readiness-updated","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-000000000054","data":{"matchId":"mtc_example","tournamentId":"trn_example","organizationId":"org_example","readinessRevision":2,"readyEnrollmentIds":["enr_example"]}}The same body, formatted:
{
"messageId": "evt_00000000-0000-4000-8000-000000000054",
"kind": "event",
"type": "tournament.match.readiness-updated",
"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-000000000054",
"data": {
"matchId": "mtc_example",
"tournamentId": "trn_example",
"organizationId": "org_example",
"readinessRevision": 2,
"readyEnrollmentIds": [
"enr_example"
]
}
}JSON Schema
urn:defendr:contract:tournament:match-readiness-updated:1
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:defendr:contract:tournament:match-readiness-updated:1",
"type": "object",
"additionalProperties": false,
"required": [
"matchId",
"tournamentId",
"organizationId",
"readinessRevision",
"readyEnrollmentIds"
],
"properties": {
"matchId": {
"type": "string"
},
"tournamentId": {
"type": "string"
},
"organizationId": {
"type": "string"
},
"readinessRevision": {
"type": "integer"
},
"readyEnrollmentIds": {
"type": "array",
"items": {
"type": "string"
},
"uniqueItems": true
}
}
}