Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

LeaderboardRow

One row of a board as a read answers it.

Property Type Description
isRemoved boolean Whether a correction removed it from a final result, which keeps the row and its rank.
metadata string | null Its detail as JSON, as the board’s metadata schema wrote it; null for none.
name string The name players see the subject by.
rank number | null Its place, from 1: unique, ties broken by who reached the score first, then by id; frozen in a final result; null where only the shared top is counted and the row is past it.
score readonly number[] Its score’s fields, in the order the board declares them.
subject object Whose row it is: a player, by their id in the game.
subject.id PlayerId -
subject.kind Player -