com.suibari.nagi.drawCard
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "全肯定カードを1枚引く。my Nagiの通常枠と他ユーザーへのリアクション枠を1日各1回利用できる(JST 4:00 が日付境界)。同じ枠を既に引いている場合は、そのカードをそのまま返す(冪等)。抽選はサーバ側で行う。",
"errors": [
{
"name": "AuthRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"reactionUri": {
"description": "source=reaction のとき必須。本人が当日作成した他ユーザー宛てリアクション。",
"format": "at-uri",
"type": "string"
},
"source": {
"description": "省略時は後方互換のためmy_nagi。",
"knownValues": [
"my_nagi",
"reaction"
],
"type": "string"
}
},
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"alreadyDrawn": {
"description": "true なら本日は既に引き済みで、返しているのはそのカード。",
"type": "boolean"
},
"card": {
"description": "引いたカード(定義 + 所持情報)。botたんコメントは非同期生成なので初回は空。",
"type": "unknown"
},
"commentPending": {
"description": "true の間は botたんコメントを生成中。クライアントは getCards で取り直す。",
"type": "boolean"
},
"drawStatus": {
"type": "unknown"
},
"isNew": {
"description": "コレクション初登場なら true。既に持っているカードなら false。",
"type": "boolean"
},
"source": {
"knownValues": [
"my_nagi",
"reaction"
],
"type": "string"
}
},
"required": [
"card",
"source",
"alreadyDrawn",
"drawStatus"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.suibari.nagi.drawCard",
"lexicon": 1
}
Metadata
- DID
-
did:plc:uixgxpiqf4i63p6rgpu7ytmx - CID
-
bafyreid7oykvpxe6ca2nl3fmhoweyyyqx5jdhos5mghxu7j5mrrbc7yo6a - Indexed At
- 2026-08-15 17:15 UTC
- AT-URI
-
at://did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.atproto.lexicon.schema/com.suibari.nagi.drawCard
Version History (4 versions)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
com.suibari.nagi.drawGuestCard procedure
未サインイン端末が今日の全肯定カードを1枚引く。同じ端末秘密・同じ日付では同じカードを返す。JST 4:00 が日付境界。
-
com.suibari.nagi.cardGet record
全肯定カードを引いたことの控え。**権威ではない。** ドローの結果を決めるのは AppView で、このレコードは「引いた」という申告にすぎず、card_draws / card_instances …
-
指定ユーザーの全肯定カードコレクション。未所持のカードも定義だけ返す(コレクション表示のため)。所持状況は公開情報。自分自身を指定したときだけ drawS…