]>
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"/>
69 <xsd:element name=
"stationdata" maxOccurs=
"unbounded">
72 <xsd:element name=
"meanmaxtemp">
75 <xsd:extension base=
"xsd:string">
76 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
77 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
78 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
83 <xsd:element name=
"meanmintemp">
86 <xsd:extension base=
"xsd:string">
87 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
88 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
89 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
94 <xsd:element name=
"meanmonthtemp">
97 <xsd:extension base=
"xsd:string">
98 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
99 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
100 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
105 <xsd:element name=
"extrmaxtemp">
108 <xsd:extension base=
"xsd:string">
109 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
110 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
111 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
116 <xsd:element name=
"extrmintemp">
119 <xsd:extension base=
"xsd:string">
120 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
121 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
122 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
127 <xsd:element name=
"totrain">
130 <xsd:extension base=
"xsd:string">
131 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
132 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
133 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
138 <xsd:element name=
"totsnow">
141 <xsd:extension base=
"xsd:string">
142 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
143 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
144 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
149 <xsd:element name=
"snowonground" minOccurs=
"0">
152 <xsd:extension base=
"xsd:string">
153 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
154 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
155 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
160 <xsd:element name=
"totprecip">
163 <xsd:extension base=
"xsd:string">
164 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
165 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
166 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
171 <xsd:element name=
"grndsnowlastday">
174 <xsd:extension base=
"xsd:string">
175 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
176 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
177 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
182 <xsd:element name=
"dirmaxgust">
185 <xsd:extension base=
"xsd:string">
186 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
187 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
188 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
193 <xsd:element name=
"speedmaxgust">
196 <xsd:extension base=
"xsd:string">
197 <xsd:attribute name=
"description" type=
"xsd:string" use=
"optional"/>
198 <xsd:attribute name=
"units" type=
"xsd:string" use=
"optional"/>
199 <xsd:attribute name=
"flag" type=
"xsd:string" use=
"optional"/>
205 <xsd:attribute name=
"day" type=
"xsd:string" use=
"optional"/>
206 <xsd:attribute name=
"month" type=
"xsd:string" use=
"required"/>
207 <xsd:attribute name=
"year" type=
"xsd:string" use=
"required"/>