A canonical book record in the BookHive catalog
Record Key
any
Any valid record key
Properties
authors
string
Required
The authors of the book (tab separated)
maxLength: 512 bytesminLength: 1 bytescover
string
Optional
URL to full-size cover image
coverBlob
blob
Optional
Uploaded full-size cover image blob
maxSize: 2.0 MBcreatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
description
string
Optional
Book description/summary
maxLength: 5000 bytesgenres
array
of
string
Optional
Genres of the book
id
string
Required
The book's hive id
identifiers
ref
buzz.bookhive.defs#bookIdentifiers
Optional
External identifiers for the book
rating
integer
Optional
Average rating (0-5000, where 1000 == 1.0)
minimum: 0maximum: 5000ratingsCount
integer
Optional
Number of ratings
series
string
Optional
Series name if the book is part of a series
source
string
Optional
The source service name (e.g. Goodreads)
sourceId
string
Optional
ID of the book in the source service
sourceUrl
string
Optional
URL to the book on the source service
thumbnail
string
Required
URL to thumbnail image
thumbnailBlob
blob
Optional
Uploaded thumbnail image blob
maxSize: 1.0 MBtitle
string
Required
The title of the book
maxLength: 512 bytesminLength: 1 bytesupdatedAt
string
datetime
Required
An RFC 3339 formatted timestamp.
View raw schema
{
"key": "any",
"type": "record",
"record": {
"type": "object",
"required": [
"id",
"title",
"authors",
"thumbnail",
"createdAt",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"description": "The book's hive id"
},
"cover": {
"type": "string",
"description": "URL to full-size cover image"
},
"title": {
"type": "string",
"maxLength": 512,
"minLength": 1,
"description": "The title of the book"
},
"genres": {
"type": "array",
"items": {
"type": "string"
},
"description": "Genres of the book"
},
"rating": {
"type": "integer",
"maximum": 5000,
"minimum": 0,
"description": "Average rating (0-5000, where 1000 == 1.0)"
},
"series": {
"type": "string",
"description": "Series name if the book is part of a series"
},
"source": {
"type": "string",
"description": "The source service name (e.g. Goodreads)"
},
"authors": {
"type": "string",
"maxLength": 512,
"minLength": 1,
"description": "The authors of the book (tab separated)"
},
"sourceId": {
"type": "string",
"description": "ID of the book in the source service"
},
"coverBlob": {
"type": "blob",
"accept": [
"image/png",
"image/jpeg"
],
"maxSize": 2000000,
"description": "Uploaded full-size cover image blob"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"sourceUrl": {
"type": "string",
"description": "URL to the book on the source service"
},
"thumbnail": {
"type": "string",
"description": "URL to thumbnail image"
},
"updatedAt": {
"type": "string",
"format": "datetime"
},
"description": {
"type": "string",
"maxLength": 5000,
"description": "Book description/summary"
},
"identifiers": {
"ref": "buzz.bookhive.defs#bookIdentifiers",
"type": "ref",
"description": "External identifiers for the book"
},
"ratingsCount": {
"type": "integer",
"description": "Number of ratings"
},
"thumbnailBlob": {
"type": "blob",
"accept": [
"image/png",
"image/jpeg"
],
"maxSize": 1000000,
"description": "Uploaded thumbnail image blob"
}
}
},
"description": "A canonical book record in the BookHive catalog"
}