Atmosphere GroupsOpen specificationBeta
MenuClose

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
Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.membership
In the spec
org.atgrp.membership, the spec's lexicon of the same name. It may differ from this one.

main record

Record key: any

FieldTypeDescription
createdAt (required)string (datetime)
member (required)string (did)
roles (required)array of fyi.opensocial.defs#roleId
  • array maxLength: 100
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
}

All lexicons