at.locale.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
"key": "tid",
6
6
"record": {
7
7
"properties": {
8
8
"createdAt": {
9
9
"format": "datetime",
10
10
"type": "string"
11
11
},
12
12
"locales": {
13
13
"description": "Locale scope. Omitted = all target locales.",
14
14
"items": {
15
15
"maxLength": 35,
16
16
"minLength": 2,
17
17
"type": "string"
18
18
},
19
19
"maxLength": 1000,
20
20
"type": "array"
21
21
},
22
22
"member": {
23
23
"description": "DID the role is granted to.",
24
24
"format": "did",
25
25
"type": "string"
26
26
},
27
27
"project": {
28
28
"format": "at-uri",
29
29
"type": "string"
30
30
},
31
31
"role": {
32
32
"knownValues": [
33
33
"admin",
34
34
"reviewer",
35
35
"translator",
36
36
"viewer"
37
37
],
38
38
"type": "string"
39
39
}
40
40
},
41
41
"required": [
42
42
"project",
43
43
"member",
44
44
"role",
45
45
"createdAt"
46
46
],
47
47
"type": "object"
48
48
},
49
49
"type": "record"
50
50
}
51
51
},
52
-
"description": "Grants a role to a DID on a project, optionally scoped to specific locales. Authored ONLY by the project owner (or an admin); the ingester rejects memberships authored by anyone else.",
52
+
"description": "A project role grant, optionally scoped to locales. Owner-authored.",
53
53
"id": "at.locale.membership",
54
54
"lexicon": 1
55
55
}