pub.chive.claiming.autocomplete

chive.pub View official

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Provides fast autocomplete suggestions for claiming search. Optimized for low latency with short timeouts.",
      "errors": [],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "suggestions": {
              "description": "List of autocomplete suggestions",
              "items": {
                "ref": "#suggestion",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "suggestions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 8,
            "description": "Maximum number of suggestions to return",
            "maximum": 10,
            "minimum": 1,
            "type": "integer"
          },
          "query": {
            "description": "Search query prefix",
            "minLength": 2,
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "suggestion": {
      "description": "An autocomplete suggestion for a claimable eprint",
      "properties": {
        "authors": {
          "description": "First 2 authors joined (e.g., 'Author1, Author2 et al.')",
          "type": "string"
        },
        "externalId": {
          "description": "Source-specific identifier",
          "type": "string"
        },
        "fieldMatchScore": {
          "description": "User field relevance score (0-100), present if authenticated",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        "highlightedTitle": {
          "description": "Title with query portion highlighted using markdown bold",
          "type": "string"
        },
        "source": {
          "description": "External source identifier (e.g., arxiv, biorxiv)",
          "type": "string"
        },
        "title": {
          "description": "Eprint title",
          "type": "string"
        }
      },
      "required": [
        "title",
        "authors",
        "source",
        "externalId"
      ],
      "type": "object"
    }
  },
  "id": "pub.chive.claiming.autocomplete",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.claiming.autocomplete

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@