com.imlunahey.leaderboard.score

A signed leaderboard score. Users play locally, call /api/sign-score on the site which validates the run and returns a server HMAC, then createRecord on their own PDS. Records without a valid server signature are ignored when rendering the leaderboard.

Repository @imlunahey.com did:plc:k6acu4chiwkixvdedcmdgmal namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityleaderboard.imlunahey.com
Indexed

Record

record · key tid

Properties

achievedAt

requiredstring · datetime

Timestamp assigned by the signing server, part of the HMAC payload.

did

requiredstring · did

The author's DID, copied into the record so the server HMAC binds the score to the player. Must match the record repo's DID when displayed.

game

requiredstring

The game identifier. Includes the variant for games with multiple boards (e.g. typing-30).

  • maxLength: 64
  • knownValues: snake | wordle | typing-15 | typing-30 | typing-60

replay

string

Optional compact replay data (input log, guess sequence, typed text hash). Not required; when present, the signing server may use it for additional validation before signing.

  • maxLength: 4000

score

requiredinteger

The numeric score. Meaning depends on the game — for snake, food eaten; for typing, wpm; for wordle, guesses used (lower is better).

  • minimum: 0

sig

requiredstring

Base64url-encoded HMAC-SHA256 of the canonical {game, score, did, achievedAt} payload, signed with a server secret. The leaderboard renderer verifies this and drops records that don't match.

  • maxLength: 128

subject

requiredstring · at-uri

AT-URI of the leaderboard marker record this score is claiming against.

Similar lexicons

semantic match

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

  • com.minomobi.lab.score

    record not from the namespace authority

    A result worth comparing, from a site at minomobi.com. Kept apart from com.minomobi.lab.doc because a leaderboard needs a numeric field with a known sort direction, and burying that inside an opaque `data` blob makes the records uncomparable — which is the one thing a score is for. Written to the PLAYER'S OWN repository: there is no lab-side scoreboard, so a site builds one by reading the repos of players a visitor NAMED (their own, their follows, handles they typed). That constraint is delibera

  • Definitions related to scores in games hosting leaderboards via Tsunagite.

  • uk.ewancroft.snake.score

    record not from the namespace authority

    A validated record of a user's score in the Snake game.

  • Identifies a leaderboard surface. Score records reference this by AT-URI via their `subject` field; constellation indexes those references so the site can list scores without running a firehose subscriber.

  • A verified leaderboard entry stored in the mathr.app official repository