ai.dennery.game.chess

Repository @game.dennery.ai did:plc:com7beprxcim4u4ezzroudpc namespace authority
Details · defs
Kinddefs
Authoritygame.dennery.ai
Commit rev3n26g3wpbbo2g
Indexed
cid bafyreic7ij3oerdvicxwkqlttxrbhz6p5fpbujvfdinczhzqx5q3a4kkre

Checks

Valid
  • unlimited-string defs.move.properties.promotionNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.state.properties.turnColorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "move": {
      "description": "One chess move in UCI coordinates plus claimed SAN and resulting FEN.",
      "properties": {
        "fenAfter": {
          "maxLength": 100,
          "type": "string"
        },
        "from": {
          "maxLength": 2,
          "minLength": 2,
          "type": "string"
        },
        "promotion": {
          "knownValues": [
            "b",
            "n",
            "q",
            "r"
          ],
          "type": "string"
        },
        "san": {
          "maxLength": 12,
          "type": "string"
        },
        "to": {
          "maxLength": 2,
          "minLength": 2,
          "type": "string"
        }
      },
      "required": [
        "from",
        "to",
        "san",
        "fenAfter"
      ],
      "type": "object"
    },
    "state": {
      "description": "Authoritative chess position.",
      "properties": {
        "fen": {
          "maxLength": 100,
          "type": "string"
        },
        "fullmoveNumber": {
          "minimum": 1,
          "type": "integer"
        },
        "halfmoveClock": {
          "minimum": 0,
          "type": "integer"
        },
        "turnColor": {
          "knownValues": [
            "black",
            "white"
          ],
          "type": "string"
        }
      },
      "required": [
        "fen",
        "turnColor"
      ],
      "type": "object"
    }
  },
  "id": "ai.dennery.game.chess",
  "lexicon": 1
}