source: RevitalizationWS/schemas/cim/trunk/src/main/resources/eu.metaforclimate/data.xsd @ 7450

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/RevitalizationWS/schemas/cim/trunk/src/main/resources/eu.metaforclimate/data.xsd@7450
Revision 7450, 30.3 KB checked in by mnagni, 10 years ago (diff)

Share project "cim" into " http://proj.badc.rl.ac.uk/svn/ndg/RevitalizationWS"

  • Property svn:mime-type set to text/plain
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- data.xsd -->       
3<!-- generated: 23 August 2010, 9:24 -->       
4<xs:schema
5             elementFormDefault="qualified" attributeFormDefault="unqualified"
6             xmlns:xs="http://www.w3.org/2001/XMLSchema"
7             xmlns:xlink="http://www.w3.org/1999/xlink"
8             xmlns:gml="http://www.opengis.net/gml/3.2"
9             xmlns:gmd="http://www.isotc211.org/2005/gmd"
10            xmlns="http://www.metaforclimate.eu/schema/cim/1.5"
11            targetNamespace="http://www.metaforclimate.eu/schema/cim/1.5">       
12<!-- these relative paths could really be URLs, but accessing them online cripples performance -->       
13<xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
14           namespace="http://www.w3.org/1999/xlink"
15           schemaLocation="../external_schemas/xlink/1.0.0/xlinks.xsd"/>
16<xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
17           namespace="http://www.opengis.net/gml/3.2"
18           schemaLocation="../external_schemas/gml/3.2.1/gml.xsd"/>
19<xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema"
20           namespace="http://www.isotc211.org/2005/gmd"
21           schemaLocation="../external_schemas/iso/19139/20070417/gmd/gmd.xsd"/>
22<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="activity.xsd"/>
23<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="grids.xsd"/>
24<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="quality.xsd"/>
25<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="shared.xsd"/>
26<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="software.xsd"/>
27<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FileStorage">
28   <xs:annotation>
29      <xs:documentation>Contains attributes to describe a DataObject stored as a single file.</xs:documentation>
30   </xs:annotation>
31                        <xs:complexContent>
32                        <xs:extension base="DataStorage">
33                    <xs:sequence>
34      <xs:element name="fileSystem" minOccurs="0" maxOccurs="1" type="xs:string"/>
35      <xs:element name="path" minOccurs="0" maxOccurs="1" type="xs:string"/>
36      <xs:element name="fileName" minOccurs="1" maxOccurs="1" type="xs:string"/>
37   </xs:sequence> 
38                            </xs:extension>
39                            </xs:complexContent>
40                        </xs:complexType>
41<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataFormatType" mixed="true">
42   <xs:annotation>
43      <xs:documentation>Describes the internal format of the dataset.</xs:documentation>
44   </xs:annotation>
45   <xs:sequence>
46      <xs:element name="vocabularyServer" minOccurs="0">
47         <xs:complexType>
48            <xs:sequence>
49               <xs:element name="vocabularyName" type="xs:string"/>
50               <xs:element name="vocabularyVersion" minOccurs="0" type="version"/>
51               <xs:element name="vocabularyDetails" type="xs:string" minOccurs="0">
52                  <xs:annotation>
53                     <xs:documentation>information about how to access the vocabulary
54                                    </xs:documentation>
55                  </xs:annotation>
56               </xs:element>
57            </xs:sequence>
58            <xs:attribute name="href" type="xs:anyURI"/>
59         </xs:complexType>
60      </xs:element>
61   </xs:sequence>
62   <xs:attribute name="value" type="DataFormatType_Enumeration" use="required"/>
63</xs:complexType>
64<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataFormatType_Enumeration">
65   <xs:restriction base="xs:string">
66      <xs:enumeration value="Excel"/>
67      <xs:enumeration value="HDF"/>
68      <xs:enumeration value="NetCDF"/>
69      <xs:enumeration value="GRIB 1"/>
70      <xs:enumeration value="GRIB 2"/>
71      <xs:enumeration value="PP"/>
72      <xs:enumeration value="ASCII"/>
73      <xs:enumeration value="HDF EOS"/>
74      <xs:enumeration value="NCEP ON29"/>
75      <xs:enumeration value="NCEP ON129"/>
76      <xs:enumeration value="Binary"/>
77      <xs:enumeration value="Other"/>
78   </xs:restriction>
79</xs:simpleType>
80<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataTopic">
81   <xs:annotation>
82      <xs:documentation>Describes the content  of a data object; the variable's name, units, etc.</xs:documentation>
83   </xs:annotation>
84   <xs:sequence>
85      <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string"/>
86      <xs:element name="standardName" minOccurs="0" maxOccurs="unbounded" type="StandardName"/>
87      <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
88      <xs:element name="unit" minOccurs="0" maxOccurs="1" type="UnitType"/>
89   </xs:sequence>
90</xs:complexType>
91<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataRestriction">
92   <xs:annotation>
93      <xs:documentation>An access or use restriction on some element of the DataObject's actual data.</xs:documentation>
94   </xs:annotation>
95   <xs:sequence>
96      <xs:element name="restriction" minOccurs="0" maxOccurs="1"
97                  type="gmd:MD_RestrictionCode_PropertyType"/>
98      <xs:element name="license" minOccurs="0" maxOccurs="1" type="License"/>
99   </xs:sequence>
100   <xs:attribute name="restrictionScope" use="optional" type="DataRestrictionScopeType">
101      <xs:annotation>
102         <xs:documentation>The thing (data or metadata, access or use) that this restriction is applied to.</xs:documentation>
103      </xs:annotation>
104   </xs:attribute>
105</xs:complexType>
106<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataStorage" abstract="true">
107   <xs:annotation>
108      <xs:documentation>Describes the method that the DataObject is stored. An abstract class with specific child classes for each supported method.</xs:documentation>
109   </xs:annotation>
110   <xs:sequence>
111      <xs:element name="dataSize" minOccurs="0" maxOccurs="1" type="xs:integer"/>
112      <xs:element name="dataFormat" minOccurs="0" maxOccurs="1" type="DataFormatType"/>
113      <xs:element name="modificationDate" minOccurs="0" maxOccurs="1" type="xs:dateTime">
114         <xs:annotation>
115            <xs:documentation>The date that the file (or other storage medium) has been updated</xs:documentation>
116         </xs:annotation>
117      </xs:element>
118   </xs:sequence>
119   <xs:attribute name="dataLocation" use="optional" type="xs:anyURI">
120      <xs:annotation>
121         <xs:documentation>Points to the actual location of the data (used to be dataURI, a feature of DataObject).</xs:documentation>
122      </xs:annotation>
123   </xs:attribute>
124</xs:complexType>
125<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DbStorage">
126   <xs:annotation>
127      <xs:documentation>Contains attributes to describe a DataObject being stored in a database.</xs:documentation>
128   </xs:annotation>
129                        <xs:complexContent>
130                        <xs:extension base="DataStorage">
131                    <xs:sequence>
132      <xs:element name="dbAccessString" minOccurs="0" maxOccurs="1" type="xs:string"/>
133      <xs:element name="dbName" minOccurs="1" maxOccurs="1" type="xs:string"/>
134      <xs:element name="owner" minOccurs="0" maxOccurs="1" type="xs:string"/>
135      <xs:element name="dbTable" minOccurs="0" maxOccurs="1" type="xs:string"/>
136   </xs:sequence> 
137                            </xs:extension>
138                            </xs:complexContent>
139                        </xs:complexType>
140<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataStatusType">
141   <xs:restriction base="xs:string">
142      <xs:enumeration value="complete">
143         <xs:annotation>
144            <xs:documentation>This DataObject is complete.</xs:documentation>
145         </xs:annotation>
146      </xs:enumeration>
147      <xs:enumeration value="metadataOnly">
148         <xs:annotation>
149            <xs:documentation>This DataObject is incomplete - it is described in metadata but the actual data has not yet been linked to it.</xs:documentation>
150         </xs:annotation>
151      </xs:enumeration>
152      <xs:enumeration value="continuouslySupplemented">
153         <xs:annotation>
154            <xs:documentation>This DataObject's actual data is continuously updated.</xs:documentation>
155         </xs:annotation>
156      </xs:enumeration>
157   </xs:restriction>
158</xs:simpleType>
159<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataHierarchyType" mixed="true">
160   <xs:annotation>
161      <xs:documentation>The type of data object that is grouped together into a particular hierarchy.  Currently, this is made up of terms describing how the Met Office splits up archived data and how THREDDS categorises variables.</xs:documentation>
162   </xs:annotation>
163   <xs:sequence>
164      <xs:element name="vocabularyServer" minOccurs="0">
165         <xs:complexType>
166            <xs:sequence>
167               <xs:element name="vocabularyName" type="xs:string"/>
168               <xs:element name="vocabularyVersion" minOccurs="0" type="version"/>
169               <xs:element name="vocabularyDetails" type="xs:string" minOccurs="0">
170                  <xs:annotation>
171                     <xs:documentation>information about how to access the vocabulary
172                                    </xs:documentation>
173                  </xs:annotation>
174               </xs:element>
175            </xs:sequence>
176            <xs:attribute name="href" type="xs:anyURI"/>
177         </xs:complexType>
178      </xs:element>
179   </xs:sequence>
180   <xs:attribute name="value" type="DataHierarchyType_Enumeration" use="required"/>
181</xs:complexType>
182<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataHierarchyType_Enumeration">
183   <xs:restriction base="xs:string">
184      <xs:enumeration value="run"/>
185      <xs:enumeration value="stream"/>
186      <xs:enumeration value="institute"/>
187      <xs:enumeration value="product"/>
188      <xs:enumeration value="model"/>
189      <xs:enumeration value="experiment"/>
190      <xs:enumeration value="frequency"/>
191      <xs:enumeration value="realm"/>
192      <xs:enumeration value="variable"/>
193      <xs:enumeration value="ensembleMember"/>
194      <xs:enumeration value="Other"/>
195   </xs:restriction>
196</xs:simpleType>
197<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataDistribution">
198   <xs:annotation>
199      <xs:documentation>Describes how a DataObject is distributed.</xs:documentation>
200   </xs:annotation>
201   <xs:sequence>
202      <xs:element name="distributionFee" minOccurs="0" maxOccurs="1" type="xs:string"/>
203      <xs:element name="distributionFormat" minOccurs="0" maxOccurs="1" type="DataFormatType"/>
204      <xs:element name="responsibleParty" minOccurs="0" maxOccurs="1" type="ResponsibleParty"/>
205   </xs:sequence>
206   <xs:attribute name="distributionAccess" use="optional" type="DataAccessType"/>
207</xs:complexType>
208<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataObject">
209   <xs:annotation>
210      <xs:documentation>A DataObject describes a unit of data.  DataObjects can be grouped hierarchically.  The attributes hierarchyLevelName and hierarchyLevelValue describe how objects are grouped.  </xs:documentation>
211   </xs:annotation>
212                        <xs:complexContent>
213                        <xs:extension base="DataSource">
214                    <xs:sequence>
215      <xs:element name="acronym" minOccurs="1" maxOccurs="1" type="xs:string"/>
216      <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
217      <xs:element name="hierarchyLevelName" minOccurs="0" maxOccurs="1" type="DataHierarchyType">
218         <xs:annotation>
219            <xs:documentation>What level in the data hierarchy (constructed by the self-referential parent/child aggregations) is this DataObject.</xs:documentation>
220         </xs:annotation>
221      </xs:element>
222      <xs:element name="hierarchyLevelValue" minOccurs="0" maxOccurs="1" type="PropertyValue">
223         <xs:annotation>
224            <xs:documentation>What is the name of the specific HierarchyLevel this DataObject is being organised at (ie: if the HierarchyLevel is "run" then the name might be the runid).</xs:documentation>
225         </xs:annotation>
226      </xs:element>
227      <xs:element name="keyword" minOccurs="0" maxOccurs="1" type="xs:string">
228         <xs:annotation>
229            <xs:documentation>Descriptive keyword used when searching for DataObjects (this is not the same as shortName / longName / description).</xs:documentation>
230         </xs:annotation>
231      </xs:element>
232      <xs:element name="geometryModel" minOccurs="0" maxOccurs="1">
233         <xs:complexType>
234            <xs:choice>
235               <xs:element name="reference">
236                  <xs:complexType>
237                     <xs:sequence>
238                        <xs:element name="id" minOccurs="0" maxOccurs="1" type="guid">
239                           <xs:annotation>
240                              <xs:documentation>the ID of the element being referenced.</xs:documentation>
241                           </xs:annotation>
242                        </xs:element>
243                        <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string">
244                           <xs:annotation>
245                              <xs:documentation>The name of the instance being referenced.</xs:documentation>
246                           </xs:annotation>
247                        </xs:element>
248                        <xs:element name="type" minOccurs="0" maxOccurs="1" type="xs:string">
249                           <xs:annotation>
250                              <xs:documentation>The type of item being referenced (should correspond to the name of the referenced XML element).</xs:documentation>
251                           </xs:annotation>
252                        </xs:element>
253                        <xs:element name="version" minOccurs="0" maxOccurs="1" type="version">
254                           <xs:annotation>
255                              <xs:documentation>The version of the element being referenced.</xs:documentation>
256                           </xs:annotation>
257                        </xs:element>
258                        <xs:element name="externalID" minOccurs="0" maxOccurs="unbounded" type="StandardName">
259                           <xs:annotation>
260                              <xs:documentation>A non-CIM (non-GUID) id used to reference the element in question.</xs:documentation>
261                           </xs:annotation>
262                        </xs:element>
263                        <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string">
264                           <xs:annotation>
265                              <xs:documentation>A description of the element being referenced, in the context of the current class.</xs:documentation>
266                           </xs:annotation>
267                        </xs:element>
268                        <xs:element name="change" minOccurs="0" maxOccurs="unbounded" type="Change">
269                           <xs:annotation>
270                              <xs:documentation>An optional description of how the item being referenced has been modified.  This is particularly useful for dealing with Ensembles (a set of simulations where something about each simulation has changed) or Conformances.</xs:documentation>
271                           </xs:annotation>
272                        </xs:element>
273                     </xs:sequence>
274                     <xs:attribute ref="xlink:href" use="optional"/>
275                  </xs:complexType>
276               </xs:element>
277               <xs:element name="geometryModel" type="gml:AbstractGeometryType"/>
278            </xs:choice>
279         </xs:complexType>
280      </xs:element>
281      <xs:element name="dataProperty" minOccurs="0" maxOccurs="unbounded" type="DataProperty">
282         <xs:annotation>
283            <xs:documentation>May not be used</xs:documentation>
284         </xs:annotation>
285      </xs:element>
286      <xs:element name="restriction" minOccurs="0" maxOccurs="unbounded" type="DataRestriction"/>
287      <!-- this is an abstract class --><xs:element name="storage" minOccurs="0" maxOccurs="unbounded">
288         <xs:complexType>
289            <xs:choice minOccurs="1" maxOccurs="1">
290               <xs:element name="fileStorage" type="FileStorage"/>
291               <xs:element name="dbStorage" type="DbStorage"/>
292               <xs:element name="ipStorage" type="IpStorage"/>
293            </xs:choice>
294         </xs:complexType>
295      </xs:element>
296      <xs:element name="distribution" minOccurs="1" maxOccurs="1" type="DataDistribution"/>
297      <xs:element name="childObject" minOccurs="0" maxOccurs="unbounded">
298         <xs:complexType>
299            <xs:choice>
300               <xs:element name="reference">
301                  <xs:complexType>
302                     <xs:sequence>
303                        <xs:element name="id" minOccurs="0" maxOccurs="1" type="guid">
304                           <xs:annotation>
305                              <xs:documentation>the ID of the element being referenced.</xs:documentation>
306                           </xs:annotation>
307                        </xs:element>
308                        <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string">
309                           <xs:annotation>
310                              <xs:documentation>The name of the instance being referenced.</xs:documentation>
311                           </xs:annotation>
312                        </xs:element>
313                        <xs:element name="type" minOccurs="0" maxOccurs="1" type="xs:string">
314                           <xs:annotation>
315                              <xs:documentation>The type of item being referenced (should correspond to the name of the referenced XML element).</xs:documentation>
316                           </xs:annotation>
317                        </xs:element>
318                        <xs:element name="version" minOccurs="0" maxOccurs="1" type="version">
319                           <xs:annotation>
320                              <xs:documentation>The version of the element being referenced.</xs:documentation>
321                           </xs:annotation>
322                        </xs:element>
323                        <xs:element name="externalID" minOccurs="0" maxOccurs="unbounded" type="StandardName">
324                           <xs:annotation>
325                              <xs:documentation>A non-CIM (non-GUID) id used to reference the element in question.</xs:documentation>
326                           </xs:annotation>
327                        </xs:element>
328                        <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string">
329                           <xs:annotation>
330                              <xs:documentation>A description of the element being referenced, in the context of the current class.</xs:documentation>
331                           </xs:annotation>
332                        </xs:element>
333                        <xs:element name="change" minOccurs="0" maxOccurs="unbounded" type="Change">
334                           <xs:annotation>
335                              <xs:documentation>An optional description of how the item being referenced has been modified.  This is particularly useful for dealing with Ensembles (a set of simulations where something about each simulation has changed) or Conformances.</xs:documentation>
336                           </xs:annotation>
337                        </xs:element>
338                     </xs:sequence>
339                     <xs:attribute ref="xlink:href" use="optional"/>
340                  </xs:complexType>
341               </xs:element>
342               <xs:element ref="dataObject"/>
343            </xs:choice>
344         </xs:complexType>
345      </xs:element>
346      <xs:element name="parentObject" minOccurs="0" maxOccurs="1">
347         <xs:complexType>
348            <xs:choice>
349               <xs:element name="reference">
350                  <xs:complexType>
351                     <xs:sequence>
352                        <xs:element name="id" minOccurs="0" maxOccurs="1" type="guid">
353                           <xs:annotation>
354                              <xs:documentation>the ID of the element being referenced.</xs:documentation>
355                           </xs:annotation>
356                        </xs:element>
357                        <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string">
358                           <xs:annotation>
359                              <xs:documentation>The name of the instance being referenced.</xs:documentation>
360                           </xs:annotation>
361                        </xs:element>
362                        <xs:element name="type" minOccurs="0" maxOccurs="1" type="xs:string">
363                           <xs:annotation>
364                              <xs:documentation>The type of item being referenced (should correspond to the name of the referenced XML element).</xs:documentation>
365                           </xs:annotation>
366                        </xs:element>
367                        <xs:element name="version" minOccurs="0" maxOccurs="1" type="version">
368                           <xs:annotation>
369                              <xs:documentation>The version of the element being referenced.</xs:documentation>
370                           </xs:annotation>
371                        </xs:element>
372                        <xs:element name="externalID" minOccurs="0" maxOccurs="unbounded" type="StandardName">
373                           <xs:annotation>
374                              <xs:documentation>A non-CIM (non-GUID) id used to reference the element in question.</xs:documentation>
375                           </xs:annotation>
376                        </xs:element>
377                        <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string">
378                           <xs:annotation>
379                              <xs:documentation>A description of the element being referenced, in the context of the current class.</xs:documentation>
380                           </xs:annotation>
381                        </xs:element>
382                        <xs:element name="change" minOccurs="0" maxOccurs="unbounded" type="Change">
383                           <xs:annotation>
384                              <xs:documentation>An optional description of how the item being referenced has been modified.  This is particularly useful for dealing with Ensembles (a set of simulations where something about each simulation has changed) or Conformances.</xs:documentation>
385                           </xs:annotation>
386                        </xs:element>
387                     </xs:sequence>
388                     <xs:attribute ref="xlink:href" use="optional"/>
389                  </xs:complexType>
390               </xs:element>
391               <xs:element ref="dataObject"/>
392            </xs:choice>
393         </xs:complexType>
394      </xs:element>
395      <xs:element name="citation" minOccurs="0" maxOccurs="1" type="DataCitation"/>
396      <xs:element name="content" minOccurs="0" maxOccurs="unbounded" type="DataContent"/>
397      <xs:element name="extent" minOccurs="0" maxOccurs="1" type="DataExtent"/>
398   </xs:sequence>
399   <xs:attribute name="dataStatus" use="required" type="DataStatusType">
400      <xs:annotation>
401         <xs:documentation>The current status of the data - is it complete, or is this metadata description all that is available, or is the data continuously supplemented.</xs:documentation>
402      </xs:annotation>
403   </xs:attribute> 
404                            </xs:extension>
405                            </xs:complexContent>
406                        </xs:complexType>
407<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="dataObject">
408   <xs:annotation>
409      <xs:documentation>A DataObject describes a unit of data.  DataObjects can be grouped hierarchically.  The attributes hierarchyLevelName and hierarchyLevelValue describe how objects are grouped.  </xs:documentation>
410   </xs:annotation>
411   <xs:complexType>
412      <xs:complexContent>
413         <xs:extension base="DataObject">
414            <xs:sequence>
415               <xs:element name="documentID" minOccurs="1" maxOccurs="1" type="guid">
416                  <xs:annotation>
417                     <xs:documentation>a unique indentifier for this document</xs:documentation>
418                  </xs:annotation>
419               </xs:element>
420               <xs:element name="documentVersion" minOccurs="1" maxOccurs="1" type="version"/>
421               <xs:element name="metadataID" minOccurs="0" maxOccurs="1" type="xs:anyURI"/>
422               <xs:element name="metadataVersion" minOccurs="0" maxOccurs="1" type="version"/>
423               <xs:element name="externalID" minOccurs="0" maxOccurs="unbounded" type="StandardName">
424                  <xs:annotation>
425                     <xs:documentation>The id of this document as referenced by an external body (ie: DOI, or even IPSL)</xs:documentation>
426                  </xs:annotation>
427               </xs:element>
428               <xs:element name="documentAuthor" minOccurs="0" maxOccurs="1" type="ResponsibleParty">
429                  <xs:annotation>
430                     <xs:documentation>A contact for the author of this <i>document </i>(as opposed to the author of the artifact being described by this document; ie: the simulation or component or whatever).</xs:documentation>
431                  </xs:annotation>
432               </xs:element>
433               <xs:element name="documentCreationDate" minOccurs="1" maxOccurs="1" type="xs:dateTime">
434                  <xs:annotation>
435                     <xs:documentation>The date the <i>document </i>was created.</xs:documentation>
436                  </xs:annotation>
437               </xs:element>
438               <xs:element name="documentGenealogy" minOccurs="0" maxOccurs="1" type="Genealogy">
439                  <xs:annotation>
440                     <xs:documentation>Specifies the relationship of this document with another document. Various relationship types (depending on the type of document; ie: simulation, component, etc.) are supported.</xs:documentation>
441                  </xs:annotation>
442               </xs:element>
443               <xs:element name="quality" minOccurs="0" maxOccurs="unbounded" type="Quality">
444                  <xs:annotation>
445                     <xs:documentation>a (set of) quality record(s) for this document.</xs:documentation>
446                  </xs:annotation>
447               </xs:element>
448            </xs:sequence>
449            <xs:attribute name="documentStatus" use="optional" type="DocumentStatusType"/>
450         </xs:extension>
451      </xs:complexContent>
452   </xs:complexType>
453</xs:element>
454<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataCitation">
455   <xs:annotation>
456      <xs:documentation>A description of references to this data from the scientific literature; like ISO: MD_ContentInformation</xs:documentation>
457   </xs:annotation>
458   <xs:sequence>
459      <xs:element name="abstract" minOccurs="0" maxOccurs="1" type="xs:string"/>
460      <xs:element name="citation" minOccurs="1" maxOccurs="1" type="gmd:CI_Citation_PropertyType"/>
461   </xs:sequence>
462</xs:complexType>
463<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataContent">
464   <xs:annotation>
465      <xs:documentation>The contents of the data object; like ISO: MD_ContentInformation.</xs:documentation>
466   </xs:annotation>
467                        <xs:complexContent>
468                        <xs:extension base="DataSource">
469                    <xs:sequence>
470      <xs:element name="topic" minOccurs="1" maxOccurs="1" type="DataTopic"/>
471      <xs:element name="aggregation" minOccurs="0" maxOccurs="1" type="xs:string">
472         <xs:annotation>
473            <xs:documentation>Describes how the content has been aggregated together: sum, min, mean, max, ...</xs:documentation>
474         </xs:annotation>
475      </xs:element>
476      <xs:element name="frequency" minOccurs="0" maxOccurs="1" type="FrequencyType">
477         <xs:annotation>
478            <xs:documentation>Describes the frequency of the data content: daily, hourly, ...</xs:documentation>
479         </xs:annotation>
480      </xs:element>
481      <xs:element name="citation" minOccurs="0" maxOccurs="unbounded" type="DataCitation"/>
482   </xs:sequence> 
483                            </xs:extension>
484                            </xs:complexContent>
485                        </xs:complexType>
486<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataAccessType">
487   <xs:restriction base="xs:string">
488      <xs:enumeration value="CD-ROM"/>
489      <xs:enumeration value="DiskDB"/>
490      <xs:enumeration value="DVD"/>
491      <xs:enumeration value="Microfiche"/>
492      <xs:enumeration value="OnlineFileHTTP"/>
493      <xs:enumeration value="OnlineFileFTP"/>
494   </xs:restriction>
495</xs:simpleType>
496<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataProperty">
497   <xs:annotation>
498      <xs:documentation>A property of a DataObject.  Currently this is intended to be used to record CF specific information (like packing, scaling, etc.) for OASIS4.</xs:documentation>
499   </xs:annotation>
500                        <xs:complexContent>
501                        <xs:extension base="Property">
502                    <xs:sequence>
503      <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string"/>
504   </xs:sequence> 
505                            </xs:extension>
506                            </xs:complexContent>
507                        </xs:complexType>
508<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataRestrictionScopeType">
509   <xs:restriction base="xs:string">
510      <xs:enumeration value="metadataAccessConstraint"/>
511      <xs:enumeration value="metadataUseConstraint"/>
512      <xs:enumeration value="dataAccessConstraint"/>
513      <xs:enumeration value="dataUseConstraint"/>
514   </xs:restriction>
515</xs:simpleType>
516<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DataExtent">
517   <xs:annotation>
518      <xs:documentation>Records the geographic (horizontal and vertical) and temporal extent of the DataObject.  </xs:documentation>
519   </xs:annotation>
520                                <xs:complexContent>
521                                <xs:extension base="gmd:EX_Extent_PropertyType">
522                            <xs:sequence/> 
523                            </xs:extension>
524                            </xs:complexContent>
525                        </xs:complexType>
526<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="IpStorage">
527                        <xs:complexContent>
528                        <xs:extension base="DataStorage">
529                    <xs:sequence>
530      <xs:element name="protocol" minOccurs="0" maxOccurs="1" type="xs:string"/>
531      <xs:element name="host" minOccurs="0" maxOccurs="1" type="xs:string"/>
532      <xs:element name="path" minOccurs="0" maxOccurs="1" type="xs:string"/>
533      <xs:element name="fileName" minOccurs="1" maxOccurs="1" type="xs:string"/>
534   </xs:sequence> 
535                            </xs:extension>
536                            </xs:complexContent>
537                        </xs:complexType>       
538</xs:schema>
Note: See TracBrowser for help on using the repository browser.