buzz.bookhive.getBook

bookhive.buzz

{
  "id": "buzz.bookhive.getBook",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "book",
            "reviews",
            "comments"
          ],
          "properties": {
            "book": {
              "ref": "buzz.bookhive.hiveBook#record",
              "type": "ref",
              "description": "The hive book's info"
            },
            "cover": {
              "type": "blob",
              "accept": [
                "image/png",
                "image/jpeg"
              ],
              "maxSize": 1000000,
              "description": "Cover image of the book"
            },
            "stars": {
              "type": "integer",
              "maximum": 10,
              "minimum": 1,
              "description": "Number of stars given to the book (1-10) which will be mapped to 1-5 stars"
            },
            "review": {
              "type": "string",
              "description": "The book's review",
              "maxGraphemes": 15000
            },
            "status": {
              "type": "string",
              "knownValues": [
                "buzz.bookhive.defs#finished",
                "buzz.bookhive.defs#reading",
                "buzz.bookhive.defs#wantToRead",
                "buzz.bookhive.defs#abandoned",
                "buzz.bookhive.defs#owned"
              ]
            },
            "reviews": {
              "type": "array",
              "items": {
                "ref": "buzz.bookhive.defs#review",
                "type": "ref"
              },
              "description": "Reviews of the book"
            },
            "activity": {
              "type": "array",
              "items": {
                "ref": "buzz.bookhive.defs#activity",
                "type": "ref"
              },
              "description": "Other users' activity on the book"
            },
            "comments": {
              "type": "array",
              "items": {
                "ref": "buzz.bookhive.defs#comment",
                "type": "ref"
              },
              "description": "Comments on the book"
            },
            "createdAt": {
              "type": "string",
              "format": "datetime"
            },
            "startedAt": {
              "type": "string",
              "format": "datetime",
              "description": "The date the user started reading the book"
            },
            "finishedAt": {
              "type": "string",
              "format": "datetime",
              "description": "The date the user finished reading the book"
            },
            "bookProgress": {
              "ref": "buzz.bookhive.defs#bookProgress",
              "type": "ref",
              "description": "Reading progress for the user"
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "properties": {
          "id": {
            "type": "string",
            "description": "The book's hive ID"
          },
          "isbn": {
            "type": "string",
            "description": "The book ISBN identifier"
          },
          "isbn13": {
            "type": "string",
            "description": "The book ISBN-13 identifier"
          },
          "goodreadsId": {
            "type": "string",
            "description": "The Goodreads identifier for the book"
          }
        }
      },
      "description": "Get a book's info. Does not require authentication."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against buzz.bookhive.getBook

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:enu2j5xjlqsjaylv3du4myh4
CID
bafyreibhiuajxeuloxfdcaqgv6idr2b2y5b6tlky62r27rfxelkpmrey34
Indexed At
2026-02-14 11:57 UTC
AT-URI
at://did:plc:enu2j5xjlqsjaylv3du4myh4/com.atproto.lexicon.schema/buzz.bookhive.getBook

Version History (2 versions)

Referenced Schemas (5)

Lexicon Garden

@