app.userinput.member
Grants a DID a role on a space. Only honored when authored by the space owner. Lives in the owner's repo.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | userinput.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.roleNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Grants a DID a role on a space. Only honored when authored by the space owner. Lives in the owner's repo.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"role": {
"enum": [
"moderator",
"admin"
],
"type": "string"
},
"space": {
"description": "The space this membership applies to. Indexed by constellation at space.uri.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"subject": {
"description": "The DID being granted a role.",
"format": "did",
"type": "string"
}
},
"required": [
"space",
"subject",
"role",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "app.userinput.member",
"lexicon": 1
}