at.margin.highlight

margin.at

{
  "id": "at.margin.highlight",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "target",
          "createdAt"
        ],
        "properties": {
          "tags": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 64,
              "maxGraphemes": 32
            },
            "maxLength": 10,
            "description": "Tags for categorization"
          },
          "color": {
            "type": "string",
            "maxLength": 20,
            "description": "Highlight color (hex or named)"
          },
          "labels": {
            "ref": "com.atproto.label.defs#selfLabels",
            "type": "ref",
            "description": "Self-applied content labels for this highlight"
          },
          "rights": {
            "type": "string",
            "format": "uri",
            "description": "License URI (e.g., https://creativecommons.org/licenses/by/4.0/)"
          },
          "target": {
            "ref": "at.margin.annotation#target",
            "type": "ref",
            "description": "The resource and segment being highlighted"
          },
          "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"
          }
        }
      },
      "description": "A highlight on a web page (motivation: highlighting)"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A lightweight highlight record - annotation without body text"
}

Validate Record

Validate a record against at.margin.highlight

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:rjqn3agdb74cszhqcpii4sne
CID
bafyreief4oi2jp4fpucumoqiiekmjkebrmlmbwvvpdnm7cr3s63bxdl5qa
Indexed At
2026-02-13 13:44 UTC
AT-URI
at://did:plc:rjqn3agdb74cszhqcpii4sne/com.atproto.lexicon.schema/at.margin.highlight

Referenced Schemas (2)

Lexicon Garden

@