big tings
This commit is contained in:
30
registry/schema-org/Chapter.schema.json
Normal file
30
registry/schema-org/Chapter.schema.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "schema:Chapter",
|
||||
"title": "Chapter",
|
||||
"description": "One of the sections into which a book is divided. A chapter usually has a section number or a name.",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"description": "The most generic kind of creative work, including books, movies, photographs, software programs, etc.",
|
||||
"$ref": "schema:CreativeWork"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"pageEnd": {
|
||||
"description": "The page on which the work ends; for example \"138\" or \"xvi\".",
|
||||
"anyOf": [{ "type": "integer" }, { "type": "string" }]
|
||||
},
|
||||
"pageStart": {
|
||||
"description": "The page on which the work starts; for example \"135\" or \"xiii\".",
|
||||
"anyOf": [{ "type": "integer" }, { "type": "string" }]
|
||||
},
|
||||
"pagination": {
|
||||
"description": "Any description of pages that is not separated into pageStart and pageEnd; for example, \"1-6, 9, 55\" or \"10-12, 46-49\".",
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "type": "array", "items": { "type": "string" } }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user