# link.latr.saved.external

> 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.external)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.saved.external/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.saved.external/examples)

## Definitions

### `link.latr.saved.external`

**Type**: `record`

Per-user wrapper that gives a non-ATProto URL a stable AT URI in the user's repo (one record per user per normalized URL).

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | Yes | Original URL as saved. |
| `site` | `string` | No |  |
| `image` | `string` (uri) | No |  |
| `title` | `string` | No |  |
| `author` | `string` | No |  |
| `excerpt` | `string` | No |  |
| `language` | `string` (language) | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `fingerprint` | `string` | Yes | Hash of normalizedUrl (e.g. sha256 hex) for debugging and portability. |
| `publishedAt` | `string` (datetime) | No |  |
| `normalizedUrl` | `string` (uri) | Yes | Canonical normalized URL for deduplication. |

## Raw Schema

```json
{
  "id": "link.latr.saved.external",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "url",
          "normalizedUrl",
          "fingerprint",
          "createdAt"
        ],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "maxLength": 8192,
            "description": "Original URL as saved.",
            "maxGraphemes": 2048
          },
          "site": {
            "type": "string",
            "maxLength": 512,
            "maxGraphemes": 128
          },
          "image": {
            "type": "string",
            "format": "uri",
            "maxLength": 8192,
            "maxGraphemes": 2048
          },
          "title": {
            "type": "string",
            "maxLength": 2048,
            "maxGraphemes": 512
          },
          "author": {
            "type": "string",
            "maxLength": 512,
            "maxGraphemes": 128
          },
          "excerpt": {
            "type": "string",
            "maxLength": 8192,
            "maxGraphemes": 2048
          },
          "language": {
            "type": "string",
            "format": "language"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "fingerprint": {
            "type": "string",
            "maxLength": 128,
            "description": "Hash of normalizedUrl (e.g. sha256 hex) for debugging and portability.",
            "maxGraphemes": 128
          },
          "publishedAt": {
            "type": "string",
            "format": "datetime"
          },
          "normalizedUrl": {
            "type": "string",
            "format": "uri",
            "maxLength": 8192,
            "description": "Canonical normalized URL for deduplication.",
            "maxGraphemes": 2048
          }
        }
      },
      "description": "Per-user wrapper that gives a non-ATProto URL a stable AT URI in the user's repo (one record per user per normalized URL)."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
