Atmosphere GroupsOpen specificationBeta
MenuClose

fyi.opensocial.role

Declares that a role exists, in the members space. The record key is the role id, of 64 characters at most. A role is deleted only once no member holds it and the permissions record grants it nothing.

Kind
A record
Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.role
In the spec
org.atgrp.role, the spec's lexicon of the same name. It may differ from this one.

main record

Record key: any

FieldTypeDescription
botbooleanPeople with this role are bots: accounts that act on their own, not a person. A member is a bot if any of their roles says so.
createdAtstring (datetime)
defaultbooleanGranted to members who join through requestJoin. With no role marked so, a newcomer gets member.
descriptionstring
  • maxLength: 20000
  • maxGraphemes: 2000
displayName (required)string
  • maxLength: 640
  • maxGraphemes: 64
The schema as published
{
  "defs": {
    "main": {
      "description": "Declares that a role exists, in the members space. The record key is the role id, of 64 characters at most. A role is deleted only once no member holds it and the permissions record grants it nothing.",
      "key": "any",
      "record": {
        "properties": {
          "bot": {
            "description": "People with this role are bots: accounts that act on their own, not a person. A member is a bot if any of their roles says so.",
            "type": "boolean"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "default": {
            "description": "Granted to members who join through requestJoin. With no role marked so, a newcomer gets member.",
            "type": "boolean"
          },
          "description": {
            "maxGraphemes": 2000,
            "maxLength": 20000,
            "type": "string"
          },
          "displayName": {
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          }
        },
        "required": [
          "displayName"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "fyi.opensocial.role",
  "lexicon": 1
}

All lexicons