34 lines
1.8 KiB
JSON
34 lines
1.8 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:HyperTocEntry",
|
|
"title": "HyperTocEntry",
|
|
"description": "A HyperToEntry is an item within a [[HyperToc]], which represents a hypertext table of contents for complex media objects, such as [[VideoObject]], [[AudioObject]]. The media object itself is indicated using [[associatedMedia]]. Each section of interest within that content can be described with a [[HyperTocEntry]], with associated [[startOffset]] and [[endOffset]]. When several entries are all from the same file, [[associatedMedia]] is used on the overarching [[HyperTocEntry]]; if the content has been split into multiple files, they can be referenced using [[associatedMedia]] on each [[HyperTocEntry]].",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "The most generic kind of creative work, including books, movies, photographs, software programs, etc.",
|
|
"$ref": "schema:CreativeWork"
|
|
}
|
|
],
|
|
"properties": {
|
|
"associatedMedia": {
|
|
"description": "A media object that encodes this CreativeWork. This property is a synonym for encoding.",
|
|
"$ref": "schema:MediaObject"
|
|
},
|
|
"tocContinuation": {
|
|
"description": "A [[HyperTocEntry]] can have a [[tocContinuation]] indicated, which is another [[HyperTocEntry]] that would be the default next item to play or render.",
|
|
"oneOf": [
|
|
{ "$ref": "schema:HyperTocEntry" },
|
|
{ "type": "array", "items": { "$ref": "schema:HyperTocEntry" } }
|
|
]
|
|
},
|
|
"utterances": {
|
|
"description": "Text of an utterances (spoken words, lyrics etc.) that occurs at a certain section of a media object, represented as a [[HyperTocEntry]].",
|
|
"oneOf": [
|
|
{ "type": "string" },
|
|
{ "type": "array", "items": { "type": "string" } }
|
|
]
|
|
}
|
|
}
|
|
}
|