ai.syui.rse.user
Schema Diff
+30 -20
1
1
{
2
2
"id": "ai.syui.rse.user",
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
"character",
11
11
"item",
12
12
"createdAt",
13
13
"updatedAt"
14
14
],
15
15
"properties": {
16
16
"item": {
17
17
"type": "array",
18
18
"items": {
19
19
"type": "object",
20
20
"required": [
21
21
"id",
22
22
"cp",
23
-
"mode",
24
-
"unique",
25
-
"shiny"
23
+
"rare",
24
+
"cid",
25
+
"unique"
26
26
],
27
27
"properties": {
28
28
"cp": {
29
-
"type": "integer"
29
+
"type": "integer",
30
+
"description": "Item power"
30
31
},
31
32
"id": {
32
-
"type": "integer"
33
+
"type": "integer",
34
+
"description": "Item type ID"
33
35
},
34
-
"mode": {
35
-
"type": "integer"
36
+
"cid": {
37
+
"type": "string",
38
+
"description": "Unique item instance ID"
36
39
},
37
-
"shiny": {
38
-
"type": "boolean"
40
+
"rare": {
41
+
"type": "integer",
42
+
"description": "Rarity level"
39
43
},
40
44
"unique": {
41
-
"type": "boolean"
45
+
"type": "boolean",
46
+
"description": "Unique item flag"
42
47
}
43
48
}
44
49
}
45
50
},
46
51
"character": {
47
52
"type": "array",
48
53
"items": {
49
54
"type": "object",
50
55
"required": [
51
56
"id",
52
57
"cp",
53
-
"mode",
54
-
"unique",
55
-
"shiny"
58
+
"rare",
59
+
"cid",
60
+
"unique"
56
61
],
57
62
"properties": {
58
63
"cp": {
59
-
"type": "integer"
64
+
"type": "integer",
65
+
"description": "Character power"
60
66
},
61
67
"id": {
62
-
"type": "integer"
68
+
"type": "integer",
69
+
"description": "Character type ID"
63
70
},
64
-
"mode": {
65
-
"type": "integer"
71
+
"cid": {
72
+
"type": "string",
73
+
"description": "Unique character instance ID"
66
74
},
67
-
"shiny": {
68
-
"type": "boolean"
75
+
"rare": {
76
+
"type": "integer",
77
+
"description": "Rarity level"
69
78
},
70
79
"unique": {
71
-
"type": "boolean"
80
+
"type": "boolean",
81
+
"description": "Unique character flag"
72
82
}
73
83
}
74
84
}
75
85
},
76
86
"createdAt": {
77
87
"type": "string",
78
88
"format": "datetime"
79
89
},
80
90
"updatedAt": {
81
91
"type": "string",
82
92
"format": "datetime"
83
93
}
84
94
}
85
95
},
86
96
"description": "User character and item collection"
87
97
}
88
98
},
89
99
"$type": "com.atproto.lexicon.schema",
90
100
"lexicon": 1
91
101
}