ink.resenha.shop.getBrowse
The Shop's front page: a featured row and shelves of public-domain books from Standard Ebooks, Project Gutenberg and LibriVox, built from the catalogue's data. Public, no sign-in; answers may be cached for five minutes; limited per address.
Details · query
| Kind | query |
|---|---|
| Authority | shop.resenha.ink |
| Commit rev | 3n25adlo6ck2z |
| Indexed |
Checks
Validunlimited-stringdefs.workSummary.properties.formats.itemsNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "The Shop's front page: a featured row and shelves of public-domain books from Standard Ebooks, Project Gutenberg and LibriVox, built from the catalogue's data. Public, no sign-in; answers may be cached for five minutes; limited per address.",
"errors": [
{
"description": "Too many calls from this address in the last minute.",
"name": "RateLimited"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"featured": {
"items": {
"ref": "#workSummary",
"type": "ref"
},
"type": "array"
},
"paused": {
"description": "True while the Shop is paused on the server: Get and Notify me are shown disabled. Browsing keeps working.",
"type": "boolean"
},
"shelves": {
"items": {
"ref": "#shelf",
"type": "ref"
},
"type": "array"
}
},
"required": [
"featured",
"shelves",
"paused"
],
"type": "object"
}
},
"parameters": {
"properties": {
"lang": {
"description": "The reader's languages (BCP 47 codes; only the language part is compared). Without it, every language.",
"items": {
"maxLength": 16,
"type": "string"
},
"maxLength": 10,
"type": "array"
}
},
"type": "params"
},
"type": "query"
},
"shelf": {
"properties": {
"id": {
"maxLength": 128,
"type": "string"
},
"title": {
"maxLength": 256,
"type": "string"
},
"works": {
"items": {
"ref": "#workSummary",
"type": "ref"
},
"type": "array"
}
},
"required": [
"id",
"title",
"works"
],
"type": "object"
},
"workSummary": {
"description": "A work: editions of one text in one language. Enough for a row or a cover, and every copied version's fingerprint so the app can show You have it without another call. Readers ignore fields they don't know; later stages may add some (such as a price).",
"properties": {
"authors": {
"items": {
"maxLength": 512,
"type": "string"
},
"type": "array"
},
"contentCIDs": {
"description": "CIDv1 (raw, sha2-256) of every copied version of every edition of the work.",
"items": {
"maxLength": 128,
"type": "string"
},
"type": "array"
},
"cover": {
"format": "uri",
"type": "string"
},
"editions": {
"description": "The work's eBook editions, such as se:jane-austen/pride-and-prejudice or pg:42671, so an app can match the eBooks that name their edition.",
"items": {
"maxLength": 128,
"type": "string"
},
"maxLength": 50,
"type": "array"
},
"explicit": {
"description": "Marked explicit by its sources' subjects or by Resenha's list: hidden or blurred by the reader's adult content setting.",
"type": "boolean"
},
"formats": {
"items": {
"knownValues": [
"ebook",
"audiobook"
],
"type": "string"
},
"type": "array"
},
"genres": {
"description": "The work's genres, at most three, most telling first, read from its sources' subjects (Standard Ebooks', the Library of Congress headings, Gutenberg's categories, LibriVox's genres). fiction or nonfiction only when nothing more specific is known. Apps name them in their own words and ignore keys they don't know.",
"items": {
"knownValues": [
"fiction",
"nonfiction",
"adventure",
"biography",
"children",
"comedy",
"comingOfAge",
"drama",
"essays",
"familyLife",
"fantasy",
"gothic",
"historical",
"history",
"horror",
"mystery",
"mythology",
"nature",
"philosophy",
"poetry",
"politics",
"religion",
"romance",
"satire",
"science",
"scienceFiction",
"shortStories",
"thriller",
"travel",
"war",
"western"
],
"maxLength": 32,
"type": "string"
},
"maxLength": 3,
"type": "array"
},
"language": {
"description": "ISO 639-1.",
"maxLength": 16,
"type": "string"
},
"title": {
"maxLength": 1024,
"type": "string"
},
"work": {
"description": "The work's id: its lowest Gutenberg edition's (pg:<n>), else its Standard Ebooks (se:<slug>) or LibriVox (lv:<n>) one. It can change between catalogue rebuilds; editions' ids never do.",
"maxLength": 128,
"type": "string"
}
},
"required": [
"work",
"title",
"authors",
"formats",
"explicit",
"contentCIDs"
],
"type": "object"
}
},
"id": "ink.resenha.shop.getBrowse",
"lexicon": 1
}