ink.resenha.shop.getWork

A work's page in the Shop: its eBook editions (Standard Ebooks' first) with every copied version's fingerprint, its LibriVox recordings with their sections, and the catalogue book it maps to, for linking a taken eBook to the reader's library. Public, no sign-in; answers may be cached for five minutes; limited per address.

Repository @resenha.ink did:plc:v7itjf4h3sb5zuegiiskctqb not from the namespace authority
Details · query
Kindquery
Authorityshop.resenha.ink
Commit rev3n25adlydfu2s
Indexed
cid bafyreiaowxo5hh5aaj3xdnlham6un4jb7jcofle6brhssylv5hglsmlhxy

Checks

Valid
  • unlimited-string defs.edition.properties.sourceNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.formats.itemsNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.recording.properties.kindNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "catalogueBook": {
      "description": "The catalogue book the work maps to, from Open Library works linked to its editions: the BookHive ID when BookHive has one of its ISBNs.",
      "properties": {
        "hiveId": {
          "maxLength": 128,
          "type": "string"
        },
        "isbn13s": {
          "items": {
            "maxLength": 13,
            "type": "string"
          },
          "type": "array"
        },
        "olWork": {
          "maxLength": 64,
          "type": "string"
        }
      },
      "required": [
        "isbn13s"
      ],
      "type": "object"
    },
    "edition": {
      "properties": {
        "authors": {
          "items": {
            "maxLength": 512,
            "type": "string"
          },
          "type": "array"
        },
        "contentCIDs": {
          "items": {
            "maxLength": 128,
            "type": "string"
          },
          "type": "array"
        },
        "cover": {
          "format": "uri",
          "type": "string"
        },
        "credit": {
          "maxLength": 2000,
          "type": "string"
        },
        "id": {
          "description": "se:<slug> or pg:<n>, never reused. Get takes it.",
          "maxLength": 128,
          "type": "string"
        },
        "language": {
          "maxLength": 16,
          "type": "string"
        },
        "size": {
          "description": "Bytes of the file Get gives.",
          "minimum": 0,
          "type": "integer"
        },
        "source": {
          "knownValues": [
            "se",
            "pg"
          ],
          "type": "string"
        },
        "title": {
          "maxLength": 1024,
          "type": "string"
        },
        "version": {
          "description": "The version Get gives now: Standard Ebooks' last update, or the Gutenberg mirror file's time once a copy exists.",
          "maxLength": 64,
          "type": "string"
        },
        "versions": {
          "items": {
            "ref": "#version",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "id",
        "source",
        "title",
        "authors",
        "contentCIDs",
        "versions"
      ],
      "type": "object"
    },
    "main": {
      "description": "A work's page in the Shop: its eBook editions (Standard Ebooks' first) with every copied version's fingerprint, its LibriVox recordings with their sections, and the catalogue book it maps to, for linking a taken eBook to the reader's library. Public, no sign-in; answers may be cached for five minutes; limited per address.",
      "errors": [
        {
          "description": "No such work, nor one holding the edition given, or it is hidden.",
          "name": "NotFound"
        },
        {
          "description": "Too many calls from this address in the last minute.",
          "name": "RateLimited"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "authors": {
              "items": {
                "maxLength": 512,
                "type": "string"
              },
              "type": "array"
            },
            "book": {
              "ref": "#catalogueBook",
              "type": "ref"
            },
            "cover": {
              "format": "uri",
              "type": "string"
            },
            "description": {
              "maxLength": 20000,
              "type": "string"
            },
            "editions": {
              "items": {
                "ref": "#edition",
                "type": "ref"
              },
              "type": "array"
            },
            "explicit": {
              "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": {
              "maxLength": 16,
              "type": "string"
            },
            "paused": {
              "description": "True while the Shop is paused on the server: Get and Notify me are shown disabled. Browsing keeps working.",
              "type": "boolean"
            },
            "recordings": {
              "items": {
                "ref": "#recording",
                "type": "ref"
              },
              "type": "array"
            },
            "related": {
              "description": "Works holding the same text under other ids, by the same first author in the same language (Other Editions across works): Standard Ebooks' first, then those with an eBook, then by downloads. Never hidden works.",
              "items": {
                "ref": "ink.resenha.shop.getBrowse#workSummary",
                "type": "ref"
              },
              "maxLength": 6,
              "type": "array"
            },
            "title": {
              "maxLength": 1024,
              "type": "string"
            },
            "work": {
              "maxLength": 128,
              "type": "string"
            }
          },
          "required": [
            "work",
            "title",
            "authors",
            "formats",
            "explicit",
            "editions",
            "recordings",
            "book",
            "paused"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "edition": {
            "description": "An edition or recording id (se:<slug>, pg:<n>, lv:<n>), which never changes: the work it is in now answers when work is absent or names no work. One of work and edition is required.",
            "maxLength": 128,
            "type": "string"
          },
          "work": {
            "description": "The work's id. Work ids may change between catalogue rebuilds; give edition too, and the work it is in now answers when this one is gone.",
            "maxLength": 128,
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    },
    "recording": {
      "properties": {
        "cover": {
          "description": "The recording's cover: LibriVox's full-size cover art, else the Internet Archive's 180-pixel image of the item holding its sections.",
          "format": "uri",
          "type": "string"
        },
        "id": {
          "description": "lv:<n>.",
          "maxLength": 128,
          "type": "string"
        },
        "kind": {
          "knownValues": [
            "solo",
            "group",
            "dramatic"
          ],
          "type": "string"
        },
        "language": {
          "maxLength": 16,
          "type": "string"
        },
        "length": {
          "description": "Seconds.",
          "minimum": 0,
          "type": "integer"
        },
        "readers": {
          "items": {
            "maxLength": 256,
            "type": "string"
          },
          "type": "array"
        },
        "sections": {
          "items": {
            "ref": "#section",
            "type": "ref"
          },
          "type": "array"
        },
        "url": {
          "description": "The project's LibriVox page.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "id",
        "kind",
        "readers",
        "length",
        "sections"
      ],
      "type": "object"
    },
    "section": {
      "properties": {
        "length": {
          "description": "Seconds.",
          "minimum": 0,
          "type": "integer"
        },
        "n": {
          "type": "integer"
        },
        "title": {
          "maxLength": 1024,
          "type": "string"
        },
        "url": {
          "description": "The MP3 on the Internet Archive, over HTTPS.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "n",
        "length",
        "url"
      ],
      "type": "object"
    },
    "version": {
      "properties": {
        "contentCID": {
          "maxLength": 128,
          "type": "string"
        },
        "size": {
          "minimum": 0,
          "type": "integer"
        },
        "version": {
          "maxLength": 64,
          "type": "string"
        }
      },
      "required": [
        "version",
        "contentCID",
        "size"
      ],
      "type": "object"
    }
  },
  "id": "ink.resenha.shop.getWork",
  "lexicon": 1
}