space.opendeck.card
Schema Diff
+7 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "space.opendeck.card:body.phoneticFront" }
- AddedEdge AddedEdge { src: "space.opendeck.card:body", tgt: "space.opendeck.card:body.phoneticFront", kind: "prop", name: Some("phoneticFront") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "space.opendeck.card:body.phoneticFront" }
Additional Notes
- Non-breaking: AddedEdge { src: "space.opendeck.card:body", tgt: "space.opendeck.card:body.phoneticFront", kind: "prop", name: Some("phoneticFront") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A flashcard belonging to a deck.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"audio": {
10
10
"accept": [
11
11
"audio/*"
12
12
],
13
13
"description": "Optional audio blob (pronunciation).",
14
14
"maxSize": 5000000,
15
15
"type": "blob"
16
16
},
17
17
"back": {
18
18
"maxGraphemes": 2000,
19
19
"maxLength": 20000,
20
20
"type": "string"
21
21
},
22
22
"createdAt": {
23
23
"format": "datetime",
24
24
"type": "string"
25
25
},
26
26
"deck": {
27
27
"description": "Record key (rkey) of the owning deck in the same repo.",
28
28
"maxGraphemes": 64,
29
29
"maxLength": 640,
30
30
"type": "string"
31
31
},
32
32
"examples": {
33
33
"items": {
34
34
"maxGraphemes": 1000,
35
35
"maxLength": 10000,
36
36
"type": "string"
37
37
},
38
38
"maxLength": 20,
39
39
"type": "array"
40
40
},
41
41
"front": {
42
42
"maxGraphemes": 2000,
43
43
"maxLength": 20000,
44
44
"type": "string"
45
45
},
46
46
"hint": {
47
47
"maxGraphemes": 1000,
48
48
"maxLength": 10000,
49
49
"type": "string"
50
50
},
51
51
"image": {
52
52
"accept": [
53
53
"image/*"
54
54
],
55
55
"description": "Optional image blob shown on the card.",
56
56
"maxSize": 5000000,
57
57
"type": "blob"
58
58
},
59
59
"imageAlt": {
60
60
"description": "Alt text for the image (accessibility).",
61
61
"maxGraphemes": 1000,
62
62
"maxLength": 10000,
63
63
"type": "string"
64
64
},
65
65
"order": {
66
66
"type": "integer"
67
67
},
68
68
"phonetic": {
69
-
"description": "Pronunciation, e.g. IPA or pinyin.",
69
+
"description": "Pronunciation of the back, e.g. IPA, pinyin or rōmaji.",
70
+
"maxGraphemes": 500,
71
+
"maxLength": 5000,
72
+
"type": "string"
73
+
},
74
+
"phoneticFront": {
75
+
"description": "Pronunciation of the front, e.g. IPA, pinyin or rōmaji.",
70
76
"maxGraphemes": 500,
71
77
"maxLength": 5000,
72
78
"type": "string"
73
79
}
74
80
},
75
81
"required": [
76
82
"deck",
77
83
"front",
78
84
"back",
79
85
"createdAt"
80
86
],
81
87
"type": "object"
82
88
},
83
89
"type": "record"
84
90
}
85
91
},
86
92
"id": "space.opendeck.card",
87
93
"lexicon": 1
88
94
}