full diff

pub.chive.import.get

From
bafyreibutiisi57nshrmbgwcuz3h63aejjb4xat4ezxce3waxgxa4x2rs4 indexed 2026-06-18 13:14 UTC View this version
To
bafyreibutiisi57nshrmbgwcuz3h63aejjb4xat4ezxce3waxgxa4x2rs4 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": "Get an imported eprint by source and external ID",
150150 "errors": [
151151 {
152152 "description": "The imported eprint was not found",
153153 "name": "NotFound"
154154 }
155155 ],
156156 "output": {
157157 "encoding": "application/json",
158158 "schema": {
159159 "ref": "#importedEprint",
160160 "type": "ref"
161161 }
162162 },
163163 "parameters": {
164164 "properties": {
165165 "externalId": {
166166 "description": "Source-specific identifier for the eprint",
167167 "minLength": 1,
168168 "type": "string"
169169 },
170170 "source": {
171171 "description": "External source identifier (e.g., arxiv, biorxiv, semanticscholar)",
172172 "maxLength": 50,
173173 "minLength": 2,
174174 "type": "string"
175175 }
176176 },
177177 "required": [
178178 "source",
179179 "externalId"
180180 ],
181181 "type": "params"
182182 },
183183 "type": "query"
184184 }
185185 },
186186 "id": "pub.chive.import.get",
187187 "lexicon": 1,
188188 "revision": 1
189189}