ai.dennery.game.jigsaw

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

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "move": {
      "description": "One jigsaw placement turn: 1-7 tiles onto their squares.",
      "properties": {
        "placements": {
          "items": {
            "properties": {
              "col": {
                "maximum": 12,
                "minimum": 0,
                "type": "integer"
              },
              "row": {
                "maximum": 12,
                "minimum": 0,
                "type": "integer"
              },
              "tile": {
                "maxLength": 64,
                "type": "string"
              }
            },
            "required": [
              "tile",
              "row",
              "col"
            ],
            "type": "object"
          },
          "maxLength": 7,
          "type": "array"
        }
      },
      "required": [
        "placements"
      ],
      "type": "object"
    },
    "puzzle": {
      "description": "A jigsaw puzzle definition: grid size plus tile home squares.",
      "properties": {
        "cols": {
          "maximum": 13,
          "minimum": 1,
          "type": "integer"
        },
        "rows": {
          "maximum": 13,
          "minimum": 1,
          "type": "integer"
        },
        "solution": {
          "description": "Tile id to home square.",
          "type": "object"
        }
      },
      "required": [
        "cols",
        "rows",
        "solution"
      ],
      "type": "object"
    },
    "state": {
      "description": "Authoritative jigsaw progress: placed tiles.",
      "properties": {
        "cols": {
          "maximum": 13,
          "minimum": 1,
          "type": "integer"
        },
        "placed": {
          "description": "Tile id to square.",
          "type": "object"
        },
        "placedCount": {
          "minimum": 0,
          "type": "integer"
        },
        "rows": {
          "maximum": 13,
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "cols",
        "rows",
        "placed",
        "placedCount"
      ],
      "type": "object"
    }
  },
  "id": "ai.dennery.game.jigsaw",
  "lexicon": 1
}