# site.exosphere.sphere.memberApproval

> Published by [exosphere.site](https://lexicon.garden/identity/did:plc:tztfs5zp6b4feo4u64adfvmq)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:tztfs5zp6b4feo4u64adfvmq/site.exosphere.sphere.memberApproval)
- [Documentation](https://lexicon.garden/lexicon/did:plc:tztfs5zp6b4feo4u64adfvmq/site.exosphere.sphere.memberApproval/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:tztfs5zp6b4feo4u64adfvmq/site.exosphere.sphere.memberApproval/examples)

## Definitions

### `site.exosphere.sphere.memberApproval`

**Type**: `record`

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.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `role` | `string` | Yes | Role granted to the member. |
| `sphere` | `string` (at-uri) | Yes | AT URI of the Sphere record (site.exosphere.sphere.profile). |
| `subject` | `string` (did) | Yes | DID of the member being approved. |

## Raw Schema

```json
{
  "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
}
```
