]> Wikimedia Canada | Git repositories - eccc_schema.git/commitdiff
Add missing attributes, allow no day master
authorPierre Choffet <peuc@wanadoo.fr>
Tue, 21 Jan 2020 20:16:38 +0000 (15:16 -0500)
committerPierre Choffet <peuc@wanadoo.fr>
Tue, 21 Jan 2020 20:16:38 +0000 (15:16 -0500)
bulkschema.xsd

index d19e08cb5f369ff0722fba24225485bed1e78416..a0326456fb382150c3cd608cd28c4ed96795a8a9 100644 (file)
                   <xsd:element name="month" maxOccurs="unbounded">
                     <xsd:complexType>
                       <xsd:sequence>
-                        <xsd:element name="day" maxOccurs="unbounded">
+                        <xsd:element name="day" minOccurs="0" maxOccurs="unbounded">
                           <xsd:complexType>
                             <xsd:sequence>
                               <xsd:element name="temperature" maxOccurs="unbounded">
                                       <xsd:attribute name="class" type="xsd:string" use="optional"/>
                                       <xsd:attribute name="units" type="xsd:string" use="optional"/>
                                       <xsd:attribute name="unitType" type="xsd:string" use="optional"/>
+                                      <xsd:attribute name="year" type="xsd:string" use="optional"/>
                                       <xsd:attribute name="period" type="xsd:string" use="optional"/>
+                                      <xsd:attribute name="quality" type="xsd:string" use="optional"/>
                                     </xsd:extension>
                                   </xsd:simpleContent>
                                 </xsd:complexType>
                                       <xsd:attribute name="unitType" type="xsd:string" use="optional"/>
                                       <xsd:attribute name="year" type="xsd:string" use="optional"/>
                                       <xsd:attribute name="period" type="xsd:string" use="optional"/>
+                                      <xsd:attribute name="quality" type="xsd:string" use="optional"/>
                                     </xsd:extension>
                                   </xsd:simpleContent>
                                 </xsd:complexType>