Extracted from official github repo https://github.com/scta/cdf-schema on 2020-01-23
This is a repository for the schema for Codex Description Files, maintained by the SCTA community http://scta.info
The CDF-SCHEMA is used to associate describe a Codex Manifestation, individual Codex Ideas as well as map the Surface Manifestations and Surface Items within a given codex.
A transcription file begins with a <codex> as the root element, which takes a <head> and <surfaces> element.
The header includes basic information about the codex and its codex item
<head> MUST be listed in the following order<type> indicating whether the codex is manuscript or book<short> id (See id naming conventions docs)<title><initial>. (This is depreciated and is discouraged)<hastItems> child.The hasItems element is designed to indicate a list of item instances of a given codex manifestation. In the case of a codex type manuscript, there should only be one item as a child of the hasItems element. In the case of a printed codex, there may be many, one for each item printed from the codex manifestation (or type setting)
<item> element.An item describes a given item instance of a codex manifestation.
<label><canonical> of value true or false; true if it should be used as the default item for this codex manifestation, otherwise it should be false.<shortid><holdingInstitution><callNumber><canvasBase><manifestOfficial><surface> elements<shortid><label><hasISurfaces><ISurface><shortId><canonical> of value true or false; true if it should be used as the default ISurface for this Surface manifestation, otherwise it should be false.<canvasslug>