buzz.bookhive.listGenres

bookhive.buzz

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "genreWithCount": {
      "properties": {
        "count": {
          "description": "Number of books in this genre",
          "type": "integer"
        },
        "genre": {
          "description": "Genre name",
          "type": "string"
        }
      },
      "required": [
        "genre",
        "count"
      ],
      "type": "object"
    },
    "main": {
      "description": "List genres with book counts. Does not require authentication.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "genres": {
              "items": {
                "ref": "#genreWithCount",
                "type": "ref"
              },
              "type": "array"
            },
            "offset": {
              "description": "Next offset for pagination",
              "type": "integer"
            }
          },
          "required": [
            "genres"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 50,
            "description": "Maximum number of genres to return",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "minBooks": {
            "default": 0,
            "description": "Only return genres with at least this many books",
            "minimum": 0,
            "type": "integer"
          },
          "offset": {
            "description": "Offset for pagination",
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "buzz.bookhive.listGenres",
  "lexicon": 1
}

Validate Record

Validate a record against buzz.bookhive.listGenres

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:enu2j5xjlqsjaylv3du4myh4
CID
bafyreibzvardcwpzhm3yneikn5sfo736ykfrmal4wcle5cc252kknakaj4
Indexed At
2026-03-19 20:24 UTC
AT-URI
at://did:plc:enu2j5xjlqsjaylv3du4myh4/com.atproto.lexicon.schema/buzz.bookhive.listGenres

Similar Lexicons

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

Lexicon Garden

@