]>
Wikimedia Canada | Git repositories - eccc_schema.git/blob - bulkschema.xsd
1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <xsd:schema xmlns:
xsd=
"http://www.w3.org/2001/XMLSchema">
3 <xsd:element name=
"climatedata">
6 <xsd:element name=
"lang">
8 <xsd:restriction base=
"xsd:string">
9 <xsd:enumeration value=
"ENG"/>
10 <xsd:enumeration value=
"FRE"/>
14 <xsd:element name=
"stationinformation">
17 <xsd:element name=
"name" type=
"xsd:string"/>
18 <xsd:element name=
"province" type=
"xsd:string"/>
19 <xsd:element name=
"stationoperator" type=
"xsd:string" minOccurs=
"0"/>
20 <xsd:element name=
"latitude" type=
"xsd:float"/>
21 <xsd:element name=
"longitude" type=
"xsd:float"/>
22 <xsd:element name=
"elevation">
26 <xsd:restriction base=
"xsd:float"/>
29 <xsd:restriction base=
"xsd:string">
30 <xsd:length value=
"0"/>
36 <xsd:element name=
"climate_identifier" type=
"xsd:string"/>
37 <xsd:element name=
"wmo_identifier">
41 <xsd:restriction base=
"xsd:integer"/>
44 <xsd:restriction base=
"xsd:string">
45 <xsd:length value=
"0"/>
51 <xsd:element name=
"tc_identifier" type=
"xsd:string"/>
55 <xsd:element name=
"legend">
58 <xsd:element name=
"flag" maxOccurs=
"unbounded">
61 <xsd:element name=
"symbol"/>
62 <xsd:element name=
"description"/>
70 <xsd:element name=
"stationdata" maxOccurs=
"unbounded">
73 <xsd:element name=
"meanmaxtemp">
76 <xsd:extension base=
"xsd:string">
77 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
78 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
79 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
84 <xsd:element name=
"meanmintemp">
87 <xsd:extension base=
"xsd:string">
88 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
89 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
90 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
95 <xsd:element name=
"meanmonthtemp">
98 <xsd:extension base=
"xsd:string">
99 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
100 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
101 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
106 <xsd:element name=
"extrmaxtemp">
109 <xsd:extension base=
"xsd:string">
110 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
111 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
112 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
117 <xsd:element name=
"extrmintemp">
120 <xsd:extension base=
"xsd:string">
121 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
122 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
123 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
128 <xsd:element name=
"totrain">
131 <xsd:extension base=
"xsd:string">
132 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
133 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
134 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
139 <xsd:element name=
"totsnow">
142 <xsd:extension base=
"xsd:string">
143 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
144 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
145 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
150 <xsd:element name=
"snowonground" minOccurs=
"0">
153 <xsd:extension base=
"xsd:string">
154 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
155 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
156 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
161 <xsd:element name=
"totprecip">
164 <xsd:extension base=
"xsd:string">
165 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
166 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
167 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
172 <xsd:element name=
"grndsnowlastday">
175 <xsd:extension base=
"xsd:string">
176 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
177 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
178 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
183 <xsd:element name=
"dirmaxgust">
186 <xsd:extension base=
"xsd:string">
187 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
188 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
189 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
194 <xsd:element name=
"speedmaxgust">
197 <xsd:extension base=
"xsd:string">
198 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
199 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
200 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
206 <xsd:attribute name=
"day" type=
"xsd:string" use=
"optional"/>
207 <xsd:attribute name=
"month" type=
"xsd:string" use=
"required"/>
208 <xsd:attribute name=
"year" type=
"xsd:string" use=
"required"/>
211 <xsd:element name=
"month" maxOccurs=
"unbounded">
214 <xsd:element name=
"day" minOccurs=
"0" maxOccurs=
"unbounded">
217 <xsd:element name=
"temperature" maxOccurs=
"unbounded">
220 <xsd:extension base=
"xsd:string">
221 <xsd:attribute name=
"class" type=
"xsd:string" use=
"optional"/>
222 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
223 <xsd:attribute name=
"unitType" type=
"xsd:string" use=
"optional"/>
224 <xsd:attribute name=
"year" type=
"xsd:string" use=
"optional"/>
225 <xsd:attribute name=
"period" type=
"xsd:string" use=
"optional"/>
226 <xsd:attribute name=
"quality" type=
"xsd:string" use=
"optional"/>
231 <xsd:element name=
"precipitation" maxOccurs=
"unbounded">
234 <xsd:extension base=
"xsd:string">
235 <xsd:attribute name=
"class" type=
"xsd:string" use=
"optional"/>
236 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
237 <xsd:attribute name=
"unitType" type=
"xsd:string" use=
"optional"/>
238 <xsd:attribute name=
"year" type=
"xsd:string" use=
"optional"/>
239 <xsd:attribute name=
"period" type=
"xsd:string" use=
"optional"/>
240 <xsd:attribute name=
"quality" type=
"xsd:string" use=
"optional"/>
245 <xsd:element name=
"pop">
248 <xsd:extension base=
"xsd:string">
249 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
255 <xsd:attribute name=
"index" type=
"xsd:integer" use=
"required"/>
259 <xsd:attribute name=
"index" type=
"xsd:integer" use=
"required"/>