summaryrefslogtreecommitdiffhomepage
path: root/lib/schema/dcmitype.xsd
blob: 69fcb5bdb0a6ce78dbe3b130a874cab9769f7b87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns="http://purl.org/dc/dcmitype/"
           targetNamespace="http://purl.org/dc/dcmitype/"
           elementFormDefault="qualified"
           attributeFormDefault="unqualified">

  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>

  <xs:annotation>
    <xs:documentation xml:lang="en">
      DCMI Type Vocabulary XML Schema
      XML Schema for http://purl.org/dc/dcmitype/ namespace

      Created 2003-04-02

      Created by

      Tim Cole ([email protected])
      Tom Habing ([email protected])
      Jane Hunter ([email protected])
      Pete Johnston ([email protected]),
      Carl Lagoze ([email protected])

      This schema defines a simpleType which enumerates
      the allowable values for the DCMI Type Vocabulary.
    </xs:documentation>


  </xs:annotation>


  <xs:simpleType name="DCMIType">
     <xs:union>
        <xs:simpleType>
           <xs:restriction base="xs:Name">
		<xs:enumeration value="Collection"/>
		<xs:enumeration value="Dataset"/>
		<xs:enumeration value="Event"/>
		<xs:enumeration value="Image"/>
		<xs:enumeration value="InteractiveResource"/>
		<xs:enumeration value="Service"/>
		<xs:enumeration value="Software"/>
		<xs:enumeration value="Sound"/>
		<xs:enumeration value="Text"/>
		<xs:enumeration value="PhysicalObject"/>
            </xs:restriction>
        </xs:simpleType>
     </xs:union>
  </xs:simpleType>

</xs:schema>