cx.vmx.matadisco
Schema Diff
+12 -12
Compatibility Analysis
Breaking Changes Detected
6 breaking changes, 2 non-breaking changes.
Breaking Changes (6)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "cx.vmx.matadisco:body", src: "cx.vmx.matadisco:body", tgt: "cx.vmx.matadisco:body.resource", kind: "prop", name: Some("resource") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "cx.vmx.matadisco:body", src: "cx.vmx.matadisco:body", tgt: "cx.vmx.matadisco:body.publishedAt", kind: "prop", name: Some("publishedAt") }
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "cx.vmx.matadisco:body", src: "cx.vmx.matadisco:body", tgt: "cx.vmx.matadisco:body.metadata", kind: "prop", name: Some("metadata") }
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "cx.vmx.matadisco:body", src: "cx.vmx.matadisco:body", tgt: "cx.vmx.matadisco:body.created", kind: "prop", name: Some("created") }
- RemovedVertex RemovedVertex { vertex_id: "cx.vmx.matadisco:body.created" }
- RemovedVertex RemovedVertex { vertex_id: "cx.vmx.matadisco:body.metadata" }
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "cx.vmx.matadisco:body.publishedAt" }
- AddedVertex AddedVertex { vertex_id: "cx.vmx.matadisco:body.resource" }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "cx.vmx.matadisco:body.created" }RemovedVertex { vertex_id: "cx.vmx.matadisco:body.metadata" }
Added Elements
AddedVertex { vertex_id: "cx.vmx.matadisco:body.publishedAt" }AddedVertex { vertex_id: "cx.vmx.matadisco:body.resource" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "cx.vmx.matadisco:body", src: "cx.vmx.matadisco:body", tgt: "cx.vmx.matadisco:body.resource", kind: "prop", name: Some("resource") }
- Breaking: RequiredEdgeAdded { vertex_id: "cx.vmx.matadisco:body", src: "cx.vmx.matadisco:body", tgt: "cx.vmx.matadisco:body.publishedAt", kind: "prop", name: Some("publishedAt") }
- Breaking: RequiredEdgeRemoved { vertex_id: "cx.vmx.matadisco:body", src: "cx.vmx.matadisco:body", tgt: "cx.vmx.matadisco:body.metadata", kind: "prop", name: Some("metadata") }
- Breaking: RequiredEdgeRemoved { vertex_id: "cx.vmx.matadisco:body", src: "cx.vmx.matadisco:body", tgt: "cx.vmx.matadisco:body.created", kind: "prop", name: Some("created") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A Matadisco record",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
-
"created": {
10
-
"description": "The time the metadata record was created",
11
-
"format": "datetime",
12
-
"type": "string"
13
-
},
14
-
"metadata": {
15
-
"description": "A URI containing metadata",
16
-
"format": "uri",
17
-
"type": "string"
18
-
},
19
9
"preview": {
20
10
"description": "Preview of the data",
21
11
"properties": {
22
12
"mimeType": {
23
13
"description": "The media type the preview has",
24
14
"type": "string"
25
15
},
26
16
"url": {
27
17
"description": "The URL to the preview",
28
18
"format": "uri",
29
19
"type": "string"
30
20
}
31
21
},
32
22
"required": [
33
23
"mimeType"
34
24
],
35
25
"type": "object"
26
+
},
27
+
"publishedAt": {
28
+
"description": "The time the original metadata/data was published",
29
+
"format": "datetime",
30
+
"type": "string"
31
+
},
32
+
"resource": {
33
+
"description": "A URI that links to resource containing the metadata",
34
+
"format": "uri",
35
+
"type": "string"
36
36
}
37
37
},
38
38
"required": [
39
-
"created",
40
-
"metadata"
39
+
"publishedAt",
40
+
"resource"
41
41
],
42
42
"type": "object"
43
43
},
44
44
"type": "record"
45
45
}
46
46
},
47
47
"id": "cx.vmx.matadisco",
48
48
"lexicon": 1
49
49
}