fyi. opensocial. membership
Grants a member their roles, in the members space. Written by the group authority; the record key is the member's DID. Writes are bounded by the writer's assignable roles. Creating one admits one waiting to join and decides their request; deleting one ejects the member.
- Kind
- A record
- Part of
- The reference host
- Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.membership- In the spec
org., the spec's lexicon of the same name. It may differ from this one.atgrp. membership
main record
Record key: any
| Field | Type | Description |
|---|---|---|
createdAt (required) | string (datetime) | |
member (required) | string (did) | |
roles (required) | array of fyi.
| Distinct roles declared by this group. |
The schema as published
{
"defs": {
"main": {
"description": "Grants a member their roles, in the members space. Written by the group authority; the record key is the member's DID. Writes are bounded by the writer's assignable roles. Creating one admits one waiting to join and decides their request; deleting one ejects the member.",
"key": "any",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"member": {
"format": "did",
"type": "string"
},
"roles": {
"description": "Distinct roles declared by this group.",
"items": {
"ref": "fyi.opensocial.defs#roleId",
"type": "ref"
},
"maxLength": 100,
"type": "array"
}
},
"required": [
"member",
"roles",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "fyi.opensocial.membership",
"lexicon": 1
}