# pub.chive.claiming.findClaimable

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.claiming.findClaimable)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.claiming.findClaimable/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.claiming.findClaimable/examples)

## Definitions

### `pub.chive.claiming.findClaimable`

**Type**: `query`

Find claimable eprints matching the user's identity or search criteria. Requires authentication.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `q` | `string` | No | Search query (title, author name, DOI) |
| `limit` | `integer` | No | Maximum number of results to return |
| `cursor` | `string` | No | Pagination cursor for next page |
| `source` | `string` | No | Filter by external source |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No | Cursor for next page of results |
| `eprints` | `array` | Yes | List of claimable eprints |
| `hasMore` | `boolean` | Yes | Whether more results are available |

#### Errors

- **AuthenticationRequired**: Authentication is required to find claimable eprints

### `pub.chive.claiming.findClaimable#eprintAuthor`

**Type**: `object`

Author information from external source

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | Author display name |
| `orcid` | `string` | No | ORCID identifier if available |
| `affiliation` | `string` | No | Institutional affiliation if available |

### `pub.chive.claiming.findClaimable#claimableEprint`

**Type**: `object`

An eprint that can be claimed by the user

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `id` | `integer` | Yes | Internal import ID |
| `doi` | `string` | No | DOI if assigned |
| `url` | `string` (uri) | Yes | URL to the eprint on the external source |
| `title` | `string` | Yes | Eprint title |
| `source` | `string` | Yes | External source identifier |
| `authors` | `array` | Yes | List of authors |
| `externalId` | `string` | Yes | Source-specific identifier |
| `publicationDate` | `string` (datetime) | No | Publication or submission date |

## Raw Schema

```json
{
  "id": "pub.chive.claiming.findClaimable",
  "defs": {
    "main": {
      "type": "query",
      "errors": [
        {
          "name": "AuthenticationRequired",
          "description": "Authentication is required to find claimable eprints"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "eprints",
            "hasMore"
          ],
          "properties": {
            "cursor": {
              "type": "string",
              "description": "Cursor for next page of results"
            },
            "eprints": {
              "type": "array",
              "items": {
                "ref": "#claimableEprint",
                "type": "ref"
              },
              "description": "List of claimable eprints"
            },
            "hasMore": {
              "type": "boolean",
              "description": "Whether more results are available"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "q": {
            "type": "string",
            "description": "Search query (title, author name, DOI)"
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "description": "Maximum number of results to return"
          },
          "cursor": {
            "type": "string",
            "description": "Pagination cursor for next page"
          },
          "source": {
            "type": "string",
            "description": "Filter by external source",
            "knownValues": [
              "arxiv",
              "biorxiv",
              "medrxiv",
              "osf",
              "lingbuzz",
              "zenodo",
              "ssrn",
              "philpapers"
            ]
          }
        }
      },
      "description": "Find claimable eprints matching the user's identity or search criteria. Requires authentication."
    },
    "eprintAuthor": {
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string",
          "description": "Author display name"
        },
        "orcid": {
          "type": "string",
          "description": "ORCID identifier if available"
        },
        "affiliation": {
          "type": "string",
          "description": "Institutional affiliation if available"
        }
      },
      "description": "Author information from external source"
    },
    "claimableEprint": {
      "type": "object",
      "required": [
        "id",
        "source",
        "externalId",
        "url",
        "title",
        "authors"
      ],
      "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"
        },
        "source": {
          "type": "string",
          "description": "External source identifier"
        },
        "authors": {
          "type": "array",
          "items": {
            "ref": "#eprintAuthor",
            "type": "ref"
          },
          "description": "List of authors"
        },
        "externalId": {
          "type": "string",
          "description": "Source-specific identifier"
        },
        "publicationDate": {
          "type": "string",
          "format": "datetime",
          "description": "Publication or submission date"
        }
      },
      "description": "An eprint that can be claimed by the user"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
