# us.off-the-clock.community.membership

> Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.community.membership)
- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.community.membership/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.community.membership/examples)

## Definitions

### `us.off-the-clock.community.membership`

**Type**: `record`

Grants a member access to spaces. Grants are additive: a member's access is the union over every record naming them that counts: in the self management space by an effective admin, or in a pair's management space, for that pair's content space alone, by an effective admin or that pair's admin. A grant naming a pair's management space puts its member on that pair's team. Membership in any record also grants the default pair's content space.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `member` | `string` (did) | Yes |  |
| `note` | `string` | No |  |
| `spaces` | `array` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Grants a member access to spaces. Grants are additive: a member's access is the union over every record naming them that counts: in the self management space by an effective admin, or in a pair's management space, for that pair's content space alone, by an effective admin or that pair's admin. A grant naming a pair's management space puts its member on that pair's team. Membership in any record also grants the default pair's content space.",
      "key": "tid",
      "record": {
        "properties": {
          "member": {
            "format": "did",
            "type": "string"
          },
          "note": {
            "maxGraphemes": 1000,
            "maxLength": 3000,
            "type": "string"
          },
          "spaces": {
            "items": {
              "description": "A space under the community identity, as <space-type>/<space-id>: us.off-the-clock.management/self, or either half of a pair by its TID, e.g. us.off-the-clock.community/3lk2xq5m7ab2c.",
              "maxLength": 512,
              "type": "string"
            },
            "maxLength": 50,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "member",
          "spaces"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "us.off-the-clock.community.membership",
  "lexicon": 1
}
```
