{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "cellColor": {
      "properties": {
        "cellId": {
          "maximum": 1000000,
          "minimum": 0,
          "type": "integer"
        },
        "pieceId": {
          "maximum": 65535,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "cellId",
        "pieceId"
      ],
      "type": "object"
    },
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "boardFingerprint": {
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "colors": {
            "items": {
              "ref": "#cellColor",
              "type": "ref"
            },
            "maxLength": 10000,
            "minLength": 1,
            "type": "array"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "identity": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "maxGraphemes": 64,
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          },
          "occupied": {
            "items": {
              "maximum": 1000000,
              "minimum": 0,
              "type": "integer"
            },
            "maxLength": 10000,
            "minLength": 1,
            "type": "array"
          },
          "polyhedron": {
            "knownValues": [
              "icosahedron",
              "pentagonalbipyramid",
              "octahedron",
              "hexadecadeltahedron",
              "dodecadeltahedron",
              "tetradecadeltahedron",
              "sphenomegacorona",
              "augmentedsphenocorona",
              "sphenocorona",
              "hebesphenomegacorona",
              "disphenocingulum"
            ],
            "type": "string"
          },
          "subdivision": {
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          },
          "version": {
            "const": 1,
            "type": "integer"
          }
        },
        "required": [
          "version",
          "name",
          "createdAt",
          "boardFingerprint",
          "polyhedron",
          "subdivision",
          "occupied",
          "colors",
          "identity"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.oscillatory.radcohesion.scenario",
  "lexicon": 1
}
