social.colibri.reaction
Schema Diff
+5 -6
Compatibility Analysis
Breaking Changes Detected
4 breaking changes, 1 non-breaking change.
Breaking Changes (4)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "social.colibri.reaction:body", src: "social.colibri.reaction:body", tgt: "social.colibri.reaction:body.parent", kind: "prop", name: Some("parent") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "social.colibri.reaction:body", src: "social.colibri.reaction:body", tgt: "social.colibri.reaction:body.emoji", kind: "prop", name: Some("emoji") }
- RemovedVertex RemovedVertex { vertex_id: "social.colibri.reaction:body.targetMessage" }
- RemovedEdge RemovedEdge { src: "social.colibri.reaction:body", tgt: "social.colibri.reaction:body.targetMessage", kind: "prop", name: Some("targetMessage") }
Non-Breaking Changes (1)
- AddedVertex AddedVertex { vertex_id: "social.colibri.reaction:body.parent" }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "social.colibri.reaction:body.targetMessage" }
Added Elements
AddedVertex { vertex_id: "social.colibri.reaction:body.parent" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "social.colibri.reaction:body", src: "social.colibri.reaction:body", tgt: "social.colibri.reaction:body.parent", kind: "prop", name: Some("parent") }
- Breaking: RequiredEdgeAdded { vertex_id: "social.colibri.reaction:body", src: "social.colibri.reaction:body", tgt: "social.colibri.reaction:body.emoji", kind: "prop", name: Some("emoji") }
- Breaking: RemovedEdge { src: "social.colibri.reaction:body", tgt: "social.colibri.reaction:body.targetMessage", kind: "prop", name: Some("targetMessage") }
1
1
{
2
2
"id": "social.colibri.reaction",
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
-
"name",
11
-
"type",
12
-
"category"
10
+
"emoji",
11
+
"parent"
13
12
],
14
13
"properties": {
15
14
"$type": {
16
15
"type": "string",
17
16
"format": "nsid",
18
17
"description": "The type of the record."
19
18
},
20
19
"emoji": {
21
20
"type": "string",
22
21
"description": "The emoji of the reaction. This allows for any string to support for custom emojis later down the line."
23
22
},
24
-
"targetMessage": {
23
+
"parent": {
25
24
"type": "string",
26
-
"format": "record-key",
27
-
"description": "The message this relation belongs to."
25
+
"format": "at-uri",
26
+
"description": "The AT-URI of the message this reaction belongs to."
28
27
}
29
28
}
30
29
},
31
30
"description": "A reaction on a Colibri message."
32
31
}
33
32
},
34
33
"$type": "com.atproto.lexicon.schema",
35
34
"lexicon": 1,
36
35
"revision": 1
37
36
}