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.

Details · record, key any
Kindrecord
Record keyany
Authorityopensocial.fyi
Indexed
cid bafyreifryrcafn6ar2v2og7nkk3klnoqvkmfjmmbimgxi5q4x4dbl6f7eq

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "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
}