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
- Part of
- The reference host
- Record
at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.role- In the spec
org., the spec's lexicon of the same name. It may differ from this one.atgrp. role
main record
Record key: any
| Field | Type | Description |
|---|---|---|
bot | boolean | 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. |
createdAt | string (datetime) | |
default | boolean | Granted to members who join through requestJoin. With no role marked so, a newcomer gets member. |
description | string
| |
displayName (required) | string
|
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
}