at.margin.collectionItem

margin.at

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Associates an annotation with a collection",
      "key": "tid",
      "record": {
        "properties": {
          "annotation": {
            "description": "AT URI of the annotation, highlight, or bookmark",
            "format": "at-uri",
            "type": "string"
          },
          "collection": {
            "description": "AT URI of the collection",
            "format": "at-uri",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "position": {
            "description": "Sort order within the collection",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "collection",
          "annotation",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "An item in a collection (links annotation to collection)",
  "id": "at.margin.collectionItem",
  "lexicon": 1
}

Validate Record

Validate a record against at.margin.collectionItem

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:rjqn3agdb74cszhqcpii4sne
CID
bafyreieq3x52f4dsphulvwleyrpld7pfs4akhto2gm6lvp3gjkpnqijwbm
Indexed At
2026-07-25 17:23 UTC
AT-URI
at://did:plc:rjqn3agdb74cszhqcpii4sne/com.atproto.lexicon.schema/at.margin.collectionItem

Version History (2 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@