space.opendeck.deck
Schema Diff
+21 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "space.opendeck.deck:body.readingMode" }
- AddedVertex AddedVertex { vertex_id: "space.opendeck.deck:body.shortTermIntervals" }
- AddedEdge AddedEdge { src: "space.opendeck.deck:body", tgt: "space.opendeck.deck:body.readingMode", kind: "prop", name: Some("readingMode") }
- AddedEdge AddedEdge { src: "space.opendeck.deck:body", tgt: "space.opendeck.deck:body.shortTermIntervals", kind: "prop", name: Some("shortTermIntervals") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "space.opendeck.deck:body.readingMode" }AddedVertex { vertex_id: "space.opendeck.deck:body.shortTermIntervals" }
Additional Notes
- Non-breaking: AddedEdge { src: "space.opendeck.deck:body", tgt: "space.opendeck.deck:body.readingMode", kind: "prop", name: Some("readingMode") }
- Non-breaking: AddedEdge { src: "space.opendeck.deck:body", tgt: "space.opendeck.deck:body.shortTermIntervals", kind: "prop", name: Some("shortTermIntervals") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A deck of language-learning flashcards.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"copiedFrom": {
10
10
"description": "AT-URI of the deck this was copied from.",
11
11
"format": "at-uri",
12
12
"maxGraphemes": 1000,
13
13
"maxLength": 10000,
14
14
"type": "string"
15
15
},
16
16
"createdAt": {
17
17
"format": "datetime",
18
18
"type": "string"
19
19
},
20
+
"readingMode": {
21
+
"description": "Where to show a card reading while studying; absent means with the answer.",
22
+
"enum": [
23
+
"off",
24
+
"answer",
25
+
"prompt",
26
+
"hint"
27
+
],
28
+
"type": "string"
29
+
},
30
+
"shortTermIntervals": {
31
+
"description": "Short-term intervals preset for new and forgotten cards; absent means the owner default.",
32
+
"enum": [
33
+
"auto",
34
+
"quick",
35
+
"balanced",
36
+
"relaxed",
37
+
"spaced"
38
+
],
39
+
"type": "string"
40
+
},
20
41
"sourceLang": {
21
42
"description": "BCP-47 language the learner already knows.",
22
43
"maxGraphemes": 20,
23
44
"maxLength": 200,
24
45
"type": "string"
25
46
},
26
47
"summary": {
27
48
"description": "A short description of the deck.",
28
49
"maxGraphemes": 2000,
29
50
"maxLength": 20000,
30
51
"type": "string"
31
52
},
32
53
"tags": {
33
54
"items": {
34
55
"maxGraphemes": 64,
35
56
"maxLength": 640,
36
57
"type": "string"
37
58
},
38
59
"maxLength": 20,
39
60
"type": "array"
40
61
},
41
62
"targetLang": {
42
63
"description": "BCP-47 language being learned.",
43
64
"maxGraphemes": 20,
44
65
"maxLength": 200,
45
66
"type": "string"
46
67
},
47
68
"title": {
48
69
"maxGraphemes": 200,
49
70
"maxLength": 2000,
50
71
"type": "string"
51
72
},
52
73
"updatedAt": {
53
74
"format": "datetime",
54
75
"type": "string"
55
76
}
56
77
},
57
78
"required": [
58
79
"title",
59
80
"createdAt"
60
81
],
61
82
"type": "object"
62
83
},
63
84
"type": "record"
64
85
}
65
86
},
66
87
"id": "space.opendeck.deck",
67
88
"lexicon": 1
68
89
}