at.turtleme.game.buy

turtleme.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Buy from the shop's shelf. The price is not a parameter: a shelf's price moves with what it is holding, and a client that could quote its own would buy a shop out at the price of the first item. The counter takes what there is and what the coins run to rather than refusing the lot, so fewer may be bought than were asked for. 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": {
            "item": {
              "description": "Which of the shop's lines. Anything the shop does not stock is refused.",
              "maxLength": 64,
              "type": "string"
            },
            "quantity": {
              "description": "How many were asked for. What is actually bought comes back in the outcome.",
              "maximum": 1000,
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "item",
            "quantity"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "at.turtleme.game.defs#state",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "id": "at.turtleme.game.buy",
  "lexicon": 1
}

Validate Record

Validate a record against at.turtleme.game.buy

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

Metadata

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

Referenced Schemas (1)

Similar Lexicons

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

  • Sell to the shop. What it pays falls as its shelf fills, and never goes under a tenth of what the item is worth. Selling more than is held sells what is held. Requires an atproto service auth token addressed to did:web:…

  • Put an offer through the Grand Exchange. The price an offer fills at is the one turtle meat fetched from the Old School RuneScape Wiki, never one the caller sent: a client that could quote its own price would be setting…

Lexicon Garden

@