at.turtleme.game.sweepReef

turtleme.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Sweep one patch of the reef, or the handful a chord opens, in the order given. What comes back is the patches that opened and what each one counts, which is everything a board needs to be drawn and nothing more. Sweeping a patch with a turtle under it wakes the shoal and ends the board, and only a board swept clean pays anything. Requires an atproto service auth token addressed to did:web:turtleme.at#turtle_game and naming this method, so a token issued for one call cannot be spent on another.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "netted": {
              "description": "Where the player's nets are. They are the player's own marks and are not kept here; they are sent because a net stops a sweep spreading, the way a flag does. Leaving them out only opens more of the caller's own board.",
              "items": {
                "minimum": 0,
                "type": "integer"
              },
              "maxLength": 256,
              "type": "array"
            },
            "patches": {
              "description": "Which patches to sweep, in order. Sweeping stops at the first one that wakes the shoal.",
              "items": {
                "minimum": 0,
                "type": "integer"
              },
              "maxLength": 9,
              "minLength": 1,
              "type": "array"
            }
          },
          "required": [
            "patches"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "at.turtleme.game.defs#state",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "id": "at.turtleme.game.sweepReef",
  "lexicon": 1
}

Validate Record

Validate a record against at.turtleme.game.sweepReef

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:f4h4tl43o4vx4hv2xps6siuz
CID
bafyreibsfy4hkc5zywzwreb3qh6624xelctwwnldoqp4n2zeil3fuq646e
Indexed At
2026-09-16 13:52 UTC
AT-URI
at://did:plc:f4h4tl43o4vx4hv2xps6siuz/com.atproto.lexicon.schema/at.turtleme.game.sweepReef

Version History (2 versions)

Referenced Schemas (1)

Similar Lexicons

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

  • Anchor over a fresh reef. The board is made empty and the shoal goes down on the first sweep, clear of it, so the patch a round opens with is never the one that ends it. A patch named with the cast is that first sweep, …

  • Up anchor and leave the shoal where it lies. Nothing comes aboard, because a board pays the whole shoal or it pays nothing, and the water wants the same wait it would after any other ending. Requires an atproto service …

  • Stand over a fishing spot. Casting at one that has not yet wandered off does not move it, the same way setting a net that is already out does not restart it. When a spot leaves is drawn from the moment it arrived, so th…

Lexicon Garden

@