dev.tsunagite.getLeaderboard
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"leaderboard": {
"description": "A sorted leaderboard of associated scores, with an index for assembling longer leaderboards.",
"properties": {
"components": {
"ref": "dev.tsunagite.game#scoreComponentMap",
"type": "ref"
},
"cursor": {
"description": "The integer index of the next score after this slice. If not present, no further scores remain.",
"minimum": 0,
"type": "integer"
},
"scores": {
"description": "The scores in this slice of leaderboard, sorted in descending order by the specified property.",
"items": {
"ref": "dev.tsunagite.defs#associatedScore",
"type": "ref"
},
"type": "array"
}
},
"type": "object"
},
"main": {
"description": "List the leaderboard for a given chart. Does not require auth.",
"errors": [
{
"description": "No chart matching the given URI was found.",
"name": "chartNotFound"
},
{
"description": "No score component for the game matching the given ID was found.",
"name": "invalidComponent"
},
{
"description": "There are fewer scores than the requested cursor point.",
"name": "cursorOutOfBounds"
}
],
"output": {
"encoding": "application/json",
"schema": {
"ref": "dev.tsunagite.getLeaderboard#leaderboard",
"type": "ref"
}
},
"parameters": {
"properties": {
"chart": {
"description": "Must point to type `dev.tsunagite.chart`",
"format": "at-uri",
"type": "string"
},
"cursor": {
"description": "The index of the highest score to query in this slice.",
"minimum": 0,
"type": "integer"
},
"inputMethod": {
"type": "string"
},
"limit": {
"default": 50,
"description": "How many scores to get in this slice.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"mode": {
"type": "string"
},
"sortBy": {
"description": "The ID of the score component to sort the leaderboard by. Will default to the game's default component if not present. Set to `timestamp` to sort by newest/oldest.",
"format": "record-key",
"type": "string"
},
"versions": {
"description": "The md5 hashes of the chart versions to list scores for. Will default to the chart's current ranked versions if not present.",
"items": {
"maxLength": 16,
"minLength": 16,
"type": "bytes"
},
"type": "array"
}
},
"required": [
"chart"
],
"type": "params"
},
"type": "query"
}
},
"description": "Defnitions related to querying leaderboards hosted via Tsunagite.",
"id": "dev.tsunagite.getLeaderboard",
"lexicon": 1
}
Metadata
- DID
-
did:plc:pz4sp2vf5w26wnaee253gfms - CID
-
bafyreigdyhradwazjqmzvw4lr5lkh7dkuth7pa7v7fwr2br5q5y5kz45xq - Indexed At
- 2026-08-07 06:29 UTC
- AT-URI
-
at://did:plc:pz4sp2vf5w26wnaee253gfms/com.atproto.lexicon.schema/dev.tsunagite.getLeaderboard
Version History (4 versions)
Referenced Schemas (2)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.tsunagite.score record
Definitions related to scores in games hosting leaderboards via Tsunagite.
-
The ranked leaderboard, best rating first. Only established players appear: provisional ratings (high deviation), players with too few rated attempts, and players currently limited from ranked play are excluded.
-
dev.tsunagite.game record
Definitions related to games hosting leaderboards via Tunagite.
-
View the tavern's leaderboard — the top-ranked adventurers for a given campaign season, ordered by rating.
-
dev.tsunagite.chart record
Definitions related to charts included in games hosting leaderboards via Tsunagite.