fyi.opensocial.updateSpace
Schema Diff
+7 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.updateSpace:input.writableBy" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.updateSpace:input.writableBy:items" }
- AddedEdge AddedEdge { src: "fyi.opensocial.updateSpace:input", tgt: "fyi.opensocial.updateSpace:input.writableBy", kind: "prop", name: Some("writableBy") }
- AddedEdge AddedEdge { src: "fyi.opensocial.updateSpace:input.writableBy", tgt: "fyi.opensocial.updateSpace:input.writableBy:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "fyi.opensocial.updateSpace:input.writableBy" }AddedVertex { vertex_id: "fyi.opensocial.updateSpace:input.writableBy:items" }
Additional Notes
- Non-breaking: AddedEdge { src: "fyi.opensocial.updateSpace:input", tgt: "fyi.opensocial.updateSpace:input.writableBy", kind: "prop", name: Some("writableBy") }
- Non-breaking: AddedEdge { src: "fyi.opensocial.updateSpace:input.writableBy", tgt: "fyi.opensocial.updateSpace:input.writableBy:items", kind: "items", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Change a space's config: its name, who can read it, and which roles may act as the group in it. Requires space.configure.",
6
6
"input": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"credentialScopes": {
11
11
"description": "Replace which roles may act as the group in this space, and for which collections. Omitted means unchanged.",
12
12
"items": {
13
13
"ref": "fyi.opensocial.access#roleScopes",
14
14
"type": "ref"
15
15
},
16
16
"type": "array"
17
17
},
18
18
"group": {
19
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
"name": {
24
24
"type": "string"
25
25
},
26
26
"readableBy": {
27
27
"items": {
28
28
"type": "string"
29
29
},
30
30
"type": "array"
31
31
},
32
32
"space": {
33
33
"format": "space-ref",
34
34
"type": "string"
35
+
},
36
+
"writableBy": {
37
+
"description": "Who may write into the space in their own name: role ids, or 'public' for anyone signed in. Absent is any member. Empty puts it back to any member.",
38
+
"items": {
39
+
"type": "string"
40
+
},
41
+
"type": "array"
35
42
}
36
43
},
37
44
"required": [
38
45
"group",
39
46
"space"
40
47
],
41
48
"type": "object"
42
49
}
43
50
},
44
51
"type": "procedure"
45
52
}
46
53
},
47
54
"id": "fyi.opensocial.updateSpace",
48
55
"lexicon": 1
49
56
}