{
  "$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
}
