Team match

Two teams against each other. The players play their own battles inside it, and those battles add up to the one team result described here.

Properties

idstring
The team match id. Every battle played inside the same team match carries the same one, so you can group a tournament's battles by it.
teams({name, slug} | null)[]
Both sides, the first side first, always two entries. A side is null when no team has been put there yet, or when its registration has since been removed. score and battleWins are in the same order, so the first number of each belongs to the first team here.See Team
winner{name, slug} | null
The winning team. Null both for a draw and for a match nobody has settled yet — decided tells the two apart.See Team
score[number, number]
Each side's team match score, in the same order as teams, counted in whatever decides a team match at this event: battle points, victory points, or battles won when team matches are decided on battle wins.
battleWins[number, number]
How many of the individual battles each side won, in the same order as teams.
decidedboolean
Whether the match has a result yet. False while it is still being played.

Example

json
{
  "id": "4b81d0e7f2ca",
  "teams": [
    {"name": "Hammarö Hammers", "slug": "hammaro-hammers"},
    {"name": "Kil Krushers", "slug": "kil-krushers"}
  ],
  "winner": {"name": "Hammarö Hammers", "slug": "hammaro-hammers"},
  "score": [3, 1],
  "battleWins": [3, 1],
  "decided": true
}