full diff

pub.chive.claiming.autocomplete

From
bafyreihxxcnrrgkgxwlof3fsx4tzixgc3awplaoh3bhkllxlrh5ufng2v4 indexed 2026-06-18 13:14 UTC View this version
To
bafyreihxxcnrrgkgxwlof3fsx4tzixgc3awplaoh3bhkllxlrh5ufng2v4 indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Provides fast autocomplete suggestions for claiming search. Optimized for low latency with short timeouts.",
66 "errors": [],
77 "output": {
88 "encoding": "application/json",
99 "schema": {
1010 "properties": {
1111 "suggestions": {
1212 "description": "List of autocomplete suggestions",
1313 "items": {
1414 "ref": "#suggestion",
1515 "type": "ref"
1616 },
1717 "type": "array"
1818 }
1919 },
2020 "required": [
2121 "suggestions"
2222 ],
2323 "type": "object"
2424 }
2525 },
2626 "parameters": {
2727 "properties": {
2828 "limit": {
2929 "default": 8,
3030 "description": "Maximum number of suggestions to return",
3131 "maximum": 10,
3232 "minimum": 1,
3333 "type": "integer"
3434 },
3535 "query": {
3636 "description": "Search query prefix",
3737 "minLength": 2,
3838 "type": "string"
3939 }
4040 },
4141 "required": [
4242 "query"
4343 ],
4444 "type": "params"
4545 },
4646 "type": "query"
4747 },
4848 "suggestion": {
4949 "description": "An autocomplete suggestion for a claimable eprint",
5050 "properties": {
5151 "authors": {
5252 "description": "First 2 authors joined (e.g., 'Author1, Author2 et al.')",
5353 "type": "string"
5454 },
5555 "externalId": {
5656 "description": "Source-specific identifier",
5757 "type": "string"
5858 },
5959 "fieldMatchScore": {
6060 "description": "User field relevance score (0-100), present if authenticated",
6161 "maximum": 100,
6262 "minimum": 0,
6363 "type": "integer"
6464 },
6565 "highlightedTitle": {
6666 "description": "Title with query portion highlighted using markdown bold",
6767 "type": "string"
6868 },
6969 "source": {
7070 "description": "External source identifier (e.g., arxiv, biorxiv)",
7171 "type": "string"
7272 },
7373 "title": {
7474 "description": "Eprint title",
7575 "type": "string"
7676 }
7777 },
7878 "required": [
7979 "title",
8080 "authors",
8181 "source",
8282 "externalId"
8383 ],
8484 "type": "object"
8585 }
8686 },
8787 "id": "pub.chive.claiming.autocomplete",
8888 "lexicon": 1,
8989 "revision": 1
9090}