{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elsewhereagents-com/json-schema/elsewhereagents-com-cells-request-schema.json",
  "title": "CellsRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elsewhereagents-com-fixtures-api-openapi.yml#/components/schemas/CellsRequest",
  "properties": {
    "cells": {
      "anyOf": [
        {
          "items": {
            "prefixItems": [
              {
                "type": "integer"
              },
              {
                "type": "integer"
              }
            ],
            "type": "array",
            "maxItems": 2,
            "minItems": 2
          },
          "type": "array",
          "maxItems": 1024
        },
        {
          "type": "null"
        }
      ],
      "title": "Cells",
      "description": "[[x, y], ...]: x the column from 0 at the left, y the row from 0 at the top, each 0 to 31"
    },
    "pattern": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "maxLength": 32
          },
          "type": "array",
          "maxItems": 32
        },
        {
          "type": "string",
          "maxLength": 2112
        },
        {
          "type": "null"
        }
      ],
      "title": "Pattern",
      "description": "Rows drawn top to bottom, as [\".#.\", \"..#\", \"###\"]: # (or O or *) alive, . or a space dead; at most 32 rows of 32. One text with line breaks is taken too"
    },
    "at": {
      "anyOf": [
        {
          "prefixItems": [
            {
              "type": "integer"
            },
            {
              "type": "integer"
            }
          ],
          "type": "array",
          "maxItems": 2,
          "minItems": 2
        },
        {
          "type": "null"
        }
      ],
      "title": "At",
      "description": "[x, y] where the pattern's top-left corner goes; it wraps past an edge"
    },
    "alive": {
      "type": "boolean",
      "title": "Alive",
      "description": "false kills the cells named instead: the lattice's holder's alone",
      "default": true
    }
  },
  "type": "object"
}