com.suibari.nagi.takeBoardCard

おすそわけボードから、まだ持っていないカードを1枚、Ƶ を払って受け取る。早い者勝ち。AAR はボードに無ければ botたんの分を受け取る。提供者は枚数で重み付けしたランダムで選ばれ、カードに「〜からもらった」が付く。要認証。

Repository @suibari.com did:plc:uixgxpiqf4i63p6rgpu7ytmx namespace authority
Details · procedure
Kindprocedure
Authoritynagi.suibari.com
Indexed
cid bafyreibxpvjfel4rtultptxv3nru4f7fnslmrh2ndlwnzzuqmideh427ge

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "おすそわけボードから、まだ持っていないカードを1枚、Ƶ を払って受け取る。早い者勝ち。AAR はボードに無ければ botたんの分を受け取る。提供者は枚数で重み付けしたランダムで選ばれ、カードに「〜からもらった」が付く。要認証。",
      "errors": [
        {
          "name": "AuthRequired"
        },
        {
          "name": "already_owned"
        },
        {
          "name": "out_of_stock"
        },
        {
          "name": "insufficient_zenny"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "card": {
              "description": "{ volume, id }",
              "type": "unknown"
            },
            "price": {
              "description": "画面に出ていた額。これより高くなっていたら out_of_stock(AAR がボードから消えて botたんの額になった)。",
              "minimum": 1,
              "type": "integer"
            }
          },
          "required": [
            "card",
            "price"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "balance": {
              "type": "integer"
            },
            "card": {
              "description": "受け取ったカードの CardView。receivedFrom が付く。コメントは非同期生成。",
              "type": "unknown"
            },
            "paid": {
              "type": "integer"
            }
          },
          "required": [
            "card",
            "paid",
            "balance"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.suibari.nagi.takeBoardCard",
  "lexicon": 1
}