full diff

pub.chive.claiming.searchEprints

From
bafyreic5w7ic3j2rt2hmllgyt7dtlwxrf354g74fxauie6imk36s4ipnni indexed 2026-06-18 13:14 UTC View this version
To
bafyreic5w7ic3j2rt2hmllgyt7dtlwxrf354g74fxauie6imk36s4ipnni 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 "existingAuthor": {
55 "properties": {
66 "did": {
77 "description": "Author DID if claimed",
88 "format": "did",
99 "type": "string"
1010 },
1111 "name": {
1212 "description": "Author name",
1313 "type": "string"
1414 }
1515 },
1616 "required": [
1717 "name"
1818 ],
1919 "type": "object"
2020 },
2121 "existingChivePaper": {
2222 "description": "Existing Chive paper if this is a duplicate",
2323 "properties": {
2424 "authors": {
2525 "description": "Author list",
2626 "items": {
2727 "ref": "#existingAuthor",
2828 "type": "ref"
2929 },
3030 "type": "array"
3131 },
3232 "createdAt": {
3333 "description": "When the paper was indexed",
3434 "format": "datetime",
3535 "type": "string"
3636 },
3737 "title": {
3838 "description": "Paper title",
3939 "type": "string"
4040 },
4141 "uri": {
4242 "description": "AT-URI of the existing paper",
4343 "format": "at-uri",
4444 "type": "string"
4545 }
4646 },
4747 "required": [
4848 "uri",
4949 "title",
5050 "authors",
5151 "createdAt"
5252 ],
5353 "type": "object"
5454 },
5555 "externalAuthor": {
5656 "properties": {
5757 "affiliation": {
5858 "description": "Institution affiliation",
5959 "type": "string"
6060 },
6161 "email": {
6262 "description": "Email address",
6363 "type": "string"
6464 },
6565 "name": {
6666 "description": "Author name",
6767 "type": "string"
6868 },
6969 "orcid": {
7070 "description": "ORCID identifier",
7171 "type": "string"
7272 }
7373 },
7474 "required": [
7575 "name"
7676 ],
7777 "type": "object"
7878 },
7979 "externalEprint": {
8080 "properties": {
8181 "abstract": {
8282 "description": "Abstract text",
8383 "type": "string"
8484 },
8585 "authors": {
8686 "description": "Author list",
8787 "items": {
8888 "ref": "#externalAuthor",
8989 "type": "ref"
9090 },
9191 "type": "array"
9292 },
9393 "categories": {
9494 "description": "Subject categories",
9595 "items": {
9696 "type": "string"
9797 },
9898 "type": "array"
9999 },
100100 "doi": {
101101 "description": "DOI if assigned",
102102 "type": "string"
103103 },
104104 "existingChivePaper": {
105105 "ref": "#existingChivePaper",
106106 "type": "ref"
107107 },
108108 "externalId": {
109109 "description": "Source-specific identifier",
110110 "type": "string"
111111 },
112112 "pdfUrl": {
113113 "description": "URL to PDF",
114114 "format": "uri",
115115 "type": "string"
116116 },
117117 "publicationDate": {
118118 "description": "Publication date",
119119 "format": "datetime",
120120 "type": "string"
121121 },
122122 "source": {
123123 "description": "Source system",
124124 "type": "string"
125125 },
126126 "title": {
127127 "description": "Eprint title",
128128 "type": "string"
129129 },
130130 "url": {
131131 "description": "Full URL to the eprint",
132132 "format": "uri",
133133 "type": "string"
134134 }
135135 },
136136 "required": [
137137 "externalId",
138138 "url",
139139 "title",
140140 "authors",
141141 "source"
142142 ],
143143 "type": "object"
144144 },
145145 "main": {
146146 "description": "Search external eprint sources for papers to claim",
147147 "errors": [
148148 {
149149 "name": "InvalidRequest"
150150 }
151151 ],
152152 "output": {
153153 "encoding": "application/json",
154154 "schema": {
155155 "properties": {
156156 "eprints": {
157157 "items": {
158158 "ref": "#externalEprint",
159159 "type": "ref"
160160 },
161161 "type": "array"
162162 },
163163 "facets": {
164164 "ref": "#searchFacets",
165165 "type": "ref"
166166 },
167167 "sourceErrors": {
168168 "description": "Per-source errors from sources that failed during the search",
169169 "items": {
170170 "ref": "#sourceError",
171171 "type": "ref"
172172 },
173173 "type": "array"
174174 }
175175 },
176176 "required": [
177177 "eprints"
178178 ],
179179 "type": "object"
180180 }
181181 },
182182 "parameters": {
183183 "properties": {
184184 "author": {
185185 "description": "Author name to search for",
186186 "type": "string"
187187 },
188188 "limit": {
189189 "default": 20,
190190 "description": "Maximum number of results",
191191 "maximum": 50,
192192 "minimum": 1,
193193 "type": "integer"
194194 },
195195 "query": {
196196 "description": "Title or keyword search query",
197197 "type": "string"
198198 },
199199 "sources": {
200200 "description": "Comma-separated list of sources to search",
201201 "type": "string"
202202 }
203203 },
204204 "type": "params"
205205 },
206206 "type": "query"
207207 },
208208 "searchFacets": {
209209 "properties": {
210210 "sources": {
211211 "description": "Result counts by source (key: source name, value: count)",
212212 "type": "unknown"
213213 }
214214 },
215215 "type": "object"
216216 },
217217 "sourceError": {
218218 "description": "Error from a specific external source during search",
219219 "properties": {
220220 "message": {
221221 "description": "Human-readable error message",
222222 "type": "string"
223223 },
224224 "source": {
225225 "description": "Source identifier that failed (e.g., arxiv, openreview)",
226226 "type": "string"
227227 }
228228 },
229229 "required": [
230230 "source",
231231 "message"
232232 ],
233233 "type": "object"
234234 }
235235 },
236236 "id": "pub.chive.claiming.searchEprints",
237237 "lexicon": 1,
238238 "revision": 1
239239}