A W3C-compliant web annotation stored on the AT Protocol
tid
Timestamp-based ID
Properties
body
ref
#body
Optional
The annotation content (text or reference). For bookmarks, use body.value for the description.
color
string
Optional
Highlight color tint
maxLength: 20 bytescreatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
facets
array
of
ref
app.bsky.richtext.facet
Optional
Rich text facets (e.g. mentions, links)
generator
ref
#generator
Optional
The client/agent that created this record
labels
ref
com.atproto.label.defs#selfLabels
Optional
Self-applied content labels for this annotation
modifiedAt
string
datetime
Optional
When this record was last modified
motivation
string
Required
W3C motivation for the annotation
commenting, highlighting, bookmarking, tagging, describing, linking, replying, editing, questioning, assessingrights
string
uri
Optional
License URI (e.g., https://creativecommons.org/licenses/by/4.0/)
tags
array
of
string
Optional
Tags for categorization
maxLength: 10 itemstarget
ref
#target
Required
The resource being annotated with optional selector
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"motivation",
"target",
"createdAt"
],
"properties": {
"body": {
"ref": "#body",
"type": "ref",
"description": "The annotation content (text or reference). For bookmarks, use body.value for the description."
},
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64,
"maxGraphemes": 32
},
"maxLength": 10,
"description": "Tags for categorization"
},
"color": {
"type": "string",
"maxLength": 20,
"description": "Highlight color tint"
},
"facets": {
"type": "array",
"items": {
"ref": "app.bsky.richtext.facet",
"type": "ref"
},
"description": "Rich text facets (e.g. mentions, links)"
},
"labels": {
"ref": "com.atproto.label.defs#selfLabels",
"type": "ref",
"description": "Self-applied content labels for this annotation"
},
"rights": {
"type": "string",
"format": "uri",
"description": "License URI (e.g., https://creativecommons.org/licenses/by/4.0/)"
},
"target": {
"ref": "#target",
"type": "ref",
"description": "The resource being annotated with optional selector"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"generator": {
"ref": "#generator",
"type": "ref",
"description": "The client/agent that created this record"
},
"modifiedAt": {
"type": "string",
"format": "datetime",
"description": "When this record was last modified"
},
"motivation": {
"type": "string",
"description": "W3C motivation for the annotation",
"knownValues": [
"commenting",
"highlighting",
"bookmarking",
"tagging",
"describing",
"linking",
"replying",
"editing",
"questioning",
"assessing"
]
}
}
},
"description": "A W3C-compliant web annotation stored on the AT Protocol"
}