| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://purl.org/dc/elements/1.1/" targetNamespace="http://purl.org/dc/elements/1.1/" elementFormDefault="qualified" attributeFormDefault="unqualified"> |
| 3 | <xs:annotation> |
| 4 | <xs:documentation xml:lang="en"> |
| 5 | Simple DC XML Schema, 2002-10-09 |
| 6 | by Pete Johnston ([email protected]), |
| 7 | Carl Lagoze ([email protected]), Andy Powell ([email protected]), |
| 8 | Herbert Van de Sompel ([email protected]). |
| 9 | This schema defines terms for Simple Dublin Core, i.e. the 15 |
| 10 | elements from the http://purl.org/dc/elements/1.1/ namespace, with |
| 11 | no use of encoding schemes or element refinements. |
| 12 | Default content type for all elements is xs:string with xml:lang |
| 13 | attribute available. |
| 14 | |
| 15 | Supercedes version of 2002-03-12. |
| 16 | Amended to remove namespace declaration for http://www.w3.org/XML/1998/namespace namespace, |
| 17 | and to reference lang attribute via built-in xml: namespace prefix. |
| 18 | xs:appinfo also removed. |
| 19 | </xs:documentation> |
| 20 | </xs:annotation> |
| 21 | <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="../../common/xml.xsd"/> |
| 22 | <xs:element name="title" type="elementType"/> |
| 23 | <xs:element name="creator" type="elementType"/> |
| 24 | <xs:element name="subject" type="elementType"/> |
| 25 | <xs:element name="description" type="elementType"/> |
| 26 | <xs:element name="publisher" type="elementType"/> |
| 27 | <xs:element name="contributor" type="elementType"/> |
| 28 | <xs:element name="date" type="elementType"/> |
| 29 | <xs:element name="type" type="elementType"/> |
| 30 | <xs:element name="format" type="elementType"/> |
| 31 | <xs:element name="identifier" type="elementType"/> |
| 32 | <xs:element name="source" type="elementType"/> |
| 33 | <xs:element name="language" type="elementType"/> |
| 34 | <xs:element name="relation" type="elementType"/> |
| 35 | <xs:element name="coverage" type="elementType"/> |
| 36 | <xs:element name="rights" type="elementType"/> |
| 37 | <xs:group name="elementsGroup"> |
| 38 | <xs:sequence> |
| 39 | <xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 40 | <xs:element ref="title"/> |
| 41 | <xs:element ref="creator"/> |
| 42 | <xs:element ref="subject"/> |
| 43 | <xs:element ref="description"/> |
| 44 | <xs:element ref="publisher"/> |
| 45 | <xs:element ref="contributor"/> |
| 46 | <xs:element ref="date"/> |
| 47 | <xs:element ref="type"/> |
| 48 | <xs:element ref="format"/> |
| 49 | <xs:element ref="identifier"/> |
| 50 | <xs:element ref="source"/> |
| 51 | <xs:element ref="language"/> |
| 52 | <xs:element ref="relation"/> |
| 53 | <xs:element ref="coverage"/> |
| 54 | <xs:element ref="rights"/> |
| 55 | </xs:choice> |
| 56 | </xs:sequence> |
| 57 | </xs:group> |
| 58 | <xs:complexType name="elementType"> |
| 59 | <xs:simpleContent> |
| 60 | <xs:extension base="xs:string"> |
| 61 | <xs:attribute ref="xml:lang" use="optional"/> |
| 62 | </xs:extension> |
| 63 | </xs:simpleContent> |
| 64 | </xs:complexType> |
| 65 | </xs:schema> |