cx.vmx.matadisco
Schema Diff
+13 -12
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
-
"metadata",
11
-
"created"
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
-
"url",
23
17
"mimeType"
24
18
],
25
19
"properties": {
26
20
"url": {
27
21
"type": "string",
28
-
"format": "uri"
22
+
"format": "uri",
23
+
"description": "The URL to the preview"
29
24
},
30
25
"mimeType": {
31
-
"type": "string"
26
+
"type": "string",
27
+
"description": "The media type the preview has"
32
28
}
33
29
},
34
30
"description": "Preview of the data"
35
31
},
36
-
"metadata": {
32
+
"resource": {
37
33
"type": "string",
38
34
"format": "uri",
39
-
"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"
40
41
}
41
42
}
42
43
},
43
44
"description": "A Matadisco record"
44
45
}
45
46
},
46
47
"$type": "com.atproto.lexicon.schema",
47
48
"lexicon": 1
48
49
}