at.locale.membership
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "at.locale.membership",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"project",
11
11
"member",
12
12
"role",
13
13
"createdAt"
14
14
],
15
15
"properties": {
16
16
"role": {
17
17
"type": "string",
18
18
"knownValues": [
19
19
"admin",
20
20
"reviewer",
21
21
"translator",
22
22
"viewer"
23
23
]
24
24
},
25
25
"member": {
26
26
"type": "string",
27
27
"format": "did",
28
28
"description": "DID the role is granted to."
29
29
},
30
30
"locales": {
31
31
"type": "array",
32
32
"items": {
33
33
"type": "string",
34
34
"maxLength": 35,
35
35
"minLength": 2
36
36
},
37
37
"maxLength": 1000,
38
38
"description": "Locale scope. Omitted = all target locales."
39
39
},
40
40
"project": {
41
41
"type": "string",
42
42
"format": "at-uri"
43
43
},
44
44
"createdAt": {
45
45
"type": "string",
46
46
"format": "datetime"
47
47
}
48
48
}
49
49
}
50
50
}
51
51
},
52
52
"$type": "com.atproto.lexicon.schema",
53
53
"lexicon": 1,
54
-
"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."
54
+
"description": "A project role grant, optionally scoped to locales. Owner-authored."
55
55
}