com.suibari.nagi.getCards
Schema Diff
+15 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 8 non-breaking changes.
Non-Breaking Changes (8)
- AddedVertex AddedVertex { vertex_id: "com.suibari.nagi.getCards:output.anniversaryCards" }
- AddedVertex AddedVertex { vertex_id: "com.suibari.nagi.getCards:output.anniversaryCards:items" }
- AddedVertex AddedVertex { vertex_id: "com.suibari.nagi.getCards:output.pendingAnniversary" }
- AddedVertex AddedVertex { vertex_id: "com.suibari.nagi.getCards:output.pendingAnniversary:items" }
- AddedEdge AddedEdge { src: "com.suibari.nagi.getCards:output", tgt: "com.suibari.nagi.getCards:output.anniversaryCards", kind: "prop", name: Some("anniversaryCards") }
- AddedEdge AddedEdge { src: "com.suibari.nagi.getCards:output", tgt: "com.suibari.nagi.getCards:output.pendingAnniversary", kind: "prop", name: Some("pendingAnniversary") }
- AddedEdge AddedEdge { src: "com.suibari.nagi.getCards:output.anniversaryCards", tgt: "com.suibari.nagi.getCards:output.anniversaryCards:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "com.suibari.nagi.getCards:output.pendingAnniversary", tgt: "com.suibari.nagi.getCards:output.pendingAnniversary:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.suibari.nagi.getCards:output.anniversaryCards" }AddedVertex { vertex_id: "com.suibari.nagi.getCards:output.anniversaryCards:items" }AddedVertex { vertex_id: "com.suibari.nagi.getCards:output.pendingAnniversary" }AddedVertex { vertex_id: "com.suibari.nagi.getCards:output.pendingAnniversary:items" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.suibari.nagi.getCards:output", tgt: "com.suibari.nagi.getCards:output.anniversaryCards", kind: "prop", name: Some("anniversaryCards") }
- Non-breaking: AddedEdge { src: "com.suibari.nagi.getCards:output", tgt: "com.suibari.nagi.getCards:output.pendingAnniversary", kind: "prop", name: Some("pendingAnniversary") }
- Non-breaking: AddedEdge { src: "com.suibari.nagi.getCards:output.anniversaryCards", tgt: "com.suibari.nagi.getCards:output.anniversaryCards:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "com.suibari.nagi.getCards:output.pendingAnniversary", tgt: "com.suibari.nagi.getCards:output.pendingAnniversary:items", kind: "items", name: None }
1
1
{
2
2
"id": "com.suibari.nagi.getCards",
3
3
"defs": {
4
4
"main": {
5
5
"type": "query",
6
6
"errors": [
7
7
{
8
8
"name": "InvalidRequest"
9
9
}
10
10
],
11
11
"output": {
12
12
"schema": {
13
13
"type": "object",
14
14
"required": [
15
15
"cards",
16
16
"ownedCount",
17
17
"totalCount"
18
18
],
19
19
"properties": {
20
20
"cards": {
21
21
"type": "array",
22
22
"items": {
23
23
"type": "unknown"
24
24
},
25
25
"description": "全カード定義に所持情報(owned / comment / acquiredAt)を合成したもの。"
26
26
},
27
27
"drawStatus": {
28
28
"type": "unknown",
29
-
"description": "actor がビューア本人のときのみ。canDraw / nextDrawAt / todayCardId。"
29
+
"description": "actor がビューア本人のときのみ。myNagi / reaction の各取得枠と nextDrawAt。旧クライアント互換の canDraw / todayCardId は通常枠を表す。"
30
30
},
31
31
"ownedCount": {
32
32
"type": "integer"
33
33
},
34
34
"totalCount": {
35
35
"type": "integer"
36
+
},
37
+
"anniversaryCards": {
38
+
"type": "array",
39
+
"items": {
40
+
"type": "unknown"
41
+
},
42
+
"description": "所持している記念日カード(取得の古い順)。図鑑とは別枠で、ownedCount / totalCount には含めない。"
43
+
},
44
+
"pendingAnniversary": {
45
+
"type": "array",
46
+
"items": {
47
+
"type": "unknown"
48
+
},
49
+
"description": "actor がビューア本人のときのみ。本日が記念日で、まだ受け取っていないぶん。drawCard の source=anniversary で一括して受け取る。"
36
50
}
37
51
}
38
52
},
39
53
"encoding": "application/json"
40
54
},
41
55
"parameters": {
42
56
"type": "params",
43
57
"required": [
44
58
"actor"
45
59
],
46
60
"properties": {
47
61
"actor": {
48
62
"type": "string",
49
63
"description": "対象ユーザーの DID。"
50
64
}
51
65
}
52
66
},
53
67
"description": "指定ユーザーの全肯定カードコレクション。未所持のカードも定義だけ返す(コレクション表示のため)。所持状況は公開情報。自分自身を指定したときだけ drawStatus(本日引けるか)を含む。"
54
68
}
55
69
},
56
70
"$type": "com.atproto.lexicon.schema",
57
71
"lexicon": 1
58
72
}