full diff

pub.chive.review.listForEprint

From
bafyreifsabgmnme2qnam4zaiy5qq2rar7k2vpffbp3z4xigqmknibux7ja indexed 2026-06-18 13:14 UTC View this version
To
bafyreifsabgmnme2qnam4zaiy5qq2rar7k2vpffbp3z4xigqmknibux7ja indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "authorRef": {
55 "properties": {
66 "avatar": {
77 "format": "uri",
88 "type": "string"
99 },
1010 "did": {
1111 "format": "did",
1212 "type": "string"
1313 },
1414 "displayName": {
1515 "type": "string"
1616 },
1717 "handle": {
1818 "type": "string"
1919 }
2020 },
2121 "required": [
2222 "did"
2323 ],
2424 "type": "object"
2525 },
2626 "main": {
2727 "description": "List reviews for a specific eprint with optional filtering",
2828 "errors": [],
2929 "output": {
3030 "encoding": "application/json",
3131 "schema": {
3232 "properties": {
3333 "cursor": {
3434 "description": "Cursor for next page",
3535 "type": "string"
3636 },
3737 "hasMore": {
3838 "description": "Whether more results are available",
3939 "type": "boolean"
4040 },
4141 "reviews": {
4242 "description": "List of reviews for the eprint",
4343 "items": {
4444 "ref": "#reviewView",
4545 "type": "ref"
4646 },
4747 "type": "array"
4848 },
4949 "total": {
5050 "description": "Total number of reviews for this eprint",
5151 "type": "integer"
5252 }
5353 },
5454 "required": [
5555 "reviews",
5656 "hasMore"
5757 ],
5858 "type": "object"
5959 }
6060 },
6161 "parameters": {
6262 "properties": {
6363 "cursor": {
6464 "description": "Pagination cursor for next page",
6565 "type": "string"
6666 },
6767 "eprintUri": {
6868 "description": "AT-URI of the eprint",
6969 "format": "at-uri",
7070 "type": "string"
7171 },
7272 "inlineOnly": {
7373 "default": false,
7474 "description": "Only include inline annotations with text span targets",
7575 "type": "boolean"
7676 },
7777 "limit": {
7878 "default": 50,
7979 "description": "Maximum number of results to return",
8080 "maximum": 100,
8181 "minimum": 1,
8282 "type": "integer"
8383 },
8484 "motivation": {
8585 "description": "Filter by W3C Web Annotation motivation",
8686 "knownValues": [
8787 "commenting",
8888 "highlighting",
8989 "questioning",
9090 "replying",
9191 "assessing",
9292 "bookmarking",
9393 "classifying",
9494 "describing",
9595 "editing",
9696 "linking",
9797 "moderating",
9898 "tagging"
9999 ],
100100 "type": "string"
101101 }
102102 },
103103 "required": [
104104 "eprintUri"
105105 ],
106106 "type": "params"
107107 },
108108 "type": "query"
109109 },
110110 "reviewView": {
111111 "description": "View of a review/comment",
112112 "properties": {
113113 "author": {
114114 "ref": "#authorRef",
115115 "type": "ref"
116116 },
117117 "body": {
118118 "description": "Rich text body items",
119119 "items": {
120120 "refs": [
121121 "pub.chive.richtext.defs#textItem",
122122 "pub.chive.richtext.defs#nodeRefItem",
123123 "pub.chive.richtext.defs#wikidataRefItem",
124124 "pub.chive.richtext.defs#fieldRefItem",
125125 "pub.chive.richtext.defs#facetRefItem",
126126 "pub.chive.richtext.defs#eprintRefItem",
127127 "pub.chive.richtext.defs#annotationRefItem",
128128 "pub.chive.richtext.defs#authorRefItem",
129129 "pub.chive.richtext.defs#mentionItem",
130130 "pub.chive.richtext.defs#linkItem",
131131 "pub.chive.richtext.defs#tagItem",
132132 "pub.chive.richtext.defs#latexItem",
133133 "pub.chive.richtext.defs#codeBlockItem",
134134 "pub.chive.richtext.defs#headingItem",
135135 "pub.chive.richtext.defs#listItem",
136136 "pub.chive.richtext.defs#blockquoteItem"
137137 ],
138138 "type": "union"
139139 },
140140 "maxLength": 500,
141141 "type": "array"
142142 },
143143 "bodyPlainText": {
144144 "description": "Plain text body for search/preview",
145145 "type": "string"
146146 },
147147 "cid": {
148148 "description": "Content identifier",
149149 "type": "string"
150150 },
151151 "content": {
152152 "description": "Plain text content of the review",
153153 "type": "string"
154154 },
155155 "createdAt": {
156156 "description": "When the review was created",
157157 "format": "datetime",
158158 "type": "string"
159159 },
160160 "deleted": {
161161 "default": false,
162162 "description": "Whether this review has been deleted (tombstone for thread preservation)",
163163 "type": "boolean"
164164 },
165165 "eprintUri": {
166166 "description": "AT-URI of the eprint being reviewed",
167167 "format": "at-uri",
168168 "type": "string"
169169 },
170170 "indexedAt": {
171171 "description": "When the review was indexed",
172172 "format": "datetime",
173173 "type": "string"
174174 },
175175 "motivation": {
176176 "description": "W3C Web Annotation motivation",
177177 "knownValues": [
178178 "commenting",
179179 "highlighting",
180180 "questioning",
181181 "replying",
182182 "assessing",
183183 "bookmarking",
184184 "classifying",
185185 "describing",
186186 "editing",
187187 "linking",
188188 "moderating",
189189 "tagging"
190190 ],
191191 "type": "string"
192192 },
193193 "parentReviewUri": {
194194 "description": "Parent review URI for threaded replies",
195195 "format": "at-uri",
196196 "type": "string"
197197 },
198198 "replyCount": {
199199 "description": "Number of direct replies",
200200 "minimum": 0,
201201 "type": "integer"
202202 },
203203 "target": {
204204 "description": "Target text span for inline annotations",
205205 "ref": "#textSpanTarget",
206206 "type": "ref"
207207 },
208208 "uri": {
209209 "description": "Review AT-URI",
210210 "format": "at-uri",
211211 "type": "string"
212212 }
213213 },
214214 "required": [
215215 "uri",
216216 "cid",
217217 "author",
218218 "eprintUri",
219219 "content",
220220 "motivation",
221221 "replyCount",
222222 "createdAt",
223223 "indexedAt"
224224 ],
225225 "type": "object"
226226 },
227227 "textPositionSelector": {
228228 "description": "W3C Text Position Selector with optional page info",
229229 "properties": {
230230 "end": {
231231 "minimum": 0,
232232 "type": "integer"
233233 },
234234 "pageNumber": {
235235 "description": "Page number in PDF",
236236 "minimum": 1,
237237 "type": "integer"
238238 },
239239 "start": {
240240 "minimum": 0,
241241 "type": "integer"
242242 },
243243 "type": {
244244 "const": "TextPositionSelector",
245245 "type": "string"
246246 }
247247 },
248248 "required": [
249249 "type",
250250 "start",
251251 "end"
252252 ],
253253 "type": "object"
254254 },
255255 "textQuoteSelector": {
256256 "description": "W3C Text Quote Selector",
257257 "properties": {
258258 "exact": {
259259 "maxLength": 1000,
260260 "type": "string"
261261 },
262262 "prefix": {
263263 "maxLength": 100,
264264 "type": "string"
265265 },
266266 "suffix": {
267267 "maxLength": 100,
268268 "type": "string"
269269 },
270270 "type": {
271271 "const": "TextQuoteSelector",
272272 "type": "string"
273273 }
274274 },
275275 "required": [
276276 "type",
277277 "exact"
278278 ],
279279 "type": "object"
280280 },
281281 "textSpanTarget": {
282282 "description": "Target text span for inline annotations (W3C Web Annotation compatible)",
283283 "properties": {
284284 "page": {
285285 "description": "Page number (deprecated, use refinedBy.pageNumber)",
286286 "minimum": 1,
287287 "type": "integer"
288288 },
289289 "refinedBy": {
290290 "description": "Position refinement with page info",
291291 "ref": "#textPositionSelector",
292292 "type": "ref"
293293 },
294294 "selector": {
295295 "description": "Text quote selector",
296296 "ref": "#textQuoteSelector",
297297 "type": "ref"
298298 },
299299 "source": {
300300 "description": "Eprint AT-URI",
301301 "format": "at-uri",
302302 "type": "string"
303303 }
304304 },
305305 "required": [
306306 "source"
307307 ],
308308 "type": "object"
309309 }
310310 },
311311 "id": "pub.chive.review.listForEprint",
312312 "lexicon": 1,
313313 "revision": 1
314314}