# link.latr.saved.item

> Published by [samclemente.me](https://lexicon.garden/identity/did:plc:qy5pluw2bsuq2x6albsgkvx3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.saved.item)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.saved.item/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.saved.item/examples)

## Definitions

### `link.latr.saved.item`

**Type**: `record`

Declares that this user saved a subject (ATProto record or link.latr.saved.external wrapper) for read-later.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `note` | `string` | No |  |
| `tags` | `array` | No |  |
| `state` | `string` | No | Queue state; defaults to unread in clients when omitted. |
| `savedAt` | `string` (datetime) | Yes |  |
| `subjectUri` | `string` (at-uri) | Yes |  |
| `previewSite` | `string` | No | Cached site label (e.g. og:site_name). |
| `lastOpenedAt` | `string` (datetime) | No |  |
| `linkedWebUrl` | `string` (uri) | No | Optional public HTTP(S) page used to scrape Open Graph metadata for native saved subjects. |
| `previewImage` | `string` (uri) | No | Cached preview image URL (e.g. og:image). |
| `previewTitle` | `string` | No | Cached page / og:title. |
| `previewAuthor` | `string` | No | Cached author from page metadata when available. |
| `previewExcerpt` | `string` | No | Cached description (e.g. og:description). |

## Raw Schema

```json
{
  "id": "link.latr.saved.item",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subjectUri",
          "savedAt"
        ],
        "properties": {
          "note": {
            "type": "string",
            "maxLength": 8192,
            "maxGraphemes": 2048
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 128,
              "maxGraphemes": 64
            },
            "maxLength": 64
          },
          "state": {
            "enum": [
              "unread",
              "archived"
            ],
            "type": "string",
            "maxLength": 16,
            "description": "Queue state; defaults to unread in clients when omitted.",
            "maxGraphemes": 16
          },
          "savedAt": {
            "type": "string",
            "format": "datetime"
          },
          "subjectUri": {
            "type": "string",
            "format": "at-uri",
            "maxLength": 8192,
            "maxGraphemes": 2048
          },
          "previewSite": {
            "type": "string",
            "maxLength": 512,
            "description": "Cached site label (e.g. og:site_name).",
            "maxGraphemes": 128
          },
          "lastOpenedAt": {
            "type": "string",
            "format": "datetime"
          },
          "linkedWebUrl": {
            "type": "string",
            "format": "uri",
            "maxLength": 8192,
            "description": "Optional public HTTP(S) page used to scrape Open Graph metadata for native saved subjects.",
            "maxGraphemes": 2048
          },
          "previewImage": {
            "type": "string",
            "format": "uri",
            "maxLength": 8192,
            "description": "Cached preview image URL (e.g. og:image).",
            "maxGraphemes": 2048
          },
          "previewTitle": {
            "type": "string",
            "maxLength": 2048,
            "description": "Cached page / og:title.",
            "maxGraphemes": 512
          },
          "previewAuthor": {
            "type": "string",
            "maxLength": 512,
            "description": "Cached author from page metadata when available.",
            "maxGraphemes": 128
          },
          "previewExcerpt": {
            "type": "string",
            "maxLength": 8192,
            "description": "Cached description (e.g. og:description).",
            "maxGraphemes": 2048
          }
        }
      },
      "description": "Declares that this user saved a subject (ATProto record or link.latr.saved.external wrapper) for read-later."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
