pub.chive.tag.search

Search for tags matching a query

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · query
Kindquery
Authoritytag.chive.pub
Indexed
cid bafyreihcnc2kbvq7hhn6zdlgjud2na2pzlrpj6iic6g6infnrgaluix7ae

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Search for tags matching a query",
      "errors": [],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Cursor for next page",
              "type": "string"
            },
            "hasMore": {
              "description": "Whether more results are available",
              "type": "boolean"
            },
            "tags": {
              "description": "Search results",
              "items": {
                "ref": "#tagSummary",
                "type": "ref"
              },
              "type": "array"
            },
            "total": {
              "description": "Total count of matching tags",
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "tags",
            "hasMore"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Pagination cursor for next page",
            "type": "string"
          },
          "includeSpam": {
            "default": false,
            "description": "Include tags flagged as potential spam",
            "type": "boolean"
          },
          "limit": {
            "default": 50,
            "description": "Maximum number of results to return",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "minQuality": {
            "description": "Minimum quality score (0-100, scaled from 0-1)",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "q": {
            "description": "Search query",
            "maxLength": 100,
            "minLength": 2,
            "type": "string"
          }
        },
        "required": [
          "q"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "promotionTarget": {
      "description": "Target of tag promotion",
      "properties": {
        "type": {
          "description": "Type of promotion target",
          "knownValues": [
            "facet",
            "authority"
          ],
          "type": "string"
        },
        "uri": {
          "description": "URI of the promotion target",
          "type": "string"
        }
      },
      "required": [
        "type",
        "uri"
      ],
      "type": "object"
    },
    "tagSummary": {
      "description": "Summary information for a tag",
      "properties": {
        "displayForms": {
          "description": "All display forms used for this tag",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "isPromoted": {
          "description": "Whether the tag has been promoted to a facet or authority",
          "type": "boolean"
        },
        "normalizedForm": {
          "description": "Normalized tag form (lowercase, hyphenated)",
          "type": "string"
        },
        "promotedTo": {
          "description": "Promotion target if promoted",
          "ref": "#promotionTarget",
          "type": "ref"
        },
        "qualityScore": {
          "description": "Tag quality score (0-100, scaled from 0-1)",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        },
        "usageCount": {
          "description": "Number of eprints tagged with this tag",
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "normalizedForm",
        "displayForms",
        "usageCount",
        "qualityScore",
        "isPromoted"
      ],
      "type": "object"
    }
  },
  "id": "pub.chive.tag.search",
  "lexicon": 1,
  "revision": 1
}