pub.chive.import.exists

Check if an eprint has been imported from an external source

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · query
Kindquery
Authorityimport.chive.pub
Indexed

Showing version bafyreicldptx4nb4fcl4kfr6w2gjw3ey6dlskqiegi5vnfygyj4fc3mq2u. Show the latest

cid bafyreicldptx4nb4fcl4kfr6w2gjw3ey6dlskqiegi5vnfygyj4fc3mq2u

Checks

Valid
  • unlimited-string defs.main.parameters.properties.externalIdNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Check if an eprint has been imported from an external source",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "exists": {
              "description": "Whether the eprint has been imported",
              "type": "boolean"
            }
          },
          "required": [
            "exists"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "externalId": {
            "description": "Source-specific identifier for the eprint",
            "minLength": 1,
            "type": "string"
          },
          "source": {
            "description": "External source identifier (e.g., arxiv, biorxiv, semanticscholar)",
            "maxLength": 50,
            "minLength": 2,
            "type": "string"
          }
        },
        "required": [
          "source",
          "externalId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "pub.chive.import.exists",
  "lexicon": 1,
  "revision": 1
}