at.margin.bookmark

margin.at

Documentation

A bookmarked URL (motivation: bookmarking)

main record

A bookmarked URL (motivation: bookmarking)

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

An RFC 3339 formatted timestamp.

description string Optional

Optional description/note

maxLength: 1000 bytesmaxGraphemes: 300 graphemes
generator object Optional

The client/agent that created this record

rights string uri Optional

License URI (e.g., https://creativecommons.org/licenses/by/4.0/)

source string uri Required

The bookmarked URL

sourceHash string Optional

SHA256 hash of normalized URL for indexing

tags array of string Optional

Tags for categorization

maxLength: 10 items
title string Optional

Page title

maxLength: 500 bytes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "source",
      "createdAt"
    ],
    "properties": {
      "tags": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 64,
          "maxGraphemes": 32
        },
        "maxLength": 10,
        "description": "Tags for categorization"
      },
      "title": {
        "type": "string",
        "maxLength": 500,
        "description": "Page title"
      },
      "labels": {
        "ref": "com.atproto.label.defs#selfLabels",
        "type": "ref",
        "description": "Self-applied content labels for this bookmark"
      },
      "rights": {
        "type": "string",
        "format": "uri",
        "description": "License URI (e.g., https://creativecommons.org/licenses/by/4.0/)"
      },
      "source": {
        "type": "string",
        "format": "uri",
        "description": "The bookmarked URL"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "generator": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uri"
          },
          "name": {
            "type": "string"
          },
          "homepage": {
            "type": "string",
            "format": "uri"
          }
        },
        "description": "The client/agent that created this record"
      },
      "sourceHash": {
        "type": "string",
        "description": "SHA256 hash of normalized URL for indexing"
      },
      "description": {
        "type": "string",
        "maxLength": 1000,
        "description": "Optional description/note",
        "maxGraphemes": 300
      }
    }
  },
  "description": "A bookmarked URL (motivation: bookmarking)"
}

Lexicon Garden

@