full diff

pub.chive.import.search

From
bafyreibdmmzlkwktjnqdn3chxnzksmyewr3q4nqxicrscrf6rq2c6daszu indexed 2026-06-18 13:14 UTC View this version
To
bafyreibdmmzlkwktjnqdn3chxnzksmyewr3q4nqxicrscrf6rq2c6daszu 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 "externalAuthor": {
55 "description": "An author from an external source",
66 "properties": {
77 "affiliation": {
88 "description": "Institutional affiliation",
99 "type": "string"
1010 },
1111 "email": {
1212 "description": "Email address",
1313 "type": "string"
1414 },
1515 "name": {
1616 "description": "Author name",
1717 "type": "string"
1818 },
1919 "orcid": {
2020 "description": "ORCID identifier",
2121 "type": "string"
2222 }
2323 },
2424 "required": [
2525 "name"
2626 ],
2727 "type": "object"
2828 },
2929 "importedEprint": {
3030 "description": "An eprint imported from an external source",
3131 "properties": {
3232 "abstract": {
3333 "description": "Abstract text",
3434 "type": "string"
3535 },
3636 "authors": {
3737 "description": "Author list",
3838 "items": {
3939 "ref": "#externalAuthor",
4040 "type": "ref"
4141 },
4242 "type": "array"
4343 },
4444 "canonicalUri": {
4545 "description": "AT-URI of the canonical record if claimed",
4646 "format": "at-uri",
4747 "type": "string"
4848 },
4949 "categories": {
5050 "description": "Subject categories",
5151 "items": {
5252 "type": "string"
5353 },
5454 "type": "array"
5555 },
5656 "claimStatus": {
5757 "description": "Current claim status",
5858 "knownValues": [
5959 "unclaimed",
6060 "pending",
6161 "claimed"
6262 ],
6363 "type": "string"
6464 },
6565 "claimedAt": {
6666 "description": "When the eprint was claimed",
6767 "format": "datetime",
6868 "type": "string"
6969 },
7070 "claimedByDid": {
7171 "description": "DID of the user who claimed this eprint",
7272 "format": "did",
7373 "type": "string"
7474 },
7575 "doi": {
7676 "description": "DOI if assigned",
7777 "type": "string"
7878 },
7979 "externalId": {
8080 "description": "Source-specific identifier",
8181 "type": "string"
8282 },
8383 "id": {
8484 "description": "Internal import ID",
8585 "type": "integer"
8686 },
8787 "importedAt": {
8888 "description": "When the eprint was imported",
8989 "format": "datetime",
9090 "type": "string"
9191 },
9292 "importedByPlugin": {
9393 "description": "Plugin that imported this eprint",
9494 "type": "string"
9595 },
9696 "lastSyncedAt": {
9797 "description": "When the eprint was last synced",
9898 "format": "datetime",
9999 "type": "string"
100100 },
101101 "pdfUrl": {
102102 "description": "URL to PDF",
103103 "format": "uri",
104104 "type": "string"
105105 },
106106 "publicationDate": {
107107 "description": "Publication date",
108108 "format": "datetime",
109109 "type": "string"
110110 },
111111 "source": {
112112 "description": "External source identifier",
113113 "type": "string"
114114 },
115115 "syncStatus": {
116116 "description": "Current sync status",
117117 "knownValues": [
118118 "active",
119119 "stale",
120120 "unavailable"
121121 ],
122122 "type": "string"
123123 },
124124 "title": {
125125 "description": "Eprint title",
126126 "type": "string"
127127 },
128128 "url": {
129129 "description": "URL to the eprint on the external source",
130130 "format": "uri",
131131 "type": "string"
132132 }
133133 },
134134 "required": [
135135 "id",
136136 "source",
137137 "externalId",
138138 "url",
139139 "title",
140140 "authors",
141141 "importedByPlugin",
142142 "importedAt",
143143 "syncStatus",
144144 "claimStatus"
145145 ],
146146 "type": "object"
147147 },
148148 "main": {
149149 "description": "Search imported eprints in the AppView cache",
150150 "output": {
151151 "encoding": "application/json",
152152 "schema": {
153153 "properties": {
154154 "cursor": {
155155 "description": "Cursor for next page",
156156 "type": "string"
157157 },
158158 "eprints": {
159159 "description": "List of matching imported eprints",
160160 "items": {
161161 "ref": "#importedEprint",
162162 "type": "ref"
163163 },
164164 "type": "array"
165165 },
166166 "hasMore": {
167167 "description": "Whether more results are available",
168168 "type": "boolean"
169169 }
170170 },
171171 "required": [
172172 "eprints",
173173 "hasMore"
174174 ],
175175 "type": "object"
176176 }
177177 },
178178 "parameters": {
179179 "properties": {
180180 "authorName": {
181181 "description": "Filter by author name",
182182 "type": "string"
183183 },
184184 "authorOrcid": {
185185 "description": "Filter by author ORCID",
186186 "type": "string"
187187 },
188188 "claimStatus": {
189189 "description": "Filter by claim status",
190190 "knownValues": [
191191 "unclaimed",
192192 "pending",
193193 "claimed"
194194 ],
195195 "type": "string"
196196 },
197197 "cursor": {
198198 "description": "Pagination cursor",
199199 "type": "string"
200200 },
201201 "limit": {
202202 "default": 50,
203203 "description": "Maximum results to return",
204204 "maximum": 100,
205205 "minimum": 1,
206206 "type": "integer"
207207 },
208208 "query": {
209209 "description": "Search query for title, abstract, or author",
210210 "type": "string"
211211 },
212212 "source": {
213213 "description": "Filter by external source identifier",
214214 "maxLength": 50,
215215 "minLength": 2,
216216 "type": "string"
217217 }
218218 },
219219 "type": "params"
220220 },
221221 "type": "query"
222222 }
223223 },
224224 "id": "pub.chive.import.search",
225225 "lexicon": 1,
226226 "revision": 1
227227}