at.margin.highlight

margin.at

Documentation

A highlight on a web page (motivation: highlighting)

main record

A highlight on a web page (motivation: highlighting)

Record Key tid Timestamp-based ID

Properties

color string Optional

Highlight color (hex or named)

maxLength: 20 bytes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

tags array of string Optional

Tags for categorization

maxLength: 10 items
View raw schema
{
  "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)"
      },
      "target": {
        "ref": "at.margin.annotation#target",
        "type": "ref",
        "description": "The resource and segment being highlighted"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      }
    }
  },
  "description": "A highlight on a web page (motivation: highlighting)"
}

Lexicon Garden

@