pub.chive.claiming.fetchExternalPdf

chive.pub

{
  "id": "pub.chive.claiming.fetchExternalPdf",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired",
          "description": "Authentication is required to fetch PDFs"
        },
        {
          "name": "InvalidParameters",
          "description": "Missing source or externalId parameter"
        },
        {
          "name": "EprintNotFound",
          "description": "The specified eprint does not exist in the external source"
        },
        {
          "name": "PdfNotAvailable",
          "description": "No PDF is available for this eprint"
        },
        {
          "name": "DomainNotAllowed",
          "description": "PDF URL is not from an allowed academic domain"
        },
        {
          "name": "FetchFailed",
          "description": "Failed to fetch PDF from external source"
        }
      ],
      "output": {
        "encoding": "application/pdf",
        "description": "PDF binary data with Content-Disposition header for download"
      },
      "parameters": {
        "type": "params",
        "required": [
          "source",
          "externalId"
        ],
        "properties": {
          "source": {
            "type": "string",
            "description": "External source identifier (e.g., arxiv, biorxiv, medrxiv)"
          },
          "externalId": {
            "type": "string",
            "description": "Source-specific identifier for the eprint"
          }
        }
      },
      "description": "Fetch external PDF through proxy to avoid CORS issues. Returns PDF binary data. Only allows fetching from trusted academic sources."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.claiming.fetchExternalPdf

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Lexicon Garden

@