# town.delve.notification.defs

> Published by [delve.town](https://lexicon.garden/identity/did:plc:qzqct2rrq4u2gmy5g3mjxske)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.notification.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.notification.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.notification.defs/examples)

## Definitions

### `town.delve.notification.defs#activitySubscription`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `post` | `boolean` | Yes |  |
| `reply` | `boolean` | Yes |  |

### `town.delve.notification.defs#chatPreference`

**Type**: `object`

Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.

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

### `town.delve.notification.defs#filterablePreference`

**Type**: `object`

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

### `town.delve.notification.defs#preference`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `list` | `boolean` | Yes |  |
| `push` | `boolean` | Yes |  |

### `town.delve.notification.defs#preferences`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `chat` | `ref` → `#chatPreference` | Yes | Deprecated: use chat.bsky.notification preferences instead. This will only return a default value. |
| `follow` | `ref` → `#filterablePreference` | Yes |  |
| `like` | `ref` → `#filterablePreference` | Yes |  |
| `likeViaRepost` | `ref` → `#filterablePreference` | Yes |  |
| `mention` | `ref` → `#filterablePreference` | Yes |  |
| `quote` | `ref` → `#filterablePreference` | Yes |  |
| `reply` | `ref` → `#filterablePreference` | Yes |  |
| `repost` | `ref` → `#filterablePreference` | Yes |  |
| `repostViaRepost` | `ref` → `#filterablePreference` | Yes |  |
| `starterpackJoined` | `ref` → `#preference` | Yes |  |
| `subscribedPost` | `ref` → `#preference` | Yes |  |
| `unverified` | `ref` → `#preference` | Yes |  |
| `verified` | `ref` → `#preference` | Yes |  |

### `town.delve.notification.defs#recordDeleted`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|

### `town.delve.notification.defs#subjectActivitySubscription`

**Type**: `object`

Object used to store activity subscription data in stash.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `activitySubscription` | `ref` → `#activitySubscription` | Yes |  |
| `subject` | `string` (did) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "activitySubscription": {
      "properties": {
        "post": {
          "type": "boolean"
        },
        "reply": {
          "type": "boolean"
        }
      },
      "required": [
        "post",
        "reply"
      ],
      "type": "object"
    },
    "chatPreference": {
      "description": "Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.",
      "properties": {
        "include": {
          "knownValues": [
            "all",
            "accepted"
          ],
          "type": "string"
        },
        "push": {
          "type": "boolean"
        }
      },
      "required": [
        "include",
        "push"
      ],
      "type": "object"
    },
    "filterablePreference": {
      "properties": {
        "include": {
          "knownValues": [
            "all",
            "follows"
          ],
          "type": "string"
        },
        "list": {
          "type": "boolean"
        },
        "push": {
          "type": "boolean"
        }
      },
      "required": [
        "include",
        "list",
        "push"
      ],
      "type": "object"
    },
    "preference": {
      "properties": {
        "list": {
          "type": "boolean"
        },
        "push": {
          "type": "boolean"
        }
      },
      "required": [
        "list",
        "push"
      ],
      "type": "object"
    },
    "preferences": {
      "properties": {
        "chat": {
          "description": "Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.",
          "ref": "#chatPreference",
          "type": "ref"
        },
        "follow": {
          "ref": "#filterablePreference",
          "type": "ref"
        },
        "like": {
          "ref": "#filterablePreference",
          "type": "ref"
        },
        "likeViaRepost": {
          "ref": "#filterablePreference",
          "type": "ref"
        },
        "mention": {
          "ref": "#filterablePreference",
          "type": "ref"
        },
        "quote": {
          "ref": "#filterablePreference",
          "type": "ref"
        },
        "reply": {
          "ref": "#filterablePreference",
          "type": "ref"
        },
        "repost": {
          "ref": "#filterablePreference",
          "type": "ref"
        },
        "repostViaRepost": {
          "ref": "#filterablePreference",
          "type": "ref"
        },
        "starterpackJoined": {
          "ref": "#preference",
          "type": "ref"
        },
        "subscribedPost": {
          "ref": "#preference",
          "type": "ref"
        },
        "unverified": {
          "ref": "#preference",
          "type": "ref"
        },
        "verified": {
          "ref": "#preference",
          "type": "ref"
        }
      },
      "required": [
        "chat",
        "follow",
        "like",
        "likeViaRepost",
        "mention",
        "quote",
        "reply",
        "repost",
        "repostViaRepost",
        "starterpackJoined",
        "subscribedPost",
        "unverified",
        "verified"
      ],
      "type": "object"
    },
    "recordDeleted": {
      "properties": {},
      "type": "object"
    },
    "subjectActivitySubscription": {
      "description": "Object used to store activity subscription data in stash.",
      "properties": {
        "activitySubscription": {
          "ref": "#activitySubscription",
          "type": "ref"
        },
        "subject": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "subject",
        "activitySubscription"
      ],
      "type": "object"
    }
  },
  "id": "town.delve.notification.defs",
  "lexicon": 1
}
```
