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
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A reaction on a Colibri message.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"$type": {
10
10
"description": "The type of the record.",
11
11
"format": "nsid",
12
12
"type": "string"
13
13
},
14
14
"emoji": {
15
15
"description": "The emoji of the reaction. This allows for any string to support for custom emojis later down the line.",
16
16
"type": "string"
17
17
},
18
-
"targetMessage": {
19
-
"description": "The message this relation belongs to.",
20
-
"format": "record-key",
18
+
"parent": {
19
+
"description": "The AT-URI of the message this reaction belongs to.",
20
+
"format": "at-uri",
21
21
"type": "string"
22
22
}
23
23
},
24
24
"required": [
25
-
"name",
26
-
"type",
27
-
"category"
25
+
"emoji",
26
+
"parent"
28
27
],
29
28
"type": "object"
30
29
},
31
30
"type": "record"
32
31
}
33
32
},
34
33
"id": "social.colibri.reaction",
35
34
"lexicon": 1,
36
35
"revision": 1
37
36
}