ct.xsd

<!--03/21/14 Boaz Sunyoung Jin, and supervised by Professor David Dubin and Dean Linda Smith of Graduate School of Library and Information Science at University of Illinois at Urbana-Champaign-->

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink"

xmlns="http://courseweb.lis.illinois.edu/~sunjin/CT/1.0/" targetNamespace="http://courseweb.lis.illinois.edu/~sunjin/CT/1.0/"

elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:annotation>

<xs:documentation xml:lang="en">

To solve troublesome interoperability problems by using various metadata formats,

a Common Terminology (CT) of MARC, MODS, DC and QDC is suggested.

The goal of the CT is to embrace diversity of metadata formats fulfilling needs of many communities, and

to provide uniformity to achieve and improve interoperability minimizing loss information and keeping accurate information.

The CT of MARC and (Q)DC is a set of 12 Common Terms:

contributor, date, description, format, identifier, language,

publisher, relation, right, subject, title, typeGenre.

The CT has the reduced common terms than DC, but has more qualifiers/attributes than QDC

so that it can preserve much information from MARC and MODS.

That is to say, it is to achieve and improve metadata interoperability addressing existing

loss of data problems by different generality or specialty degrees, and addressing lack of standardizations.

</xs:documentation>

</xs:annotation>

<xs:element name="CT" type="anyCT"/>

<xs:complexType name="anyCT">

<xs:choice minOccurs="0" maxOccurs="unbounded">

<xs:element name="contributor" type="contributorType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="date" type="dateType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="description" type="descriptionType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="format" type="formatType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="identifier" type="identifierType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="language" type="languageType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="publisher" type="publisherType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="relation" type="relationType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="rights" type="rightsType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="subject" type="subjectType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="title" type="titleType" minOccurs="0" maxOccurs="unbounded"/>

<xs:element name="typeGenre" type="typeGenreType" minOccurs="0" maxOccurs="unbounded"/>

</xs:choice>

</xs:complexType>

<xs:complexType name="contributorType">

<xs:annotation>

<xs:documentation>

The name of a person, organization, or event (conference, meeting, etc.)

associated in some way with the resource (MODS). An entity responsible

for making contributions to the resource (Contributor of DC).

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="valueTypes">

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="personal name"/>

<xs:enumeration value="corporate name"/>

<xs:enumeration value="meeting name"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="role" use="optional" type="xs:string"/>

<xs:attribute name="authority" use="optional">

<xs:annotation>

<xs:documentation>

Authorities of ‘role’ attribute name are in CTRelators of CTScheme:

LC MARC relators or unknown.

</xs:documentation>

</xs:annotation>

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="LC MARC relators"/>

<xs:enumeration value="Unknown"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="dateType">

<xs:annotation>

<xs:documentation>

A point or period of time associated with an event in the lifecycle of the resource (DC).

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="dateValue">

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="issued"/>

<xs:enumeration value="copyright"/>

<xs:enumeration value="available"/>

<xs:enumeration value="modified"/>

<xs:enumeration value="other"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="descriptionType">

<xs:annotation>

<xs:documentation>

An account of the resource (DC). A term that designates how the resource is issued (MODS).

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="valueTypes">

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="recordinfo"/>

<xs:enumeration value="issuance"/>

<xs:enumeration value="authentication"/>

<xs:enumeration value="edition"/>

<xs:enumeration value="frequency"/>

<xs:enumeration value="thesis"/>

<xs:enumeration value="bibliography"/>

<xs:enumeration value="table of contents"/>

<xs:enumeration value="abstract"/>

<xs:enumeration value="audience"/>

<xs:enumeration value="provenance"/>

<xs:enumeration value="action"/>

<xs:enumeration value="other"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="authority" use="optional">

<xs:annotation>

<xs:documentation>

Authorities of ‘description’ attribute name are in CTDescription of CTScheme:

LC MARC authentication, LC MARC frequency, or LC MARC target.

</xs:documentation>

</xs:annotation>

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="LC MARC authentication"/>

<xs:enumeration value="LC MARC frequency"/>

<xs:enumeration value="LC MARC target"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="formatType">

<xs:annotation>

<xs:documentation>

A designation of a particular physical presentation of a resource (form definition of MODS).

The file format, physical medium, or dimensions of the resource (DC).

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="valueTypes">

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="extent"/>

<xs:enumeration value="medium"/>

<xs:enumeration value="note"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="authority" use="optional">

<xs:annotation>

<xs:documentation>

Authorities of ‘dformat’ attribute name are in CTFormat of CTScheme:

rfc2046, LC MARC form, or LC gmd.

</xs:documentation>

</xs:annotation>

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="rfc2046"/>

<xs:enumeration value="LC MARC form"/>

<xs:enumeration value="LC gmd"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="identifierType">

<xs:annotation>

<xs:documentation>

An unambiguous reference to the resource within a given context (DCMI).

And "location" identifies the institution or repository holding the resource,

or a remote location in the form of a URL where it is available (MODS) (LC).

Source definition: A related resource from which the described resource is derived (DCMI).

It identifies also where the described resource is from (e.g., Harvard, MIT, UIUC, or OCLC). It can be expandable.

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="valueTypes">

<xs:attribute name="source" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="harvard"/>

<xs:enumeration value="uiuc"/>

<xs:enumeration value="mit"/>

<xs:enumeration value="oclc"/>

<xs:enumeration value="Library of Congress"/>

<xs:enumeration value="Research Libraries Group"/>

<xs:enumeration value="Vendor "/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="collection"/>

<xs:enumeration value="uri"/>

<xs:enumeration value="doi"/>

<xs:enumeration value="hdl"/>

<xs:enumeration value="control number"/>

<xs:enumeration value="lccn"/>

<xs:enumeration value="national bibliography number"/>

<xs:enumeration value="isbn"/>

<xs:enumeration value="issn"/>

<xs:enumeration value="ismn"/>

<xs:enumeration value="issue number"/>

<xs:enumeration value="other"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="languageType">

<xs:annotation>

<xs:documentation>

A designation of the language in which the content of a resource is expressed. A language of the resource (DC).

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="languageValue">

<xs:attribute name="authority" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="iso639-2"/>

<xs:enumeration value="iso639-3"/>

<xs:enumeration value="rfc1766"/>

<xs:enumeration value="rfc3066"/>

<xs:enumeration value="rfc4646"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="publisherType">

<xs:annotation>

<xs:documentation>

The name of the entity that published, printed, distributed, released, issued, or produced the resource (MODS).

An entity responsible for making the resource available. It includes place concept of the below:

Definition of place-Name of a place associated with the issuing, publication, release, distribution, manufacture,

production, or origin of a resource (MODS).

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="valueTypes">

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="place"/>

<xs:enumeration value="other"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="relationType">

<xs:annotation>

<xs:documentation>

Information that identifies other resources related to the one being described (MODS). A related resource (DC).

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="valueTypes">

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="original"/>

<xs:enumeration value="series"/>

<xs:enumeration value="reference"/>

<xs:enumeration value="other format"/>

<xs:enumeration value="constituent"/>

<xs:enumeration value="other version"/>

<xs:enumeration value="replacement"/>

<xs:enumeration value="requirement"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="rightsType">

<xs:annotation>

<xs:documentation>

Information about rights held in and over the resource.

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="valueTypes">

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="access"/>

<xs:enumeration value="holder"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="subjectType">

<xs:annotation>

<xs:documentation>

A term or phrase representing the primary topic(s) on which a work is focused (MODS). The topic of the resource (DC).

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="valueTypes">

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="spatial"/>

<xs:enumeration value="temporal"/>

<xs:enumeration value="classification"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="authority" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="iso3166"/>

<xs:enumeration value="lcsh"/>

<xs:enumeration value="lcshac"/>

<xs:enumeration value="mesh"/>

<xs:enumeration value="csh"/>

<xs:enumeration value="nal"/>

<xs:enumeration value="rvm"/>

<xs:enumeration value="lcc"/>

<xs:enumeration value="ddc"/>

<xs:enumeration value="udc"/>

<xs:enumeration value="nlm"/>

<xs:enumeration value="sudocs"/>

<xs:enumeration value="candocs"/>

<xs:enumeration value="tgn"/>

<xs:enumeration value="other"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="titleType">

<xs:annotation>

<xs:documentation>

A word, phrase, character, or group of characters, normally appearing in a resource,

that names it or the work contained in it (MODS). A name given to the resource (DC).

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="valueTypes">

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="abbreviated"/>

<xs:enumeration value="uniform"/>

<xs:enumeration value="key"/>

<xs:enumeration value="translated"/>

<xs:enumeration value="alternative"/>

<xs:enumeration value="subtitle"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:complexType name="typeGenreType">

<xs:annotation>

<xs:documentation>

A term that specifies the characteristics and general type of content of the resource (MODS).

The nature of the resource (DC).

</xs:documentation>

</xs:annotation>

<xs:simpleContent>

<xs:extension base="valueTypes">

<xs:attribute name="type" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="genre"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="authority" use="optional">

<xs:simpleType>

<xs:restriction base="xs:string">

<xs:enumeration value="DCMI type"/>

<xs:enumeration value="LC MARC type"/>

<xs:enumeration value="LC MARC genre"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

</xs:extension>

</xs:simpleContent>

</xs:complexType>

<xs:simpleType name="languageValue">

<xs:union memberTypes="xs:string xs:language"/>

</xs:simpleType>

<xs:simpleType name="dateValue">

<xs:union memberTypes="xs:date xs:dateTime xs:duration xs:gDay xs:gMonth xs:gMonthDay xs:gYear xs:gYearMonth xs:time xs:string"/>

</xs:simpleType>

<xs:simpleType name="valueTypes">

<xs:union memberTypes="xs:string xs:anyURI"/>

</xs:simpleType>

</xs:schema>