full diff

pub.chive.actor.autocompleteKeyword

From
bafyreibttutwuo3fd7nrd5foznlem2kum5fheo3icudqecmw2u2df6qaaa indexed 2026-06-18 13:14 UTC View this version
To
bafyreibttutwuo3fd7nrd5foznlem2kum5fheo3icudqecmw2u2df6qaaa 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 "keywordSuggestion": {
55 "description": "A keyword suggestion from FAST or Wikidata",
66 "properties": {
77 "description": {
88 "description": "Description of the keyword (Wikidata only)",
99 "type": "string"
1010 },
1111 "id": {
1212 "description": "Identifier from the source system (FAST ID or Wikidata Q-number)",
1313 "type": "string"
1414 },
1515 "label": {
1616 "description": "Display label for the keyword",
1717 "type": "string"
1818 },
1919 "source": {
2020 "description": "Source of the keyword suggestion",
2121 "knownValues": [
2222 "fast",
2323 "wikidata",
2424 "freetext"
2525 ],
2626 "type": "string"
2727 },
2828 "usageCount": {
2929 "description": "Usage count from FAST database",
3030 "type": "integer"
3131 }
3232 },
3333 "required": [
3434 "id",
3535 "label",
3636 "source"
3737 ],
3838 "type": "object"
3939 },
4040 "main": {
4141 "description": "Autocomplete research keywords using FAST subject headings and Wikidata entities",
4242 "errors": [],
4343 "output": {
4444 "encoding": "application/json",
4545 "schema": {
4646 "properties": {
4747 "suggestions": {
4848 "items": {
4949 "ref": "#keywordSuggestion",
5050 "type": "ref"
5151 },
5252 "type": "array"
5353 }
5454 },
5555 "required": [
5656 "suggestions"
5757 ],
5858 "type": "object"
5959 }
6060 },
6161 "parameters": {
6262 "properties": {
6363 "limit": {
6464 "default": 8,
6565 "description": "Maximum number of suggestions to return",
6666 "maximum": 50,
6767 "minimum": 1,
6868 "type": "integer"
6969 },
7070 "query": {
7171 "description": "Search query for keyword",
7272 "minLength": 1,
7373 "type": "string"
7474 },
7575 "sources": {
7676 "description": "Data sources to query (defaults to both)",
7777 "items": {
7878 "knownValues": [
7979 "fast",
8080 "wikidata"
8181 ],
8282 "type": "string"
8383 },
8484 "type": "array"
8585 }
8686 },
8787 "required": [
8888 "query"
8989 ],
9090 "type": "params"
9191 },
9292 "type": "query"
9393 }
9494 },
9595 "id": "pub.chive.actor.autocompleteKeyword",
9696 "lexicon": 1,
9797 "revision": 1
9898}