full diff

pub.chive.claiming.getSubmissionData

From
bafyreifrkennvpq5s3m3jnzlqa5e75iqqmunrcyuamhk3y67z6cdom3u4a indexed 2026-06-18 13:14 UTC View this version
To
bafyreifrkennvpq5s3m3jnzlqa5e75iqqmunrcyuamhk3y67z6cdom3u4a 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 "externalIds": {
5656 "properties": {
5757 "arxivId": {
5858 "description": "arXiv identifier",
5959 "type": "string"
6060 },
6161 "doi": {
6262 "description": "DOI",
6363 "type": "string"
6464 }
6565 },
6666 "type": "object"
6767 },
6868 "main": {
6969 "description": "Get prefilled form data for claiming a paper from an external source",
7070 "errors": [
7171 {
7272 "name": "AuthenticationRequired"
7373 },
7474 {
7575 "name": "NotFound"
7676 }
7777 ],
7878 "output": {
7979 "encoding": "application/json",
8080 "schema": {
8181 "properties": {
8282 "abstract": {
8383 "description": "Prefilled abstract",
8484 "type": "string"
8585 },
8686 "authors": {
8787 "description": "Prefilled authors",
8888 "items": {
8989 "ref": "#submissionAuthor",
9090 "type": "ref"
9191 },
9292 "type": "array"
9393 },
9494 "doi": {
9595 "description": "DOI if available",
9696 "type": "string"
9797 },
9898 "existingChivePaper": {
9999 "ref": "#existingChivePaper",
100100 "type": "ref"
101101 },
102102 "externalId": {
103103 "description": "Source-specific external ID",
104104 "type": "string"
105105 },
106106 "externalIds": {
107107 "ref": "#externalIds",
108108 "type": "ref"
109109 },
110110 "externalUrl": {
111111 "description": "External URL to the paper",
112112 "format": "uri",
113113 "type": "string"
114114 },
115115 "keywords": {
116116 "description": "Prefilled keywords/categories",
117117 "items": {
118118 "type": "string"
119119 },
120120 "type": "array"
121121 },
122122 "pdfUrl": {
123123 "description": "PDF URL if available",
124124 "format": "uri",
125125 "type": "string"
126126 },
127127 "publicationDate": {
128128 "description": "Publication date",
129129 "format": "datetime",
130130 "type": "string"
131131 },
132132 "source": {
133133 "description": "Source system",
134134 "type": "string"
135135 },
136136 "title": {
137137 "description": "Prefilled title",
138138 "type": "string"
139139 }
140140 },
141141 "required": [
142142 "title",
143143 "abstract",
144144 "authors",
145145 "keywords",
146146 "source",
147147 "externalId",
148148 "externalUrl"
149149 ],
150150 "type": "object"
151151 }
152152 },
153153 "parameters": {
154154 "properties": {
155155 "externalId": {
156156 "description": "Source-specific identifier",
157157 "type": "string"
158158 },
159159 "source": {
160160 "description": "External source (e.g., arxiv, semanticscholar)",
161161 "maxLength": 50,
162162 "minLength": 2,
163163 "type": "string"
164164 }
165165 },
166166 "required": [
167167 "source",
168168 "externalId"
169169 ],
170170 "type": "params"
171171 },
172172 "type": "query"
173173 },
174174 "submissionAuthor": {
175175 "properties": {
176176 "affiliation": {
177177 "description": "Institution affiliation",
178178 "type": "string"
179179 },
180180 "email": {
181181 "description": "Email address",
182182 "type": "string"
183183 },
184184 "name": {
185185 "description": "Author name",
186186 "type": "string"
187187 },
188188 "orcid": {
189189 "description": "ORCID identifier",
190190 "type": "string"
191191 },
192192 "order": {
193193 "description": "Author order (1-indexed)",
194194 "minimum": 1,
195195 "type": "integer"
196196 }
197197 },
198198 "required": [
199199 "order",
200200 "name"
201201 ],
202202 "type": "object"
203203 }
204204 },
205205 "id": "pub.chive.claiming.getSubmissionData",
206206 "lexicon": 1,
207207 "revision": 1
208208}