full diff

pub.chive.claiming.getUserClaims

From
bafyreifkdvatp5qu7is6j7foz4p2rf27akvvaadfnh4bwrkqgj5mzcrh4q indexed 2026-06-18 13:14 UTC View this version
To
bafyreifkdvatp5qu7is6j7foz4p2rf27akvvaadfnh4bwrkqgj5mzcrh4q 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 "claimWithPaper": {
55 "properties": {
66 "canonicalUri": {
77 "description": "AT-URI of the canonical record in user PDS",
88 "format": "at-uri",
99 "type": "string"
1010 },
1111 "claimantDid": {
1212 "description": "DID of the claimant",
1313 "format": "did",
1414 "type": "string"
1515 },
1616 "createdAt": {
1717 "description": "When the claim was created",
1818 "format": "datetime",
1919 "type": "string"
2020 },
2121 "expiresAt": {
2222 "description": "When the claim expires",
2323 "format": "datetime",
2424 "type": "string"
2525 },
2626 "id": {
2727 "description": "Claim request ID",
2828 "type": "integer"
2929 },
3030 "importId": {
3131 "description": "ID of the imported eprint",
3232 "type": "integer"
3333 },
3434 "paper": {
3535 "ref": "#paperDetails",
3636 "type": "ref"
3737 },
3838 "rejectionReason": {
3939 "description": "Reason for rejection if rejected",
4040 "type": "string"
4141 },
4242 "reviewedAt": {
4343 "description": "When the claim was reviewed",
4444 "format": "datetime",
4545 "type": "string"
4646 },
4747 "reviewedBy": {
4848 "description": "DID of the admin who reviewed",
4949 "format": "did",
5050 "type": "string"
5151 },
5252 "status": {
5353 "description": "Claim status",
5454 "knownValues": [
5555 "pending",
5656 "approved",
5757 "rejected",
5858 "expired"
5959 ],
6060 "type": "string"
6161 }
6262 },
6363 "required": [
6464 "id",
6565 "importId",
6666 "claimantDid",
6767 "status",
6868 "createdAt",
6969 "paper"
7070 ],
7171 "type": "object"
7272 },
7373 "externalAuthor": {
7474 "properties": {
7575 "affiliation": {
7676 "description": "Institution affiliation",
7777 "type": "string"
7878 },
7979 "email": {
8080 "description": "Email address",
8181 "type": "string"
8282 },
8383 "name": {
8484 "description": "Author name",
8585 "type": "string"
8686 },
8787 "orcid": {
8888 "description": "ORCID identifier",
8989 "type": "string"
9090 }
9191 },
9292 "required": [
9393 "name"
9494 ],
9595 "type": "object"
9696 },
9797 "main": {
9898 "description": "Get claims for the authenticated user",
9999 "errors": [
100100 {
101101 "name": "AuthenticationRequired"
102102 }
103103 ],
104104 "output": {
105105 "encoding": "application/json",
106106 "schema": {
107107 "properties": {
108108 "claims": {
109109 "items": {
110110 "ref": "#claimWithPaper",
111111 "type": "ref"
112112 },
113113 "type": "array"
114114 },
115115 "cursor": {
116116 "description": "Pagination cursor for next page",
117117 "type": "string"
118118 },
119119 "hasMore": {
120120 "description": "Whether more results are available",
121121 "type": "boolean"
122122 }
123123 },
124124 "required": [
125125 "claims",
126126 "hasMore"
127127 ],
128128 "type": "object"
129129 }
130130 },
131131 "parameters": {
132132 "properties": {
133133 "cursor": {
134134 "description": "Pagination cursor",
135135 "type": "string"
136136 },
137137 "limit": {
138138 "default": 50,
139139 "description": "Maximum number of claims to return",
140140 "maximum": 100,
141141 "minimum": 1,
142142 "type": "integer"
143143 },
144144 "status": {
145145 "description": "Filter by claim status",
146146 "knownValues": [
147147 "pending",
148148 "approved",
149149 "rejected",
150150 "expired"
151151 ],
152152 "type": "string"
153153 }
154154 },
155155 "type": "params"
156156 },
157157 "type": "query"
158158 },
159159 "paperDetails": {
160160 "properties": {
161161 "authors": {
162162 "description": "Author list",
163163 "items": {
164164 "ref": "#externalAuthor",
165165 "type": "ref"
166166 },
167167 "type": "array"
168168 },
169169 "doi": {
170170 "description": "DOI if assigned",
171171 "type": "string"
172172 },
173173 "externalId": {
174174 "description": "Source-specific identifier",
175175 "type": "string"
176176 },
177177 "externalUrl": {
178178 "description": "URL to the eprint",
179179 "format": "uri",
180180 "type": "string"
181181 },
182182 "publicationDate": {
183183 "description": "Publication date",
184184 "type": "string"
185185 },
186186 "source": {
187187 "description": "Source system",
188188 "type": "string"
189189 },
190190 "title": {
191191 "description": "Eprint title",
192192 "type": "string"
193193 }
194194 },
195195 "required": [
196196 "source",
197197 "externalId",
198198 "externalUrl",
199199 "title",
200200 "authors"
201201 ],
202202 "type": "object"
203203 }
204204 },
205205 "id": "pub.chive.claiming.getUserClaims",
206206 "lexicon": 1,
207207 "revision": 1
208208}