space.opendeck.deck
Schema Diff
+10 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "space.opendeck.deck:body.readingMode" }
- AddedEdge AddedEdge { src: "space.opendeck.deck:body", tgt: "space.opendeck.deck:body.readingMode", kind: "prop", name: Some("readingMode") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "space.opendeck.deck:body.readingMode" }
Additional Notes
- Non-breaking: AddedEdge { src: "space.opendeck.deck:body", tgt: "space.opendeck.deck:body.readingMode", kind: "prop", name: Some("readingMode") }
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
+
},
20
30
"sourceLang": {
21
31
"description": "BCP-47 language the learner already knows.",
22
32
"maxGraphemes": 20,
23
33
"maxLength": 200,
24
34
"type": "string"
25
35
},
26
36
"summary": {
27
37
"description": "A short description of the deck.",
28
38
"maxGraphemes": 2000,
29
39
"maxLength": 20000,
30
40
"type": "string"
31
41
},
32
42
"tags": {
33
43
"items": {
34
44
"maxGraphemes": 64,
35
45
"maxLength": 640,
36
46
"type": "string"
37
47
},
38
48
"maxLength": 20,
39
49
"type": "array"
40
50
},
41
51
"targetLang": {
42
52
"description": "BCP-47 language being learned.",
43
53
"maxGraphemes": 20,
44
54
"maxLength": 200,
45
55
"type": "string"
46
56
},
47
57
"title": {
48
58
"maxGraphemes": 200,
49
59
"maxLength": 2000,
50
60
"type": "string"
51
61
},
52
62
"updatedAt": {
53
63
"format": "datetime",
54
64
"type": "string"
55
65
}
56
66
},
57
67
"required": [
58
68
"title",
59
69
"createdAt"
60
70
],
61
71
"type": "object"
62
72
},
63
73
"type": "record"
64
74
}
65
75
},
66
76
"id": "space.opendeck.deck",
67
77
"lexicon": 1
68
78
}