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