pub.chive.review.comment
Review comment on preprint with rich body supporting text and node references
Repository
@lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh
not from the namespace authority
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | review.chive.pub |
| Indexed |
Showing version bafyreihdvpzxr5sf3jgmm3nivknmrm6fzcrlkxcdkqjuoagkqmn57gfdlm. Show the latest
Checks
Validunlimited-stringdefs.boundingRect.properties.heightNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.boundingRect.properties.widthNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.boundingRect.properties.x1No maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.boundingRect.properties.x2No maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.boundingRect.properties.y1No maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.boundingRect.properties.y2No maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.fragmentSelector.properties.typeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.record.properties.motivationFallbackNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.positionRefinement.properties.typeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.textPositionSelector.properties.typeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.textQuoteSelector.properties.typeNo maxLength, maxGraphemes or format limits this string.
{
"$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
}