com.deckbelcher.deck.list
Schema Diff
+34 -4
1
1
{
2
2
"id": "com.deckbelcher.deck.list",
3
3
"defs": {
4
4
"card": {
5
5
"type": "object",
6
6
"required": [
7
7
"ref",
8
8
"quantity",
9
9
"section"
10
10
],
11
11
"properties": {
12
12
"ref": {
13
13
"ref": "com.deckbelcher.defs#cardRef",
14
14
"type": "ref",
15
15
"description": "Reference to the card (scryfall printing + oracle card)."
16
16
},
17
17
"tags": {
18
18
"type": "array",
19
19
"items": {
20
20
"type": "string",
21
21
"maxLength": 640,
22
22
"description": "A tag annotation for a card.",
23
23
"maxGraphemes": 64
24
24
},
25
25
"maxLength": 128,
26
26
"description": "User annotations for this card in this deck (e.g., \"removal\", \"wincon\", \"ramp\")."
27
27
},
28
28
"section": {
29
29
"ref": "#section",
30
30
"type": "ref",
31
31
"description": "Which section of the deck this card belongs to. Extensible to support format-specific sections."
32
32
},
33
33
"quantity": {
34
34
"type": "integer",
35
35
"minimum": 1,
36
36
"description": "Number of copies in the deck."
37
37
}
38
38
},
39
39
"description": "A card entry in a decklist."
40
40
},
41
41
"main": {
42
42
"key": "tid",
43
43
"type": "record",
44
44
"record": {
45
45
"type": "object",
46
46
"required": [
47
47
"name",
48
48
"cards",
49
49
"createdAt"
50
50
],
51
51
"properties": {
52
52
"name": {
53
53
"type": "string",
54
54
"maxLength": 1280,
55
55
"description": "Name of the decklist.",
56
56
"maxGraphemes": 128
57
57
},
58
58
"cards": {
59
59
"type": "array",
60
60
"items": {
61
61
"ref": "#card",
62
62
"type": "ref"
63
63
},
64
64
"description": "Array of cards in the decklist."
65
65
},
66
66
"format": {
67
-
"type": "string",
68
-
"maxLength": 320,
69
-
"description": "Format of the deck (e.g., \"commander\", \"cube\", \"pauper\").",
70
-
"maxGraphemes": 32
67
+
"ref": "#format",
68
+
"type": "ref",
69
+
"description": "Format of the deck."
71
70
},
72
71
"primer": {
73
72
"refs": [
74
73
"com.deckbelcher.richtext#document",
75
74
"#primerUri",
76
75
"#primerRef"
77
76
],
78
77
"type": "union",
79
78
"description": "Deck primer with strategy, combos, and card choices."
80
79
},
81
80
"createdAt": {
82
81
"type": "string",
83
82
"format": "datetime",
84
83
"description": "Timestamp when the decklist was created."
85
84
},
86
85
"updatedAt": {
87
86
"type": "string",
88
87
"format": "datetime",
89
88
"description": "Timestamp when the decklist was last updated."
90
89
}
91
90
}
92
91
},
93
92
"description": "A Magic: The Gathering decklist."
94
93
},
94
+
"format": {
95
+
"type": "string",
96
+
"maxLength": 320,
97
+
"description": "Game format for a deck.",
98
+
"knownValues": [
99
+
"standard",
100
+
"pioneer",
101
+
"modern",
102
+
"legacy",
103
+
"vintage",
104
+
"pauper",
105
+
"commander",
106
+
"duel",
107
+
"paupercommander",
108
+
"predh",
109
+
"oathbreaker",
110
+
"brawl",
111
+
"standardbrawl",
112
+
"historic",
113
+
"timeless",
114
+
"alchemy",
115
+
"gladiator",
116
+
"premodern",
117
+
"oldschool",
118
+
"draft",
119
+
"penny",
120
+
"cube",
121
+
"kitchentable"
122
+
],
123
+
"maxGraphemes": 32
124
+
},
95
125
"section": {
96
126
"type": "string",
97
127
"maxLength": 640,
98
128
"description": "Which section of the deck this card belongs to. Extensible to support format-specific sections.",
99
129
"knownValues": [
100
130
"mainboard",
101
131
"sideboard",
102
132
"maybeboard",
103
133
"commander"
104
134
],
105
135
"maxGraphemes": 64
106
136
},
107
137
"primerRef": {
108
138
"type": "object",
109
139
"required": [
110
140
"ref"
111
141
],
112
142
"properties": {
113
143
"ref": {
114
144
"ref": "com.atproto.repo.strongRef",
115
145
"type": "ref"
116
146
}
117
147
},
118
148
"description": "Primer in a separate ATProto record. For use with any longform writing lexicon."
119
149
},
120
150
"primerUri": {
121
151
"type": "object",
122
152
"required": [
123
153
"uri"
124
154
],
125
155
"properties": {
126
156
"uri": {
127
157
"type": "string",
128
158
"maxLength": 10000,
129
159
"maxGraphemes": 1000
130
160
}
131
161
},
132
162
"description": "External primer content. Typically a URL, but any valid URI scheme."
133
163
}
134
164
},
135
165
"$type": "com.atproto.lexicon.schema",
136
166
"lexicon": 1
137
167
}