# pub.chive.resolve.byExternalId

> 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.resolve.byExternalId)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.resolve.byExternalId/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.resolve.byExternalId/examples)

## Definitions

### `pub.chive.resolve.byExternalId`

**Type**: `query`

Resolve an external identifier (DOI, arXiv, ORCID, ROR, ISBN, etc.) to the Chive entity that declares it — either a Chive-native eprint submission or a knowledge-graph node.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `system` | `string` | Yes | External identifier system. |
| `identifier` | `string` | Yes | Identifier value (without URL prefix). |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | No | AT-URI of the matched entity. |
| `found` | `boolean` | Yes | Whether a matching entity was found. |
| `label` | `string` | No | Display label for the matched entity. |
| `webPath` | `string` | No | Chive web path that renders this entity (e.g., /eprints/...). |
| `entityType` | `string` | No | Kind of entity that matched. |

## Raw Schema

```json
{
  "id": "pub.chive.resolve.byExternalId",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "found"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "AT-URI of the matched entity."
            },
            "found": {
              "type": "boolean",
              "description": "Whether a matching entity was found."
            },
            "label": {
              "type": "string",
              "description": "Display label for the matched entity."
            },
            "webPath": {
              "type": "string",
              "description": "Chive web path that renders this entity (e.g., /eprints/...)."
            },
            "entityType": {
              "type": "string",
              "description": "Kind of entity that matched.",
              "knownValues": [
                "eprint",
                "author",
                "graphNode"
              ]
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "system",
          "identifier"
        ],
        "properties": {
          "system": {
            "type": "string",
            "description": "External identifier system.",
            "knownValues": [
              "doi",
              "arxiv",
              "orcid",
              "ror",
              "isbn",
              "pmid",
              "wikidata"
            ]
          },
          "identifier": {
            "type": "string",
            "description": "Identifier value (without URL prefix)."
          }
        }
      },
      "description": "Resolve an external identifier (DOI, arXiv, ORCID, ROR, ISBN, etc.) to the Chive entity that declares it — either a Chive-native eprint submission or a knowledge-graph node."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
