# chat.yakka.member

> Published by [yakka.chat](https://lexicon.garden/identity/did:plc:wpjoy2orkqq5m65vq7gg7liz)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:wpjoy2orkqq5m65vq7gg7liz/chat.yakka.member)
- [Documentation](https://lexicon.garden/lexicon/did:plc:wpjoy2orkqq5m65vq7gg7liz/chat.yakka.member/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:wpjoy2orkqq5m65vq7gg7liz/chat.yakka.member/examples)

## Definitions

### `chat.yakka.member`

**Type**: `record`

Membership of a server, written by the member into the server's directory space. Join *is* the write (ADR 0005): there is no separate roster to keep in step, because the directory's writer set converges to the exact roster by construction. Leaving is deleting this record.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `invite` | `string` | No | The invite code this member joined with, when there was one. Retained for moderation provenance, not for access — the mint, not this field, decides what they can read (ADR 0007). |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "chat.yakka.member",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "createdAt"
        ],
        "properties": {
          "invite": {
            "type": "string",
            "description": "The invite code this member joined with, when there was one. Retained for moderation provenance, not for access — the mint, not this field, decides what they can read (ADR 0007)."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "Membership of a server, written by the member into the server's directory space. Join *is* the write (ADR 0005): there is no separate roster to keep in step, because the directory's writer set converges to the exact roster by construction. Leaving is deleting this record."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
