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

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/RevitalizationWS/schemas/cim/trunk/src/main/resources/eu.metaforclimate/quality.xsd@7450
Revision 7450, 27.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<!-- quality.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="http://schemas.opengis.net/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="data.xsd"/>
24<xs:include xmlns:xs="http://www.w3.org/2001/XMLSchema" schemaLocation="grids.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:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="QualityStatusType">
28   <xs:restriction base="xs:string">
29      <xs:enumeration value="reported"/>
30      <xs:enumeration value="confirmed"/>
31      <xs:enumeration value="partially_resolved"/>
32      <xs:enumeration value="resolved"/>
33   </xs:restriction>
34</xs:simpleType>
35<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="LI_Linage" mixed="true">
36   <xs:annotation>
37      <xs:documentation>describes the processing steps applied to the data within the quality scope</xs:documentation>
38   </xs:annotation>
39   <xs:sequence/>
40</xs:complexType>
41<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MD_ScopeDescription">
42   <xs:restriction base="xs:string"/>
43</xs:simpleType>
44<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DQ_EvaluationMethodTypeCode">
45   <xs:restriction base="xs:string">
46      <xs:enumeration value="directInternal"/>
47      <xs:enumeration value="directExternal"/>
48      <xs:enumeration value="indirect"/>
49   </xs:restriction>
50</xs:simpleType>
51<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MD_Identifier">
52   <xs:restriction base="xs:string"/>
53</xs:simpleType>
54<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DQ_Result" abstract="true">
55   <xs:annotation>
56      <xs:documentation>Abstract result class; a result can either be an explicit quantitative value or a boolean value against a particular metric.</xs:documentation>
57   </xs:annotation>
58   <xs:sequence/>
59</xs:complexType>
60<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MD_ScopeCodeType">
61   <xs:restriction base="xs:string">
62      <xs:enumeration value="metadata*">
63         <xs:annotation>
64            <xs:documentation>This would cover quality issues with the CIM itself</xs:documentation>
65         </xs:annotation>
66      </xs:enumeration>
67      <xs:enumeration value="dataset"/>
68      <xs:enumeration value="software"/>
69      <xs:enumeration value="service"/>
70      <xs:enumeration value="model"/>
71      <xs:enumeration value="modelComponent*"/>
72      <xs:enumeration value="simulation*"/>
73      <xs:enumeration value="experiment*"/>
74      <xs:enumeration value="numericalRequirement*"/>
75      <xs:enumeration value="ensemble*"/>
76      <xs:enumeration value="file*"/>
77   </xs:restriction>
78</xs:simpleType>
79<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CI_DateTypeCode">
80   <xs:restriction base="xs:string">
81      <xs:enumeration value="creation"/>
82      <xs:enumeration value="publication"/>
83      <xs:enumeration value="revision"/>
84   </xs:restriction>
85</xs:simpleType>
86<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CIM_FeatureType" mixed="true">
87   <xs:sequence/>
88</xs:complexType>
89<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DQ_Element">
90   <xs:annotation>
91      <xs:documentation>aspect of quantitative quality information - within ISO 19115 it can be specified as:
92DQ_Completeness
93DQ_LogicalConsistency
94DQ_PositionalAccuracy
95DQ_ThematicAccuracy
96DQ_TemporalAccuracy
97These five entities represent elements of data quality and can be further subclasses to the subelements of data quality (e.g. DQ_LogicalConsitency -&gt; DQ_FormatConsistency).  ISO19115 specifically supports the addition of other elements and we will probably want to revisit this entire area and add METAFOR specific elements.</xs:documentation>
98   </xs:annotation>
99   <xs:sequence>
100      <xs:element name="nameOfMeasure" minOccurs="0" maxOccurs="unbounded" type="xs:string">
101         <xs:annotation>
102            <xs:documentation>name of the test applied to the data</xs:documentation>
103         </xs:annotation>
104      </xs:element>
105      <xs:element name="measureDescription" minOccurs="0" maxOccurs="1" type="xs:string">
106         <xs:annotation>
107            <xs:documentation>description of the measure</xs:documentation>
108         </xs:annotation>
109      </xs:element>
110      <xs:element name="evaluationMethodDescription" minOccurs="0" maxOccurs="1" type="xs:string">
111         <xs:annotation>
112            <xs:documentation>description of the evaluation method</xs:documentation>
113         </xs:annotation>
114      </xs:element>
115      <xs:element name="evaluationProcedure" minOccurs="0" maxOccurs="1"
116                  type="gmd:CI_Citation_PropertyType">
117         <xs:annotation>
118            <xs:documentation>reference to the evaluation procedure</xs:documentation>
119         </xs:annotation>
120      </xs:element>
121      <xs:element name="dateTime" minOccurs="0" maxOccurs="unbounded" type="xs:dateTime">
122         <xs:annotation>
123            <xs:documentation>date or range of dates on which a data quality measure was applied</xs:documentation>
124         </xs:annotation>
125      </xs:element>
126      <!-- this is an abstract class --><xs:element name="result" minOccurs="1" maxOccurs="2">
127         <xs:complexType>
128            <xs:choice minOccurs="1" maxOccurs="1">
129               <xs:element name="dQ_QuantitativeResult" type="DQ_QuantitativeResult"/>
130               <xs:element name="dQ_ConformanceResult" type="DQ_ConformanceResult"/>
131            </xs:choice>
132         </xs:complexType>
133      </xs:element>
134   </xs:sequence>
135   <xs:attribute name="measureIdentification" use="optional" type="MD_Identifier">
136      <xs:annotation>
137         <xs:documentation>code identifying a registered standard procedure</xs:documentation>
138      </xs:annotation>
139   </xs:attribute>
140   <xs:attribute name="evaluationMethodType" use="optional" type="DQ_EvaluationMethodTypeCode">
141      <xs:annotation>
142         <xs:documentation>type of method use to evaluate quality of dataset</xs:documentation>
143      </xs:annotation>
144   </xs:attribute>
145</xs:complexType>
146<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DQ_ConformanceResult">
147   <xs:annotation>
148      <xs:documentation>information about the outcome of evaluating the obtained value (or set of values) against a specified acceptable conformance quality level</xs:documentation>
149   </xs:annotation>
150                        <xs:complexContent>
151                        <xs:extension base="DQ_Result">
152                    <xs:sequence>
153      <xs:element name="specification" minOccurs="1" maxOccurs="1"
154                  type="gmd:CI_Citation_PropertyType">
155         <xs:annotation>
156            <xs:documentation>citation of product specification or user requirement against which data is evaluated</xs:documentation>
157         </xs:annotation>
158      </xs:element>
159      <xs:element name="explanation" minOccurs="1" maxOccurs="1" type="xs:string">
160         <xs:annotation>
161            <xs:documentation>explanation of the meaning of confirmance for this result</xs:documentation>
162         </xs:annotation>
163      </xs:element>
164   </xs:sequence>
165   <xs:attribute name="pass" use="required" type="xs:boolean">
166      <xs:annotation>
167         <xs:documentation>indication of the conformance result where 0 = fail and 1 = pass</xs:documentation>
168      </xs:annotation>
169   </xs:attribute> 
170                            </xs:extension>
171                            </xs:complexContent>
172                        </xs:complexType>
173<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CI_OnlineFunctionCode">
174   <xs:restriction base="xs:string">
175      <xs:enumeration value="download"/>
176      <xs:enumeration value="information"/>
177      <xs:enumeration value="offline_access"/>
178      <xs:enumeration value="order"/>
179      <xs:enumeration value="search"/>
180   </xs:restriction>
181</xs:simpleType>
182<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="MD_ScopeCode">
183   <xs:annotation>
184      <xs:documentation>hierarchical level of the data specified by the scope (e.g. dataset, software, model, feature etc. in ISO19115).  We will need to define a different enumeration list for CIM</xs:documentation>
185   </xs:annotation>
186   <xs:sequence/>
187   <xs:attribute name="level" use="required" type="MD_ScopeCodeType"/>
188</xs:complexType>
189<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DQ_QualitativeResult"
190                mixed="true">
191   <xs:sequence/>
192</xs:complexType>
193<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CI_RoleCode">
194   <xs:restriction base="xs:string">
195      <xs:enumeration value="resourceProvider"/>
196      <xs:enumeration value="custodian"/>
197      <xs:enumeration value="owner"/>
198      <xs:enumeration value="user"/>
199      <xs:enumeration value="distributor"/>
200      <xs:enumeration value="originator"/>
201      <xs:enumeration value="pointofContact"/>
202      <xs:enumeration value="principalInvestigator"/>
203      <xs:enumeration value="processor"/>
204      <xs:enumeration value="publisher"/>
205      <xs:enumeration value="author"/>
206   </xs:restriction>
207</xs:simpleType>
208<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DQ_Scope">
209   <xs:annotation>
210      <xs:documentation>Describes the scope of a particular quality measure.</xs:documentation>
211   </xs:annotation>
212   <xs:sequence>
213      <xs:element name="level" minOccurs="1" maxOccurs="1" type="MD_ScopeCode">
214         <xs:annotation>
215            <xs:documentation>hierarchical level of the data specified by the scope.  Will need customisation for METAFOR</xs:documentation>
216         </xs:annotation>
217      </xs:element>
218      <xs:element name="extent" minOccurs="0" maxOccurs="1" type="DataExtent">
219         <xs:annotation>
220            <xs:documentation>information about the horizontal, vertical and temporal extent of the data specified by the scope.  Defined in ISO19115 using attributes such as minimumValue and maximumValue for vertical extent.  This class will need to be modified for CIM</xs:documentation>
221         </xs:annotation>
222      </xs:element>
223      <xs:element name="levelDescription" minOccurs="0" maxOccurs="unbounded"
224                  type="MD_ScopeDescription">
225         <xs:annotation>
226            <xs:documentation>detailed description about the level of the data specified by the scope - defined in IS19115 in terms of sets of features, attributes, feature instances, attribute instances and dataset.  This will need some modification for CIM.  Perhaps extend this class with basic MF_description to allow a variety of descriptions, or extend the 'sets of things' to cover items of relevance to climate science e.g. files, geophysical parameters, ensemble elements etc.</xs:documentation>
227         </xs:annotation>
228      </xs:element>
229   </xs:sequence>
230</xs:complexType>
231<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema"
232               name="CI_CitationPresentationFormCode">
233   <xs:restriction base="xs:string">
234      <xs:enumeration value="documentDigital"/>
235      <xs:enumeration value="documentHardcopy"/>
236      <xs:enumeration value="imageDigital"/>
237      <xs:enumeration value="imageHardcopy"/>
238      <xs:enumeration value="mapDigital"/>
239      <xs:enumeration value="mapHardcopy"/>
240      <xs:enumeration value="modelDigital"/>
241      <xs:enumeration value="modelHardcopy"/>
242      <xs:enumeration value="profileDigital"/>
243      <xs:enumeration value="profileHardcopy"/>
244      <xs:enumeration value="tableDigital"/>
245      <xs:enumeration value="tableHardcopy"/>
246      <xs:enumeration value="videoDigital"/>
247      <xs:enumeration value="videoHardcopy"/>
248   </xs:restriction>
249</xs:simpleType>
250<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="QualityIssueType">
251   <xs:restriction base="xs:string">
252      <xs:enumeration value="metadata"/>
253      <xs:enumeration value="data_format"/>
254      <xs:enumeration value="data_content"/>
255      <xs:enumeration value="data_indexing"/>
256      <xs:enumeration value="science"/>
257   </xs:restriction>
258</xs:simpleType>
259<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="QualitySeverityType">
260   <xs:restriction base="xs:string">
261      <xs:enumeration value="cosmetic"/>
262      <xs:enumeration value="minor"/>
263      <xs:enumeration value="major"/>
264   </xs:restriction>
265</xs:simpleType>
266<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CIM_QualityDetail">
267   <xs:annotation>
268      <xs:documentation>Locates the "target" of a CIM QualityIssue. </xs:documentation>
269   </xs:annotation>
270   <xs:sequence>
271      <xs:element name="featureType" minOccurs="1" maxOccurs="1" type="CIM_FeatureType">
272         <xs:annotation>
273            <xs:documentation>the type of feature that the quality issue refers too (for METAFOR this could be simulation, file, boundary condition etc.)</xs:documentation>
274         </xs:annotation>
275      </xs:element>
276      <xs:element name="feature" minOccurs="1" maxOccurs="1">
277         <xs:annotation>
278            <xs:documentation>the reference to the specific feature (e.g. a URI to a file)</xs:documentation>
279         </xs:annotation>
280         <xs:complexType>
281            <xs:choice>
282               <xs:element name="reference">
283                  <xs:complexType>
284                     <xs:sequence>
285                        <xs:element name="id" minOccurs="0" maxOccurs="1" type="guid">
286                           <xs:annotation>
287                              <xs:documentation>the ID of the element being referenced.</xs:documentation>
288                           </xs:annotation>
289                        </xs:element>
290                        <xs:element name="name" minOccurs="0" maxOccurs="1" type="xs:string">
291                           <xs:annotation>
292                              <xs:documentation>The name of the instance being referenced.</xs:documentation>
293                           </xs:annotation>
294                        </xs:element>
295                        <xs:element name="type" minOccurs="0" maxOccurs="1" type="xs:string">
296                           <xs:annotation>
297                              <xs:documentation>The type of item being referenced (should correspond to the name of the referenced XML element).</xs:documentation>
298                           </xs:annotation>
299                        </xs:element>
300                        <xs:element name="version" minOccurs="0" maxOccurs="1" type="version">
301                           <xs:annotation>
302                              <xs:documentation>The version of the element being referenced.</xs:documentation>
303                           </xs:annotation>
304                        </xs:element>
305                        <xs:element name="externalID" minOccurs="0" maxOccurs="unbounded" type="StandardName">
306                           <xs:annotation>
307                              <xs:documentation>A non-CIM (non-GUID) id used to reference the element in question.</xs:documentation>
308                           </xs:annotation>
309                        </xs:element>
310                        <xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string">
311                           <xs:annotation>
312                              <xs:documentation>A description of the element being referenced, in the context of the current class.</xs:documentation>
313                           </xs:annotation>
314                        </xs:element>
315                        <xs:element name="change" minOccurs="0" maxOccurs="unbounded" type="Change">
316                           <xs:annotation>
317                              <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>
318                           </xs:annotation>
319                        </xs:element>
320                     </xs:sequence>
321                     <xs:attribute ref="xlink:href" use="optional"/>
322                  </xs:complexType>
323               </xs:element>
324               <xs:element name="document">
325                  <xs:complexType>
326                     <xs:choice minOccurs="1" maxOccurs="1">
327                        <xs:element ref="simulationRun"/>
328                        <xs:element ref="simulationComposite"/>
329                        <xs:element ref="numericalExperiment"/>
330                        <xs:element ref="dataProcessing"/>
331                        <xs:element ref="ensemble"/>
332                        <xs:element ref="dataObject"/>
333                        <xs:element ref="gridSpec"/>
334                        <xs:element ref="quality"/>
335                        <xs:element ref="platform"/>
336                        <xs:element ref="processorComponent"/>
337                        <xs:element ref="modelComponent"/>
338                     </xs:choice>
339                  </xs:complexType>
340               </xs:element>
341            </xs:choice>
342         </xs:complexType>
343      </xs:element>
344      <xs:element name="detailDescription" minOccurs="0" maxOccurs="1" type="xs:string">
345         <xs:annotation>
346            <xs:documentation>a description of the quality issue with reference to this specific feature</xs:documentation>
347         </xs:annotation>
348      </xs:element>
349   </xs:sequence>
350</xs:complexType>
351<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CIM_QualityIssue">
352   <xs:annotation>
353      <xs:documentation>Records an issue with an instance of the CIM.  The particular part of the instance being referred to is captured by the detail attribute(s).  A resolution can be added to a quality issue.  A single issue can have multiple subissues.</xs:documentation>
354   </xs:annotation>
355   <xs:sequence>
356      <xs:element name="dateTime" minOccurs="1" maxOccurs="1" type="xs:dateTime">
357         <xs:annotation>
358            <xs:documentation>date (and time) issue was added to CIM</xs:documentation>
359         </xs:annotation>
360      </xs:element>
361      <xs:element name="issueIdentifiedBy" minOccurs="1" maxOccurs="1" type="ResponsibleParty">
362         <xs:annotation>
363            <xs:documentation>person/organisation responsible for identifying this quality issue</xs:documentation>
364         </xs:annotation>
365      </xs:element>
366      <xs:element name="issueResponsibilityOf" minOccurs="0" maxOccurs="1"
367                  type="ResponsibleParty">
368         <xs:annotation>
369            <xs:documentation>person/organisation allocated the responsibuility for addressing this issue</xs:documentation>
370         </xs:annotation>
371      </xs:element>
372      <xs:element name="issueDescription" minOccurs="1" maxOccurs="1" type="xs:string">
373         <xs:annotation>
374            <xs:documentation>summary description of quality issue</xs:documentation>
375         </xs:annotation>
376      </xs:element>
377      <xs:element name="detail" minOccurs="0" maxOccurs="unbounded" type="CIM_QualityDetail"/>
378      <xs:element name="subIssue" minOccurs="0" maxOccurs="unbounded" type="CIM_QualityIssue"/>
379      <xs:element name="resolution" minOccurs="0" maxOccurs="unbounded"
380                  type="CIM_QualityResolution"/>
381   </xs:sequence>
382   <xs:attribute name="issueType" use="optional" type="QualityIssueType">
383      <xs:annotation>
384         <xs:documentation>type of quality issue (e.g. metadata, data etc. - enumeration list needs to be defined for METAFOR</xs:documentation>
385      </xs:annotation>
386   </xs:attribute>
387   <xs:attribute name="issueStatus" use="required" type="QualityStatusType">
388      <xs:annotation>
389         <xs:documentation>current status of this issue (e.g. open, investigation, closed, etc. - enumeration values to be defined for METAFOR)</xs:documentation>
390      </xs:annotation>
391   </xs:attribute>
392   <xs:attribute name="issueSeverity" use="required" type="QualitySeverityType">
393      <xs:annotation>
394         <xs:documentation>severity of issue (e.g. potential, minor, major etc. - enumeration list will need to be defined for METAFOR</xs:documentation>
395      </xs:annotation>
396   </xs:attribute>
397</xs:complexType>
398<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CIM_QualityResolution">
399   <xs:annotation>
400      <xs:documentation>A description of what action was taken because of a quality issue.</xs:documentation>
401   </xs:annotation>
402   <xs:sequence>
403      <xs:element name="resolutionDescription" minOccurs="1" maxOccurs="1" type="xs:string">
404         <xs:annotation>
405            <xs:documentation>description of resolution of quality issues - including external references if required</xs:documentation>
406         </xs:annotation>
407      </xs:element>
408      <xs:element name="dateTime" minOccurs="1" maxOccurs="1" type="xs:dateTime">
409         <xs:annotation>
410            <xs:documentation>date of resolution information</xs:documentation>
411         </xs:annotation>
412      </xs:element>
413      <xs:element name="resolvedBy" minOccurs="1" maxOccurs="1" type="ResponsibleParty">
414         <xs:annotation>
415            <xs:documentation>person/organisation responsible for resolution, or the person/organisation who should be contacted with any queries about the resolution of this quality issue</xs:documentation>
416         </xs:annotation>
417      </xs:element>
418   </xs:sequence>
419</xs:complexType>
420<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="DQ_QuantitativeResult">
421   <xs:annotation>
422      <xs:documentation>the values or information about the value(s) (or set of values) obtained from applying a data quality measure</xs:documentation>
423   </xs:annotation>
424                        <xs:complexContent>
425                        <xs:extension base="DQ_Result">
426                    <xs:sequence>
427      <xs:element name="valueUnit" minOccurs="1" maxOccurs="1" type="UnitType">
428         <xs:annotation>
429            <xs:documentation>value unit for reporting a data quality result</xs:documentation>
430         </xs:annotation>
431      </xs:element>
432      <xs:element name="errorStatistic" minOccurs="0" maxOccurs="1" type="xs:string">
433         <xs:annotation>
434            <xs:documentation>statistical method used to determine the value</xs:documentation>
435         </xs:annotation>
436      </xs:element>
437      <xs:element name="value" minOccurs="1" maxOccurs="unbounded" type="PropertyValue">
438         <xs:annotation>
439            <xs:documentation>quantitative value or values, content determined by the evaluation procedure used</xs:documentation>
440         </xs:annotation>
441      </xs:element>
442   </xs:sequence> 
443                            </xs:extension>
444                            </xs:complexContent>
445                        </xs:complexType>
446<xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Quality">
447   <xs:annotation>
448      <xs:documentation>The starting point for a quality record.  It can contain any number of issues and reports.  An issue is an open-ended description of some issue about a CIM instance.  A record is a prescribed description of some specific quantitative measure that has been applied to a CIM instance.</xs:documentation>
449   </xs:annotation>
450   <xs:sequence>
451      <xs:element name="scope" minOccurs="1" maxOccurs="1" type="DQ_Scope">
452         <xs:annotation>
453            <xs:documentation>the specific data to which the quality information applies</xs:documentation>
454         </xs:annotation>
455      </xs:element>
456      <xs:element name="report" minOccurs="0" maxOccurs="unbounded" type="DQ_Element"/>
457      <xs:element name="issue" minOccurs="0" maxOccurs="unbounded" type="CIM_QualityIssue"/>
458   </xs:sequence>
459</xs:complexType>
460<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="quality">
461   <xs:annotation>
462      <xs:documentation>The starting point for a quality record.  It can contain any number of issues and reports.  An issue is an open-ended description of some issue about a CIM instance.  A record is a prescribed description of some specific quantitative measure that has been applied to a CIM instance.</xs:documentation>
463   </xs:annotation>
464   <xs:complexType>
465      <xs:complexContent>
466         <xs:extension base="Quality">
467            <xs:sequence>
468               <xs:element name="documentID" minOccurs="1" maxOccurs="1" type="guid">
469                  <xs:annotation>
470                     <xs:documentation>a unique indentifier for this document</xs:documentation>
471                  </xs:annotation>
472               </xs:element>
473               <xs:element name="documentVersion" minOccurs="1" maxOccurs="1" type="version"/>
474               <xs:element name="metadataID" minOccurs="0" maxOccurs="1" type="xs:anyURI"/>
475               <xs:element name="metadataVersion" minOccurs="0" maxOccurs="1" type="version"/>
476               <xs:element name="externalID" minOccurs="0" maxOccurs="unbounded" type="StandardName">
477                  <xs:annotation>
478                     <xs:documentation>The id of this document as referenced by an external body (ie: DOI, or even IPSL)</xs:documentation>
479                  </xs:annotation>
480               </xs:element>
481               <xs:element name="documentAuthor" minOccurs="0" maxOccurs="1" type="ResponsibleParty">
482                  <xs:annotation>
483                     <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>
484                  </xs:annotation>
485               </xs:element>
486               <xs:element name="documentCreationDate" minOccurs="1" maxOccurs="1" type="xs:dateTime">
487                  <xs:annotation>
488                     <xs:documentation>The date the <i>document </i>was created.</xs:documentation>
489                  </xs:annotation>
490               </xs:element>
491               <xs:element name="documentGenealogy" minOccurs="0" maxOccurs="1" type="Genealogy">
492                  <xs:annotation>
493                     <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>
494                  </xs:annotation>
495               </xs:element>
496               <xs:element name="quality" minOccurs="0" maxOccurs="unbounded" type="Quality">
497                  <xs:annotation>
498                     <xs:documentation>a (set of) quality record(s) for this document.</xs:documentation>
499                  </xs:annotation>
500               </xs:element>
501            </xs:sequence>
502            <xs:attribute name="documentStatus" use="optional" type="DocumentStatusType"/>
503         </xs:extension>
504      </xs:complexContent>
505   </xs:complexType>
506</xs:element>       
507</xs:schema>
Note: See TracBrowser for help on using the repository browser.