pub.chive.import.search

Search imported eprints in the AppView cache

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

Showing version bafyreibdmmzlkwktjnqdn3chxnzksmyewr3q4nqxicrscrf6rq2c6daszu. Show the latest

cid bafyreibdmmzlkwktjnqdn3chxnzksmyewr3q4nqxicrscrf6rq2c6daszu

Checks

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