fyi.opensocial.access
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Who may read this space. Present in every space under the group. The group authority issues space credentials according to this record and nothing else.",
6
6
"key": "literal:self",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"credentialScopes": {
14
-
"description": "Which OAuth scopes for the group DID each role may request in this space.",
14
+
"description": "Which OAuth scopes for the group DID each role may request in this space. A role that may write a kind of record as the group here may also publish that kind, as the group, in its public repo; '*' is any kind, in both.",
15
15
"items": {
16
16
"ref": "#roleScopes",
17
17
"type": "ref"
18
18
},
19
19
"type": "array"
20
20
},
21
21
"readableBy": {
22
22
"description": "Role ids that may read the space, or the literal string 'public' meaning any authenticated requester.",
23
23
"items": {
24
24
"type": "string"
25
25
},
26
26
"type": "array"
27
27
},
28
28
"writableBy": {
29
29
"description": "Who may write into the space in their own name: role ids, or 'public' for anyone signed in. Absent is any member.",
30
30
"items": {
31
31
"type": "string"
32
32
},
33
33
"type": "array"
34
34
}
35
35
},
36
36
"required": [
37
37
"readableBy",
38
38
"createdAt"
39
39
],
40
40
"type": "object"
41
41
},
42
42
"type": "record"
43
43
},
44
44
"roleScopes": {
45
45
"properties": {
46
46
"role": {
47
47
"description": "A role id: the record key of a fyi.opensocial.role record.",
48
48
"maxLength": 64,
49
49
"type": "string"
50
50
},
51
51
"scopes": {
52
52
"description": "Collections this role may write in the space as the group: an NSID, or * for any. Every write, unless the grant names some: xyz.task?action=create lets the role add tasks but not change or delete them.",
53
53
"items": {
54
54
"type": "string"
55
55
},
56
56
"type": "array"
57
57
}
58
58
},
59
59
"required": [
60
60
"role",
61
61
"scopes"
62
62
],
63
63
"type": "object"
64
64
}
65
65
},
66
66
"id": "fyi.opensocial.access",
67
67
"lexicon": 1
68
68
}