full diff

pub.chive.eprint.updateSubmission

From
bafyreicivcyiqo2shaz7texeiqo4pjogpj4hi3w3lp67p32rlyecis5mza indexed 2026-06-18 13:14 UTC View this version
To
bafyreicivcyiqo2shaz7texeiqo4pjogpj4hi3w3lp67p32rlyecis5mza 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 "changelogInput": {
55 "description": "Changelog input for update operation",
66 "properties": {
77 "reviewerResponse": {
88 "description": "Response to peer review feedback",
99 "maxLength": 10000,
1010 "type": "string"
1111 },
1212 "sections": {
1313 "description": "Structured changelog sections",
1414 "items": {
1515 "ref": "pub.chive.eprint.changelog#changelogSection",
1616 "type": "ref"
1717 },
1818 "maxLength": 20,
1919 "type": "array"
2020 },
2121 "summary": {
2222 "description": "One-line summary of changes",
2323 "maxLength": 500,
2424 "type": "string"
2525 }
2626 },
2727 "type": "object"
2828 },
2929 "main": {
3030 "description": "Update an eprint submission with a new version",
3131 "errors": [
3232 {
3333 "description": "Eprint not found",
3434 "name": "NotFound"
3535 },
3636 {
3737 "description": "User is not authorized to update this eprint",
3838 "name": "Unauthorized"
3939 },
4040 {
4141 "description": "Invalid update data",
4242 "name": "ValidationError"
4343 }
4444 ],
4545 "input": {
4646 "encoding": "application/json",
4747 "schema": {
4848 "properties": {
4949 "abstract": {
5050 "description": "Updated rich abstract",
5151 "items": {
5252 "refs": [
5353 "pub.chive.richtext.defs#textItem",
5454 "pub.chive.richtext.defs#nodeRefItem"
5555 ],
5656 "type": "union"
5757 },
5858 "maxLength": 100,
5959 "type": "array"
6060 },
6161 "authors": {
6262 "description": "Updated authors with contributions, affiliations, and metadata",
6363 "items": {
6464 "ref": "pub.chive.eprint.authorContribution",
6565 "type": "ref"
6666 },
6767 "maxLength": 100,
6868 "minLength": 1,
6969 "type": "array"
7070 },
7171 "changelog": {
7272 "description": "Structured changelog for this update",
7373 "ref": "#changelogInput",
7474 "type": "ref"
7575 },
7676 "conferencePresentation": {
7777 "description": "Conference presentation metadata",
7878 "ref": "pub.chive.eprint.submission#conferencePresentation",
7979 "type": "ref"
8080 },
8181 "document": {
8282 "accept": [
8383 "application/pdf",
8484 "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
8585 "text/html",
8686 "text/markdown",
8787 "text/x-markdown",
8888 "text/x-tex",
8989 "application/x-tex",
9090 "application/x-ipynb+json",
9191 "application/vnd.oasis.opendocument.text",
9292 "application/rtf",
9393 "application/epub+zip",
9494 "text/plain"
9595 ],
9696 "description": "Updated document (if replacing)",
9797 "maxSize": 52428800,
9898 "type": "blob"
9999 },
100100 "externalIds": {
101101 "description": "External identifiers (arXiv, PubMed, SSRN, etc.)",
102102 "ref": "pub.chive.eprint.submission#externalIds",
103103 "type": "ref"
104104 },
105105 "fieldUris": {
106106 "description": "Updated field node references",
107107 "items": {
108108 "format": "at-uri",
109109 "type": "string"
110110 },
111111 "maxLength": 10,
112112 "type": "array"
113113 },
114114 "funding": {
115115 "description": "Funding sources",
116116 "items": {
117117 "ref": "pub.chive.eprint.submission#fundingSource",
118118 "type": "ref"
119119 },
120120 "maxLength": 20,
121121 "type": "array"
122122 },
123123 "keywords": {
124124 "description": "Updated keywords",
125125 "items": {
126126 "maxLength": 100,
127127 "type": "string"
128128 },
129129 "maxLength": 20,
130130 "type": "array"
131131 },
132132 "publishedVersion": {
133133 "description": "Published version metadata (journal, DOI, etc.)",
134134 "ref": "pub.chive.eprint.submission#publishedVersion",
135135 "type": "ref"
136136 },
137137 "repositories": {
138138 "description": "Code, data, and other repositories",
139139 "ref": "pub.chive.eprint.submission#repositories",
140140 "type": "ref"
141141 },
142142 "title": {
143143 "description": "Updated title",
144144 "maxLength": 500,
145145 "type": "string"
146146 },
147147 "uri": {
148148 "description": "AT-URI of the eprint to update",
149149 "format": "at-uri",
150150 "type": "string"
151151 },
152152 "versionBump": {
153153 "description": "Type of version increment",
154154 "knownValues": [
155155 "major",
156156 "minor",
157157 "patch"
158158 ],
159159 "type": "string"
160160 }
161161 },
162162 "required": [
163163 "uri",
164164 "versionBump"
165165 ],
166166 "type": "object"
167167 }
168168 },
169169 "output": {
170170 "encoding": "application/json",
171171 "schema": {
172172 "properties": {
173173 "changelogUri": {
174174 "description": "URI of the created changelog record",
175175 "format": "at-uri",
176176 "type": "string"
177177 },
178178 "expectedCid": {
179179 "description": "CID of the current indexed version for optimistic concurrency control. The frontend should pass this to the PDS when updating; if the CID has changed, the PDS will reject the update to prevent race conditions.",
180180 "format": "cid",
181181 "type": "string"
182182 },
183183 "uri": {
184184 "description": "URI of the updated eprint",
185185 "format": "at-uri",
186186 "type": "string"
187187 },
188188 "version": {
189189 "description": "New semantic version",
190190 "ref": "pub.chive.eprint.submission#semanticVersion",
191191 "type": "ref"
192192 }
193193 },
194194 "required": [
195195 "uri",
196196 "version",
197197 "expectedCid"
198198 ],
199199 "type": "object"
200200 }
201201 },
202202 "type": "procedure"
203203 }
204204 },
205205 "id": "pub.chive.eprint.updateSubmission",
206206 "lexicon": 1,
207207 "revision": 1
208208}