com.jackschumann.test.deck
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "com.jackschumann.test.deck",
3
3
"defs": {
4
4
"main": {
5
5
"key": "any",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"name",
11
11
"cards",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"name": {
16
16
"type": "string",
17
17
"maxLength": 512,
18
18
"minLength": 1,
19
19
"description": "Name of deck",
20
20
"maxGraphemes": 128
21
21
},
22
22
"cards": {
23
23
"type": "array",
24
24
"items": {
25
25
"ref": "#cardEntry",
26
26
"type": "ref"
27
27
},
28
28
"minLength": 1,
29
29
"description": "Cards included in this deck"
30
30
},
31
31
"createdAt": {
32
32
"type": "string",
33
33
"format": "datetime"
34
34
}
35
35
}
36
36
},
37
-
"description": "TODO: describe purpose of this schema"
37
+
"description": "MTG Decklist"
38
38
},
39
39
"cardTag": {
40
40
"type": "object",
41
41
"required": [
42
42
"tag"
43
43
],
44
44
"properties": {
45
45
"tag": {
46
46
"type": "string",
47
47
"maxLength": 640,
48
48
"maxGraphemes": 128
49
49
}
50
50
},
51
51
"description": "A free-form tag applied to a card entry"
52
52
},
53
53
"cardEntry": {
54
54
"type": "object",
55
55
"required": [
56
56
"oracleId",
57
57
"count"
58
58
],
59
59
"properties": {
60
60
"tags": {
61
61
"type": "array",
62
62
"items": {
63
63
"ref": "#cardTag",
64
64
"type": "ref"
65
65
},
66
66
"description": "Optional free-form tags for this card entry"
67
67
},
68
68
"count": {
69
69
"type": "integer",
70
70
"minimum": 1,
71
71
"description": "Number of copies of this card"
72
72
},
73
73
"oracleId": {
74
74
"type": "string",
75
75
"maxLength": 36,
76
76
"minLength": 36,
77
77
"description": "Scryfall Oracle ID (UUID) for the card"
78
78
}
79
79
},
80
80
"description": "A single card entry in a decklist"
81
81
}
82
82
},
83
83
"$type": "com.atproto.lexicon.schema",
84
84
"lexicon": 1
85
85
}