JsonSchema:WebPublication/Publication

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 21: Line 21:
"type": "array",
"type": "array",
"items": {
"items": {
"$ref": "link.schema.json"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Link\u0026action=raw"
},
},
"uniqueItems": true,
"uniqueItems": true,

Latest revision as of 07:34, 16 September 2025

$schema"http://json-schema.org/draft-07/schema#"
$id"https://readium.org/webpub-manifest/schema/publication.schema.json"
title"Readium Web Publication Manifest"
type"object"
properties
@context
type
"string"
"array"
items
type"string"
uniqueItemstrue
metadata
$ref"/w/index.php?title=JsonSchema:WebPublication/Metadata&action=raw"
links
type"array"
items
$ref"/w/index.php?title=JsonSchema:WebPublication/Link&action=raw"
uniqueItemstrue
allOf
contains
type"object"
properties
rel
anyOf
type"string"
const"self"
type"array"
contains
const"self"
required
"rel"
contains
type"object"
required
"href"
"type"
"rel"
properties
href
type"string"
format"uri-reference"
type
const"application/vnd.readium.position-list+json"
rel
type"string"
const"http://readium.org/position-list"
readingOrder
type"array"
items
$ref"/w/index.php?title=JsonSchema:WebPublication/Link&action=raw"
uniqueItemstrue
resources
type"array"
items
$ref"/w/index.php?title=JsonSchema:WebPublication/Link&action=raw"
uniqueItemstrue
toc
type"array"
items
$ref"/w/index.php?title=JsonSchema:WebPublication/Link&action=raw"
required
"metadata"
"links"
"readingOrder"
additionalProperties
$ref"/w/index.php?title=JsonSchema:WebPublication/Subcollection&action=raw"
allOf
$ref"/w/index.php?title=JsonSchema:WebPublication/ExtensionsEpubSubcollections&action=raw"
description"All resources listed in the reading order should contain a media type."
properties
readingOrder
type"array"
items
type"object"
required
"type"
description"All resources listed in the publication should contain a media type."
properties
resources
type"array"
items
type"object"
required
"type"