full diff

pub.chive.claiming.startClaimFromExternal

From
bafyreigk65wqyzbrukxpjsv7lo7oac3e7klhvlmm3he342zamzwrwgdoey indexed 2026-06-18 13:14 UTC View this version
To
bafyreigk65wqyzbrukxpjsv7lo7oac3e7klhvlmm3he342zamzwrwgdoey 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 "claimRequest": {
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 "rejectionReason": {
3535 "description": "Reason for rejection if rejected",
3636 "type": "string"
3737 },
3838 "reviewedAt": {
3939 "description": "When the claim was reviewed",
4040 "format": "datetime",
4141 "type": "string"
4242 },
4343 "reviewedBy": {
4444 "description": "DID of the admin who reviewed",
4545 "format": "did",
4646 "type": "string"
4747 },
4848 "status": {
4949 "description": "Claim status",
5050 "knownValues": [
5151 "pending",
5252 "approved",
5353 "rejected",
5454 "expired"
5555 ],
5656 "type": "string"
5757 }
5858 },
5959 "required": [
6060 "id",
6161 "importId",
6262 "claimantDid",
6363 "status",
6464 "createdAt"
6565 ],
6666 "type": "object"
6767 },
6868 "main": {
6969 "description": "Start a claim directly from an external search result, importing on demand if needed",
7070 "errors": [
7171 {
7272 "name": "AuthenticationRequired"
7373 },
7474 {
7575 "name": "NotFound"
7676 },
7777 {
7878 "name": "InvalidRequest"
7979 }
8080 ],
8181 "input": {
8282 "encoding": "application/json",
8383 "schema": {
8484 "properties": {
8585 "externalId": {
8686 "description": "Source-specific identifier",
8787 "type": "string"
8888 },
8989 "source": {
9090 "description": "External source (e.g., arxiv, semanticscholar)",
9191 "maxLength": 50,
9292 "minLength": 2,
9393 "type": "string"
9494 }
9595 },
9696 "required": [
9797 "source",
9898 "externalId"
9999 ],
100100 "type": "object"
101101 }
102102 },
103103 "output": {
104104 "encoding": "application/json",
105105 "schema": {
106106 "properties": {
107107 "claim": {
108108 "ref": "#claimRequest",
109109 "type": "ref"
110110 }
111111 },
112112 "required": [
113113 "claim"
114114 ],
115115 "type": "object"
116116 }
117117 },
118118 "type": "procedure"
119119 }
120120 },
121121 "id": "pub.chive.claiming.startClaimFromExternal",
122122 "lexicon": 1,
123123 "revision": 1
124124}