JsonSchema:WebPublication/Metadata

From Wikisphere
Jump to navigation Jump to search
No edit summary
(No difference)

Revision as of 00:00, 15 January 2001

$schema"http://json-schema.org/draft-07/schema#"
$id"https://readium.org/webpub-manifest/schema/metadata.schema.json"
title"Metadata"
type"object"
properties
@type
type"string"
format"uri"
conformsTo
type
"string"
"array"
format"uri"
items
type"string"
format"uri"
title
$ref"/w/index.php?title=JsonSchema:WebPublication/LanguageMap&action=raw"
sortAs
$ref"/w/index.php?title=JsonSchema:WebPublication/LanguageMap&action=raw"
subtitle
$ref"/w/index.php?title=JsonSchema:WebPublication/LanguageMap&action=raw"
identifier
type"string"
format"uri"
altIdentifier
$ref"/w/index.php?title=JsonSchema:WebPublication/Altidentifier&action=raw"
accessibility
$ref"/w/index.php?title=JsonSchema:WebPublication/A11y&action=raw"
modified
type"string"
format"date-time"
published
type"string"
anyOf
format"date"
format"date-time"
language
description"The language must be a valid BCP 47 tag."
type
"string"
"array"
items
type"string"
pattern"^((?<grandfathered>(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))|((?<language>([A-Za-z]{2,3}(-(?<extlang>[A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-(?<script>[A-Za-z]{4}))?(-(?<region>[A-Za-z]{2}|[0-9]{3}))?(-(?<variant>[A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-(?<extension>[0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(?<privateUse>x(-[A-Za-z0-9]{1,8})+))?)|(?<privateUse2>x(-[A-Za-z0-9]{1,8})+))$"
pattern"^((?<grandfathered>(en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang))|((?<language>([A-Za-z]{2,3}(-(?<extlang>[A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-(?<script>[A-Za-z]{4}))?(-(?<region>[A-Za-z]{2}|[0-9]{3}))?(-(?<variant>[A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-(?<extension>[0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(?<privateUse>x(-[A-Za-z0-9]{1,8})+))?)|(?<privateUse2>x(-[A-Za-z0-9]{1,8})+))$"
author
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
translator
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
editor
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
artist
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
illustrator
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
letterer
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
penciler
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
colorist
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
inker
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
narrator
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
contributor
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
publisher
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
imprint
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
subject
$ref"/w/index.php?title=JsonSchema:WebPublication/Subject&action=raw"
layout
description"Hints how the layout of the publication should be presented"
type"string"
enum
"fixed"
"reflowable"
"scrolled"
readingProgression
type"string"
enum
"rtl"
"ltr"
default"ltr"
description
type"string"
duration
type"number"
exclusiveMinimum0
numberOfPages
type"integer"
exclusiveMinimum0
belongsTo
type"object"
properties
collection
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
series
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
tdm
type"object"
required
"reservation"
properties
reservation
type"string"
enum
"all"
"none"
policy
type"string"
format"uri"
required
"title"
allOf
$ref"/w/index.php?title=JsonSchema:WebPublication/ExtensionsEpubMetadata&action=raw"