JsonSchema:WebPublication/Metadata

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 22: Line 22:
"title": {
"title": {
"title": "title",
"title": "title",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/LanguageMap\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/LanguageMap\u0026action=raw"
},
},
"sortAs": {
"sortAs": {
"title": "sortAs",
"title": "sortAs",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/LanguageMap\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/LanguageMap\u0026action=raw"
},
},
"subtitle": {
"subtitle": {
"title": "subtitle",
"title": "subtitle",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/LanguageMap\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/LanguageMap\u0026action=raw"
},
},
"identifier": {
"identifier": {
Line 38: Line 38:
"altIdentifier": {
"altIdentifier": {
"title": "altIdentifier",
"title": "altIdentifier",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Altidentifier\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Altidentifier\u0026action=raw"
},
},
"accessibility": {
"accessibility": {
"title": "accessibility",
"title": "accessibility",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/A11y\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/A11y\u0026action=raw"
},
},
"modified": {
"modified": {
Line 73: Line 73:
"author": {
"author": {
"title": "author",
"title": "author",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"translator": {
"translator": {
"title": "translator",
"title": "translator",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"editor": {
"editor": {
"title": "editor",
"title": "editor",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"artist": {
"artist": {
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"illustrator": {
"illustrator": {
"title": "illustrator",
"title": "illustrator",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"letterer": {
"letterer": {
"title": "letterer",
"title": "letterer",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"penciler": {
"penciler": {
"title": "penciler",
"title": "penciler",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"colorist": {
"colorist": {
"title": "colorist",
"title": "colorist",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"inker": {
"inker": {
"title": "inker",
"title": "inker",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"narrator": {
"narrator": {
"title": "narrator",
"title": "narrator",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"contributor": {
"contributor": {
"title": "contributor",
"title": "contributor",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"publisher": {
"publisher": {
"title": "publisher",
"title": "publisher",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"imprint": {
"imprint": {
"title": "imprint",
"title": "imprint",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"subject": {
"subject": {
"title": "subject",
"title": "subject",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Subject\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Subject\u0026action=raw"
},
},
"layout": {
"layout": {
Line 165: Line 165:
"collection": {
"collection": {
"title": "collection",
"title": "collection",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
},
},
"series": {
"series": {
"title": "series",
"title": "series",
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/Contributor\u0026action=raw"
}
}
}
}
Line 199: Line 199:
"allOf": [
"allOf": [
{
{
"$ref": "/mediawiki-1.44.0/index.php?title=JsonSchema:WebPublication/ExtensionsEpubMetadata\u0026action=raw"
"$ref": "/w/index.php?title=JsonSchema:WebPublication/ExtensionsEpubMetadata\u0026action=raw"
}
}
]
]
}
}

Latest revision as of 09:39, 8 September 2025

$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
title"title"
$ref"/w/index.php?title=JsonSchema:WebPublication/LanguageMap&action=raw"
sortAs
title"sortAs"
$ref"/w/index.php?title=JsonSchema:WebPublication/LanguageMap&action=raw"
subtitle
title"subtitle"
$ref"/w/index.php?title=JsonSchema:WebPublication/LanguageMap&action=raw"
identifier
type"string"
format"uri"
altIdentifier
title"altIdentifier"
$ref"/w/index.php?title=JsonSchema:WebPublication/Altidentifier&action=raw"
accessibility
title"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
title"author"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
translator
title"translator"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
editor
title"editor"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
artist
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
illustrator
title"illustrator"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
letterer
title"letterer"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
penciler
title"penciler"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
colorist
title"colorist"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
inker
title"inker"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
narrator
title"narrator"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
contributor
title"contributor"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
publisher
title"publisher"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
imprint
title"imprint"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
subject
title"subject"
$ref"/w/index.php?title=JsonSchema:WebPublication/Subject&action=raw"
layout
title"layout"
description"Hints how the layout of the publication should be presented"
type"string"
enum
"fixed"
"reflowable"
"scrolled"
readingProgression
title"readingProgression"
type"string"
enum
"rtl"
"ltr"
default"ltr"
description
title"description"
type"string"
duration
title"duration"
type"number"
exclusiveMinimum0
numberOfPages
title"numberOfPages"
type"integer"
exclusiveMinimum0
belongsTo
title"belongsTo"
type"object"
properties
collection
title"collection"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
series
title"series"
$ref"/w/index.php?title=JsonSchema:WebPublication/Contributor&action=raw"
tdm
title"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"