app.knightsky.game

A player's mutable copy of a chess game. Without challenge this record is an invitation; with challenge it accepts the referenced invitation. Update the same record key after each move or resignation.

Repository @knightsky.app did:plc:4jwu5r3kihk5btmr7nqtvt2r namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authorityknightsky.app
Commit rev3n2hbs2dsij2u
Indexed

Record

record · key tid

Properties

Present only on the accepting player's record. Identifies the challenger's app.knightsky.game record and its CID at acceptance; retain this reference unchanged on later updates.

color

requiredstring

The record owner's color, not the opponent's color.

  • enum: white | black

fen

requiredstring

The six-field FEN after replaying pgn, or the standard initial position before any moves. Clients must validate it with the chess engine and compare it with the replayed position.

  • minLength: 1
  • maxLength: 256

opponent

requiredstring · did

DID of the opposing player. The record owner's DID is taken from the repository, not this field.

pgn

requiredstring

Full mainline move history in PGN from the standard initial position. An empty string is allowed before the first move. Clients must replay and validate the moves rather than trust this text.

  • maxLength: 262144

status

requiredstring

Resigned means this record's owner has resigned. Active means no resignation by this owner; checkmate and automatic draws are derived by the engine from the accepted history.

  • enum: active | resigned

Similar lexicons

semantic match

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

  • ing.chessk.game

    record not from the namespace authority

    A finished chess game from chessk.ing, copied by one of its players into their own repository. The record key is the chessk.ing game id.

  • One chess move in UCI coordinates plus claimed SAN and resulting FEN.

  • A request for an opponent to correct a specific version of their app.knightsky.game record. A rejection does not itself end the game or replace the last accepted state.