{
"id": "site.exosphere.sphere.memberApproval",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"sphere",
"subject",
"role"
],
"properties": {
"role": {
"type": "string",
"maxLength": 64,
"description": "Role granted to the member.",
"knownValues": [
"admin",
"member"
]
},
"sphere": {
"type": "string",
"format": "at-uri",
"description": "AT URI of the Sphere record (site.exosphere.sphere.profile)."
},
"subject": {
"type": "string",
"format": "did",
"description": "DID of the member being approved."
}
}
},
"description": "Published by a Sphere owner or admin on their own PDS to confirm a user's membership. References the member's site.exosphere.sphere.member record. The role field indicates the member's permissions within the Sphere."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}