space.opendeck.card
Schema Diff
+3 -4
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 1 non-breaking change.
Breaking Changes (2)
- ConstraintTightened ConstraintTightened { vertex_id: "space.opendeck.card:body.deck", sort: "maxGraphemes", old_value: "1000", new_value: "64" }
- ConstraintTightened ConstraintTightened { vertex_id: "space.opendeck.card:body.deck", sort: "maxLength", old_value: "10000", new_value: "640" }
Non-Breaking Changes (1)
- ConstraintRemoved ConstraintRemoved { vertex_id: "space.opendeck.card:body.deck", sort: "format" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "space.opendeck.card:body.deck", sort: "maxGraphemes", old_value: "1000", new_value: "64" }
- ConstraintTightened ConstraintTightened { vertex_id: "space.opendeck.card:body.deck", sort: "maxLength", old_value: "10000", new_value: "640" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "space.opendeck.card:body.deck", sort: "format" }
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
-
"description": "AT-URI of the owning deck.",
28
-
"format": "at-uri",
29
-
"maxGraphemes": 1000,
30
-
"maxLength": 10000,
27
+
"description": "Record key (rkey) of the owning deck in the same repo.",
28
+
"maxGraphemes": 64,
29
+
"maxLength": 640,
31
30
"type": "string"
32
31
},
33
32
"examples": {
34
33
"items": {
35
34
"maxGraphemes": 1000,
36
35
"maxLength": 10000,
37
36
"type": "string"
38
37
},
39
38
"maxLength": 20,
40
39
"type": "array"
41
40
},
42
41
"front": {
43
42
"maxGraphemes": 2000,
44
43
"maxLength": 20000,
45
44
"type": "string"
46
45
},
47
46
"hint": {
48
47
"maxGraphemes": 1000,
49
48
"maxLength": 10000,
50
49
"type": "string"
51
50
},
52
51
"image": {
53
52
"accept": [
54
53
"image/*"
55
54
],
56
55
"description": "Optional image blob shown on the card.",
57
56
"maxSize": 5000000,
58
57
"type": "blob"
59
58
},
60
59
"imageAlt": {
61
60
"description": "Alt text for the image (accessibility).",
62
61
"maxGraphemes": 1000,
63
62
"maxLength": 10000,
64
63
"type": "string"
65
64
},
66
65
"order": {
67
66
"type": "integer"
68
67
},
69
68
"phonetic": {
70
69
"description": "Pronunciation, e.g. IPA or pinyin.",
71
70
"maxGraphemes": 500,
72
71
"maxLength": 5000,
73
72
"type": "string"
74
73
}
75
74
},
76
75
"required": [
77
76
"deck",
78
77
"front",
79
78
"back",
80
79
"createdAt"
81
80
],
82
81
"type": "object"
83
82
},
84
83
"type": "record"
85
84
}
86
85
},
87
86
"id": "space.opendeck.card",
88
87
"lexicon": 1
89
88
}