buzz.bookhive.book

bookhive.buzz

Documentation

A book in the user's library

main record

A book in the user's library

Record Key tid Timestamp-based ID

Properties

authors string Required

The authors of the book (tab separated)

maxLength: 2048 bytesminLength: 1 bytes
cover blob Optional

Cover image of the book

maxSize: 1.0 MB
createdAt string datetime Required

An RFC 3339 formatted timestamp.

finishedAt string datetime Optional

The date the user finished reading the book

hiveId string Required

The book's hive id, used to correlate user's books with the hive

review string Optional

The book's review

maxGraphemes: 15000 graphemes
stars integer Optional

Number of stars given to the book (1-10) which will be mapped to 1-5 stars

minimum: 1maximum: 10
startedAt string datetime Optional

The date the user started reading the book

status string Optional

No description available.

Known values: buzz.bookhive.defs#finished, buzz.bookhive.defs#reading, buzz.bookhive.defs#wantToRead, buzz.bookhive.defs#abandoned, buzz.bookhive.defs#owned
title string Required

The title of the book

maxLength: 512 bytesminLength: 1 bytes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "title",
      "authors",
      "hiveId",
      "createdAt"
    ],
    "properties": {
      "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"
      },
      "title": {
        "type": "string",
        "maxLength": 512,
        "minLength": 1,
        "description": "The title of the book"
      },
      "hiveId": {
        "type": "string",
        "description": "The book's hive id, used to correlate user's books with the hive"
      },
      "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"
        ]
      },
      "authors": {
        "type": "string",
        "maxLength": 2048,
        "minLength": 1,
        "description": "The authors of the book (tab separated)"
      },
      "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": "Progress tracking details for the book"
      }
    }
  },
  "description": "A book in the user's library"
}

Lexicon Garden

@