Document Reference Schema
Overview
The type associated with a Listing describes what references are being listed. The possible values include:
URI | Description |
---|---|
http://www.idpf.org/epub/vocab/structure/#landmarks | Quick Access Navigation |
http://www.idpf.org/epub/vocab/structure/#loa | List of Audio |
http://www.idpf.org/epub/vocab/structure/#loi | List of Illustrations |
http://www.idpf.org/epub/vocab/structure/#lot | List of Tables |
http://www.idpf.org/epub/vocab/structure/#lov | List of Videos |
http://www.idpf.org/epub/vocab/structure/#page-list | Pages |
http://www.idpf.org/epub/vocab/structure/#toc | Table of Contents |
The type associated with an Entry describes what the reference being listed is when the associated Listing is a list of landmarks. The possible values include those from http://www.idpf.org/epub/vocab/structure/#.
For example:
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix epv: <http://www.idpf.org/epub/vocab/structure/#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix ref: <http://reecedunn.co.uk/schema/2014/ref#> .
<example.html> a foaf:Document ;
ref:listing <example.html#toc> ;
ref:listing <example.html#guide> .
<example.html#toc> a ref:Listing ;
ref:type epv:toc ;
ref:entries ( _:nav1 _:nav2 _:nav3 ) ;
dc:title "Table of Contents" .
_:nav1 a ref:Entry ;
ref:level 1 ;
ref:page 3 ;
ref:target <example.html#ch1> ;
dc:title "Chapter 1" .
_:nav2 a ref:Entry ;
ref:level 2 ;
ref:page 9 ;
ref:target <example.html#ch1_1> ;
dc:title "Chapter 1.1" .
_:nav3 a ref:Entry ;
ref:level 1 ;
ref:page 15 ;
ref:target <example.html#ch2> ;
dc:title "Chapter 2" .
<example.html#guide> a ref:Listing ;
ref:type epv:landmarks ;
ref:entries ( _:guide1 ) ;
dc:title "Guide" .
_:guide1 a ref:Entry .
ref:level 1 ;
ref:target <example.html#toc> ;
ref:type epv:toc ;
dc:title "Table of Contents" .
Classes
Entry
Added | 2014-01-14 |
---|
An entry in a listing.
Listing
Added | 2014-01-14 |
---|
A table or list of items.
Manifest
Added | 2014-01-22 |
---|---|
Type | Listing |
A multi-file archive-based document.
ManifestItem
Added | 2014-01-22 |
---|---|
Type | Entry |
A file in a multi-file archive-based document.
Properties
entries
Added | 2014-01-14 |
---|---|
Domain | Listing |
An RDF list of ref:Entry objects that constitute the listing contents.
hasManifestItem
Added | 2014-01-22 |
---|---|
Domain | Manifest |
Range | ManifestItem |
The URI of a ref:ManifestItem that is a part of this multi-file archive-based document.
level
Added | 2014-01-14 |
---|---|
Domain | Entry |
Range | integer |
The depth of the entry.
listing
Added | 2014-01-14 |
---|---|
Range | Listing |
A table or list of items associated with the document.
media-overlay
Added | 2014-01-22 |
---|---|
Domain | Entry |
Range | string |
A SMIL document associated with the target document.
mimetype
Added | 2014-01-22 |
---|---|
Domain | Entry |
Range | string |
The MIME type associated with the target file.
page
Added | 2014-01-14 |
---|---|
Domain | Entry |
Range | integer |
The page number of the entry.
property
Added | 2014-01-22 |
---|---|
Domain | Entry |
A URI describing the content of the target document.
spine
Added | 2014-01-22 |
---|---|
Domain | Manifest |
An RDF list of ref:ManifestItem objects that form the contents of the document.
target
Added | 2014-01-14 |
---|---|
Domain | Entry |
The URI of the location this entry navigates to.
toc
Added | 2014-01-22 |
---|---|
Domain | Manifest |
Range | ManifestItem |
The URI of a ManifestItem containing the table of contents for the document.
type
Added | 2014-01-14 |
---|
A URI to the type of the listing or entry.