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