link.latr.saved.external

samclemente.me

Documentation

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).

main 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).

Record Key any Any valid record key

Properties

author string Optional

No description available.

maxLength: 512 bytesmaxGraphemes: 128 graphemes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

excerpt string Optional

No description available.

maxLength: 8192 bytesmaxGraphemes: 2048 graphemes
fingerprint string Required

Hash of normalizedUrl (e.g. sha256 hex) for debugging and portability.

maxLength: 128 bytesmaxGraphemes: 128 graphemes
image string uri Optional

A valid URI.

maxLength: 8192 bytesmaxGraphemes: 2048 graphemes
language string language Optional

A BCP-47 language tag (e.g., en, pt-BR).

normalizedUrl string uri Required

Canonical normalized URL for deduplication.

maxLength: 8192 bytesmaxGraphemes: 2048 graphemes
publishedAt string datetime Optional

An RFC 3339 formatted timestamp.

site string Optional

No description available.

maxLength: 512 bytesmaxGraphemes: 128 graphemes
title string Optional

No description available.

maxLength: 2048 bytesmaxGraphemes: 512 graphemes
url string uri Required

Original URL as saved.

maxLength: 8192 bytesmaxGraphemes: 2048 graphemes
View raw schema
{
  "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)."
}

Lexicon Garden

@