source: CMIP6dreq/trunk/dreqPy/docs/dreqSuppSchema.xsd @ 981

Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreq/trunk/dreqPy/docs/dreqSuppSchema.xsd@981
Revision 981, 10.8 KB checked in by mjuckes, 4 years ago (diff)

01.00.07

Line 
1<?xml version="1.0"?>
2<xs:schema xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pav="http://purl.org/pav/2.3" xmlns:aa="urn:w3id.org:cmip6.dreq.dreq:a" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:a="urn:w3id.org:cmip6.dreq.framework:a" xmlns:xd="http://www.pnp-software.com/XSLTdoc" targetNamespace="urn:w3id.org:cmip6.dreq.dreq:a" elementFormDefault="qualified">
3<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="dc1.xsd"/>
4<xs:import namespace="http://purl.org/pav/2.3" schemaLocation="pav.xsd"/>
5<xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">
6       Some specialised string types
7    </xs:documentation></xs:annotation>
8<xs:simpleType name="st__uid"><xs:restriction base="xs:string"><xs:pattern value="([a-zA-Z0-9:_.+-])+"/></xs:restriction></xs:simpleType>
9<xs:simpleType name="st__attLabel_def"><xs:restriction base="xs:string"><xs:pattern value="([a-zA-Z0-9-])+"/></xs:restriction></xs:simpleType>
10<xs:simpleType name="st__attLabel_und"><xs:restriction base="xs:string"><xs:pattern value="([a-zA-Z0-9_])+"/></xs:restriction></xs:simpleType>
11<xs:simpleType name="st__attLabel_int"><xs:restriction base="xs:integer"/></xs:simpleType>
12<xs:simpleType name="st__attLabel_an"><xs:restriction base="xs:string"><xs:pattern value="([a-zA-Z0-9])+"/></xs:restriction></xs:simpleType>
13<xs:simpleType name="st__stringList"><xs:restriction base="aa:base__stringList"><xs:minLength value="0"/></xs:restriction></xs:simpleType><xs:simpleType name="base__stringList"><xs:list itemType="xs:string"/></xs:simpleType>
14<xs:simpleType name="st__integerList"><xs:restriction base="aa:base__integerList"><xs:minLength value="0"/></xs:restriction></xs:simpleType><xs:simpleType name="base__integerList"><xs:list itemType="xs:integer"/></xs:simpleType>
15<xs:simpleType name="st__integerListMonInc"><xs:restriction base="aa:st__integerList"/></xs:simpleType>
16<xs:simpleType name="st__floatList"><xs:restriction base="aa:base__floatList"><xs:minLength value="0"/></xs:restriction></xs:simpleType><xs:simpleType name="base__floatList"><xs:list itemType="xs:float"/></xs:simpleType>
17<xs:complexType name="ct__info" mixed="true"><xs:attribute name="srcType" type="xs:string"/><xs:attribute name="srcRef" type="xs:string"/></xs:complexType><!--Auto-generated vocabulary complexType declarations/>-->
18<xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">qcranges: Complex Type declaration
19       </xs:documentation></xs:annotation>
20<xs:complexType name="ct__qcranges">
21<xs:sequence><xs:element name="item" maxOccurs="12000" type="aa:ct__qcranges_vocabItem"/></xs:sequence>
22<xs:attribute name="label" type="xs:string" fixed="qcranges"/>
23<xs:attribute name="title" type="xs:string" fixed="Quality Control Ranges"/>
24<xs:attribute name="id" type="xs:string" fixed=""/>
25<xs:attribute name="useClass" fixed="vocab"/>
26<xs:attribute name="uid" type="xs:string"/>
27</xs:complexType>
28<xs:annotation><xs:appinfo>Attribute annotation</xs:appinfo><xs:documentation xml:lang="en">label;
29   xs:stringRecord Labeltitle;
30   xs:stringRecord Titleuid;
31   aa:st__uidRecord identifierlabel;
32   xs:stringRecord Labeltitle;
33   xs:stringRecord Titleurl;
34   xs:stringLink to review pagecomment;
35   xs:stringCommentprov;
36   xs:stringProvenancevid;
37   xs:stringVariablevalid_min;
38   xs:floatMinimum expected value for this variable.valid_max;
39   xs:floatMaximum expected value for this variable.ok_min_mean_abs;
40   xs:floatMinimum expected value of the global mean absolute value at each point in timeok_max_mean_abs;
41   xs:floatMaximum expected value of the global mean absolute value at each point in timevalid_min_status;
42   xs:stringStatus of valid_minvalid_max_status;
43   xs:stringStatus of valid_maxok_min_mean_abs_status;
44   xs:stringStatus of ok_min_mean_absok_max_mean_abs_status;
45   xs:stringStatus of ok_mx_mean_abs</xs:documentation></xs:annotation>
46<xs:complexType name="ct__qcranges_vocabItem">
47<xs:attribute name="id" type="xs:string"/>
48<xs:attribute name="label" type="aa:st__attLabel_def"/>
49<xs:attribute name="title" type="xs:string"/><xs:attribute name="uid" type="aa:st__uid" use="required"/>
50<xs:attribute name="url" type="xs:string"/>
51<xs:attribute name="comment" type="xs:string" use="required"/>
52<xs:attribute name="prov" type="xs:string" use="required"/>
53<xs:attribute name="vid" type="xs:string" use="required"/>
54<xs:attribute name="valid_min" type="xs:float"/>
55<xs:attribute name="valid_max" type="xs:float"/>
56<xs:attribute name="ok_min_mean_abs" type="xs:float"/>
57<xs:attribute name="ok_max_mean_abs" type="xs:float"/>
58<xs:attribute name="valid_min_status" type="xs:string" use="required"/>
59<xs:attribute name="valid_max_status" type="xs:string" use="required"/>
60<xs:attribute name="ok_min_mean_abs_status" type="xs:string" use="required"/>
61<xs:attribute name="ok_max_mean_abs_status" type="xs:string" use="required"/>
62
63</xs:complexType><!--Auto-generated vocabulary complexType declarations/>-->
64<xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">places: Complex Type declaration
65       </xs:documentation></xs:annotation>
66<xs:complexType name="ct__places">
67<xs:sequence><xs:element name="item" maxOccurs="12000" type="aa:ct__places_vocabItem"/></xs:sequence>
68<xs:attribute name="label" type="xs:string" fixed="places"/>
69<xs:attribute name="title" type="xs:string" fixed="Places, States or Reservoirs"/>
70<xs:attribute name="id" type="xs:string" fixed=""/>
71<xs:attribute name="useClass" fixed="vocab"/>
72<xs:attribute name="uid" type="xs:string"/>
73</xs:complexType>
74<xs:annotation><xs:appinfo>Attribute annotation</xs:appinfo><xs:documentation xml:lang="en">label;
75   xs:stringRecord Labeltitle;
76   xs:stringRecord Titleuid;
77   aa:st__uidIdentifierlabel;
78   xs:stringLabeltitle;
79   xs:stringTitlematter;
80   xs:stringSubstance mip;
81   xs:stringModel Intercomparison Project (MIP)vid;
82   xs:stringVariable Identifierpid;
83   xs:stringParent Entity</xs:documentation></xs:annotation>
84<xs:complexType name="ct__places_vocabItem">
85<xs:attribute name="id" type="xs:string"/>
86<xs:attribute name="label" type="aa:st__attLabel_def"/>
87<xs:attribute name="title" type="xs:string"/><xs:attribute name="uid" type="aa:st__uid" use="required"/>
88<xs:attribute name="matter" type="xs:string" use="required"/>
89<xs:attribute name="mip" type="xs:string" use="required"/>
90<xs:attribute name="vid" type="xs:string"/>
91<xs:attribute name="pid" type="xs:string"/>
92
93</xs:complexType><!--Auto-generated vocabulary complexType declarations/>-->
94<xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">transfers: Complex Type declaration
95       </xs:documentation></xs:annotation>
96<xs:complexType name="ct__transfers">
97<xs:sequence><xs:element name="item" maxOccurs="12000" type="aa:ct__transfers_vocabItem"/></xs:sequence>
98<xs:attribute name="label" type="xs:string" fixed="transfers"/>
99<xs:attribute name="title" type="xs:string" fixed="Transfers of Material"/>
100<xs:attribute name="id" type="xs:string" fixed=""/>
101<xs:attribute name="useClass" fixed="vocab"/>
102<xs:attribute name="uid" type="xs:string"/>
103</xs:complexType>
104<xs:annotation><xs:appinfo>Attribute annotation</xs:appinfo><xs:documentation xml:lang="en">label;
105   xs:stringRecord Labeltitle;
106   xs:stringRecord Titleuid;
107   aa:st__uidIdentifierlabel;
108   xs:stringLabeltitle;
109   xs:stringTitlefrid;
110   xs:stringSource Identifiertoid;
111   xs:stringTarget IdentifierisOneWay;
112   xs:booleanUnidirectional FlagsignInverted;
113   xs:booleanSign Inversionmip;
114   xs:stringModel Intercomparison Project (MIP)vid;
115   xs:stringVariable Identifier</xs:documentation></xs:annotation>
116<xs:complexType name="ct__transfers_vocabItem">
117<xs:attribute name="id" type="xs:string"/>
118<xs:attribute name="label" type="aa:st__attLabel_def"/>
119<xs:attribute name="title" type="xs:string"/><xs:attribute name="uid" type="aa:st__uid" use="required"/>
120<xs:attribute name="frid" type="xs:string" use="required"/>
121<xs:attribute name="toid" type="xs:string" use="required"/>
122<xs:attribute name="isOneWay" type="xs:boolean" use="required"/>
123<xs:attribute name="signInverted" type="xs:boolean" use="required"/>
124<xs:attribute name="mip" type="xs:string" use="required"/>
125<xs:attribute name="vid" type="xs:string" use="required"/>
126
127</xs:complexType><!--Auto-generated vocabulary complexType declarations/>-->
128<xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">units: Complex Type declaration
129       </xs:documentation></xs:annotation>
130<xs:complexType name="ct__units">
131<xs:sequence><xs:element name="item" maxOccurs="12000" type="aa:ct__units_vocabItem"/></xs:sequence>
132<xs:attribute name="label" type="xs:string" fixed="units"/>
133<xs:attribute name="title" type="xs:string" fixed="Units"/>
134<xs:attribute name="id" type="xs:string" fixed=""/>
135<xs:attribute name="useClass" fixed="vocab"/>
136<xs:attribute name="uid" type="xs:string"/>
137</xs:complexType>
138<xs:annotation><xs:appinfo>Attribute annotation</xs:appinfo><xs:documentation xml:lang="en">label;
139   xs:stringRecord Labeltitle;
140   xs:stringRecord Titleuid;
141   aa:st__uidIdentifierlabel;
142   xs:stringLabeltitle;
143   xs:stringTitlegroup;
144   xs:stringGrouptext;
145   xs:stringText representation of units</xs:documentation></xs:annotation>
146<xs:complexType name="ct__units_vocabItem">
147<xs:attribute name="id" type="xs:string"/>
148<xs:attribute name="label" type="aa:st__attLabel_def"/>
149<xs:attribute name="title" type="xs:string"/><xs:attribute name="uid" type="aa:st__uid" use="required"/>
150<xs:attribute name="group" type="xs:string"/>
151<xs:attribute name="text" type="xs:string" use="required"/>
152
153</xs:complexType><xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">
154       This schema is automatically generated by xsltproc.
155    </xs:documentation></xs:annotation>
156<xs:element name="document"><xs:complexType><xs:all><xs:element name="prologue"><xs:complexType><xs:sequence><xs:group ref="dc:elementsGroup" maxOccurs="20"/><xs:group ref="pav:elementsGroup" maxOccurs="20"/></xs:sequence></xs:complexType></xs:element><xs:element name="main"><xs:complexType><xs:all>
157<!--[applying elem main] qcranges-->
158<xs:element name="qcranges" type="aa:ct__qcranges"/>
159<!--[applying elem main] places-->
160<xs:element name="places" type="aa:ct__places"/>
161<!--[applying elem main] transfers-->
162<xs:element name="transfers" type="aa:ct__transfers"/>
163<!--[applying elem main] units-->
164<xs:element name="units" type="aa:ct__units"/>
165</xs:all></xs:complexType>
166</xs:element>
167<xs:element name="annex"><xs:complexType><xs:all>
168</xs:all></xs:complexType>
169</xs:element>
170</xs:all></xs:complexType><xs:unique name="uniqueIdentifierConstraint"><xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">
171       The uniqueIdentifierConstraint imposes the condition that the uid attribute on "item" elements should have a unique value.
172        </xs:documentation></xs:annotation>
173<xs:selector xpath=".//aa:item"/><xs:field xpath="@uid"/></xs:unique>
174</xs:element></xs:schema>
Note: See TracBrowser for help on using the repository browser.