net.hrkn.personas.bookmark

A bookmark record for saving and organizing references to posts, profiles, or external content

Repository @leo.hrkn.fi did:plc:zausoat25xxfgec2cndomsnf namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritypersonas.hrkn.net
Indexed
cid bafyreihe5fgq7m3ii7goz6n6ragaxns4cj4vkbnwjhmzgymxmyym2kkysu

Checks

Valid
  • unlimited-string defs.strongRef.properties.cidNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "externalRef": {
      "description": "Reference to external content outside AT Protocol",
      "properties": {
        "description": {
          "description": "Description of the external content",
          "maxLength": 1000,
          "type": "string"
        },
        "title": {
          "description": "Title of the external content",
          "maxLength": 500,
          "type": "string"
        },
        "uri": {
          "description": "URI of the external content",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    },
    "main": {
      "description": "A bookmark record for saving and organizing references to posts, profiles, or external content",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When the bookmark was created",
            "format": "datetime",
            "type": "string"
          },
          "subject": {
            "description": "The target being bookmarked",
            "refs": [
              "#strongRef",
              "#externalRef"
            ],
            "type": "union"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "strongRef": {
      "properties": {
        "cid": {
          "type": "string"
        },
        "uri": {
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid"
      ],
      "type": "object"
    }
  },
  "id": "net.hrkn.personas.bookmark",
  "lexicon": 1
}