-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.json
More file actions
1 lines (1 loc) · 39.2 KB
/
openapi.json
File metadata and controls
1 lines (1 loc) · 39.2 KB
1
{"openapi":"3.1.0","info":{"title":"arXiv submit","description":"API to submit papers to arXiv.","version":"0.1"},"paths":{"/v1/start":{"post":{"tags":["submit"],"summary":"Start","description":"Start a submission and get a submission ID.\n\nTODO Maybe the start needs to include accepting an agreement?\n\nTODO How to better indicate that the body is a string that is the submission id? Links?","operationId":"start_v1_start_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/StartedNew"},{"$ref":"#/components/schemas/StartedAlterExising"}],"title":"Started"}}},"required":true},"responses":{"200":{"description":"Successfully started a submission.","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/v1/user_submissions":{"get":{"tags":["info"],"summary":"User Submissions","description":"Get the existing submissions and papers for a user.","operationId":"user_submissions_v1_user_submissions_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{},"type":"array","title":"Response User Submissions V1 User Submissions Get"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/v1/submission/{submission_id}":{"get":{"tags":["submit"],"summary":"Get Submission","description":"Get information about a submission.","operationId":"get_submission_v1_submission__submission_id__get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Id of the submission to get.","title":"Submission Id"},"description":"Id of the submission to get."}],"responses":{"200":{"description":"The submission data.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Submission","title":"Response 200 Get Submission V1 Submission Submission Id Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/submission/{submission_id}/acceptPolicy":{"post":{"tags":["submit"],"summary":"Accept Policy Post","description":"Agree to an arXiv policy to initiate a new item submission or a change to an existing item.","operationId":"accept_policy_post_v1_submission__submission_id__acceptPolicy_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Id of the submission to get.","title":"Submission Id"},"description":"Id of the submission to get."}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgreedToPolicy"}}}},"responses":{"200":{"description":"The has been accepted.","content":{"application/json":{"schema":{"title":"Response 200 Accept Policy Post V1 Submission Submission Id Acceptpolicy Post"}}}},"400":{"description":"There was an problem when processing the agreement. It was not accepted.","content":{"application/json":{"schema":{"type":"string","title":"Response 400 Accept Policy Post V1 Submission Submission Id Acceptpolicy Post"}}}},"401":{"description":"Unauthorized. Missing valid authentication information. The agreement was not accepted."},"403":{"description":"Forbidden. User or client is not authorized to upload. The agreement was not accepted."},"500":{"description":"Error. There was a problem. The agreement was not accepted."},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/submission/{submission_id}/setLicense":{"post":{"tags":["submit"],"summary":"Set License Post","description":"Set a license for a files of a submission.","operationId":"set_license_post_v1_submission__submission_id__setLicense_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Id of the submission to set the license for.","title":"Submission Id"},"description":"Id of the submission to set the license for."}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetLicense","description":"The license to set"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/submission/{submission_id}/assertAuthorship":{"post":{"tags":["submit"],"summary":"Assert Authorship Post","operationId":"assert_authorship_post_v1_submission__submission_id__assertAuthorship_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Id of the submission to assert authorship for.","title":"Submission Id"},"description":"Id of the submission to assert authorship for."}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AuthorshipDirect"},{"$ref":"#/components/schemas/AuthorshipProxy"}],"title":"Authorship"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Assert Authorship Post V1 Submission Submission Id Assertauthorship Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/submission/{submission_id}/files":{"post":{"tags":["submit"],"summary":"File Post","description":"Upload a file to a submission.\n\nThe file can be a single file, a zip, or a tar.gz. Zip and tar.gz files will be unpacked.","operationId":"file_post_v1_submission__submission_id__files_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Id of the submission to add the upload to.","title":"Submission Id"},"description":"Id of the submission to add the upload to."}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_file_post_v1_submission__submission_id__files_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response File Post V1 Submission Submission Id Files Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/submission/{submission_id}/setCategories":{"post":{"tags":["submit"],"summary":"Set Categories Post","description":"Set the categories for a submission.\n\nThe categories will replace any categories already set on the submission.","operationId":"set_categories_post_v1_submission__submission_id__setCategories_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Id of the submission to set the categories for.","title":"Submission Id"},"description":"Id of the submission to set the categories for."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetCategories"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CategoryChangeResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/submission/{submission_id}/setMetadata":{"post":{"tags":["submit"],"summary":"Set Metadata Post","operationId":"set_metadata_post_v1_submission__submission_id__setMetadata_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Id of the submission to set the metadata for.","title":"Submission Id"},"description":"Id of the submission to set the metadata for."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetMetadata"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Set Metadata Post V1 Submission Submission Id Setmetadata Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/submission/{submission_id}/markDeposited":{"post":{"tags":["post submit"],"summary":"Mark Deposited Post","description":"Mark that the submission has been successfully deposited into the arxiv corpus.","operationId":"mark_deposited_post_v1_submission__submission_id__markDeposited_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Id of the submission to get.","title":"Submission Id"},"description":"Id of the submission to get."}],"responses":{"200":{"description":"Deposited has been recorded.","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/submission/{submission_id}/markProcessingForDeposit":{"post":{"tags":["post submit"],"summary":" Mark Processing For Deposit Post","description":"Mark that the submission is being processed for deposit.","operationId":"_mark_processing_for_deposit_post_v1_submission__submission_id__markProcessingForDeposit_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Id of the submission to get.","title":"Submission Id"},"description":"Id of the submission to get."}],"responses":{"200":{"description":"The submission has been marked as in processing for deposit.","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/submission/{submission_id}/unmarkProcessingForDeposit":{"post":{"tags":["post submit"],"summary":"Unmark Processing For Deposit Post","description":"Indicate that an external system in no longer working on depositing this submission.\n\nThis just indicates that the submission is no longer in processing state. This does not indicate that it\n was successfully deposited.","operationId":"unmark_processing_for_deposit_post_v1_submission__submission_id__unmarkProcessingForDeposit_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"submission_id","in":"path","required":true,"schema":{"type":"string","description":"Id of the submission to get.","title":"Submission Id"},"description":"Id of the submission to get."}],"responses":{"200":{"description":"The submission has been marked as no longer in processing for deposit.","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/status":{"get":{"tags":["service"],"summary":"Get Service Status","description":"Get information about the current status of file management service.","operationId":"get_service_status_v1_status_get","responses":{"200":{"description":"system is working correctly","content":{"application/json":{"schema":{"type":"string","title":"Response Get Service Status V1 Status Get"}}}},"500":{"description":"system is not working correctly"}}}}},"components":{"schemas":{"Agent":{"properties":{"identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identifier"},"agent_type":{"type":"string","title":"Agent Type"}},"type":"object","required":["agent_type"],"title":"Agent"},"AgreedToPolicy":{"properties":{"accepted_policy_id":{"type":"integer","title":"Accepted Policy Id"}},"type":"object","required":["accepted_policy_id"],"title":"AgreedToPolicy","description":"The sender of this request agrees to the statement in the agreement."},"Annotation":{"properties":{"event_id":{"type":"string","title":"Event Id"},"creator":{"$ref":"#/components/schemas/Agent"},"created":{"type":"string","format":"date-time","title":"Created"}},"type":"object","required":["event_id","creator","created"],"title":"Annotation"},"Author":{"properties":{"order":{"type":"integer","title":"Order","default":0},"forename":{"type":"string","title":"Forename"},"surname":{"type":"string","title":"Surname"},"initials":{"type":"string","title":"Initials"},"affiliation":{"type":"string","title":"Affiliation"},"email":{"type":"string","title":"Email"},"identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identifier"},"display":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Display"}},"type":"object","title":"Author","description":"Represents an author of a submission."},"AuthorshipDirect":{"properties":{"i_am_author":{"type":"boolean","title":"I Am Author"}},"type":"object","required":["i_am_author"],"title":"AuthorshipDirect","description":"Asserts the sender of this request is the author of the submitted items."},"AuthorshipProxy":{"properties":{"i_am_authorized_to_proxy":{"type":"boolean","title":"I Am Authorized To Proxy"},"proxy":{"type":"string","title":"Proxy"}},"type":"object","required":["i_am_authorized_to_proxy","proxy"],"title":"AuthorshipProxy","description":"Asserts that the sender of this request is authorized to deposit the submitted items by the author of the items."},"Body_file_post_v1_submission__submission_id__files_post":{"properties":{"uploadFile":{"type":"string","format":"binary","title":"Uploadfile"}},"type":"object","required":["uploadFile"],"title":"Body_file_post_v1_submission__submission_id__files_post"},"Category":{"properties":{"id":{"type":"string","title":"Id"},"full_name":{"type":"string","title":"Full Name"},"is_active":{"type":"boolean","title":"Is Active"},"alt_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Alt Name"},"in_archive":{"type":"string","title":"In Archive"},"is_general":{"type":"boolean","title":"Is General"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["id","full_name","is_active","in_archive","is_general"],"title":"Category","description":"Represents an arXiv category."},"CategoryChangeResult":{"properties":{"new_primary":{"anyOf":[{"type":"string","enum":["acc-phys","adap-org","alg-geom","ao-sci","astro-ph","astro-ph.CO","astro-ph.EP","astro-ph.GA","astro-ph.HE","astro-ph.IM","astro-ph.SR","atom-ph","bayes-an","chao-dyn","chem-ph","cmp-lg","comp-gas","cond-mat","cond-mat.dis-nn","cond-mat.mes-hall","cond-mat.mtrl-sci","cond-mat.other","cond-mat.quant-gas","cond-mat.soft","cond-mat.stat-mech","cond-mat.str-el","cond-mat.supr-con","cs.AI","cs.AR","cs.CC","cs.CE","cs.CG","cs.CL","cs.CR","cs.CV","cs.CY","cs.DB","cs.DC","cs.DL","cs.DM","cs.DS","cs.ET","cs.FL","cs.GL","cs.GR","cs.GT","cs.HC","cs.IR","cs.IT","cs.LG","cs.LO","cs.MA","cs.MM","cs.MS","cs.NA","cs.NE","cs.NI","cs.OH","cs.OS","cs.PF","cs.PL","cs.RO","cs.SC","cs.SD","cs.SE","cs.SI","cs.SY","dg-ga","econ.EM","econ.GN","econ.TH","eess.AS","eess.IV","eess.SP","eess.SY","funct-an","gr-qc","hep-ex","hep-lat","hep-ph","hep-th","math-ph","math.AC","math.AG","math.AP","math.AT","math.CA","math.CO","math.CT","math.CV","math.DG","math.DS","math.FA","math.GM","math.GN","math.GR","math.GT","math.HO","math.IT","math.KT","math.LO","math.MG","math.MP","math.NA","math.NT","math.OA","math.OC","math.PR","math.QA","math.RA","math.RT","math.SG","math.SP","math.ST","mtrl-th","nlin.AO","nlin.CD","nlin.CG","nlin.PS","nlin.SI","nucl-ex","nucl-th","patt-sol","physics.acc-ph","physics.ao-ph","physics.app-ph","physics.atm-clus","physics.atom-ph","physics.bio-ph","physics.chem-ph","physics.class-ph","physics.comp-ph","physics.data-an","physics.ed-ph","physics.flu-dyn","physics.gen-ph","physics.geo-ph","physics.hist-ph","physics.ins-det","physics.med-ph","physics.optics","physics.plasm-ph","physics.pop-ph","physics.soc-ph","physics.space-ph","plasm-ph","q-alg","q-bio","q-bio.BM","q-bio.CB","q-bio.GN","q-bio.MN","q-bio.NC","q-bio.OT","q-bio.PE","q-bio.QM","q-bio.SC","q-bio.TO","q-fin.CP","q-fin.EC","q-fin.GN","q-fin.MF","q-fin.PM","q-fin.PR","q-fin.RM","q-fin.ST","q-fin.TR","quant-ph","solv-int","stat.AP","stat.CO","stat.ME","stat.ML","stat.OT","stat.TH","supr-con","test","test.dis-nn","test.mes-hall","test.mtrl-sci","test.soft","test.stat-mech","test.str-el","test.supr-con","bad-arch.bad-cat"]},{"type":"null"}],"title":"New Primary"},"old_primary":{"anyOf":[{"type":"string","enum":["acc-phys","adap-org","alg-geom","ao-sci","astro-ph","astro-ph.CO","astro-ph.EP","astro-ph.GA","astro-ph.HE","astro-ph.IM","astro-ph.SR","atom-ph","bayes-an","chao-dyn","chem-ph","cmp-lg","comp-gas","cond-mat","cond-mat.dis-nn","cond-mat.mes-hall","cond-mat.mtrl-sci","cond-mat.other","cond-mat.quant-gas","cond-mat.soft","cond-mat.stat-mech","cond-mat.str-el","cond-mat.supr-con","cs.AI","cs.AR","cs.CC","cs.CE","cs.CG","cs.CL","cs.CR","cs.CV","cs.CY","cs.DB","cs.DC","cs.DL","cs.DM","cs.DS","cs.ET","cs.FL","cs.GL","cs.GR","cs.GT","cs.HC","cs.IR","cs.IT","cs.LG","cs.LO","cs.MA","cs.MM","cs.MS","cs.NA","cs.NE","cs.NI","cs.OH","cs.OS","cs.PF","cs.PL","cs.RO","cs.SC","cs.SD","cs.SE","cs.SI","cs.SY","dg-ga","econ.EM","econ.GN","econ.TH","eess.AS","eess.IV","eess.SP","eess.SY","funct-an","gr-qc","hep-ex","hep-lat","hep-ph","hep-th","math-ph","math.AC","math.AG","math.AP","math.AT","math.CA","math.CO","math.CT","math.CV","math.DG","math.DS","math.FA","math.GM","math.GN","math.GR","math.GT","math.HO","math.IT","math.KT","math.LO","math.MG","math.MP","math.NA","math.NT","math.OA","math.OC","math.PR","math.QA","math.RA","math.RT","math.SG","math.SP","math.ST","mtrl-th","nlin.AO","nlin.CD","nlin.CG","nlin.PS","nlin.SI","nucl-ex","nucl-th","patt-sol","physics.acc-ph","physics.ao-ph","physics.app-ph","physics.atm-clus","physics.atom-ph","physics.bio-ph","physics.chem-ph","physics.class-ph","physics.comp-ph","physics.data-an","physics.ed-ph","physics.flu-dyn","physics.gen-ph","physics.geo-ph","physics.hist-ph","physics.ins-det","physics.med-ph","physics.optics","physics.plasm-ph","physics.pop-ph","physics.soc-ph","physics.space-ph","plasm-ph","q-alg","q-bio","q-bio.BM","q-bio.CB","q-bio.GN","q-bio.MN","q-bio.NC","q-bio.OT","q-bio.PE","q-bio.QM","q-bio.SC","q-bio.TO","q-fin.CP","q-fin.EC","q-fin.GN","q-fin.MF","q-fin.PM","q-fin.PR","q-fin.RM","q-fin.ST","q-fin.TR","quant-ph","solv-int","stat.AP","stat.CO","stat.ME","stat.ML","stat.OT","stat.TH","supr-con","test","test.dis-nn","test.mes-hall","test.mtrl-sci","test.soft","test.stat-mech","test.str-el","test.supr-con","bad-arch.bad-cat"]},{"type":"null"}],"title":"Old Primary"},"new_secondaries":{"items":{"type":"string","enum":["acc-phys","adap-org","alg-geom","ao-sci","astro-ph","astro-ph.CO","astro-ph.EP","astro-ph.GA","astro-ph.HE","astro-ph.IM","astro-ph.SR","atom-ph","bayes-an","chao-dyn","chem-ph","cmp-lg","comp-gas","cond-mat","cond-mat.dis-nn","cond-mat.mes-hall","cond-mat.mtrl-sci","cond-mat.other","cond-mat.quant-gas","cond-mat.soft","cond-mat.stat-mech","cond-mat.str-el","cond-mat.supr-con","cs.AI","cs.AR","cs.CC","cs.CE","cs.CG","cs.CL","cs.CR","cs.CV","cs.CY","cs.DB","cs.DC","cs.DL","cs.DM","cs.DS","cs.ET","cs.FL","cs.GL","cs.GR","cs.GT","cs.HC","cs.IR","cs.IT","cs.LG","cs.LO","cs.MA","cs.MM","cs.MS","cs.NA","cs.NE","cs.NI","cs.OH","cs.OS","cs.PF","cs.PL","cs.RO","cs.SC","cs.SD","cs.SE","cs.SI","cs.SY","dg-ga","econ.EM","econ.GN","econ.TH","eess.AS","eess.IV","eess.SP","eess.SY","funct-an","gr-qc","hep-ex","hep-lat","hep-ph","hep-th","math-ph","math.AC","math.AG","math.AP","math.AT","math.CA","math.CO","math.CT","math.CV","math.DG","math.DS","math.FA","math.GM","math.GN","math.GR","math.GT","math.HO","math.IT","math.KT","math.LO","math.MG","math.MP","math.NA","math.NT","math.OA","math.OC","math.PR","math.QA","math.RA","math.RT","math.SG","math.SP","math.ST","mtrl-th","nlin.AO","nlin.CD","nlin.CG","nlin.PS","nlin.SI","nucl-ex","nucl-th","patt-sol","physics.acc-ph","physics.ao-ph","physics.app-ph","physics.atm-clus","physics.atom-ph","physics.bio-ph","physics.chem-ph","physics.class-ph","physics.comp-ph","physics.data-an","physics.ed-ph","physics.flu-dyn","physics.gen-ph","physics.geo-ph","physics.hist-ph","physics.ins-det","physics.med-ph","physics.optics","physics.plasm-ph","physics.pop-ph","physics.soc-ph","physics.space-ph","plasm-ph","q-alg","q-bio","q-bio.BM","q-bio.CB","q-bio.GN","q-bio.MN","q-bio.NC","q-bio.OT","q-bio.PE","q-bio.QM","q-bio.SC","q-bio.TO","q-fin.CP","q-fin.EC","q-fin.GN","q-fin.MF","q-fin.PM","q-fin.PR","q-fin.RM","q-fin.ST","q-fin.TR","quant-ph","solv-int","stat.AP","stat.CO","stat.ME","stat.ML","stat.OT","stat.TH","supr-con","test","test.dis-nn","test.mes-hall","test.mtrl-sci","test.soft","test.stat-mech","test.str-el","test.supr-con","bad-arch.bad-cat"]},"type":"array","title":"New Secondaries"},"old_secondaries":{"items":{"type":"string","enum":["acc-phys","adap-org","alg-geom","ao-sci","astro-ph","astro-ph.CO","astro-ph.EP","astro-ph.GA","astro-ph.HE","astro-ph.IM","astro-ph.SR","atom-ph","bayes-an","chao-dyn","chem-ph","cmp-lg","comp-gas","cond-mat","cond-mat.dis-nn","cond-mat.mes-hall","cond-mat.mtrl-sci","cond-mat.other","cond-mat.quant-gas","cond-mat.soft","cond-mat.stat-mech","cond-mat.str-el","cond-mat.supr-con","cs.AI","cs.AR","cs.CC","cs.CE","cs.CG","cs.CL","cs.CR","cs.CV","cs.CY","cs.DB","cs.DC","cs.DL","cs.DM","cs.DS","cs.ET","cs.FL","cs.GL","cs.GR","cs.GT","cs.HC","cs.IR","cs.IT","cs.LG","cs.LO","cs.MA","cs.MM","cs.MS","cs.NA","cs.NE","cs.NI","cs.OH","cs.OS","cs.PF","cs.PL","cs.RO","cs.SC","cs.SD","cs.SE","cs.SI","cs.SY","dg-ga","econ.EM","econ.GN","econ.TH","eess.AS","eess.IV","eess.SP","eess.SY","funct-an","gr-qc","hep-ex","hep-lat","hep-ph","hep-th","math-ph","math.AC","math.AG","math.AP","math.AT","math.CA","math.CO","math.CT","math.CV","math.DG","math.DS","math.FA","math.GM","math.GN","math.GR","math.GT","math.HO","math.IT","math.KT","math.LO","math.MG","math.MP","math.NA","math.NT","math.OA","math.OC","math.PR","math.QA","math.RA","math.RT","math.SG","math.SP","math.ST","mtrl-th","nlin.AO","nlin.CD","nlin.CG","nlin.PS","nlin.SI","nucl-ex","nucl-th","patt-sol","physics.acc-ph","physics.ao-ph","physics.app-ph","physics.atm-clus","physics.atom-ph","physics.bio-ph","physics.chem-ph","physics.class-ph","physics.comp-ph","physics.data-an","physics.ed-ph","physics.flu-dyn","physics.gen-ph","physics.geo-ph","physics.hist-ph","physics.ins-det","physics.med-ph","physics.optics","physics.plasm-ph","physics.pop-ph","physics.soc-ph","physics.space-ph","plasm-ph","q-alg","q-bio","q-bio.BM","q-bio.CB","q-bio.GN","q-bio.MN","q-bio.NC","q-bio.OT","q-bio.PE","q-bio.QM","q-bio.SC","q-bio.TO","q-fin.CP","q-fin.EC","q-fin.GN","q-fin.MF","q-fin.PM","q-fin.PR","q-fin.RM","q-fin.ST","q-fin.TR","quant-ph","solv-int","stat.AP","stat.CO","stat.ME","stat.ML","stat.OT","stat.TH","supr-con","test","test.dis-nn","test.mes-hall","test.mtrl-sci","test.soft","test.stat-mech","test.str-el","test.supr-con","bad-arch.bad-cat"]},"type":"array","title":"Old Secondaries"}},"type":"object","title":"CategoryChangeResult"},"Classification":{"properties":{"category":{"$ref":"#/components/schemas/Category"}},"type":"object","required":["category"],"title":"Classification","description":"A classification for a :class:`.domain.submission.Submission`."},"Comment":{"properties":{"event_id":{"type":"string","title":"Event Id"},"creator":{"$ref":"#/components/schemas/Agent"},"created":{"type":"string","format":"date-time","title":"Created"},"proxy":{"anyOf":[{"$ref":"#/components/schemas/Agent"},{"type":"null"}]},"body":{"type":"string","title":"Body"}},"type":"object","required":["event_id","creator","created","body"],"title":"Comment","description":"A freeform textual annotation."},"Flag":{"properties":{"event_id":{"type":"string","title":"Event Id"},"creator":{"$ref":"#/components/schemas/Agent"},"created":{"type":"string","format":"date-time","title":"Created"},"flag_data":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"number"},{"type":"object"},{"items":{},"type":"array"},{"type":"null"}],"title":"Flag Data"},"comment":{"type":"string","title":"Comment"},"proxy":{"anyOf":[{"$ref":"#/components/schemas/Agent"},{"type":"null"}]},"flag_datatype":{"type":"string","title":"Flag Datatype"}},"type":"object","required":["event_id","creator","created","flag_data","comment"],"title":"Flag","description":"Base class for flags."},"Format":{"enum":[null,"invalid","tex","pdftex","ps","html","pdf"],"title":"Format","description":"Supported source formats."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Hold":{"properties":{"event_id":{"type":"string","title":"Event Id"},"creator":{"$ref":"#/components/schemas/Agent"},"created":{"type":"string","format":"date-time","title":"Created"},"hold_type":{"type":"string","title":"Hold Type","default":"patch"},"hold_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hold Reason"}},"type":"object","required":["event_id","creator"],"title":"Hold","description":"Represents a block on announcement, usually for QA/QC purposes."},"HoldType":{"type":"string","enum":["patch","source_oversize","pdf_oversize"],"title":"HoldType","description":"Supported holds in the submission system."},"License":{"properties":{"uri":{"type":"string","title":"Uri"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"type":"object","required":["uri"],"title":"License","description":"A license for distribution of the submission."},"Preview":{"properties":{"source_id":{"type":"integer","title":"Source Id"},"source_checksum":{"type":"string","title":"Source Checksum"},"preview_checksum":{"type":"string","title":"Preview Checksum"},"size_bytes":{"type":"integer","title":"Size Bytes"},"added":{"type":"string","format":"date-time","title":"Added"}},"type":"object","required":["source_id","source_checksum","preview_checksum","size_bytes","added"],"title":"Preview","description":"Metadata about a submission preview."},"ProcessStatus":{"properties":{"creator":{"$ref":"#/components/schemas/Agent"},"created":{"type":"string","format":"date-time","title":"Created"},"process":{"type":"string","title":"Process"},"step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step"},"status":{"$ref":"#/components/schemas/Status","default":"pending"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["creator","created","process"],"title":"ProcessStatus","description":"Represents the status of a long-running remote process."},"Proposal":{"properties":{"event_id":{"type":"string","title":"Event Id"},"creator":{"$ref":"#/components/schemas/Agent"},"created":{"type":"string","format":"date-time","title":"Created"},"proxy":{"anyOf":[{"$ref":"#/components/schemas/Agent"},{"type":"null"}]},"proposed_event_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proposed Event Type"},"proposed_event_data":{"type":"object","title":"Proposed Event Data"},"comments":{"items":{"$ref":"#/components/schemas/Comment"},"type":"array","title":"Comments"},"status":{"$ref":"#/components/schemas/ProposalStatus","default":"pending"}},"type":"object","required":["event_id","creator"],"title":"Proposal","description":"Represents a proposal to apply an event to a submission."},"ProposalStatus":{"type":"string","enum":["pending","rejected","accepted"],"title":"ProposalStatus"},"SetCategories":{"properties":{"primary_category":{"type":"string","enum":["astro-ph.CO","astro-ph.EP","astro-ph.GA","astro-ph.HE","astro-ph.IM","astro-ph.SR","cond-mat.dis-nn","cond-mat.mes-hall","cond-mat.mtrl-sci","cond-mat.other","cond-mat.quant-gas","cond-mat.soft","cond-mat.stat-mech","cond-mat.str-el","cond-mat.supr-con","cs.AI","cs.AR","cs.CC","cs.CE","cs.CG","cs.CL","cs.CR","cs.CV","cs.CY","cs.DB","cs.DC","cs.DL","cs.DM","cs.DS","cs.ET","cs.FL","cs.GL","cs.GR","cs.GT","cs.HC","cs.IR","cs.IT","cs.LG","cs.LO","cs.MA","cs.MM","cs.MS","cs.NA","cs.NE","cs.NI","cs.OH","cs.OS","cs.PF","cs.PL","cs.RO","cs.SC","cs.SD","cs.SE","cs.SI","cs.SY","econ.EM","econ.GN","econ.TH","eess.AS","eess.IV","eess.SP","eess.SY","gr-qc","hep-ex","hep-lat","hep-ph","hep-th","math-ph","math.AC","math.AG","math.AP","math.AT","math.CA","math.CO","math.CT","math.CV","math.DG","math.DS","math.FA","math.GM","math.GN","math.GR","math.GT","math.HO","math.IT","math.KT","math.LO","math.MG","math.MP","math.NA","math.NT","math.OA","math.OC","math.PR","math.QA","math.RA","math.RT","math.SG","math.SP","math.ST","nlin.AO","nlin.CD","nlin.CG","nlin.PS","nlin.SI","nucl-ex","nucl-th","physics.acc-ph","physics.ao-ph","physics.app-ph","physics.atm-clus","physics.atom-ph","physics.bio-ph","physics.chem-ph","physics.class-ph","physics.comp-ph","physics.data-an","physics.ed-ph","physics.flu-dyn","physics.gen-ph","physics.geo-ph","physics.hist-ph","physics.ins-det","physics.med-ph","physics.optics","physics.plasm-ph","physics.pop-ph","physics.soc-ph","physics.space-ph","q-bio.BM","q-bio.CB","q-bio.GN","q-bio.MN","q-bio.NC","q-bio.OT","q-bio.PE","q-bio.QM","q-bio.SC","q-bio.TO","q-fin.CP","q-fin.EC","q-fin.GN","q-fin.MF","q-fin.PM","q-fin.PR","q-fin.RM","q-fin.ST","q-fin.TR","quant-ph","stat.AP","stat.CO","stat.ME","stat.ML","stat.OT","stat.TH"],"title":"Primary Category"},"secondary_categories":{"items":{"type":"string","enum":["astro-ph.CO","astro-ph.EP","astro-ph.GA","astro-ph.HE","astro-ph.IM","astro-ph.SR","cond-mat.dis-nn","cond-mat.mes-hall","cond-mat.mtrl-sci","cond-mat.other","cond-mat.quant-gas","cond-mat.soft","cond-mat.stat-mech","cond-mat.str-el","cond-mat.supr-con","cs.AI","cs.AR","cs.CC","cs.CE","cs.CG","cs.CL","cs.CR","cs.CV","cs.CY","cs.DB","cs.DC","cs.DL","cs.DM","cs.DS","cs.ET","cs.FL","cs.GL","cs.GR","cs.GT","cs.HC","cs.IR","cs.IT","cs.LG","cs.LO","cs.MA","cs.MM","cs.MS","cs.NA","cs.NE","cs.NI","cs.OH","cs.OS","cs.PF","cs.PL","cs.RO","cs.SC","cs.SD","cs.SE","cs.SI","cs.SY","econ.EM","econ.GN","econ.TH","eess.AS","eess.IV","eess.SP","eess.SY","gr-qc","hep-ex","hep-lat","hep-ph","hep-th","math-ph","math.AC","math.AG","math.AP","math.AT","math.CA","math.CO","math.CT","math.CV","math.DG","math.DS","math.FA","math.GM","math.GN","math.GR","math.GT","math.HO","math.IT","math.KT","math.LO","math.MG","math.MP","math.NA","math.NT","math.OA","math.OC","math.PR","math.QA","math.RA","math.RT","math.SG","math.SP","math.ST","nlin.AO","nlin.CD","nlin.CG","nlin.PS","nlin.SI","nucl-ex","nucl-th","physics.acc-ph","physics.ao-ph","physics.app-ph","physics.atm-clus","physics.atom-ph","physics.bio-ph","physics.chem-ph","physics.class-ph","physics.comp-ph","physics.data-an","physics.ed-ph","physics.flu-dyn","physics.gen-ph","physics.geo-ph","physics.hist-ph","physics.ins-det","physics.med-ph","physics.optics","physics.plasm-ph","physics.pop-ph","physics.soc-ph","physics.space-ph","q-bio.BM","q-bio.CB","q-bio.GN","q-bio.MN","q-bio.NC","q-bio.OT","q-bio.PE","q-bio.QM","q-bio.SC","q-bio.TO","q-fin.CP","q-fin.EC","q-fin.GN","q-fin.MF","q-fin.PM","q-fin.PR","q-fin.RM","q-fin.ST","q-fin.TR","quant-ph","stat.AP","stat.CO","stat.ME","stat.ML","stat.OT","stat.TH"]},"type":"array","title":"Secondary Categories"}},"type":"object","required":["primary_category","secondary_categories"],"title":"SetCategories"},"SetLicense":{"properties":{"license_uri":{"type":"string","enum":["http://creativecommons.org/licenses/by/4.0/","http://creativecommons.org/licenses/by-sa/4.0/","http://creativecommons.org/licenses/by-nc-sa/4.0/","http://creativecommons.org/licenses/by-nc-nd/4.0/","http://arxiv.org/licenses/nonexclusive-distrib/1.0/","http://creativecommons.org/publicdomain/zero/1.0/"],"title":"License Uri"}},"type":"object","required":["license_uri"],"title":"SetLicense","description":"The sender of this request agrees to offer the submitted items under the statement in the license."},"SetMetadata":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"authors":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authors"},"comments":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comments"},"abstract":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Abstract"},"report_num":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Report Num"},"msc_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Msc Class"},"acm_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acm Class"},"journal_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Journal Ref"},"doi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doi"}},"type":"object","title":"SetMetadata"},"StartedAlterExising":{"properties":{"submission_type":{"type":"string","enum":["replacement","withdrawal","cross","jref"],"title":"Submission Type"},"paperid":{"type":"string","title":"Paperid"}},"type":"object","required":["submission_type","paperid"],"title":"StartedAlterExising","description":"Starts a submission."},"StartedNew":{"properties":{"submission_type":{"type":"string","enum":["new"],"const":"new","title":"Submission Type"}},"type":"object","required":["submission_type"],"title":"StartedNew","description":"Starts a submission."},"Status":{"type":"string","enum":["pending","in_progress","failed_to_start","failed","failed_to_end","succeeded","terminated"],"title":"Status","description":"Supported statuses."},"Submission":{"properties":{"creator":{"$ref":"#/components/schemas/Agent"},"owner":{"$ref":"#/components/schemas/Agent"},"proxy":{"anyOf":[{"$ref":"#/components/schemas/Agent"},{"type":"null"}]},"client":{"anyOf":[{"$ref":"#/components/schemas/Agent"},{"type":"null"}]},"created":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created"},"updated":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updated"},"submitted":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Submitted"},"submission_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Submission Id"},"source_content":{"anyOf":[{"$ref":"#/components/schemas/SubmissionContent"},{"type":"null"}]},"preview":{"anyOf":[{"$ref":"#/components/schemas/Preview"},{"type":"null"}]},"metadata":{"$ref":"#/components/schemas/SubmissionMetadata"},"primary_classification":{"anyOf":[{"$ref":"#/components/schemas/Classification"},{"type":"null"}]},"secondary_classification":{"items":{"$ref":"#/components/schemas/Classification"},"type":"array","title":"Secondary Classification"},"submitter_contact_verified":{"type":"boolean","title":"Submitter Contact Verified","default":false},"submitter_is_author":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Submitter Is Author"},"submitter_accepts_policy":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Submitter Accepts Policy"},"is_source_processed":{"type":"boolean","title":"Is Source Processed","default":false},"submitter_confirmed_preview":{"type":"boolean","title":"Submitter Confirmed Preview","default":false},"license":{"anyOf":[{"$ref":"#/components/schemas/License"},{"type":"null"}]},"status":{"type":"string","enum":["working","submitted","scheduled","announced","deleted","error","withdrawn"],"title":"Status","default":"working"},"arxiv_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Arxiv Id"},"version":{"type":"integer","title":"Version","default":1},"reason_for_withdrawal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason For Withdrawal"},"versions":{"items":{"$ref":"#/components/schemas/Submission"},"type":"array","title":"Versions"},"proposals":{"additionalProperties":{"$ref":"#/components/schemas/Proposal"},"type":"object","title":"Proposals"},"processes":{"items":{"$ref":"#/components/schemas/ProcessStatus"},"type":"array","title":"Processes"},"annotations":{"additionalProperties":{"$ref":"#/components/schemas/Annotation"},"type":"object","title":"Annotations"},"flags":{"additionalProperties":{"$ref":"#/components/schemas/Flag"},"type":"object","title":"Flags"},"comments":{"additionalProperties":{"$ref":"#/components/schemas/Comment"},"type":"object","title":"Comments"},"holds":{"additionalProperties":{"$ref":"#/components/schemas/Hold"},"type":"object","title":"Holds"},"waivers":{"additionalProperties":{"$ref":"#/components/schemas/Waiver"},"type":"object","title":"Waivers"}},"type":"object","required":["creator","owner"],"title":"Submission","description":"Represents an arXiv submission object.\n\nBelow this are some ideas from NG that we are not wed to.\n\nSome notable differences between this view of submissions and the classic\nmodel:\n\n- There is no \"hold\" status. Status reflects where the submission is\n in the pipeline. Holds are annotations that can be applied to the\n submission, and may impact its ability to proceed (e.g. from submitted\n to scheduled). Submissions that are in working status can have holds on\n them!\n- We use `arxiv_id` instead of `paper_id` to refer to the canonical arXiv\n identifier for the e-print (once it is announced).\n- Instead of having a separate \"submission\" record for every change to an\n e-print (e.g. replacement, jref, etc), we represent the entire history\n as a single submission. Announced versions can be found in\n :attr:`.versions`. Withdrawal and cross-list requests can be found in\n :attr:`.user_requests`. JREFs are treated like they \"just happen\",\n reflecting the forthcoming move away from storing journal ref information\n in the core metadata record."},"SubmissionContent":{"properties":{"identifier":{"type":"string","title":"Identifier"},"checksum":{"type":"string","title":"Checksum"},"uncompressed_size":{"type":"integer","title":"Uncompressed Size"},"compressed_size":{"type":"integer","title":"Compressed Size"},"source_format":{"$ref":"#/components/schemas/Format"}},"type":"object","required":["identifier","checksum","uncompressed_size","compressed_size"],"title":"SubmissionContent","description":"Metadata about the submission source package."},"SubmissionMetadata":{"properties":{"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"abstract":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Abstract"},"authors":{"items":{"$ref":"#/components/schemas/Author"},"type":"array","title":"Authors"},"authors_display":{"type":"string","title":"Authors Display"},"doi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doi"},"msc_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Msc Class"},"acm_class":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Acm Class"},"report_num":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Num"},"journal_ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Journal Ref"},"comments":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Comments"}},"type":"object","title":"SubmissionMetadata","description":"Metadata about a :class:`.domain.submission.Submission` instance."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"Waiver":{"properties":{"event_id":{"type":"string","title":"Event Id"},"waiver_type":{"$ref":"#/components/schemas/HoldType"},"waiver_reason":{"type":"string","title":"Waiver Reason"},"created":{"type":"string","format":"date-time","title":"Created"},"creator":{"$ref":"#/components/schemas/Agent"}},"type":"object","required":["event_id","waiver_type","waiver_reason","created","creator"],"title":"Waiver","description":"Represents an exception or override."}},"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"token"}}}}}}