# town.delve.bookmark.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.bookmark.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.bookmark.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.bookmark.defs/examples)

## Definitions

### `town.delve.bookmark.defs#bookmark`

**Type**: `object`

Object used to store bookmark data in stash.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | A strong ref to the record to be bookmarked. Currently, only `app.bsky.feed.post` records are supported. |

### `town.delve.bookmark.defs#bookmarkView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | No |  |
| `item` | `union` | Yes |  |
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | A strong ref to the bookmarked record. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "bookmark": {
      "description": "Object used to store bookmark data in stash.",
      "properties": {
        "subject": {
          "description": "A strong ref to the record to be bookmarked. Currently, only `app.bsky.feed.post` records are supported.",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "subject"
      ],
      "type": "object"
    },
    "bookmarkView": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "item": {
          "refs": [
            "town.delve.feed.defs#blockedPost",
            "town.delve.feed.defs#notFoundPost",
            "town.delve.feed.defs#postView"
          ],
          "type": "union"
        },
        "subject": {
          "description": "A strong ref to the bookmarked record.",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "subject",
        "item"
      ],
      "type": "object"
    }
  },
  "id": "town.delve.bookmark.defs",
  "lexicon": 1
}
```
