ai.syui.card.admin
Schema Diff
+9 -1
1
1
{
2
2
"id": "ai.syui.card.admin",
3
3
"defs": {
4
4
"main": {
5
5
"key": "literal:self",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"gacha",
11
11
"card",
12
12
"createdAt",
13
13
"updatedAt"
14
14
],
15
15
"properties": {
16
16
"card": {
17
17
"type": "array",
18
18
"items": {
19
19
"type": "object",
20
20
"required": [
21
21
"id",
22
22
"character",
23
23
"name",
24
24
"text",
25
25
"cp",
26
26
"effect"
27
27
],
28
28
"properties": {
29
29
"cp": {
30
30
"type": "string",
31
31
"description": "CP type (status, time, damage)"
32
32
},
33
33
"id": {
34
34
"type": "integer",
35
35
"description": "Card ID"
36
36
},
37
37
"key": {
38
38
"type": "string",
39
39
"description": "Key binding (R1, L1, Y, X, etc.)"
40
40
},
41
41
"name": {
42
42
"type": "object",
43
43
"required": [
44
44
"ja",
45
45
"en"
46
46
],
47
47
"properties": {
48
48
"en": {
49
49
"type": "string"
50
50
},
51
51
"ja": {
52
52
"type": "string"
53
53
}
54
54
}
55
55
},
56
56
"text": {
57
57
"type": "object",
58
58
"required": [
59
59
"ja",
60
60
"en"
61
61
],
62
62
"properties": {
63
63
"en": {
64
64
"type": "string"
65
65
},
66
66
"ja": {
67
67
"type": "string"
68
68
}
69
69
}
70
70
},
71
71
"effect": {
72
72
"type": "string",
73
73
"description": "Effect type (status, fly, mode, damage)"
74
74
},
75
75
"character": {
76
76
"type": "integer",
77
77
"description": "Associated character ID"
78
78
}
79
79
}
80
80
},
81
81
"description": "Card master data"
82
82
},
83
83
"gacha": {
84
84
"type": "object",
85
85
"required": [
86
86
"pickup",
87
-
"rate"
87
+
"rate",
88
+
"pool"
88
89
],
89
90
"properties": {
91
+
"pool": {
92
+
"type": "array",
93
+
"items": {
94
+
"type": "integer"
95
+
},
96
+
"description": "Card IDs available in gacha pool"
97
+
},
90
98
"rate": {
91
99
"type": "object",
92
100
"required": [
93
101
"pickup",
94
102
"rare"
95
103
],
96
104
"properties": {
97
105
"rare": {
98
106
"type": "integer",
99
107
"description": "1/n for rare:1 rate (10 = 10%), rare:2 = 1/(n*10), rare:3 = 1/(n*100)"
100
108
},
101
109
"pickup": {
102
110
"type": "integer",
103
111
"description": "1/n for pickup rate (100 = 1%)"
104
112
}
105
113
}
106
114
},
107
115
"pickup": {
108
116
"type": "integer",
109
117
"description": "Pickup card ID"
110
118
}
111
119
}
112
120
},
113
121
"createdAt": {
114
122
"type": "string",
115
123
"format": "datetime"
116
124
},
117
125
"updatedAt": {
118
126
"type": "string",
119
127
"format": "datetime"
120
128
}
121
129
}
122
130
},
123
131
"description": "Card game configuration and master data (admin only)"
124
132
}
125
133
},
126
134
"$type": "com.atproto.lexicon.schema",
127
135
"lexicon": 1
128
136
}