Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-io / src / main / resources / schema / cdm / cdm.xsd @ fbeefcaf

History | View | Annotate | Download (10.4 KB)

1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
<xs:schema elementFormDefault="qualified" version="1.0" 
3
targetNamespace="http://etaxonomy.eu/cdm/model/1.0" 
4
xmlns="http://etaxonomy.eu/cdm/model/1.0"
5
xmlns:common="http://etaxonomy.eu/cdm/model/common/1.0" 
6
xmlns:description="http://etaxonomy.eu/cdm/model/description/1.0" 
7
xmlns:occurrence="http://etaxonomy.eu/cdm/model/occurrence/1.0"
8
xmlns:location="http://etaxonomy.eu/cdm/model/location/1.0"
9
xmlns:molecular="http://etaxonomy.eu/cdm/model/molecular/1.0"
10
xmlns:xs="http://www.w3.org/2001/XMLSchema"
11
xmlns:name="http://etaxonomy.eu/cdm/model/name/1.0"
12
xmlns:agent="http://etaxonomy.eu/cdm/model/agent/1.0"
13
xmlns:media="http://etaxonomy.eu/cdm/model/media/1.0"
14
xmlns:reference="http://etaxonomy.eu/cdm/model/reference/1.0"
15
xmlns:taxon="http://etaxonomy.eu/cdm/model/taxon/1.0"
16
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
17
xsi:schemaLocation="http://www.w3.org/XML/1998/namespace
18
http://www.w3.org/2005/08/xml.xsd
19
http://www.w3.org/2001/XMLSchema
20
  http://www.w3.org/2001/XMLSchema.xsd">
21

    
22
  <xs:import namespace="http://etaxonomy.eu/cdm/model/description/1.0" schemaLocation="description.xsd"/>
23

    
24
  <xs:import namespace="http://etaxonomy.eu/cdm/model/common/1.0" schemaLocation="common.xsd"/>
25

    
26
  <xs:import namespace="http://etaxonomy.eu/cdm/model/location/1.0" schemaLocation="location.xsd"/>
27

    
28
  <xs:import namespace="http://etaxonomy.eu/cdm/model/occurrence/1.0" schemaLocation="occurrence.xsd"/>
29

    
30
  <xs:import namespace="http://etaxonomy.eu/cdm/model/name/1.0" schemaLocation="name.xsd"/>
31

    
32
  <xs:import namespace="http://etaxonomy.eu/cdm/model/agent/1.0" schemaLocation="agent.xsd"/>
33

    
34
  <xs:import namespace="http://etaxonomy.eu/cdm/model/media/1.0" schemaLocation="media.xsd"/>
35

    
36
  <xs:import namespace="http://etaxonomy.eu/cdm/model/taxon/1.0" schemaLocation="taxon.xsd"/>
37

    
38
  <xs:import namespace="http://etaxonomy.eu/cdm/model/molecular/1.0" schemaLocation="molecular.xsd"/>
39

    
40
  <xs:import namespace="http://etaxonomy.eu/cdm/model/reference/1.0" schemaLocation="reference.xsd"/>
41

    
42
  <xs:element name="DataSet" type="DataSet"/>
43
  
44
  <xs:element name="Error" type="Error"/>
45
  
46
  <xs:complexType name="Error">
47
    <xs:sequence>
48
      <xs:element name="Code" type="xs:string" minOccurs="1"/>
49
      <xs:element name="Message" type="xs:string" minOccurs="1"/>
50
      <xs:element name="Resource" type="xs:anyURI"/>
51
      <xs:element name="Cause" type="xs:string" minOccurs="0"/>
52
      <xs:element name="StackTrace" minOccurs="0">
53
        <xs:complexType>
54
          <xs:sequence>
55
            <xs:element name="StackTraceElement" type="xs:string"/>
56
          </xs:sequence>
57
        </xs:complexType>
58
      </xs:element>
59
    </xs:sequence>
60
    <xs:attribute name="status" type="xs:int"/>
61
  </xs:complexType>
62

    
63
  <xs:complexType name="DataSet">
64
    <xs:sequence>
65
      <xs:element name="Terms" minOccurs="0">
66
        <xs:complexType>
67
          <xs:sequence>
68
            <xs:choice minOccurs="0" maxOccurs="unbounded">
69
              <xs:element ref="description:AbsenceTerm"/>
70
              <xs:element ref="common:AnnotationType"/>
71
              <xs:element ref="occurrence:DerivationEventType"/>
72
              <xs:element ref="occurrence:DeterminationModifier"/>
73
              <xs:element ref="common:ExtensionType"/>
74
              <xs:element ref="description:Feature"/>
75
              <xs:element ref="name:HybridRelationshipType"/>
76
              <xs:element ref="common:Language"/>
77
              <xs:element ref="common:MarkerType"/>
78
              <xs:element ref="description:MeasurementUnit"/>
79
              <xs:element ref="description:Modifier"/>
80
              <xs:element ref="location:NamedArea"/>
81
              <xs:element ref="location:NamedAreaLevel"/>
82
              <xs:element ref="location:NamedAreaType"/>
83
              <xs:element ref="name:NameRelationshipType"/>
84
              <xs:element ref="name:NameTypeDesignationStatus"/>
85
              <xs:element ref="name:NomenclaturalCode"/>
86
              <xs:element ref="name:NomenclaturalStatusType"/>
87
              <xs:element ref="description:PresenceTerm"/>
88
              <xs:element ref="occurrence:PreservationMethod"/>
89
              <xs:element ref="name:Rank"/>
90
              <xs:element ref="location:ReferenceSystem"/>
91
              <xs:element ref="media:RightsType"/>
92
              <xs:element ref="description:Scope"/>
93
              <xs:element ref="description:Sex"/>
94
              <xs:element ref="name:SpecimenTypeDesignationStatus"/>
95
              <xs:element ref="description:Stage"/>
96
              <xs:element ref="description:State"/>
97
              <xs:element ref="description:StatisticalMeasure"/>
98
              <xs:element ref="taxon:SynonymType"/>
99
              <xs:element ref="taxon:TaxonRelationshipType"/>
100
              <xs:element ref="description:TextFormat"/>
101
              <xs:element ref="location:Country"/>
102
            </xs:choice>
103
          </xs:sequence>
104
        </xs:complexType>
105
      </xs:element>
106
      <xs:element name="TermVocabularies" minOccurs="0">
107
        <xs:complexType>
108
          <xs:sequence>
109
            <xs:choice minOccurs="0" maxOccurs="unbounded">
110
              <xs:element ref="common:TermVocabulary"/>
111
              <xs:element ref="common:OrderedTermVocabulary"/>
112
            </xs:choice>
113
          </xs:sequence>
114
        </xs:complexType>
115
      </xs:element>
116
      <xs:element name="Agents" minOccurs="0">
117
        <xs:complexType>
118
          <xs:sequence>
119
            <xs:choice minOccurs="0" maxOccurs="unbounded">
120
              <xs:element ref="agent:Team"/>
121
              <xs:element ref="agent:Institution"/>
122
              <xs:element ref="agent:Person"/>
123
            </xs:choice>
124
          </xs:sequence>
125
        </xs:complexType>
126
      </xs:element>
127
      <xs:element name="Collections" minOccurs="0">
128
        <xs:complexType>
129
          <xs:sequence>
130
            <xs:element ref="occurrence:Collection" minOccurs="0" maxOccurs="unbounded"/>
131
          </xs:sequence>
132
        </xs:complexType>
133
      </xs:element>
134
      <xs:element name="Occurrences" minOccurs="0">
135
        <xs:complexType>
136
          <xs:sequence>
137
            <xs:choice minOccurs="0" maxOccurs="unbounded">
138
              <xs:element ref="occurrence:DerivedUnit"/>
139
              <xs:element ref="occurrence:DnaSample"/>
140
              <xs:element ref="occurrence:FieldUnit"/>
141
            </xs:choice>
142
          </xs:sequence>
143
        </xs:complexType>
144
      </xs:element>
145
      <xs:element name="EventBases" minOccurs="0">
146
        <xs:complexType>
147
          <xs:sequence>
148
            <xs:choice minOccurs="0" maxOccurs="unbounded">
149
              <xs:element ref="occurrence:DerivationEvent"/>
150
              <xs:element ref="occurrence:GatheringEvent"/>
151
            </xs:choice>
152
          </xs:sequence>
153
        </xs:complexType>
154
      </xs:element>
155
      <xs:element name="References" minOccurs="0">
156
        <xs:complexType>
157
          <xs:sequence>
158
            <xs:element ref="reference:ReferenceBase" minOccurs="0" maxOccurs="unbounded"/>
159
          </xs:sequence>
160
        </xs:complexType>
161
      </xs:element>
162
      <xs:element name="TypeDesignations" minOccurs="0">
163
        <xs:complexType>
164
          <xs:sequence>
165
            <xs:choice minOccurs="0" maxOccurs="unbounded">
166
              <xs:element ref="name:NameTypeDesignation"/>
167
              <xs:element ref="name:SpecimenTypeDesignation"/>
168
            </xs:choice>
169
          </xs:sequence>
170
        </xs:complexType>
171
      </xs:element>
172
      <xs:element name="FeatureTrees" minOccurs="0">
173
        <xs:complexType>
174
          <xs:sequence>
175
            <xs:choice minOccurs="0" maxOccurs="unbounded">
176
              <xs:element ref="description:FeatureTree" />
177
              <xs:element ref="description:PolytomousKey"/>
178
            </xs:choice>
179
          </xs:sequence>
180
        </xs:complexType>
181
      </xs:element>
182
      <xs:element name="Classification" minOccurs="0">
183
        <xs:complexType>
184
          <xs:sequence>
185
            <xs:element ref="taxon:Classification" minOccurs="0" maxOccurs="unbounded"/>
186
          </xs:sequence>
187
        </xs:complexType>
188
      </xs:element>
189
      <xs:element name="TaxonomicNames" minOccurs="0">
190
        <xs:complexType>
191
          <xs:sequence>
192
            <xs:choice minOccurs="0" maxOccurs="unbounded">
193
              <xs:element ref="name:BacterialName"/>
194
              <xs:element ref="name:BotanicalName"/>
195
              <xs:element ref="name:CultivarPlantName"/>
196
              <xs:element ref="name:NonViralName"/>
197
              <xs:element ref="name:ViralName"/>
198
              <xs:element ref="name:ZoologicalName"/>
199
            </xs:choice>
200
          </xs:sequence>
201
        </xs:complexType>
202
      </xs:element>
203
      <xs:element name="HomotypicalGroups" minOccurs="0">
204
        <xs:complexType>
205
          <xs:sequence>
206
            <xs:element ref="name:HomotypicalGroup" minOccurs="0" maxOccurs="unbounded"/>
207
          </xs:sequence>
208
        </xs:complexType>
209
      </xs:element>
210
      <xs:element name="TaxonBases" minOccurs="0">
211
        <xs:complexType>
212
          <xs:sequence>
213
            <xs:choice minOccurs="0" maxOccurs="unbounded">
214
              <xs:element ref="taxon:Taxon"/>
215
              <xs:element ref="taxon:Synonym"/>
216
            </xs:choice>
217
          </xs:sequence>
218
        </xs:complexType>
219
      </xs:element>
220
      <xs:element name="Media" minOccurs="0">
221
        <xs:complexType>
222
          <xs:sequence>
223
            <xs:choice minOccurs="0" maxOccurs="unbounded">
224
              <xs:element ref="media:Media"/>
225
              <xs:element ref="description:MediaKey"/>
226
              <xs:element ref="common:Figure"/>
227
              <xs:element ref="molecular:PhylogeneticTree"/>
228
            </xs:choice>
229
          </xs:sequence>
230
        </xs:complexType>
231
      </xs:element>
232
      <xs:element name="Users" minOccurs="0">
233
        <xs:complexType>
234
          <xs:sequence>
235
            <xs:element ref="common:User" minOccurs="0" maxOccurs="unbounded"/>
236
          </xs:sequence>
237
        </xs:complexType>
238
      </xs:element>
239
      <xs:element name="Groups" minOccurs="0">
240
        <xs:complexType>
241
          <xs:sequence>
242
            <xs:element ref="common:Group" minOccurs="0" maxOccurs="unbounded"/>
243
          </xs:sequence>
244
        </xs:complexType>
245
      </xs:element>
246
      <xs:element name="GrantedAuthorities" minOccurs="0">
247
        <xs:complexType>
248
          <xs:sequence>
249
            <xs:element ref="common:GrantedAuthority" minOccurs="0" maxOccurs="unbounded"/>
250
          </xs:sequence>
251
        </xs:complexType>
252
      </xs:element>
253
      <xs:element name="languageStrings" type="common:LanguageString" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
254
    </xs:sequence>
255
  </xs:complexType>
256
</xs:schema>
257

    
Add picture from clipboard (Maximum size: 40 MB)