net.anisota.beta.game.inventory
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "net.anisota.beta.game.inventory",
3
3
"defs": {
4
4
"main": {
5
-
"key": "tid",
5
+
"key": "any",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"itemId",
11
11
"quantity",
12
12
"acquiredAt",
13
13
"createdAt"
14
14
],
15
15
"properties": {
16
16
"itemId": {
17
17
"type": "string",
18
18
"maxLength": 100,
19
19
"description": "Unique identifier for the item from gameItems.json"
20
20
},
21
21
"rarity": {
22
22
"enum": [
23
23
"veryCommon",
24
24
"common",
25
25
"uncommon",
26
26
"rare",
27
27
"veryRare",
28
28
"epic",
29
29
"legendary"
30
30
],
31
31
"type": "string",
32
32
"description": "Rarity level of the item"
33
33
},
34
34
"source": {
35
35
"enum": [
36
36
"daily_reward",
37
37
"game_card",
38
38
"quest",
39
39
"trade",
40
40
"crafted",
41
41
"found",
42
42
"purchased"
43
43
],
44
44
"type": "string",
45
45
"description": "How the item was acquired"
46
46
},
47
47
"itemName": {
48
48
"type": "string",
49
49
"maxLength": 200,
50
50
"description": "Display name of the item"
51
51
},
52
52
"itemType": {
53
53
"type": "string",
54
54
"maxLength": 50,
55
55
"description": "Type category of the item (consumable, tool, equipment, etc.)"
56
56
},
57
57
"maxStack": {
58
58
"type": "integer",
59
59
"minimum": 1,
60
60
"description": "Maximum stack size for this item"
61
61
},
62
62
"metadata": {
63
63
"type": "unknown",
64
64
"description": "Additional item-specific data (stats, attributes, enchantments, etc.)"
65
65
},
66
66
"quantity": {
67
67
"type": "integer",
68
68
"minimum": 1,
69
69
"description": "Number of items in the stack"
70
70
},
71
71
"createdAt": {
72
72
"type": "string",
73
73
"format": "datetime",
74
74
"description": "When the record was created"
75
75
},
76
76
"itemValue": {
77
77
"type": "integer",
78
78
"minimum": 0,
79
79
"description": "Base value of the item in game currency"
80
80
},
81
81
"stackable": {
82
82
"type": "boolean",
83
83
"description": "Whether this item can be stacked with others of the same type"
84
84
},
85
85
"acquiredAt": {
86
86
"type": "string",
87
87
"format": "datetime",
88
88
"description": "When the item was acquired"
89
89
},
90
90
"lastModified": {
91
91
"type": "string",
92
92
"format": "datetime",
93
93
"description": "When the record was last modified"
94
94
},
95
95
"logRecordUri": {
96
96
"type": "string",
97
97
"description": "URI of the game.log record that documents the acquisition of this item"
98
98
},
99
99
"sourceDetails": {
100
100
"ref": "#sourceDetails",
101
101
"type": "ref"
102
102
}
103
103
}
104
104
},
105
105
"description": "Beta version: Record representing an item in a player's game inventory"
106
106
},
107
107
"sourceDetails": {
108
108
"type": "object",
109
109
"properties": {
110
110
"questId": {
111
111
"type": "string",
112
112
"description": "ID of the quest that rewarded this item"
113
113
},
114
114
"gameCardUri": {
115
115
"type": "string",
116
116
"description": "URI of the game card that provided this item"
117
117
},
118
118
"rewardStreak": {
119
119
"type": "integer",
120
120
"description": "Daily reward streak when item was acquired"
121
121
}
122
122
},
123
123
"description": "Additional details about how the item was acquired"
124
124
}
125
125
},
126
126
"$type": "com.atproto.lexicon.schema",
127
127
"lexicon": 1
128
128
}