com.tomplanche.atkuzu.stats

tomplanche.com

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A single, mutable per-account streak/stats record, edited in place like a profile. It also doubles as atkuzu's declaration / signaling record: its presence signals that an account plays atkuzu, and its deletion signals opt-out. Created on first play, even before any stats accrue.",
      "key": "literal:self",
      "record": {
        "properties": {
          "currentStreak": {
            "description": "Consecutive solved puzzles up to the most recent played puzzle.",
            "minimum": 0,
            "type": "integer"
          },
          "gamesPlayed": {
            "description": "Total puzzles completed (solved or not).",
            "minimum": 0,
            "type": "integer"
          },
          "gamesWon": {
            "description": "Total puzzles solved.",
            "minimum": 0,
            "type": "integer"
          },
          "lastPuzzleNumber": {
            "description": "Puzzle number of the most recent completed puzzle, used to detect streak breaks.",
            "minimum": 1,
            "type": "integer"
          },
          "maxStreak": {
            "description": "Longest streak ever achieved.",
            "minimum": 0,
            "type": "integer"
          },
          "test": {
            "description": "True if the current values reflect test writes only, not real completions. Since this record is a singleton (`self`), a real write always overwrites a test one and omits this field.",
            "type": "boolean"
          },
          "updatedAt": {
            "description": "When this record was last updated.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.tomplanche.atkuzu.stats",
  "lexicon": 1
}

Validate Record

Validate a record against com.tomplanche.atkuzu.stats

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:ybx6os5vaaksppbxwvqqciaf
CID
bafyreieucg5qmnihvwu3bj2sarpsnqks7ynr6lhzou65uyi467wfsjpayy
Indexed At
2026-09-04 15:13 UTC
AT-URI
at://did:plc:ybx6os5vaaksppbxwvqqciaf/com.atproto.lexicon.schema/com.tomplanche.atkuzu.stats

Version History (2 versions)

Similar Lexicons

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

  • A single, mutable per-account streak/stats record, edited in place like a profile. It also doubles as AT Mot's declaration / signaling record: its presence signals that an account plays AT Mot, and its deletion signals …

  • com.tomplanche.atkuzu.result recordnot from the namespace authority

    An immutable record of one completed atkuzu (Binairo/Takuzu) daily puzzle, written to the player's own PDS. Write-once: no field may change after creation. The record key is `<puzzleNumber>-<size>` (e.g. `412-8`), so ea…

  • A declaration of a at://2048 player's stats over the course of their playtime

  • Single overwritten record: an incremental rollup of the session history, so a normal load doesn't have to cursor-walk every session ever recorded (#16). rkey is literally `self`.

Lexicon Garden

@