gg.infinitetavern.tavern.getLeaderboard

infinitetavern.gg

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "leaderboardEntry": {
      "description": "An adventurer's ranking on the season leaderboard.",
      "properties": {
        "avgPlacement": {
          "description": "Average placement across all battles this season.",
          "type": "number"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "gamesPlayed": {
          "minimum": 1,
          "type": "integer"
        },
        "handle": {
          "type": "string"
        },
        "lastMmr": {
          "description": "Most recent tavern rating.",
          "type": "number"
        },
        "rank": {
          "description": "Position on the leaderboard.",
          "minimum": 1,
          "type": "integer"
        },
        "wins": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "rank",
        "did",
        "gamesPlayed",
        "wins",
        "avgPlacement",
        "lastMmr"
      ],
      "type": "object"
    },
    "main": {
      "description": "View the tavern's leaderboard — the top-ranked adventurers for a given campaign season, ordered by rating.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "results": {
              "items": {
                "ref": "#leaderboardEntry",
                "type": "ref"
              },
              "type": "array"
            },
            "seasonNumber": {
              "description": "The season these rankings are for.",
              "type": "integer"
            }
          },
          "required": [
            "seasonNumber",
            "results"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 20,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "seasonNumber": {
            "default": 1,
            "description": "The campaign season to query. Defaults to season 1.",
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "gg.infinitetavern.tavern.getLeaderboard",
  "lexicon": 1
}

Validate Record

Validate a record against gg.infinitetavern.tavern.getLeaderboard

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:vxwgn77hp5ikvbiggm5es3rv
CID
bafyreidisn7p3cnr2jdadxyryvv3uaz66jlan6ruxrdwlvzya55pjyd5j4
Indexed At
2026-04-13 22:54 UTC
AT-URI
at://did:plc:vxwgn77hp5ikvbiggm5es3rv/com.atproto.lexicon.schema/gg.infinitetavern.tavern.getLeaderboard

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • gg.infinitetavern.adventurer.seasonJournal recordnot from the namespace authority

    A chapter in an adventurer's season journal — tracking battles, victories, and ranking progress within a single campaign season. One record per adventurer per season, stored at rkey 'season-{N}'.

  • org.lichess.puzzle.getLeaderboard querynot from the namespace authority

    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.

  • gg.infinitetavern.herald.battleReport recordnot from the namespace authority

    A herald's battle report — a structured summary of a tavern battle written by the town crier bot to its own PDS. The AT-URI of this record may be embedded in Bluesky feed posts to announce match results.

  • gg.infinitetavern.tavern.getAdventurerChronicles querynot from the namespace authority

    Consult the tavern's grand ledger to retrieve an adventurer's indexed battle chronicles, ordered newest first.

  • Defnitions related to querying leaderboards hosted via Tsunagite.

Lexicon Garden

@