at.inlay.canvas
Schema Diff
+9 -4
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 4 non-breaking changes.
Breaking Changes (2)
- RemovedVertex RemovedVertex { vertex_id: "at.inlay.canvas#window.element" }
- RemovedEdge RemovedEdge { src: "at.inlay.canvas#window", tgt: "at.inlay.canvas#window.element", kind: "prop", name: Some("element") }
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "at.inlay.canvas#window.componentUri" }
- AddedVertex AddedVertex { vertex_id: "at.inlay.canvas#window.props" }
- AddedEdge AddedEdge { src: "at.inlay.canvas#window", tgt: "at.inlay.canvas#window.componentUri", kind: "prop", name: Some("componentUri") }
- AddedEdge AddedEdge { src: "at.inlay.canvas#window", tgt: "at.inlay.canvas#window.props", kind: "prop", name: Some("props") }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "at.inlay.canvas#window.element" }
Added Elements
AddedVertex { vertex_id: "at.inlay.canvas#window.componentUri" }AddedVertex { vertex_id: "at.inlay.canvas#window.props" }
Additional Notes
- Breaking: RemovedEdge { src: "at.inlay.canvas#window", tgt: "at.inlay.canvas#window.element", kind: "prop", name: Some("element") }
- Non-breaking: AddedEdge { src: "at.inlay.canvas#window", tgt: "at.inlay.canvas#window.componentUri", kind: "prop", name: Some("componentUri") }
- Non-breaking: AddedEdge { src: "at.inlay.canvas#window", tgt: "at.inlay.canvas#window.props", kind: "prop", name: Some("props") }
1
1
{
2
2
"id": "at.inlay.canvas",
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
"windows"
11
11
],
12
12
"properties": {
13
13
"windows": {
14
14
"type": "array",
15
15
"items": {
16
16
"ref": "#window",
17
17
"type": "ref"
18
18
}
19
19
},
20
20
"createdAt": {
21
21
"type": "string",
22
22
"format": "datetime"
23
23
}
24
24
}
25
25
},
26
26
"description": "Canvas - a spatial arrangement of component windows."
27
27
},
28
28
"window": {
29
29
"type": "object",
30
30
"required": [
31
31
"id",
32
32
"x",
33
33
"y",
34
34
"z",
35
-
"element"
35
+
"componentUri"
36
36
],
37
37
"properties": {
38
38
"x": {
39
39
"type": "integer"
40
40
},
41
41
"y": {
42
42
"type": "integer"
43
43
},
44
44
"z": {
45
45
"type": "integer"
46
46
},
47
47
"id": {
48
48
"type": "string",
49
49
"maxLength": 64
50
50
},
51
+
"props": {
52
+
"type": "unknown",
53
+
"description": "Properties to pass to the component."
54
+
},
51
55
"width": {
52
56
"type": "integer"
53
57
},
54
58
"height": {
55
59
"type": "integer"
56
60
},
57
-
"element": {
58
-
"ref": "at.inlay.defs#element",
59
-
"type": "ref"
61
+
"componentUri": {
62
+
"type": "string",
63
+
"format": "at-uri",
64
+
"description": "AT URI of the component record to render."
60
65
}
61
66
}
62
67
}
63
68
},
64
69
"$type": "com.atproto.lexicon.schema",
65
70
"lexicon": 1
66
71
}