1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dcr="http://www.isocat.org" targetNamespace="http://www.clarin.eu/cmd/" attributeFormDefault="unqualified" elementFormDefault="qualified"> |
---|
3 | <xs:element name="CMD"> |
---|
4 | <xs:complexType> |
---|
5 | <xs:sequence> |
---|
6 | <xs:element name="Header"> |
---|
7 | <xs:complexType> |
---|
8 | <xs:sequence> |
---|
9 | <xs:element name="MdCreator" type="xs:string" minOccurs="0"/> |
---|
10 | <xs:element name="MdCreationDate" type="xs:date" minOccurs="0"/> |
---|
11 | <xs:element name="MdSelfLink" type="xs:anyURI" minOccurs="0"/> |
---|
12 | <xs:element name="MdProfile" type="xs:anyURI" minOccurs="0"/> |
---|
13 | </xs:sequence> |
---|
14 | </xs:complexType> |
---|
15 | </xs:element> |
---|
16 | <xs:element name="Resources"> |
---|
17 | <xs:complexType> |
---|
18 | <xs:sequence> |
---|
19 | <xs:element name="ResourceProxyList"> |
---|
20 | <xs:complexType> |
---|
21 | <xs:sequence> |
---|
22 | <xs:element maxOccurs="unbounded" minOccurs="0" name="ResourceProxy"> |
---|
23 | <xs:complexType> |
---|
24 | <xs:sequence> |
---|
25 | <xs:element maxOccurs="1" minOccurs="1" name="ResourceType"> |
---|
26 | <xs:simpleType> |
---|
27 | <xs:restriction base="xs:string"> |
---|
28 | <xs:enumeration value="Metadata"> |
---|
29 | <xs:annotation> |
---|
30 | <xs:documentation>The ResourceProxy refers to another component metadata instance (e.g. for grouping metadata descriptions into collections)</xs:documentation> |
---|
31 | </xs:annotation> |
---|
32 | </xs:enumeration> |
---|
33 | <xs:enumeration value="Resource"> |
---|
34 | <xs:annotation> |
---|
35 | <xs:documentation>The ResourceProxy refers to a file that is not a metadata instance (e.g. a text document)</xs:documentation> |
---|
36 | </xs:annotation> |
---|
37 | </xs:enumeration> |
---|
38 | </xs:restriction> |
---|
39 | </xs:simpleType> |
---|
40 | </xs:element> |
---|
41 | <xs:element maxOccurs="1" minOccurs="1" name="ResourceRef" type="xs:anyURI"/> |
---|
42 | </xs:sequence> |
---|
43 | <xs:attribute name="id" type="xs:ID" use="required"/> |
---|
44 | </xs:complexType> |
---|
45 | </xs:element> |
---|
46 | </xs:sequence> |
---|
47 | </xs:complexType> |
---|
48 | </xs:element> |
---|
49 | <xs:element name="JournalFileProxyList"> |
---|
50 | <xs:complexType> |
---|
51 | <xs:sequence> |
---|
52 | <xs:element maxOccurs="unbounded" minOccurs="0" name="JournalFileProxy"> |
---|
53 | <xs:complexType> |
---|
54 | <xs:sequence> |
---|
55 | <xs:element maxOccurs="1" minOccurs="1" name="JournalFileRef" type="xs:anyURI"/> |
---|
56 | </xs:sequence> |
---|
57 | </xs:complexType> |
---|
58 | </xs:element> |
---|
59 | </xs:sequence> |
---|
60 | </xs:complexType> |
---|
61 | </xs:element> |
---|
62 | <xs:element name="ResourceRelationList"> |
---|
63 | <xs:complexType> |
---|
64 | <xs:sequence> |
---|
65 | <xs:element maxOccurs="unbounded" minOccurs="0" name="ResourceRelation"> |
---|
66 | <xs:complexType> |
---|
67 | <xs:sequence> |
---|
68 | <xs:element maxOccurs="1" minOccurs="1" name="RelationType"/> |
---|
69 | <xs:element maxOccurs="1" minOccurs="1" name="Res1"> |
---|
70 | <xs:complexType> |
---|
71 | <xs:attribute name="ref" type="xs:IDREF"/> |
---|
72 | </xs:complexType> |
---|
73 | </xs:element> |
---|
74 | <xs:element maxOccurs="1" minOccurs="1" name="Res2"> |
---|
75 | <xs:complexType> |
---|
76 | <xs:attribute name="ref" type="xs:IDREF"/> |
---|
77 | </xs:complexType> |
---|
78 | </xs:element> |
---|
79 | </xs:sequence> |
---|
80 | </xs:complexType> |
---|
81 | </xs:element> |
---|
82 | </xs:sequence> |
---|
83 | </xs:complexType> |
---|
84 | </xs:element> |
---|
85 | <xs:element minOccurs="0" name="IsPartOfList"> |
---|
86 | <xs:complexType> |
---|
87 | <xs:sequence> |
---|
88 | <xs:element maxOccurs="unbounded" minOccurs="0" name="IsPartOf" type="xs:anyURI"/> |
---|
89 | </xs:sequence> |
---|
90 | </xs:complexType> |
---|
91 | </xs:element> |
---|
92 | </xs:sequence> |
---|
93 | </xs:complexType> |
---|
94 | </xs:element> |
---|
95 | <xs:element name="Components"> |
---|
96 | <xs:complexType> |
---|
97 | <xs:sequence> |
---|
98 | <xs:any namespace="##targetNamespace" minOccurs="1" maxOccurs="unbounded" processContents="lax"/> |
---|
99 | </xs:sequence> |
---|
100 | </xs:complexType> |
---|
101 | </xs:element> |
---|
102 | </xs:sequence> |
---|
103 | <xs:attribute name="CMDVersion" fixed="1.1" use="required"/> |
---|
104 | </xs:complexType> |
---|
105 | </xs:element> |
---|
106 | </xs:schema> |
---|