# pub.chive.actor.autocompleteOrcid

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

## Definitions

### `pub.chive.actor.autocompleteOrcid`

**Type**: `query`

Autocomplete ORCID profiles for author verification

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `limit` | `integer` | No | Maximum number of suggestions to return |
| `query` | `string` | Yes | Search query for researcher name or ORCID |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `suggestions` | `array` | Yes |  |

### `pub.chive.actor.autocompleteOrcid#orcidSuggestion`

**Type**: `object`

An ORCID profile suggestion

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `orcid` | `string` | Yes | ORCID identifier (e.g., 0000-0002-1825-0097) |
| `familyName` | `string` | No | Family (last) name |
| `givenNames` | `string` | No | Given (first) names |
| `affiliation` | `string` | No | Current institutional affiliation |

## Raw Schema

```json
{
  "id": "pub.chive.actor.autocompleteOrcid",
  "defs": {
    "main": {
      "type": "query",
      "errors": [],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "suggestions"
          ],
          "properties": {
            "suggestions": {
              "type": "array",
              "items": {
                "ref": "#orcidSuggestion",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "query"
        ],
        "properties": {
          "limit": {
            "type": "integer",
            "default": 8,
            "maximum": 50,
            "minimum": 1,
            "description": "Maximum number of suggestions to return"
          },
          "query": {
            "type": "string",
            "minLength": 1,
            "description": "Search query for researcher name or ORCID"
          }
        }
      },
      "description": "Autocomplete ORCID profiles for author verification"
    },
    "orcidSuggestion": {
      "type": "object",
      "required": [
        "orcid"
      ],
      "properties": {
        "orcid": {
          "type": "string",
          "description": "ORCID identifier (e.g., 0000-0002-1825-0097)"
        },
        "familyName": {
          "type": "string",
          "description": "Family (last) name"
        },
        "givenNames": {
          "type": "string",
          "description": "Given (first) names"
        },
        "affiliation": {
          "type": "string",
          "description": "Current institutional affiliation"
        }
      },
      "description": "An ORCID profile suggestion"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
