Skip to main content

Outbound Data Structures — Event

Queue Configuration

PropertyValue
Topic name{customerPrefix}.event.queue
DescriptionMessages containing full event details. Upon arrival, it should fully override the existing snapshot after version check.
Routing patternscustomerPrefix - customer unique prefix
ProducesEvent

Event Model Structure

FieldData TypeDescription
eventIdstringA unique id for the event.
namestringA display name for the event.
startTimestringThe event start time in UTC zone. E.g. '2025-05-06T18:00'
sportIdstringSport id
categoryIdstringThe category/competition reference
competitorsCompetitor[]A list of competitors that are involved in this event.
externalIdsEventMapping[]A possibly empty list of other providers event ids. The list may change at any time as no mapping should be assumed as static not unique. Example providers; Betfair, Sportradar.
statusstringEvent status enum. One of: CANCELLED - the game was cancelled; POSTPONED - the game was postponed;
versionlongVersion of event. This can be used for deduplication and ordering of updates downstream.

Event Proto

message Event {
string eventId = 1;
string name = 2;
string startTime = 3;
string categoryId = 4;
repeated Competitor competitors = 5;
repeated EventMapping externalIds = 6;
string status = 7;
int64 version = 8;
string sportId = 9;
}

Event Mapping Model

FieldData TypeDescription
providerstringProvider of the id e.g. Betfair
eventIdstringThe id of the event for the provider.

Event Mapping Proto

message EventMapping {
string provider = 1;
string eventId = 2;
}

Competitor / Team Model

FieldData TypeDescription
idstringCompetitor id
shortNamestringCompetitor short name e.g. 'ENG'
fullNamestringCompetitor full name e.g. 'England'

Competitor Proto

message Competitor {
string id = 1;
string shortName = 2;
string fullName = 3;
}