JsonSchema:WebPublication/SubjectObject
JsonSchema:WebPublication/SubjectObject
From Wikisphere
Jump to navigation
Jump to search
$schema | "http://json-schema.org/draft-07/schema#" |
---|
$id | "https://readium.org/webpub-manifest/schema/subject-object.schema.json" |
---|
title | "Subject Object" |
---|
type | "object" |
---|
properties | name | anyOf | |
description | "The language in a language map must be a valid BCP 47 tag." |
---|
type | "object" |
---|
patternProperties | ^((?<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})+))$ | |
---|
|
---|
additionalProperties | false |
---|
minProperties | 1 |
---|
|
|
---|
|
---|
sortAs | |
---|
code | |
---|
scheme | |
---|
links | type | "array" |
---|
items | $ref | "/w/index.php?title=JsonSchema:WebPublication/Link&action=raw" |
---|
|
---|
|
---|
|
---|
required | |
---|