Oddin.gg Bragi - Game-specific schemas: eCricket
This article is section 6.7 of Oddin.gg Bragi - Data Feed documentation. Sections 1 to 5 there cover general information, the match timeline, processing the data feed, match events and team profiles.
Other game schemas: Counter-Strike 2 · Dota 2 · League of Legends · Valorant · eBasketball · eFootball
6.7. eCricket (Rush Cricket)
The Rush Cricket schema models an eCricket match between two single-player teams. The unit of play is the inning; each inning is made of overs, and each over is made of balls. The schema tracks per-inning team statistics (runs, wickets, boundaries, extras), individual ball events, and the chase target when batting second.
6.7.1. Top-level eCricket messages
RushCricketMatchMessage
| Field | Type | Description |
match_urn |
string |
Match identifier. |
sequence |
uint64 |
Sequence number; must be exactly cached sequence + 1. |
timestamp |
google.protobuf.Timestamp |
Time the message was produced. |
data_status |
DataStatus |
Quality flag for the underlying data. |
payload |
RushCricketMatchMessage.Payload |
Oneof: snapshot (RushCricketMatchSnapshot) or update (RushCricketMatchUpdate). |
RushCricketMatchSnapshot
| Field | Type | Description |
match_urn |
string |
Match identifier. |
sequence |
uint64 |
Initial sequence number. |
timestamp |
google.protobuf.Timestamp |
Snapshot timestamp. |
data_status |
DataStatus |
Quality flag for the underlying data. |
announcements |
repeated Announcement |
Operational announcements for the match. |
match_state |
RushCricketMatchState |
Full current state of the match. |
tournament |
Tournament |
Tournament the match belongs to. |
RushCricketMatchUpdate
| Field | Type | Description |
payload |
RushCricketMatchUpdate.Payload |
Oneof: match_state (full state) or partial_updates. |
RushCricketMatchStatePartialUpdates
| Field | Type | Description |
updates |
repeated RushCricketMatchStatePartialUpdate |
Non-empty list of partial updates to apply. |
6.7.2. Match-level state
RushCricketMatchStatePartialUpdate
| Field | Type | Description |
score |
RushCricketMatchScoreState |
Replaces the score property in RushCricketMatchState. |
current_inning |
RushCricketCurrentInningState |
Replaces the current_inning property. |
current_inning_partial_update |
RushCricketCurrentInningStatePartialUpdate |
Applies a partial update inside the current inning. |
timeline |
RushCricketTimelineState |
Replaces the timeline property. |
RushCricketMatchState
| Field | Type | Description |
match_urn |
string |
Match identifier. |
match_type |
BestOfType |
Match format. |
home_team |
Team |
Home team. |
away_team |
Team |
Away team. |
score |
RushCricketMatchScoreState |
Match score (number of maps won by each team). |
match_status |
MatchStatusType |
Lifecycle status of the match. |
timeline |
RushCricketTimelineState |
Ordered list of significant events from the match. |
current_inning |
RushCricketCurrentInningState |
State of the inning currently being played. |
win_team_urn |
string |
URN of the team that won the match (set once the match is finished). |
RushCricketMatchScoreState
| Field | Type | Description |
home_score |
uint32 |
Maps won by the home team. |
away_score |
uint32 |
Maps won by the away team. |
RushCricketCurrentMapScoreState
| Field | Type | Description |
home_runs |
uint32 |
Runs scored by the home team. |
away_runs |
uint32 |
Runs scored by the away team. |
RushCricketTimelineState
| Field | Type | Description |
events |
repeated RushCricketTimelineEvent |
Ordered list of timeline events. |
RushCricketTimelineEvent
| Field | Type | Description |
team_urn |
string |
URN of the team the event applies to. |
event_type |
RushCricketEventType |
Type of event (boundary four, wicket, wide ball, etc.). |
ball_state |
RushCricketBallState |
Inning, over, ball and ordering information for the event. |
runs |
uint32 |
Runs scored on this event. |
boundary_run |
RushCricketBoundaryRun |
Boundary type if the event was a boundary. |
bowler_error |
RushCricketBowlerError |
Bowler error if the event was an extra (no ball or wide). |
6.7.3. Current inning state
RushCricketCurrentInningStatePartialUpdate
| Field | Type | Description |
over |
uint32 |
Replaces the over number in the current inning. |
ball |
uint32 |
Replaces the ball number in the current over. |
runs |
uint32 |
Replaces the total runs in the current inning. |
overs_played |
float |
Replaces the overs_played value (fractional over count). |
target |
RushCricketTarget |
Replaces the target for the chasing team. |
team_current_inning_partial_update |
RushCricketTeamCurrentInningStatePartialUpdate |
Applies a partial update inside a team's inning state. |
RushCricketCurrentInningState
| Field | Type | Description |
number |
uint32 |
Inning number (1 or 2). |
over |
uint32 |
Current over number. |
ball |
uint32 |
Current ball number within the over. |
batting_team_urn |
string |
URN of the team currently batting. |
runs |
uint32 |
Total runs scored in this inning so far. |
overs_played |
float |
Fractional number of overs played (e.g., 12.4 means 12 overs and 4 balls). |
game_paused |
bool |
true if the inning is paused. |
teams |
map<string, RushCricketTeamCurrentInningState> |
Per-team inning state, keyed by team URN. |
target |
RushCricketTarget |
Chase target for the team batting second. |
RushCricketTarget
| Field | Type | Description |
team_urn |
string |
URN of the team that must chase the target. |
runs |
uint32 |
Runs needed to win. |
overs |
float |
Overs available to reach the target. |
6.7.4. Per-team inning state
RushCricketTeamCurrentInningStatePartialUpdate
| Field | Type | Description |
team_urn |
string |
Team identifier the update applies to. |
payload |
RushCricketTeamCurrentInningStatePartialUpdate.Payload |
Oneof: team_current_inning_state. |
RushCricketTeamCurrentInningState
| Field | Type | Description |
runs |
uint32 |
Runs scored by the team in this inning. |
wickets |
uint32 |
Wickets lost by the team in this inning. |
boundaries_four |
uint32 |
Number of fours scored. |
boundaries_six |
uint32 |
Number of sixes scored. |
wide_balls |
uint32 |
Number of wide balls bowled against the team. |
no_balls |
uint32 |
Number of no balls bowled against the team. |
overs_played |
float |
Fractional number of overs played by the team in this inning. |
player |
RushCricketPlayerCurrentMapState |
The single player representing this team. |
RushCricketPlayerCurrentMapState
| Field | Type | Description |
player_urn |
string |
Player identifier. |
ext_name |
string |
External display name from the data source. |
RushCricketBallState
| Field | Type | Description |
inning |
uint32 |
Inning number the ball belongs to. |
over |
uint32 |
Over number the ball belongs to. |
ball |
uint32 |
Ball number inside the over. |
is_extra |
bool |
true if this was an extra ball (wide or no ball). |
ball_order_within_inning |
uint32 |
Position of the ball in the inning, counting from 1. |
6.7.5. eCricket enums
RushCricketEventType
| Value | Description |
| RUSH_CRICKET_EVENT_TYPE_UNSPECIFIED | Default; event type is not known. |
| RUSH_CRICKET_EVENT_TYPE_BOUNDARY_FOUR | Boundary four scored. |
| RUSH_CRICKET_EVENT_TYPE_BOUNDARY_SIX | Boundary six scored. |
| RUSH_CRICKET_EVENT_TYPE_WIDE_BALL | Wide ball bowled. |
| RUSH_CRICKET_EVENT_TYPE_NO_BALL | No ball bowled. |
| RUSH_CRICKET_EVENT_TYPE_WICKET | Wicket taken. |
| RUSH_CRICKET_EVENT_TYPE_PERIOD_CHANGE | A new inning has started. |
RushCricketPeriod
| Value | Description |
| RUSH_CRICKET_PERIOD_UNSPECIFIED | Default; period is not known. |
| RUSH_CRICKET_PERIOD_FIRST | First inning. |
| RUSH_CRICKET_PERIOD_SECOND | Second inning. |
RushCricketBoundaryRun
| Value | Description |
| RUSH_CRICKET_BOUNDARY_RUN_UNSPECIFIED | Default: no boundary or boundary type unknown. |
| RUSH_CRICKET_BOUNDARY_RUN_FOUR | Four-run boundary. |
| RUSH_CRICKET_BOUNDARY_RUN_SIX | Six-run boundary. |
RushCricketBowlerError
| Value | Description |
| RUSH_CRICKET_BOWLER_ERROR_UNSPECIFIED | Default; no bowler error. |
| RUSH_CRICKET_BOWLER_ERROR_NO_BALL | No ball was bowled. |
| RUSH_CRICKET_BOWLER_ERROR_WIDE | A wide ball was bowled. |