pub.chive.tag.getSuggestions

chive.pub View official

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get tag suggestions based on a query using the TaxoFolk system",
      "errors": [],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "suggestions": {
              "description": "List of tag suggestions",
              "items": {
                "ref": "#tagSuggestion",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "suggestions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 10,
            "description": "Maximum number of suggestions to return",
            "maximum": 20,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "description": "Query string to get suggestions for",
            "maxLength": 100,
            "minLength": 2,
            "type": "string"
          }
        },
        "required": [
          "q"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "tagSuggestion": {
      "description": "A tag suggestion from the TaxoFolk system",
      "properties": {
        "confidence": {
          "description": "Suggestion confidence (0-100, scaled from 0-1)",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        "displayForm": {
          "description": "Suggested display form",
          "type": "string"
        },
        "matchedTerm": {
          "description": "Term that triggered this suggestion",
          "type": "string"
        },
        "normalizedForm": {
          "description": "Normalized form of the suggestion",
          "type": "string"
        },
        "source": {
          "description": "Source of the suggestion",
          "knownValues": [
            "cooccurrence",
            "authority",
            "facet"
          ],
          "type": "string"
        }
      },
      "required": [
        "displayForm",
        "normalizedForm",
        "confidence",
        "source"
      ],
      "type": "object"
    }
  },
  "id": "pub.chive.tag.getSuggestions",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.tag.getSuggestions

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

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

Lexicon Garden

@