pub.chive.claiming.startClaimFromExternal

chive.pub View official

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "claimRequest": {
      "properties": {
        "canonicalUri": {
          "description": "AT-URI of the canonical record in user PDS",
          "format": "at-uri",
          "type": "string"
        },
        "claimantDid": {
          "description": "DID of the claimant",
          "format": "did",
          "type": "string"
        },
        "createdAt": {
          "description": "When the claim was created",
          "format": "datetime",
          "type": "string"
        },
        "expiresAt": {
          "description": "When the claim expires",
          "format": "datetime",
          "type": "string"
        },
        "id": {
          "description": "Claim request ID",
          "type": "integer"
        },
        "importId": {
          "description": "ID of the imported eprint",
          "type": "integer"
        },
        "rejectionReason": {
          "description": "Reason for rejection if rejected",
          "type": "string"
        },
        "reviewedAt": {
          "description": "When the claim was reviewed",
          "format": "datetime",
          "type": "string"
        },
        "reviewedBy": {
          "description": "DID of the admin who reviewed",
          "format": "did",
          "type": "string"
        },
        "status": {
          "description": "Claim status",
          "knownValues": [
            "pending",
            "approved",
            "rejected",
            "expired"
          ],
          "type": "string"
        }
      },
      "required": [
        "id",
        "importId",
        "claimantDid",
        "status",
        "createdAt"
      ],
      "type": "object"
    },
    "main": {
      "description": "Start a claim directly from an external search result, importing on demand if needed",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "NotFound"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "externalId": {
              "description": "Source-specific identifier",
              "type": "string"
            },
            "source": {
              "description": "External source (e.g., arxiv, semanticscholar)",
              "maxLength": 50,
              "minLength": 2,
              "type": "string"
            }
          },
          "required": [
            "source",
            "externalId"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "claim": {
              "ref": "#claimRequest",
              "type": "ref"
            }
          },
          "required": [
            "claim"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "pub.chive.claiming.startClaimFromExternal",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.claiming.startClaimFromExternal

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:7natp5xae72bddaqlkef2t4e
CID
bafyreigk65wqyzbrukxpjsv7lo7oac3e7klhvlmm3he342zamzwrwgdoey
Indexed At
2026-05-04 17:29 UTC
AT-URI
at://did:plc:7natp5xae72bddaqlkef2t4e/com.atproto.lexicon.schema/pub.chive.claiming.startClaimFromExternal

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@