is.logue.logue
Schema Diff
+23 -1
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 7 non-breaking changes.
Breaking Changes (2)
- ConstraintAdded ConstraintAdded { vertex_id: "is.logue.logue#aspectRatio.width", sort: "minimum", value: "1" }
- ConstraintAdded ConstraintAdded { vertex_id: "is.logue.logue#aspectRatio.height", sort: "minimum", value: "1" }
Non-Breaking Changes (7)
- AddedVertex AddedVertex { vertex_id: "is.logue.logue#aspectRatio" }
- AddedVertex AddedVertex { vertex_id: "is.logue.logue#aspectRatio.height" }
- AddedVertex AddedVertex { vertex_id: "is.logue.logue#aspectRatio.width" }
- AddedVertex AddedVertex { vertex_id: "is.logue.logue:body.coverImageAspectRatio" }
- AddedEdge AddedEdge { src: "is.logue.logue#aspectRatio", tgt: "is.logue.logue#aspectRatio.height", kind: "prop", name: Some("height") }
- AddedEdge AddedEdge { src: "is.logue.logue#aspectRatio", tgt: "is.logue.logue#aspectRatio.width", kind: "prop", name: Some("width") }
- AddedEdge AddedEdge { src: "is.logue.logue:body", tgt: "is.logue.logue:body.coverImageAspectRatio", kind: "prop", name: Some("coverImageAspectRatio") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "is.logue.logue#aspectRatio" }AddedVertex { vertex_id: "is.logue.logue#aspectRatio.height" }AddedVertex { vertex_id: "is.logue.logue#aspectRatio.width" }AddedVertex { vertex_id: "is.logue.logue:body.coverImageAspectRatio" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "is.logue.logue#aspectRatio.height", sort: "minimum", value: "1" }
- ConstraintAdded ConstraintAdded { vertex_id: "is.logue.logue#aspectRatio.width", sort: "minimum", value: "1" }
Additional Notes
- Non-breaking: AddedEdge { src: "is.logue.logue#aspectRatio", tgt: "is.logue.logue#aspectRatio.height", kind: "prop", name: Some("height") }
- Non-breaking: AddedEdge { src: "is.logue.logue#aspectRatio", tgt: "is.logue.logue#aspectRatio.width", kind: "prop", name: Some("width") }
- Non-breaking: AddedEdge { src: "is.logue.logue:body", tgt: "is.logue.logue:body.coverImageAspectRatio", kind: "prop", name: Some("coverImageAspectRatio") }
1
1
{
2
2
"id": "is.logue.logue",
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
"publication"
11
11
],
12
12
"properties": {
13
13
"tags": {
14
14
"type": "array",
15
15
"items": {
16
16
"type": "string",
17
17
"maxLength": 1280,
18
18
"maxGraphemes": 128
19
19
},
20
20
"description": "Array of strings used to tag or categorize the document. Avoid prepending tags with hashtags."
21
21
},
22
22
"startedAt": {
23
23
"type": "string",
24
24
"format": "datetime",
25
25
"description": "Timestamp when the logue was started."
26
26
},
27
27
"coverImage": {
28
28
"type": "blob",
29
29
"accept": [
30
30
"image/*"
31
31
],
32
32
"maxSize": 2000000,
33
-
"description": "Image to used for thumbnail or cover image. Less than 2MB is size."
33
+
"description": "Image to used for cover image. Less than 2MB is size, 5:1 aspect ratio is recommended"
34
34
},
35
35
"finishedAt": {
36
36
"type": "string",
37
37
"format": "datetime",
38
38
"description": "Timestamp when the logue was marked as finished."
39
39
},
40
40
"publication": {
41
41
"type": "string",
42
42
"format": "at-uri",
43
43
"required": true,
44
44
"description": "Weak reference to a `site.standard.publication` compatible record."
45
+
},
46
+
"coverImageAspectRatio": {
47
+
"ref": "#aspectRatio",
48
+
"type": "ref"
45
49
}
46
50
}
47
51
}
52
+
},
53
+
"aspectRatio": {
54
+
"type": "object",
55
+
"required": [
56
+
"width",
57
+
"height"
58
+
],
59
+
"properties": {
60
+
"width": {
61
+
"type": "integer",
62
+
"minimum": 1
63
+
},
64
+
"height": {
65
+
"type": "integer",
66
+
"minimum": 1
67
+
}
68
+
},
69
+
"description": "width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit."
48
70
}
49
71
},
50
72
"$type": "com.atproto.lexicon.schema",
51
73
"lexicon": 1
52
74
}