Readium LCP for PDF

Status of this Document

This document is an early draft.

Requirements

Example

{
  "@context": [
    "https://readium.org/webpub-manifest/context.jsonld", 
    "https://readium.org/webpub-manifest/contexts/epub/context.jsonld"
  ],
  "metadata": {
    "identifier": "https://readium.org/webpub-manifest/",
    "title": "Readium Web Publication Manifest",
    "author": "Readium Community",
    "editor": "Hadrien Gardeur",
    "description": "The Readium Web Publication Manifest is a JSON-based document meant to represent and distribute publications over HTTPS."
  },
  "readingOrder": [
    {
      "href": "rwpm.pdf",
      "type": "application/pdf",
      "properties": {
        "encrypted": {
          "scheme": "http://readium.org/2014/01/lcp",
          "profile": "http://readium.org/lcp/basic-profile",
          "algorithm": "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
        }
      }
    }
  ],
  "resources": [
    {
      "href": "cover.jpg",
      "type": "image/jpeg",
      "rel": "cover" 
    }
  ]
}

Demo

An example where the PDF is not (yet) encrypted is available at: http://readium.org/lcp-specs/examples/lcpdf/rwpm.lcpdf

JSON Schema

A JSON Schema for the manifest of an LCPDF package is available under version control at: https://github.com/readium/lcp-specs/blob/master/schema/lcpdf.schema.json

For validating a manifest, use the following reference: https://readium.org/lcp-specs/schema/lcpdf.schema.json