TANITARDevelopers
WebhooksEvent catalogevent

event.ticket.admitted

Version 1 of the event.ticket.admitted webhook event.

The event.ticket.admitted event.

Event typeevent.ticket.admitted
Schema version1
Routing keyevent.event.ticket.admitted.v1
Produced byevent-management-service
Schemaurn:defendr:contract:event:ticket-admitted:1

data fields

FieldTypeRequiredDescription
eventIdstringyes
issueIdstringyes
playerIdstringyes
admittedBystringyes
admittedAtstring (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-000000000007
webhook-timestamp: 1800000000
webhook-signature: v1,inmgGXjm309rQwy7dbKZs5LIbN8QUgqVOW9pLX/PmnE=
tanitar-event-type: event.ticket.admitted
tanitar-schema-version: 1
tanitar-delivery-attempt: 1

{"messageId":"evt_00000000-0000-4000-8000-000000000007","kind":"event","type":"event.ticket.admitted","schemaVersion":1,"occurredAt":"2027-01-15T10:00:00.000Z","producer":"event-management-service","accountId":"acc_11111111-1111-4111-8111-111111111111","correlationId":"corr_00000000-0000-4000-8000-000000000007","data":{"eventId":"event_example","issueId":"ticket_aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa","playerId":"player_example","admittedAt":"2026-10-29T00:00:00.000Z","admittedBy":"player:crew_example"}}

The same body, formatted:

{
  "messageId": "evt_00000000-0000-4000-8000-000000000007",
  "kind": "event",
  "type": "event.ticket.admitted",
  "schemaVersion": 1,
  "occurredAt": "2027-01-15T10:00:00.000Z",
  "producer": "event-management-service",
  "accountId": "acc_11111111-1111-4111-8111-111111111111",
  "correlationId": "corr_00000000-0000-4000-8000-000000000007",
  "data": {
    "eventId": "event_example",
    "issueId": "ticket_aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
    "playerId": "player_example",
    "admittedAt": "2026-10-29T00:00:00.000Z",
    "admittedBy": "player:crew_example"
  }
}

JSON Schema

urn:defendr:contract:event:ticket-admitted:1
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:defendr:contract:event:ticket-admitted:1",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "eventId",
    "issueId",
    "playerId",
    "admittedAt",
    "admittedBy"
  ],
  "properties": {
    "eventId": {
      "type": "string",
      "minLength": 1
    },
    "issueId": {
      "type": "string",
      "minLength": 1
    },
    "playerId": {
      "type": "string",
      "minLength": 1
    },
    "admittedBy": {
      "type": "string",
      "minLength": 1
    },
    "admittedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}

On this page