wiki.lichen.membership
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": "A membership grant for a wiki. The rkey is a TID. The member's DID lives in the record body.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"description": "When the membership was granted.",
11
11
"format": "datetime",
12
12
"type": "string"
13
13
},
14
14
"memberDid": {
15
15
"description": "DID of the member being granted access.",
16
16
"format": "did",
17
17
"maxLength": 2048,
18
18
"type": "string"
19
19
},
20
20
"role": {
21
-
"description": "The member's role in the wiki.",
21
+
"description": "admin manages members and settings and can edit. contributor can edit notes. viewer can read a private wiki.",
22
22
"knownValues": [
23
23
"admin",
24
24
"contributor",
25
25
"viewer"
26
26
],
27
27
"maxLength": 32,
28
28
"type": "string"
29
29
},
30
30
"wikiRef": {
31
31
"description": "AT-URI of the wiki.",
32
32
"format": "at-uri",
33
33
"type": "string"
34
34
}
35
35
},
36
36
"required": [
37
37
"memberDid",
38
38
"wikiRef",
39
39
"role",
40
40
"createdAt"
41
41
],
42
42
"type": "object"
43
43
},
44
44
"type": "record"
45
45
}
46
46
},
47
47
"id": "wiki.lichen.membership",
48
48
"lexicon": 1
49
49
}