full diff

pub.chive.tag.getSuggestions

From
bafyreia6cmkqo64gnekreoxq4seztsdu6s4vcunktn5tsxbjgvnb6pqge4 indexed 2026-06-18 13:14 UTC View this version
To
bafyreia6cmkqo64gnekreoxq4seztsdu6s4vcunktn5tsxbjgvnb6pqge4 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": "Get tag suggestions based on a query using the TaxoFolk system",
66 "errors": [],
77 "output": {
88 "encoding": "application/json",
99 "schema": {
1010 "properties": {
1111 "suggestions": {
1212 "description": "List of tag suggestions",
1313 "items": {
1414 "ref": "#tagSuggestion",
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": 10,
3030 "description": "Maximum number of suggestions to return",
3131 "maximum": 20,
3232 "minimum": 1,
3333 "type": "integer"
3434 },
3535 "q": {
3636 "description": "Query string to get suggestions for",
3737 "maxLength": 100,
3838 "minLength": 2,
3939 "type": "string"
4040 }
4141 },
4242 "required": [
4343 "q"
4444 ],
4545 "type": "params"
4646 },
4747 "type": "query"
4848 },
4949 "tagSuggestion": {
5050 "description": "A tag suggestion from the TaxoFolk system",
5151 "properties": {
5252 "confidence": {
5353 "description": "Suggestion confidence (0-100, scaled from 0-1)",
5454 "maximum": 100,
5555 "minimum": 0,
5656 "type": "integer"
5757 },
5858 "displayForm": {
5959 "description": "Suggested display form",
6060 "type": "string"
6161 },
6262 "matchedTerm": {
6363 "description": "Term that triggered this suggestion",
6464 "type": "string"
6565 },
6666 "normalizedForm": {
6767 "description": "Normalized form of the suggestion",
6868 "type": "string"
6969 },
7070 "source": {
7171 "description": "Source of the suggestion",
7272 "knownValues": [
7373 "cooccurrence",
7474 "authority",
7575 "facet"
7676 ],
7777 "type": "string"
7878 }
7979 },
8080 "required": [
8181 "displayForm",
8282 "normalizedForm",
8383 "confidence",
8484 "source"
8585 ],
8686 "type": "object"
8787 }
8888 },
8989 "id": "pub.chive.tag.getSuggestions",
9090 "lexicon": 1,
9191 "revision": 1
9292}