uk.ewancroft.snake.score

ewancroft.uk

{
  "id": "uk.ewancroft.snake.score",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "score",
          "createdAt"
        ],
        "properties": {
          "score": {
            "type": "integer",
            "minimum": 0,
            "description": "The player's final score"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the score was achieved"
          },
          "gameProof": {
            "type": "object",
            "properties": {
              "checksum": {
                "type": "string",
                "description": "Cryptographic checksum of game actions"
              },
              "duration": {
                "type": "integer",
                "minimum": 1000,
                "description": "Game duration in milliseconds"
              },
              "actionCount": {
                "type": "integer",
                "minimum": 2,
                "description": "Number of recorded game actions"
              }
            },
            "description": "Validation proof to prevent score manipulation"
          }
        }
      },
      "description": "A validated record of a user's score in the Snake game."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against uk.ewancroft.snake.score

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:ofrbh253gwicbkc5nktqepol
CID
bafyreict643uiq6sb6zrmnj4ibnzphrj2asxim6v45g4de34j6cngrjalq
Indexed At
2026-01-04 05:02 UTC
AT-URI
at://did:plc:ofrbh253gwicbkc5nktqepol/com.atproto.lexicon.schema/uk.ewancroft.snake.score

Lexicon Garden

@