fyi.opensocial.resolveSubject
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.resolveSubject:input", src: "fyi.opensocial.resolveSubject:input", tgt: "fyi.opensocial.resolveSubject:input.group", kind: "prop", name: Some("group") }
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "fyi.opensocial.resolveSubject:input", src: "fyi.opensocial.resolveSubject:input", tgt: "fyi.opensocial.resolveSubject:input.community", kind: "prop", name: Some("community") }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.resolveSubject:input.community" }
Non-Breaking Changes (1)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.resolveSubject:input.group" }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "fyi.opensocial.resolveSubject:input.community" }
Added Elements
AddedVertex { vertex_id: "fyi.opensocial.resolveSubject:input.group" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "fyi.opensocial.resolveSubject:input", src: "fyi.opensocial.resolveSubject:input", tgt: "fyi.opensocial.resolveSubject:input.group", kind: "prop", name: Some("group") }
- Breaking: RequiredEdgeRemoved { vertex_id: "fyi.opensocial.resolveSubject:input", src: "fyi.opensocial.resolveSubject:input", tgt: "fyi.opensocial.resolveSubject: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": "Resolve or escalate a subject, optionally with a note. Requires mod.resolve.",
6
6
"input": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"action": {
11
11
"knownValues": [
12
12
"resolve",
13
13
"escalate",
14
14
"note"
15
15
],
16
16
"type": "string"
17
17
},
18
-
"community": {
19
-
"description": "The community DID. Every method is served by the community's host and authorized against that community's roles.",
18
+
"group": {
19
+
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",
20
20
"format": "did",
21
21
"type": "string"
22
22
},
23
23
"note": {
24
24
"type": "string"
25
25
},
26
26
"subject": {
27
27
"description": "A record's at-uri, or an account's DID.",
28
28
"format": "uri",
29
29
"type": "string"
30
30
}
31
31
},
32
32
"required": [
33
-
"community",
33
+
"group",
34
34
"subject",
35
35
"action"
36
36
],
37
37
"type": "object"
38
38
}
39
39
},
40
40
"type": "procedure"
41
41
}
42
42
},
43
43
"id": "fyi.opensocial.resolveSubject",
44
44
"lexicon": 1
45
45
}