full diff

pub.chive.eprint.searchSubmissions

From
bafyreidef3i6xh42mooem3jos7ujz7ypgvztp7pg7ngtwbhevht3skkryy indexed 2026-06-18 13:14 UTC View this version
To
bafyreidef3i6xh42mooem3jos7ujz7ypgvztp7pg7ngtwbhevht3skkryy 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 "authorSummary": {
55 "description": "Minimal author info for search results",
66 "properties": {
77 "avatarUrl": {
88 "description": "Author avatar URL",
99 "format": "uri",
1010 "type": "string"
1111 },
1212 "did": {
1313 "description": "Author DID if known",
1414 "format": "did",
1515 "type": "string"
1616 },
1717 "handle": {
1818 "description": "Author handle (e.g., alice.bsky.social)",
1919 "type": "string"
2020 },
2121 "name": {
2222 "description": "Display name",
2323 "type": "string"
2424 }
2525 },
2626 "required": [
2727 "name"
2828 ],
2929 "type": "object"
3030 },
3131 "facetAggregation": {
3232 "description": "Aggregation for a facet dimension",
3333 "properties": {
3434 "dimension": {
3535 "description": "Dimension identifier (e.g., 'field', 'topic', 'paperType')",
3636 "type": "string"
3737 },
3838 "label": {
3939 "description": "Display label for the dimension",
4040 "type": "string"
4141 },
4242 "subkind": {
4343 "description": "Subkind slug for the dimension's nodes",
4444 "type": "string"
4545 },
4646 "values": {
4747 "items": {
4848 "ref": "#facetValue",
4949 "type": "ref"
5050 },
5151 "type": "array"
5252 }
5353 },
5454 "required": [
5555 "dimension",
5656 "subkind",
5757 "values"
5858 ],
5959 "type": "object"
6060 },
6161 "facetValue": {
6262 "description": "A facet value with node reference",
6363 "properties": {
6464 "count": {
6565 "description": "Number of documents with this facet value",
6666 "type": "integer"
6767 },
6868 "label": {
6969 "description": "Display label",
7070 "type": "string"
7171 },
7272 "slug": {
7373 "description": "Node slug for URL generation",
7474 "type": "string"
7575 },
7676 "uri": {
7777 "description": "AT-URI of the knowledge graph node",
7878 "format": "at-uri",
7979 "type": "string"
8080 }
8181 },
8282 "required": [
8383 "uri",
8484 "label",
8585 "count"
8686 ],
8787 "type": "object"
8888 },
8989 "fieldRef": {
9090 "description": "Reference to a knowledge graph field node",
9191 "properties": {
9292 "id": {
9393 "description": "UUID of the field node",
9494 "type": "string"
9595 },
9696 "label": {
9797 "description": "Human-readable field name",
9898 "type": "string"
9999 },
100100 "uri": {
101101 "description": "AT-URI of the field node",
102102 "format": "at-uri",
103103 "type": "string"
104104 }
105105 },
106106 "required": [
107107 "uri",
108108 "label"
109109 ],
110110 "type": "object"
111111 },
112112 "highlightResult": {
113113 "description": "Highlighted text fragments with search matches",
114114 "properties": {
115115 "abstract": {
116116 "description": "Abstract fragments with <em> highlighting",
117117 "items": {
118118 "type": "string"
119119 },
120120 "type": "array"
121121 },
122122 "title": {
123123 "description": "Title fragments with <em> highlighting",
124124 "items": {
125125 "type": "string"
126126 },
127127 "type": "array"
128128 }
129129 },
130130 "type": "object"
131131 },
132132 "main": {
133133 "description": "Search preprints with faceted filters using knowledge graph dimensions",
134134 "output": {
135135 "encoding": "application/json",
136136 "schema": {
137137 "properties": {
138138 "cursor": {
139139 "type": "string"
140140 },
141141 "facetAggregations": {
142142 "items": {
143143 "ref": "#facetAggregation",
144144 "type": "ref"
145145 },
146146 "type": "array"
147147 },
148148 "hits": {
149149 "items": {
150150 "ref": "#searchHit",
151151 "type": "ref"
152152 },
153153 "type": "array"
154154 },
155155 "total": {
156156 "description": "Total number of matching documents",
157157 "type": "integer"
158158 }
159159 },
160160 "required": [
161161 "hits"
162162 ],
163163 "type": "object"
164164 }
165165 },
166166 "parameters": {
167167 "properties": {
168168 "author": {
169169 "description": "Filter by author DID",
170170 "format": "did",
171171 "type": "string"
172172 },
173173 "cursor": {
174174 "type": "string"
175175 },
176176 "dateFrom": {
177177 "description": "Filter by submission date (from)",
178178 "format": "datetime",
179179 "type": "string"
180180 },
181181 "dateTo": {
182182 "description": "Filter by submission date (to)",
183183 "format": "datetime",
184184 "type": "string"
185185 },
186186 "facetUris": {
187187 "description": "Filter by facet node URIs (subkind=facet)",
188188 "items": {
189189 "format": "at-uri",
190190 "type": "string"
191191 },
192192 "type": "array"
193193 },
194194 "fieldUris": {
195195 "description": "Filter by field node URIs (subkind=field)",
196196 "items": {
197197 "format": "at-uri",
198198 "type": "string"
199199 },
200200 "type": "array"
201201 },
202202 "limit": {
203203 "default": 25,
204204 "maximum": 100,
205205 "minimum": 1,
206206 "type": "integer"
207207 },
208208 "paperTypeUri": {
209209 "description": "Filter by paper type node URI (subkind=paper-type)",
210210 "format": "at-uri",
211211 "type": "string"
212212 },
213213 "publicationStatusUri": {
214214 "description": "Filter by publication status node URI (subkind=publication-status)",
215215 "format": "at-uri",
216216 "type": "string"
217217 },
218218 "q": {
219219 "description": "Search query. If omitted, returns recent eprints (browsing mode)",
220220 "type": "string"
221221 },
222222 "sort": {
223223 "description": "Sort order for results. 'relevance' (default) or 'recent' (newest first)",
224224 "knownValues": [
225225 "relevance",
226226 "recent"
227227 ],
228228 "type": "string"
229229 },
230230 "topicUris": {
231231 "description": "Filter by topic node URIs (subkind=topic)",
232232 "items": {
233233 "format": "at-uri",
234234 "type": "string"
235235 },
236236 "type": "array"
237237 }
238238 },
239239 "type": "params"
240240 },
241241 "type": "query"
242242 },
243243 "searchHit": {
244244 "description": "A search result hit",
245245 "properties": {
246246 "abstract": {
247247 "description": "Eprint abstract plain text for display",
248248 "type": "string"
249249 },
250250 "authors": {
251251 "description": "Author summaries for display",
252252 "items": {
253253 "ref": "#authorSummary",
254254 "type": "ref"
255255 },
256256 "type": "array"
257257 },
258258 "createdAt": {
259259 "description": "When the eprint was created",
260260 "format": "datetime",
261261 "type": "string"
262262 },
263263 "fields": {
264264 "description": "Knowledge graph field references",
265265 "items": {
266266 "ref": "#fieldRef",
267267 "type": "ref"
268268 },
269269 "type": "array"
270270 },
271271 "highlight": {
272272 "ref": "#highlightResult",
273273 "type": "ref"
274274 },
275275 "indexedAt": {
276276 "description": "When the eprint was indexed",
277277 "format": "datetime",
278278 "type": "string"
279279 },
280280 "score": {
281281 "description": "Relevance score (scaled by 1000 for precision)",
282282 "minimum": 0,
283283 "type": "integer"
284284 },
285285 "title": {
286286 "description": "Eprint title for display",
287287 "type": "string"
288288 },
289289 "uri": {
290290 "description": "AT-URI of the matched eprint",
291291 "format": "at-uri",
292292 "type": "string"
293293 }
294294 },
295295 "required": [
296296 "uri",
297297 "score"
298298 ],
299299 "type": "object"
300300 }
301301 },
302302 "id": "pub.chive.eprint.searchSubmissions",
303303 "lexicon": 1,
304304 "revision": 1
305305}