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.

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

Checks

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