com.suibari.nagi.drawGuestCard

未サインイン端末が今日の全肯定カードを1枚引く。同じ端末秘密・同じ日付では同じカードを返す。JST 4:00 が日付境界。

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

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.sourceNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "未サインイン端末が今日の全肯定カードを1枚引く。同じ端末秘密・同じ日付では同じカードを返す。JST 4:00 が日付境界。",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "deviceToken": {
              "maxLength": 128,
              "minLength": 32,
              "type": "string"
            }
          },
          "required": [
            "deviceToken"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "alreadyDrawn": {
              "type": "boolean"
            },
            "card": {
              "type": "unknown"
            },
            "commentPending": {
              "type": "boolean"
            },
            "drawStatus": {
              "type": "unknown"
            },
            "expiresAt": {
              "format": "datetime",
              "type": "string"
            },
            "isNew": {
              "type": "boolean"
            },
            "source": {
              "knownValues": [
                "my_nagi"
              ],
              "type": "string"
            }
          },
          "required": [
            "card",
            "source",
            "alreadyDrawn",
            "isNew",
            "commentPending",
            "drawStatus",
            "expiresAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.suibari.nagi.drawGuestCard",
  "lexicon": 1
}