at.dholms.bulletin.post
Schema Diff
+14 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "at.dholms.bulletin.post:body.image" }
- AddedVertex AddedVertex { vertex_id: "at.dholms.bulletin.post:body.imageAlt" }
- AddedEdge AddedEdge { src: "at.dholms.bulletin.post:body", tgt: "at.dholms.bulletin.post:body.image", kind: "prop", name: Some("image") }
- AddedEdge AddedEdge { src: "at.dholms.bulletin.post:body", tgt: "at.dholms.bulletin.post:body.imageAlt", kind: "prop", name: Some("imageAlt") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "at.dholms.bulletin.post:body.image" }AddedVertex { vertex_id: "at.dholms.bulletin.post:body.imageAlt" }
Additional Notes
- Non-breaking: AddedEdge { src: "at.dholms.bulletin.post:body", tgt: "at.dholms.bulletin.post:body.image", kind: "prop", name: Some("image") }
- Non-breaking: AddedEdge { src: "at.dholms.bulletin.post:body", tgt: "at.dholms.bulletin.post:body.imageAlt", kind: "prop", name: Some("imageAlt") }
1
1
{
2
2
"id": "at.dholms.bulletin.post",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"text",
11
11
"createdAt"
12
12
],
13
13
"properties": {
14
14
"text": {
15
15
"type": "string",
16
16
"maxLength": 3000,
17
17
"maxGraphemes": 300
18
18
},
19
19
"color": {
20
20
"type": "string",
21
21
"knownValues": [
22
22
"yellow",
23
23
"pink",
24
24
"blue",
25
25
"green",
26
26
"lavender"
27
27
]
28
28
},
29
+
"image": {
30
+
"type": "blob",
31
+
"accept": [
32
+
"image/jpeg",
33
+
"image/png",
34
+
"image/webp"
35
+
],
36
+
"maxSize": 500000
37
+
},
38
+
"imageAlt": {
39
+
"type": "string",
40
+
"maxLength": 3000,
41
+
"maxGraphemes": 300
42
+
},
29
43
"position": {
30
44
"type": "object",
31
45
"required": [
32
46
"x",
33
47
"y"
34
48
],
35
49
"properties": {
36
50
"x": {
37
51
"type": "integer",
38
52
"maximum": 1000,
39
53
"minimum": 0
40
54
},
41
55
"y": {
42
56
"type": "integer",
43
57
"maximum": 1000,
44
58
"minimum": 0
45
59
}
46
60
}
47
61
},
48
62
"rotation": {
49
63
"type": "integer",
50
64
"maximum": 25,
51
65
"minimum": -25,
52
66
"description": "Clockwise rotation in tenths of a degree."
53
67
},
54
68
"createdAt": {
55
69
"type": "string",
56
70
"format": "datetime"
57
71
}
58
72
}
59
73
}
60
74
}
61
75
},
62
76
"$type": "com.atproto.lexicon.schema",
63
77
"lexicon": 1
64
78
}