buzz.bookhive.listGenres

bookhive.buzz

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

Lexicon Garden

@