# blog.micro.book

> A book in the reader's library.

- Kind: record
- Record key: any
- Authority: micro.blog
- Lexicon: 1
- Published by [micro.blog](https://lexicon.garden/identity/did:plc:wshwyrtacrpz3ybxv4it5stl), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:wshwyrtacrpz3ybxv4it5stl/blog.micro.book)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:wshwyrtacrpz3ybxv4it5stl/blog.micro.book/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:wshwyrtacrpz3ybxv4it5stl/blog.micro.book/analytics)

## Record (`blog.micro.book`)

Type: record · key any

### Properties

- `edition` (ref, required)
  - Reference: `community.lexicon.media.book.defs#editionRef`
- `finished` (string): The reader's local finish date in YYYY-MM-DD format.
  - Constraints: minLength: 10, maxLength: 10
- `shelves` (array): AT URIs of the reader's custom shelf records.
  - `items` (string · at-uri)
- `status` (string)
  - Constraints: maxLength: 50, knownValues: to-read | reading | finished | dnf

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A book in the reader's library.",
      "key": "any",
      "record": {
        "properties": {
          "edition": {
            "ref": "community.lexicon.media.book.defs#editionRef",
            "type": "ref"
          },
          "finished": {
            "description": "The reader's local finish date in YYYY-MM-DD format.",
            "maxLength": 10,
            "minLength": 10,
            "type": "string"
          },
          "shelves": {
            "description": "AT URIs of the reader's custom shelf records.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "knownValues": [
              "to-read",
              "reading",
              "finished",
              "dnf"
            ],
            "maxLength": 50,
            "type": "string"
          }
        },
        "required": [
          "edition"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "blog.micro.book",
  "lexicon": 1
}
```
