Document Reference Schema

Overview

The type associated with a Listing describes what references are being listed. The possible values include:

URIDescription
http://www.idpf.org/epub/vocab/structure/#landmarksQuick Access Navigation
http://www.idpf.org/epub/vocab/structure/#loaList of Audio
http://www.idpf.org/epub/vocab/structure/#loiList of Illustrations
http://www.idpf.org/epub/vocab/structure/#lotList of Tables
http://www.idpf.org/epub/vocab/structure/#lovList of Videos
http://www.idpf.org/epub/vocab/structure/#page-listPages
http://www.idpf.org/epub/vocab/structure/#tocTable 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

Added2014-01-14

An entry in a listing.

Listing

Added2014-01-14

A table or list of items.

Manifest

Added2014-01-22
TypeListing

A multi-file archive-based document.

ManifestItem

Added2014-01-22
TypeEntry

A file in a multi-file archive-based document.

Properties

entries

Added2014-01-14
DomainListing

An RDF list of ref:Entry objects that constitute the listing contents.

hasManifestItem

Added2014-01-22
DomainManifest
RangeManifestItem

The URI of a ref:ManifestItem that is a part of this multi-file archive-based document.

level

Added2014-01-14
DomainEntry
Rangeinteger

The depth of the entry.

listing

Added2014-01-14
RangeListing

A table or list of items associated with the document.

media-overlay

Added2014-01-22
DomainEntry
Rangestring

A SMIL document associated with the target document.

mimetype

Added2014-01-22
DomainEntry
Rangestring

The MIME type associated with the target file.

page

Added2014-01-14
DomainEntry
Rangeinteger

The page number of the entry.

property

Added2014-01-22
DomainEntry

A URI describing the content of the target document.

spine

Added2014-01-22
DomainManifest

An RDF list of ref:ManifestItem objects that form the contents of the document.

target

Added2014-01-14
DomainEntry

The URI of the location this entry navigates to.

toc

Added2014-01-22
DomainManifest
RangeManifestItem

The URI of a ManifestItem containing the table of contents for the document.

type

Added2014-01-14

A URI to the type of the listing or entry.