ink.resenha.ebook
One per file. Deleting the record lets the account's server delete the file.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | resenha.ink |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.formatNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "One per file. Deleting the record lets the account's server delete the file.",
"key": "tid",
"record": {
"properties": {
"authors": {
"items": {
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"maxLength": 20,
"type": "array"
},
"book": {
"description": "The account's record for the same book, when the reader connected the file to their library: a buzz.bookhive.book, or a social.popfeed.feed.listItem for a book they keep in Popfeed.",
"format": "at-uri",
"type": "string"
},
"bookRef": {
"description": "The book the file is of, in every key anyone uses.",
"ref": "ink.resenha.defs#bookRef",
"type": "ref"
},
"cover": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"description": "A cover image for showing the book in a list, taken from the file.",
"maxSize": 1000000,
"type": "blob"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"deletedAt": {
"description": "When the reader moved the file to Resenha's trash. The file stays in the account, off the shelf, for 30 days from this moment, unless the reader restores it; then the record is deleted.",
"format": "datetime",
"type": "string"
},
"file": {
"accept": [
"application/epub+zip",
"application/pdf",
"application/vnd.comicbook+zip",
"application/zip"
],
"description": "The book itself.",
"type": "blob"
},
"format": {
"description": "How to open the file. A comic archive is a zip of page images, read in file name order.",
"knownValues": [
"epub",
"pdf",
"cbz"
],
"type": "string"
},
"title": {
"description": "From the file's own metadata when it has some, otherwise from its file name.",
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
}
},
"required": [
"file",
"format",
"title",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"description": "A book file the account keeps for reading in Resenha: an EPUB, a PDF or a comic archive. The file is a blob in the account's repository, which keeps it only while a record refers to it.",
"id": "ink.resenha.ebook",
"lexicon": 1
}