at.margin.collectionItem

margin.at

Documentation

Associates an annotation with a collection

main record

Associates an annotation with a collection

Record Key tid Timestamp-based ID

Properties

annotation string at-uri Required

AT URI of the annotation, highlight, or bookmark

collection string at-uri Required

AT URI of the collection

createdAt string datetime Required

An RFC 3339 formatted timestamp.

position integer Optional

Sort order within the collection

minimum: 0
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "collection",
      "annotation",
      "createdAt"
    ],
    "properties": {
      "position": {
        "type": "integer",
        "minimum": 0,
        "description": "Sort order within the collection"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "annotation": {
        "type": "string",
        "format": "at-uri",
        "description": "AT URI of the annotation, highlight, or bookmark"
      },
      "collection": {
        "type": "string",
        "format": "at-uri",
        "description": "AT URI of the collection"
      }
    }
  },
  "description": "Associates an annotation with a collection"
}

Lexicon Garden

@