# webpub-manifest
**Repository Path**: sessionbean/webpub-manifest
## Basic Information
- **Project Name**: webpub-manifest
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: BSD-3-Clause
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-03-06
- **Last Updated**: 2026-03-06
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Readium Web Publication Manifest
The Readium Web Publication Manifest is a JSON-based document meant to represent and distribute publications over HTTPS.
It is the primary exchange format used in the [Readium Architecture](https://readium.org/architecture) and serves as the main building block for [OPDS 2.0](https://drafts.opds.io/opds-2.0).
**Editors:**
* Hadrien Gardeur
**Participate:**
* [GitHub readium/webpub-manifest](https://github.com/readium/webpub-manifest)
* [File an issue](https://github.com/readium/webpub-manifest/issues)
## Table of Contents
* [Example](#example)
* [1. Introduction](#1-introduction)
+ [1.1. Goals](#11-goals)
+ [1.2. Terminology](#12-terminology)
+ [1.3. Abstract Model](#13-abstract-model)
* [2. Syntax](#2-syntax)
+ [2.1. Sub-Collections](#21-sub-collections)
+ [2.2. Metadata](#22-metadata)
+ [2.3. Links](#23-links)
+ [2.4. The Link Object](#24-the-link-object)
* [3. Resources in the Reading Order](#3-resources-in-the-reading-order)
* [4. Media Type](#4-media-type)
* [5. Discovering a Manifest](#5-discovering-a-manifest)
* [6. Table of Contents](#6-table-of-contents)
* [7. Cover](#7-cover)
* [8. Extensibility](#8-extensibility)
* [9. Packaging a Readium Web Publication](#9-packaging)
* [Appendix A. JSON Schema](#appendix-a-json-schema)
## Example
```json
{
"@context": "https://readium.org/webpub-manifest/context.jsonld",
"metadata": {
"@type": "http://schema.org/Book",
"title": "Moby-Dick",
"author": "Herman Melville",
"identifier": "urn:isbn:978031600000X",
"language": "en",
"modified": "2015-09-29T17:00:00Z"
},
"links": [
{"rel": "self", "href": "https://example.com/manifest.json", "type": "application/webpub+json"},
{"rel": "alternate", "href": "https://example.com/publication.epub", "type": "application/epub+zip"},
{"rel": "search", "href": "https://example.com/search{?query}", "type": "text/html", "templated": true}
],
"readingOrder": [
{"href": "https://example.com/c001.html", "type": "text/html", "title": "Chapter 1"},
{"href": "https://example.com/c002.html", "type": "text/html", "title": "Chapter 2"}
],
"resources": [
{"rel": "cover", "href": "https://example.com/cover.jpg", "type": "image/jpeg", "height": 600, "width": 400},
{"href": "https://example.com/style.css", "type": "text/css"},
{"href": "https://example.com/whale.jpg", "type": "image/jpeg"},
{"href": "https://example.com/boat.svg", "type": "image/svg+xml"},
{"href": "https://example.com/notes.html", "type": "text/html"}
]
}
```
## 1. Introduction
### 1.1. Goals
While the Web is the largest collection of interlinked documents ever created, it lacks a mechanism for expressing how a collection of resources, when grouped together can represent a publication.
Publication formats such as EPUB or CBZ/CBR group these documents together using a container format, making them easier to archive or transmit as a whole. But they also break an important promise of the Web: the resources of a publication are not available through HTTP to any client that would like to access them.
W3C has recently provided a definition for a [Web Publication](https://w3c.github.io/dpub-pwp-ucr/):
> A **Web Publication (WP)** is a collection of one or more constituent resources, organized together in a uniquely identifiable grouping, and presented using standard Open Web Platform technologies.
It also provides a definition for a manifest in the context of a Web Publication:
> [...] **manifest** refers to an abstract means to contain information necessary to the proper management, rendering, and so on, of a publication.
The Readium Web Publication Manifest is an attempt to standardize a JSON based manifest format that follows both definitions.
To facilitate the interoperability between EPUB and Web Publications, this document also defines a number of extension points to fully support EPUB specific features.
### 1.2. Terminology
Collection
A grouping of some variable number of data items. In the context of this specification, a collection is defined as a grouping of metadata, links and sub-collections.
Full Collection
A collection that contains at least two or more data items among metadata, links and sub-collections.
Compact Collection
A collection that contains one or more links, but doesn't contain any metadata or sub-collections.
Manifest
A manifest is a full collection that represents structured information about a publication.