pub.chive.import.search

chive.pub

{
  "id": "pub.chive.import.search",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "eprints",
            "hasMore"
          ],
          "properties": {
            "cursor": {
              "type": "string",
              "description": "Cursor for next page"
            },
            "eprints": {
              "type": "array",
              "items": {
                "ref": "#importedEprint",
                "type": "ref"
              },
              "description": "List of matching imported eprints"
            },
            "hasMore": {
              "type": "boolean",
              "description": "Whether more results are available"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum results to return"
          },
          "query": {
            "type": "string",
            "description": "Search query for title, abstract, or author"
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor"
          },
          "source": {
            "type": "string",
            "maxLength": 50,
            "minLength": 2,
            "description": "Filter by external source identifier"
          },
          "authorName": {
            "type": "string",
            "description": "Filter by author name"
          },
          "authorOrcid": {
            "type": "string",
            "description": "Filter by author ORCID"
          },
          "claimStatus": {
            "type": "string",
            "description": "Filter by claim status",
            "knownValues": [
              "unclaimed",
              "pending",
              "claimed"
            ]
          }
        }
      },
      "description": "Search imported eprints in the AppView cache"
    },
    "externalAuthor": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Author name"
        },
        "email": {
          "type": "string",
          "description": "Email address"
        },
        "orcid": {
          "type": "string",
          "description": "ORCID identifier"
        },
        "affiliation": {
          "type": "string",
          "description": "Institutional affiliation"
        }
      },
      "description": "An author from an external source"
    },
    "importedEprint": {
      "type": "object",
      "required": [
        "id",
        "source",
        "externalId",
        "url",
        "title",
        "authors",
        "importedByPlugin",
        "importedAt",
        "syncStatus",
        "claimStatus"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "description": "Internal import ID"
        },
        "doi": {
          "type": "string",
          "description": "DOI if assigned"
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "URL to the eprint on the external source"
        },
        "title": {
          "type": "string",
          "description": "Eprint title"
        },
        "pdfUrl": {
          "type": "string",
          "format": "uri",
          "description": "URL to PDF"
        },
        "source": {
          "type": "string",
          "description": "External source identifier"
        },
        "authors": {
          "type": "array",
          "items": {
            "ref": "#externalAuthor",
            "type": "ref"
          },
          "description": "Author list"
        },
        "abstract": {
          "type": "string",
          "description": "Abstract text"
        },
        "claimedAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the eprint was claimed"
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Subject categories"
        },
        "externalId": {
          "type": "string",
          "description": "Source-specific identifier"
        },
        "importedAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the eprint was imported"
        },
        "syncStatus": {
          "type": "string",
          "description": "Current sync status",
          "knownValues": [
            "active",
            "stale",
            "unavailable"
          ]
        },
        "claimStatus": {
          "type": "string",
          "description": "Current claim status",
          "knownValues": [
            "unclaimed",
            "pending",
            "claimed"
          ]
        },
        "canonicalUri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT-URI of the canonical record if claimed"
        },
        "claimedByDid": {
          "type": "string",
          "format": "did",
          "description": "DID of the user who claimed this eprint"
        },
        "lastSyncedAt": {
          "type": "string",
          "format": "datetime",
          "description": "When the eprint was last synced"
        },
        "publicationDate": {
          "type": "string",
          "format": "datetime",
          "description": "Publication date"
        },
        "importedByPlugin": {
          "type": "string",
          "description": "Plugin that imported this eprint"
        }
      },
      "description": "An eprint imported from an external source"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.import.search

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Lexicon Garden

@