pub.chive.review.comment
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"boundingRect": {
"description": "Bounding rectangle coordinates for highlight positioning. All values stored as strings to preserve floating-point precision since ATProto only supports integer type.",
"properties": {
"height": {
"description": "Page height reference (as string to preserve float precision)",
"type": "string"
},
"pageNumber": {
"description": "Page number (1-indexed for the library)",
"minimum": 1,
"type": "integer"
},
"width": {
"description": "Page width reference (as string to preserve float precision)",
"type": "string"
},
"x1": {
"description": "Left edge coordinate (as string to preserve float precision)",
"type": "string"
},
"x2": {
"description": "Right edge coordinate (as string to preserve float precision)",
"type": "string"
},
"y1": {
"description": "Top edge coordinate (as string to preserve float precision)",
"type": "string"
},
"y2": {
"description": "Bottom edge coordinate (as string to preserve float precision)",
"type": "string"
}
},
"required": [
"x1",
"y1",
"x2",
"y2",
"width",
"height",
"pageNumber"
],
"type": "object"
},
"fragmentSelector": {
"description": "W3C Fragment Selector",
"properties": {
"conformsTo": {
"description": "Fragment syntax specification",
"format": "uri",
"type": "string"
},
"type": {
"const": "FragmentSelector",
"type": "string"
},
"value": {
"description": "Fragment identifier (e.g., page number, section ID)",
"maxLength": 200,
"type": "string"
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"main": {
"description": "Review comment on preprint with rich body supporting text and node references",
"key": "tid",
"record": {
"properties": {
"body": {
"description": "Rich review 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": "Reviewed eprint URI",
"format": "at-uri",
"type": "string"
},
"motivationFallback": {
"description": "Fallback motivation if motivationUri not available",
"knownValues": [
"commenting",
"questioning",
"highlighting",
"replying",
"linking"
],
"type": "string"
},
"motivationUri": {
"description": "AT-URI of motivation type node (subkind=motivation)",
"format": "at-uri",
"type": "string"
},
"parentComment": {
"description": "Parent comment 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 inline annotations",
"ref": "#textSpanTarget",
"type": "ref"
}
},
"required": [
"eprintUri",
"body",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"positionRefinement": {
"description": "Position refinement for precise visual rendering of annotations",
"properties": {
"boundingRect": {
"description": "Bounding rectangle for visual positioning",
"ref": "#boundingRect",
"type": "ref"
},
"end": {
"description": "Approximate character end offset",
"minimum": 0,
"type": "integer"
},
"pageNumber": {
"description": "0-indexed page number",
"minimum": 0,
"type": "integer"
},
"start": {
"description": "Approximate character start offset",
"minimum": 0,
"type": "integer"
},
"type": {
"const": "TextPositionSelector",
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"textPositionSelector": {
"description": "W3C Text Position Selector",
"properties": {
"end": {
"minimum": 0,
"type": "integer"
},
"start": {
"minimum": 0,
"type": "integer"
},
"type": {
"const": "TextPositionSelector",
"type": "string"
}
},
"required": [
"type",
"start",
"end"
],
"type": "object"
},
"textQuoteSelector": {
"description": "W3C Text Quote Selector",
"properties": {
"exact": {
"maxLength": 1000,
"type": "string"
},
"prefix": {
"maxLength": 100,
"type": "string"
},
"suffix": {
"maxLength": 100,
"type": "string"
},
"type": {
"const": "TextQuoteSelector",
"type": "string"
}
},
"required": [
"type",
"exact"
],
"type": "object"
},
"textSpanTarget": {
"description": "Target text span for inline annotations (W3C Web Annotation compatible)",
"properties": {
"refinedBy": {
"description": "Position refinement with page number and bounding box for visual rendering",
"ref": "#positionRefinement",
"type": "ref"
},
"selector": {
"refs": [
"#textQuoteSelector",
"#textPositionSelector",
"#fragmentSelector"
],
"type": "union"
},
"versionUri": {
"description": "AT-URI of specific eprint version",
"format": "at-uri",
"type": "string"
}
},
"required": [
"selector"
],
"type": "object"
}
},
"id": "pub.chive.review.comment",
"lexicon": 1,
"revision": 1
}
Metadata
- DID
-
did:plc:egjghlwgts2hlcer2txilxeh - CID
-
bafyreihdvpzxr5sf3jgmm3nivknmrm6fzcrlkxcdkqjuoagkqmn57gfdlm - Indexed At
- 2026-06-18 13:14 UTC
- AT-URI
-
at://did:plc:egjghlwgts2hlcer2txilxeh/com.atproto.lexicon.schema/pub.chive.review.comment
Referenced Schemas (16)
- pub.chive.richtext.defs#annotationRefItem
- pub.chive.richtext.defs#authorRefItem
- pub.chive.richtext.defs#blockquoteItem
- pub.chive.richtext.defs#codeBlockItem
- pub.chive.richtext.defs#eprintRefItem
- pub.chive.richtext.defs#facetRefItem
- pub.chive.richtext.defs#fieldRefItem
- pub.chive.richtext.defs#headingItem
- pub.chive.richtext.defs#latexItem
- pub.chive.richtext.defs#linkItem
- pub.chive.richtext.defs#listItem
- pub.chive.richtext.defs#mentionItem
- pub.chive.richtext.defs#nodeRefItem
- pub.chive.richtext.defs#tagItem
- pub.chive.richtext.defs#textItem
- pub.chive.richtext.defs#wikidataRefItem
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
pub.chive.annotation.comment record
Inline annotation on a specific text span in an eprint
-
List reviews for a specific eprint with optional filtering
-
Get a review thread including the root review and all replies
-
List reviews created by a specific author with optional filtering