dev.knotless.orgMember
Schema Diff
+2 -2
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Keyed by the DID of the account it names, in the organization's account, in one place: its public records for a member anyone may see; or, where its PDS has spaces, its space of type dev.knotless.org keyed self, which only its members read, for an invitation or a hidden member. The account is a member once it keeps a dev.knotless.membership record naming the organization, in the same place, and the organization has taken it in (joinedAt); until then it is invited, until expiresAt. In a private repository's space, a member of the organization that owns it who pushes to it. One keyed other than by the DID it names names no one.",
5
+
"description": "Keyed by the DID of the account it names, in the organization's account, in one place: its public records for a member anyone may see; or, where its PDS has spaces, its space of type dev.knotless.org keyed self, which only its members read, for an invitation or a hidden member. The account is a member once it keeps a dev.knotless.orgAcceptance record naming the organization, in the same place, and the organization has taken it in (joinedAt); until then it is invited, until expiresAt. In a private repository's space, a member of the organization that owns it who pushes to it. One keyed other than by the DID it names names no one.",
6
6
"key": "any",
7
7
"record": {
8
8
"properties": {
9
9
"expiresAt": {
10
10
"description": "When the invitation lapses, if not taken up first: 7 days after invitedAt when absent.",
11
11
"format": "datetime",
12
12
"type": "string"
13
13
},
14
14
"invitedAt": {
15
15
"description": "When they were invited.",
16
16
"format": "datetime",
17
17
"type": "string"
18
18
},
19
19
"joinedAt": {
20
-
"description": "When the organization took them in, after they wrote their membership record: a membership record counts only once this is set.",
20
+
"description": "When the organization took them in, after they wrote their acceptance record: a acceptance record counts only once this is set.",
21
21
"format": "datetime",
22
22
"type": "string"
23
23
},
24
24
"member": {
25
25
"description": "The account invited.",
26
26
"format": "did",
27
27
"type": "string"
28
28
},
29
29
"roles": {
30
30
"description": "What they may do. None is a member.",
31
31
"items": {
32
32
"ref": "#role",
33
33
"type": "ref"
34
34
},
35
35
"maxLength": 16,
36
36
"type": "array"
37
37
},
38
38
"shared": {
39
39
"description": "In a private repository's space only: the repository was shared with them on its own as well, so they stay in its space once out of the organization.",
40
40
"type": "boolean"
41
41
}
42
42
},
43
43
"required": [
44
44
"member",
45
45
"invitedAt"
46
46
],
47
47
"type": "object"
48
48
},
49
49
"type": "record"
50
50
},
51
51
"role": {
52
52
"description": "One role an organization gives a member.",
53
53
"properties": {
54
54
"role": {
55
55
"description": "An admin also invites and removes members, changes roles and makes repositories as the organization. A value a reader does not know reads as member.",
56
56
"knownValues": [
57
57
"admin",
58
58
"member"
59
59
],
60
60
"maxLength": 64,
61
61
"type": "string"
62
62
}
63
63
},
64
64
"required": [
65
65
"role"
66
66
],
67
67
"type": "object"
68
68
}
69
69
},
70
70
"description": "An organization's side of its membership: an account it invited, and their roles.",
71
71
"id": "dev.knotless.orgMember",
72
72
"lexicon": 1
73
73
}