# chat.bsky.notification.defs

> Published by [bsky-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:4v4y5r3lwsbtmsxhile2ljac)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.notification.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.notification.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.notification.defs/examples)

## Definitions

### `chat.bsky.notification.defs#preferences`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `chat` | `ref` → `#chatPreference` | Yes |  |
| `chatRequest` | `ref` → `#chatPreference` | Yes |  |

### `chat.bsky.notification.defs#chatPreference`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `push` | `boolean` | Yes |  |
| `include` | `string` | Yes |  |

## Raw Schema

```json
{
  "id": "chat.bsky.notification.defs",
  "defs": {
    "preferences": {
      "type": "object",
      "required": [
        "chat",
        "chatRequest"
      ],
      "properties": {
        "chat": {
          "ref": "#chatPreference",
          "type": "ref"
        },
        "chatRequest": {
          "ref": "#chatPreference",
          "type": "ref"
        }
      }
    },
    "chatPreference": {
      "type": "object",
      "required": [
        "include",
        "push"
      ],
      "properties": {
        "push": {
          "type": "boolean"
        },
        "include": {
          "type": "string",
          "knownValues": [
            "all",
            "follows"
          ]
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
