fyi.opensocial.applyLabel
Schema Diff
+3 -3
Compatibility Analysis
Breaking Changes Detected
3 breaking changes, 1 non-breaking change.
Breaking Changes (3)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "fyi.opensocial.applyLabel:input", src: "fyi.opensocial.applyLabel:input", tgt: "fyi.opensocial.applyLabel:input.group", kind: "prop", name: Some("group") }
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "fyi.opensocial.applyLabel:input", src: "fyi.opensocial.applyLabel:input", tgt: "fyi.opensocial.applyLabel:input.community", kind: "prop", name: Some("community") }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.applyLabel:input.community" }
Non-Breaking Changes (1)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.applyLabel:input.group" }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "fyi.opensocial.applyLabel:input.community" }
Added Elements
AddedVertex { vertex_id: "fyi.opensocial.applyLabel:input.group" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "fyi.opensocial.applyLabel:input", src: "fyi.opensocial.applyLabel:input", tgt: "fyi.opensocial.applyLabel:input.group", kind: "prop", name: Some("group") }
- Breaking: RequiredEdgeRemoved { vertex_id: "fyi.opensocial.applyLabel:input", src: "fyi.opensocial.applyLabel:input", tgt: "fyi.opensocial.applyLabel:input.community", kind: "prop", name: Some("community") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Write a label record into the subject's space. Requires label, or takedown for !hide and !takedown.",
6
6
"input": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
-
"community": {
11
-
"description": "The community DID. Every method is served by the community's host and authorized against that community's roles.",
10
+
"group": {
11
+
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
12
12
"format": "did",
13
13
"type": "string"
14
14
},
15
15
"rule": {
16
16
"format": "at-uri",
17
17
"type": "string"
18
18
},
19
19
"subject": {
20
20
"refs": [
21
21
"com.atproto.admin.defs#repoRef",
22
22
"com.atproto.repo.strongRef"
23
23
],
24
24
"type": "union"
25
25
},
26
26
"val": {
27
27
"type": "string"
28
28
}
29
29
},
30
30
"required": [
31
-
"community",
31
+
"group",
32
32
"subject",
33
33
"val"
34
34
],
35
35
"type": "object"
36
36
}
37
37
},
38
38
"output": {
39
39
"encoding": "application/json",
40
40
"schema": {
41
41
"properties": {
42
42
"cid": {
43
43
"format": "cid",
44
44
"type": "string"
45
45
},
46
46
"uri": {
47
47
"format": "at-uri",
48
48
"type": "string"
49
49
}
50
50
},
51
51
"required": [
52
52
"uri",
53
53
"cid"
54
54
],
55
55
"type": "object"
56
56
}
57
57
},
58
58
"type": "procedure"
59
59
}
60
60
},
61
61
"id": "fyi.opensocial.applyLabel",
62
62
"lexicon": 1
63
63
}