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

Subversion URL: http://proj.badc.rl.ac.uk/svn/exarch/CMIP6dreq/trunk/dreqPy/docs/dreqSuppSchema.xsd@1265
Revision 1189, 11.6 KB checked in by mjuckes, 21 months ago (diff)

01.00.23

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
9<xs:simpleType name="st__fortranType">
10<xs:restriction base="xs:token"><xs:enumeration value="integer"/><xs:enumeration value="real"/><xs:enumeration value="double"/><xs:enumeration value="character"/></xs:restriction></xs:simpleType>
11
12<xs:simpleType name="st__sliceType">
13<xs:restriction base="xs:token"><xs:enumeration value="relativeRange"/><xs:enumeration value="simpleRange"/><xs:enumeration value="dayList"/><xs:enumeration value="yearList"/><xs:enumeration value="sliceList"/><xs:enumeration value="branchedYears"/><xs:enumeration value="monthlyClimatology"/></xs:restriction></xs:simpleType>
14
15<xs:simpleType name="st__configurationType">
16<xs:restriction base="xs:token"><xs:enumeration value="size"/><xs:enumeration value="category"/><xs:enumeration value="ioOption"/><xs:enumeration value="capability"/></xs:restriction></xs:simpleType>
17<xs:simpleType name="st__uid"><xs:restriction base="xs:string"><xs:pattern value="([a-zA-Z0-9:_.+-])+"/></xs:restriction></xs:simpleType>
18<xs:simpleType name="st__attLabel_def"><xs:restriction base="xs:string"><xs:pattern value="([a-zA-Z0-9-])+"/></xs:restriction></xs:simpleType>
19<xs:simpleType name="st__attLabel_und"><xs:restriction base="xs:string"><xs:pattern value="([a-zA-Z0-9_])+"/></xs:restriction></xs:simpleType>
20<xs:simpleType name="st__attLabel_int"><xs:restriction base="xs:integer"/></xs:simpleType>
21<xs:simpleType name="st__attLabel_an"><xs:restriction base="xs:string"><xs:pattern value="([a-zA-Z0-9])+"/></xs:restriction></xs:simpleType>
22<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>
23<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>
24<xs:simpleType name="st__integerListMonInc"><xs:restriction base="aa:st__integerList"/></xs:simpleType>
25<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>
26<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/>-->
27<xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">qcranges: Complex Type declaration
28       </xs:documentation></xs:annotation>
29<xs:complexType name="ct__qcranges">
30<xs:sequence><xs:element name="item" maxOccurs="12000" type="aa:ct__qcranges_vocabItem"/></xs:sequence>
31<xs:attribute name="label" type="xs:string" fixed="qcranges"/>
32<xs:attribute name="title" type="xs:string" fixed="Quality Control Ranges"/>
33<xs:attribute name="id" type="xs:string" fixed=""/>
34<xs:attribute name="useClass" fixed="vocab"/>
35<xs:attribute name="uid" type="xs:string"/>
36</xs:complexType>
37<xs:annotation><xs:appinfo>Attribute annotation</xs:appinfo><xs:documentation xml:lang="en">label;
38   xs:stringRecord Labeltitle;
39   xs:stringRecord Titleuid;
40   aa:st__uidRecord identifierlabel;
41   xs:stringRecord Labeltitle;
42   xs:stringRecord Titleurl;
43   xs:stringLink to review pagecomment;
44   xs:stringCommentprov;
45   xs:stringProvenancevid;
46   xs:stringVariablevalid_min;
47   xs:floatMinimum expected value for this variable.valid_max;
48   xs:floatMaximum expected value for this variable.ok_min_mean_abs;
49   xs:floatMinimum expected value of the global mean absolute value at each point in timeok_max_mean_abs;
50   xs:floatMaximum expected value of the global mean absolute value at each point in timevalid_min_status;
51   xs:stringStatus of valid_minvalid_max_status;
52   xs:stringStatus of valid_maxok_min_mean_abs_status;
53   xs:stringStatus of ok_min_mean_absok_max_mean_abs_status;
54   xs:stringStatus of ok_mx_mean_abs</xs:documentation></xs:annotation>
55<xs:complexType name="ct__qcranges_vocabItem">
56<xs:attribute name="id" type="xs:string"/>
57<xs:attribute name="label" type="aa:st__attLabel_def"/>
58<xs:attribute name="title" type="xs:string"/><xs:attribute name="uid" type="aa:st__uid" use="required"/>
59<xs:attribute name="url" type="xs:string"/>
60<xs:attribute name="comment" type="xs:string" use="required"/>
61<xs:attribute name="prov" type="xs:string" use="required"/>
62<xs:attribute name="vid" type="xs:string" use="required"/>
63<xs:attribute name="valid_min" type="xs:float"/>
64<xs:attribute name="valid_max" type="xs:float"/>
65<xs:attribute name="ok_min_mean_abs" type="xs:float"/>
66<xs:attribute name="ok_max_mean_abs" type="xs:float"/>
67<xs:attribute name="valid_min_status" type="xs:string" use="required"/>
68<xs:attribute name="valid_max_status" type="xs:string" use="required"/>
69<xs:attribute name="ok_min_mean_abs_status" type="xs:string" use="required"/>
70<xs:attribute name="ok_max_mean_abs_status" type="xs:string" use="required"/>
71
72</xs:complexType><!--Auto-generated vocabulary complexType declarations/>-->
73<xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">places: Complex Type declaration
74       </xs:documentation></xs:annotation>
75<xs:complexType name="ct__places">
76<xs:sequence><xs:element name="item" maxOccurs="12000" type="aa:ct__places_vocabItem"/></xs:sequence>
77<xs:attribute name="label" type="xs:string" fixed="places"/>
78<xs:attribute name="title" type="xs:string" fixed="Places, States or Reservoirs"/>
79<xs:attribute name="id" type="xs:string" fixed=""/>
80<xs:attribute name="useClass" fixed="vocab"/>
81<xs:attribute name="uid" type="xs:string"/>
82</xs:complexType>
83<xs:annotation><xs:appinfo>Attribute annotation</xs:appinfo><xs:documentation xml:lang="en">label;
84   xs:stringRecord Labeltitle;
85   xs:stringRecord Titleuid;
86   aa:st__uidIdentifierlabel;
87   xs:stringLabeltitle;
88   xs:stringTitlematter;
89   xs:stringSubstance mip;
90   xs:stringModel Intercomparison Project (MIP)vid;
91   xs:stringVariable Identifierpid;
92   xs:stringParent Entity</xs:documentation></xs:annotation>
93<xs:complexType name="ct__places_vocabItem">
94<xs:attribute name="id" type="xs:string"/>
95<xs:attribute name="label" type="aa:st__attLabel_def"/>
96<xs:attribute name="title" type="xs:string"/><xs:attribute name="uid" type="aa:st__uid" use="required"/>
97<xs:attribute name="matter" type="xs:string" use="required"/>
98<xs:attribute name="mip" type="xs:string" use="required"/>
99<xs:attribute name="vid" type="xs:string"/>
100<xs:attribute name="pid" type="xs:string"/>
101
102</xs:complexType><!--Auto-generated vocabulary complexType declarations/>-->
103<xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">transfers: Complex Type declaration
104       </xs:documentation></xs:annotation>
105<xs:complexType name="ct__transfers">
106<xs:sequence><xs:element name="item" maxOccurs="12000" type="aa:ct__transfers_vocabItem"/></xs:sequence>
107<xs:attribute name="label" type="xs:string" fixed="transfers"/>
108<xs:attribute name="title" type="xs:string" fixed="Transfers of Material"/>
109<xs:attribute name="id" type="xs:string" fixed=""/>
110<xs:attribute name="useClass" fixed="vocab"/>
111<xs:attribute name="uid" type="xs:string"/>
112</xs:complexType>
113<xs:annotation><xs:appinfo>Attribute annotation</xs:appinfo><xs:documentation xml:lang="en">label;
114   xs:stringRecord Labeltitle;
115   xs:stringRecord Titleuid;
116   aa:st__uidIdentifierlabel;
117   xs:stringLabeltitle;
118   xs:stringTitlefrid;
119   xs:stringSource Identifiertoid;
120   xs:stringTarget IdentifierisOneWay;
121   xs:booleanUnidirectional FlagsignInverted;
122   xs:booleanSign Inversionmip;
123   xs:stringModel Intercomparison Project (MIP)vid;
124   xs:stringVariable Identifier</xs:documentation></xs:annotation>
125<xs:complexType name="ct__transfers_vocabItem">
126<xs:attribute name="id" type="xs:string"/>
127<xs:attribute name="label" type="aa:st__attLabel_def"/>
128<xs:attribute name="title" type="xs:string"/><xs:attribute name="uid" type="aa:st__uid" use="required"/>
129<xs:attribute name="frid" type="xs:string" use="required"/>
130<xs:attribute name="toid" type="xs:string" use="required"/>
131<xs:attribute name="isOneWay" type="xs:boolean" use="required"/>
132<xs:attribute name="signInverted" type="xs:boolean" use="required"/>
133<xs:attribute name="mip" type="xs:string" use="required"/>
134<xs:attribute name="vid" type="xs:string" use="required"/>
135
136</xs:complexType><!--Auto-generated vocabulary complexType declarations/>-->
137<xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">units: Complex Type declaration
138       </xs:documentation></xs:annotation>
139<xs:complexType name="ct__units">
140<xs:sequence><xs:element name="item" maxOccurs="12000" type="aa:ct__units_vocabItem"/></xs:sequence>
141<xs:attribute name="label" type="xs:string" fixed="units"/>
142<xs:attribute name="title" type="xs:string" fixed="Units"/>
143<xs:attribute name="id" type="xs:string" fixed=""/>
144<xs:attribute name="useClass" fixed="vocab"/>
145<xs:attribute name="uid" type="xs:string"/>
146</xs:complexType>
147<xs:annotation><xs:appinfo>Attribute annotation</xs:appinfo><xs:documentation xml:lang="en">label;
148   xs:stringRecord Labeltitle;
149   xs:stringRecord Titleuid;
150   aa:st__uidIdentifierlabel;
151   xs:stringLabeltitle;
152   xs:stringTitlegroup;
153   xs:stringGrouptext;
154   xs:stringText representation of units</xs:documentation></xs:annotation>
155<xs:complexType name="ct__units_vocabItem">
156<xs:attribute name="id" type="xs:string"/>
157<xs:attribute name="label" type="aa:st__attLabel_def"/>
158<xs:attribute name="title" type="xs:string"/><xs:attribute name="uid" type="aa:st__uid" use="required"/>
159<xs:attribute name="group" type="xs:string"/>
160<xs:attribute name="text" type="xs:string" use="required"/>
161
162</xs:complexType><xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">
163       This schema is automatically generated by xsltproc.
164    </xs:documentation></xs:annotation>
165<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>
166<!--[applying elem main] qcranges-->
167<xs:element name="qcranges" type="aa:ct__qcranges"/>
168<!--[applying elem main] places-->
169<xs:element name="places" type="aa:ct__places"/>
170<!--[applying elem main] transfers-->
171<xs:element name="transfers" type="aa:ct__transfers"/>
172<!--[applying elem main] units-->
173<xs:element name="units" type="aa:ct__units"/>
174</xs:all></xs:complexType>
175</xs:element>
176<xs:element name="annex"><xs:complexType><xs:all>
177</xs:all></xs:complexType>
178</xs:element>
179</xs:all></xs:complexType><xs:unique name="uniqueIdentifierConstraint"><xs:annotation><xs:appinfo>W3Schools Note</xs:appinfo><xs:documentation xml:lang="en">
180       The uniqueIdentifierConstraint imposes the condition that the uid attribute on "item" elements should have a unique value.
181        </xs:documentation></xs:annotation>
182<xs:selector xpath=".//aa:item"/><xs:field xpath="@uid"/></xs:unique>
183</xs:element></xs:schema>
Note: See TracBrowser for help on using the repository browser.