pub.chive.tag.getTrending

chive.pub View official

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get trending tags within a specified time window",
      "errors": [],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "tags": {
              "description": "List of trending tags",
              "items": {
                "ref": "#tagSummary",
                "type": "ref"
              },
              "type": "array"
            },
            "timeWindow": {
              "description": "Time window used for this response",
              "knownValues": [
                "day",
                "week",
                "month"
              ],
              "type": "string"
            }
          },
          "required": [
            "tags",
            "timeWindow"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 20,
            "description": "Maximum number of trending tags to return",
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "timeWindow": {
            "default": "week",
            "description": "Time window for trending calculation",
            "knownValues": [
              "day",
              "week",
              "month"
            ],
            "type": "string"
          }
        },
        "required": [],
        "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.getTrending",
  "lexicon": 1,
  "revision": 1
}

Validate Record

Validate a record against pub.chive.tag.getTrending

Validation Options
Treat any remaining unresolved references as valid

Metadata

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

Similar Lexicons

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

Lexicon Garden

@