From
bafyreibgmer6i234oxyhptl4nobfar2by57xpnldye3od7foofrsrrt5n4
indexed 2026-08-18 17:37 UTC
View this version
To
bafyreihdjglzwcsygn2x7nydnd4fwe4wbprmluvw3vtwfjdhje2qd2nk6a
indexed 2026-11-14 01:18 UTC
View this version
Compatibility
breaking 3 breaking changes, 0 non-breaking changes.
Breaking changes (3)
- RemovedVertex RemovedVertex { vertex_id: "com.suibari.nagi.drawCard:input.reactionUri" }
- RemovedEdge RemovedEdge { src: "com.suibari.nagi.drawCard:input", tgt: "com.suibari.nagi.drawCard:input.reactionUri", kind: "prop", name: Some("reactionUri") }
- ConstraintTightened ConstraintTightened { vertex_id: "com.suibari.nagi.drawCard:input.source", sort: "knownValues", old_value: "[\"my_nagi\",\"reaction\",\"anniversary\"]", new_value: "[\"my_nagi\",\"anniversary\"]" }
Migration guidance
Removed
RemovedVertex { vertex_id: "com.suibari.nagi.drawCard:input.reactionUri" }
Constraint changes
- ConstraintTightened ConstraintTightened { vertex_id: "com.suibari.nagi.drawCard:input.source", sort: "knownValues", old_value: "[\"my_nagi\",\"reaction\",\"anniversary\"]", new_value: "[\"my_nagi\",\"anniversary\"]" }
Notes
- Breaking: RemovedEdge { src: "com.suibari.nagi.drawCard:input", tgt: "com.suibari.nagi.drawCard:input.reactionUri", kind: "prop", name: Some("reactionUri") }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"description": "全肯定カードを1枚引く。my Nagiの通常枠と他ユーザーへのリアクション枠を1日各1回利用できる(JST 4:00 が日付境界)。同じ枠を既に引いている場合は、そのカードをそのまま返す(冪等)。抽選はサーバ側で行う。source=anniversary は抽選ではなく、その日が記念日の人へ未受領ぶんを一括で配る(同じ記念日は1年に1枚)。",5
"description": "全肯定カードを1枚引く。my Nagiの通常枠を1日1回利用できる(JST 4:00 が日付境界)。既に引いている場合は、そのカードをそのまま返す(冪等)。抽選はサーバ側で行う。source=anniversary は抽選ではなく、その日が記念日の人へ未受領ぶんを一括で配る(同じ記念日は1年に1枚)。",66
"errors": [77
{88
"name": "AuthRequired"99
}1010
],1111
"input": {1212
"encoding": "application/json",1313
"schema": {1414
"properties": {1515
"guestToken": {1616
"description": "未サインイン中に同日引いた通常枠を引き継ぐ端末秘密。source=my_nagi のときだけ利用できる。",1717
"type": "string"1818
},19
"reactionUri": {20
"description": "source=reaction のとき必須。本人が当日作成した他ユーザー宛てリアクション。",21
"format": "at-uri",22
"type": "string"23
},2419
"source": {25
"description": "省略時は後方互換のためmy_nagi。anniversary は記念日カードの受け取りで、抽選枠を消費しない。",20
"description": "省略時は後方互換のためmy_nagi。anniversary は記念日カードの受け取りで、抽選枠を消費しない。廃止したリアクション枠の reaction は拒否する。",2621
"knownValues": [2722
"my_nagi",28
"reaction",2923
"anniversary"3024
],3125
"type": "string"3226
}3327
},3428
"type": "object"3529
}3630
},3731
"output": {3832
"encoding": "application/json",3933
"schema": {4034
"properties": {4135
"alreadyDrawn": {4236
"description": "true なら本日は既に引き済みで、返しているのはそのカード。",4337
"type": "boolean"4438
},4539
"card": {4640
"description": "引いたカード(定義 + 所持情報)。botたんコメントは非同期生成なので初回は空。",4741
"type": "unknown"4842
},4943
"cards": {5044
"description": "source=anniversary のみ。同日に複数の記念日が重なることがあるので今回受け取ったぶんを全部返す。card はこの先頭と同じ。",5145
"items": {5246
"type": "unknown"5347
},5448
"type": "array"5549
},5650
"commentPending": {5751
"description": "true の間は botたんコメントを生成中。クライアントは getCards で取り直す。",5852
"type": "boolean"5953
},6054
"drawStatus": {6155
"type": "unknown"6256
},6357
"isNew": {6458
"description": "コレクション初登場なら true。既に持っているカードなら false。",6559
"type": "boolean"6660
},6761
"source": {62
"description": "reaction は廃止したリアクション枠。新しい応答には現れない。",6863
"knownValues": [6964
"my_nagi",7065
"reaction",7166
"anniversary"7267
],7368
"type": "string"7469
}7570
},7671
"required": [7772
"card",7873
"source",7974
"alreadyDrawn",8075
"drawStatus"8176
],8277
"type": "object"8378
}8479
},8580
"type": "procedure"8681
}8782
},8883
"id": "com.suibari.nagi.drawCard",8984
"lexicon": 19085
}