Inline annotation on a specific text span in an eprint
tid
Timestamp-based ID
Properties
body
array
of
union
Required
Rich annotation body with formatting and references
maxLength: 500 items- pub.chive.richtext.defs#textItem
- pub.chive.richtext.defs#nodeRefItem
- pub.chive.richtext.defs#wikidataRefItem
- pub.chive.richtext.defs#fieldRefItem
- pub.chive.richtext.defs#facetRefItem
- pub.chive.richtext.defs#eprintRefItem
- pub.chive.richtext.defs#annotationRefItem
- pub.chive.richtext.defs#authorRefItem
- pub.chive.richtext.defs#mentionItem
- pub.chive.richtext.defs#linkItem
- pub.chive.richtext.defs#tagItem
- pub.chive.richtext.defs#latexItem
- pub.chive.richtext.defs#codeBlockItem
- pub.chive.richtext.defs#headingItem
- pub.chive.richtext.defs#listItem
- pub.chive.richtext.defs#blockquoteItem
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
eprintUri
string
at-uri
Required
Annotated eprint URI
motivationFallback
string
Optional
Fallback motivation if motivationUri not available
commenting, questioning, highlighting, replyingmotivationUri
string
at-uri
Optional
AT-URI of motivation type node (subkind=motivation)
parentAnnotation
string
at-uri
Optional
Parent annotation for threading
schemaRevision
integer
Optional
Schema revision this record was created with. Absent means revision 1.
minimum: 1target
ref
#textSpanTarget
Required
Target text span for the annotation
View raw schema
{
"description": "Inline annotation on a specific text span in an eprint",
"key": "tid",
"record": {
"properties": {
"body": {
"description": "Rich annotation body with formatting and references",
"items": {
"refs": [
"pub.chive.richtext.defs#textItem",
"pub.chive.richtext.defs#nodeRefItem",
"pub.chive.richtext.defs#wikidataRefItem",
"pub.chive.richtext.defs#fieldRefItem",
"pub.chive.richtext.defs#facetRefItem",
"pub.chive.richtext.defs#eprintRefItem",
"pub.chive.richtext.defs#annotationRefItem",
"pub.chive.richtext.defs#authorRefItem",
"pub.chive.richtext.defs#mentionItem",
"pub.chive.richtext.defs#linkItem",
"pub.chive.richtext.defs#tagItem",
"pub.chive.richtext.defs#latexItem",
"pub.chive.richtext.defs#codeBlockItem",
"pub.chive.richtext.defs#headingItem",
"pub.chive.richtext.defs#listItem",
"pub.chive.richtext.defs#blockquoteItem"
],
"type": "union"
},
"maxLength": 500,
"type": "array"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"eprintUri": {
"description": "Annotated eprint URI",
"format": "at-uri",
"type": "string"
},
"motivationFallback": {
"description": "Fallback motivation if motivationUri not available",
"knownValues": [
"commenting",
"questioning",
"highlighting",
"replying"
],
"type": "string"
},
"motivationUri": {
"description": "AT-URI of motivation type node (subkind=motivation)",
"format": "at-uri",
"type": "string"
},
"parentAnnotation": {
"description": "Parent annotation for threading",
"format": "at-uri",
"type": "string"
},
"schemaRevision": {
"description": "Schema revision this record was created with. Absent means revision 1.",
"minimum": 1,
"type": "integer"
},
"target": {
"description": "Target text span for the annotation",
"ref": "#textSpanTarget",
"type": "ref"
}
},
"required": [
"eprintUri",
"body",
"target",
"createdAt"
],
"type": "object"
},
"type": "record"
}