From
bafyreihaql5keurme4uzsdkjs2tvsw4rmyz6p4woi4fiwfnsgnyko3xe2u
indexed 2026-10-29 17:01 UTC
View this version
To
bafyreiagxato6qx4faxqonvmrqew3xhmz6buafperw7t26qsv3ok6nml3a
indexed 2026-10-29 17:40 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"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.",66
"key": "any",77
"record": {88
"properties": {99
"expiresAt": {1010
"description": "When the invitation lapses, if not taken up first: 7 days after invitedAt when absent.",1111
"format": "datetime",1212
"type": "string"1313
},1414
"invitedAt": {1515
"description": "When they were invited.",1616
"format": "datetime",1717
"type": "string"1818
},1919
"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.",2121
"format": "datetime",2222
"type": "string"2323
},2424
"member": {2525
"description": "The account invited.",2626
"format": "did",2727
"type": "string"2828
},2929
"roles": {3030
"description": "What they may do. None is a member.",3131
"items": {3232
"ref": "#role",3333
"type": "ref"3434
},3535
"maxLength": 16,3636
"type": "array"3737
},3838
"shared": {3939
"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.",4040
"type": "boolean"4141
}4242
},4343
"required": [4444
"member",4545
"invitedAt"4646
],4747
"type": "object"4848
},4949
"type": "record"5050
},5151
"role": {5252
"description": "One role an organization gives a member.",5353
"properties": {5454
"role": {5555
"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.",5656
"knownValues": [5757
"admin",5858
"member"5959
],6060
"maxLength": 64,6161
"type": "string"6262
}6363
},6464
"required": [6565
"role"6666
],6767
"type": "object"6868
}6969
},7070
"description": "An organization's side of its membership: an account it invited, and their roles.",7171
"id": "dev.knotless.orgMember",7272
"lexicon": 17373
}