statshawk
ReferenceData modelContests & box scores

ContestSummary

The source-neutral read view of any [`Contest`](crate::domain::contest::Contest): match or field, team-backed or non-team-backed.

object
competitionCompetitionIdrequired
decided_at_clock_secondsinteger,null<int32>optional

Clock within `decided_in_segment`, in seconds; `None` when meaningless.

decided_inone ofoptional
one of
null
decided_in_segmentinteger,null<int32>optional

The segment in/after which the contest ended; `None` when it went the distance or the source has no signal.

editionEditionIdrequired
entrantsContestEntrantSummary[]required
ContestEntrantSummary
entrant
EntrantId
result
null | ContestResultSummaryoptional
seed
null | Seedoptional
segments
ContestSegment[]optional
start_slot
null | Slotoptional
eventone ofoptional
one of
null
idContestIdrequired
kindContestKindrequired
ContestKind
one of
match
match

Exactly two *related* entrants, head-to-head, a mutual/relational score — today's `Game`. Boxscore reads ("us vs them") rely on the two sides.

fieldobject

N *independent* entrants, each independently measured then ranked.

field
object
locationone ofoptional
one of
relationsContestRelation[]optional
ContestRelation
round
null | Roundoptional
slot
null | Slotoptional
stageone ofoptional
one of
null
starts_atstring<date-time>required
statusContestStatusrequired
ContestStatus
scheduledin_progressfinalpostponedcancelledsuspended