View schema

There are 0 QA scripts and 0 conversion scripts registered for this schema.

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:annotation>
    <xsd:appinfo>
      Schema file for the validation of xml file containing detailed
      data according to Regulation 510/2011/EC .  Monitoring and reporting
      of average CO2 emissions (light commercial vehicles) - vans.

      Reporting Obligation: http://rod.eionet.europa.eu/obligations/665

    </xsd:appinfo>
  </xsd:annotation>
  <xsd:element name="VansDetails">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element ref="item" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
      <!--Attributes of the element 'VansDetails'-->
      <xsd:attribute name="Y" use="required">
        <xsd:annotation>
          <xsd:documentation xml:lang="en">
            Attribute 'Year'.
            Attribute of element 'VansDetails'.
            Length is 4 (e.g. '2012')
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:integer">
            <xsd:totalDigits value="4"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="MS" use="required">
        <xsd:annotation>
          <xsd:documentation xml:lang="en">
            Attribute 'MS'.
            Attribute of element 'VansDetails'.
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:length value="2"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
    </xsd:complexType>
  </xsd:element>
  <xsd:element name="item">
    <xsd:complexType>
      <xsd:all>
        <xsd:element name="ID" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              ID
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="30"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="VIN">
          <xsd:annotation>
            <xsd:documentation>
              Vehicle identification number
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:length value="17"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="VFN">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Vehicle family identification number.
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                  <xsd:length value="24"/>
                </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:element>        
        <xsd:element name="Mh">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Manufacturer name - EU standard denomination.
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="120"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Man">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Manufacturer as declared by OEM
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="120"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="MMS">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Manufacturer name MS registry denomination.
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="120"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Tan">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Type
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="120"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="T">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Type
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="120"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Va">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Variant
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="120"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Ve">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Version
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="120"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Mk">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Make
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="120"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Cn" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Commercial Name
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="120"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Ct">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Category of Vehicle Type Approved
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="3"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Cr">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Category of Vehicle Type Registered
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="3"/>
              <xsd:minLength value="1"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="M">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Mass in running order [kg]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
              <xsd:minInclusive value="300"/>
              <xsd:maxInclusive value="5000"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Mb">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Mass in running order of the base vehicle [kg]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                  <xsd:minInclusive value="300"/>
                  <xsd:maxInclusive value="5000"/>
                </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Mt">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              WLTP test mass [kg]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                  <xsd:minInclusive value="300"/>
                  <xsd:maxInclusive value="5000"/>
                </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="TPMLM">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Technically permissible maximum laden mass [kg]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
              <xsd:minInclusive value="300"/>
              <xsd:maxInclusive value="5000"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Dam" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Default added mass
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:nonNegativeInteger">
              <xsd:maxInclusive value="1000"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Enedc">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Specific CO2 Emissions (NEDC) [g/km]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
              <xsd:minInclusive value="0"/>
              <xsd:maxInclusive value="700"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Ewltp">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Specific CO2 Emissions (WLTP) [g/km]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                    <xsd:minInclusive value="0"/>
                    <xsd:maxInclusive value="700"/>
                </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="W">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Wheelbase [mm]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
              <xsd:minInclusive value="500"/>
              <xsd:maxInclusive value="9999"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="At1">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Axle track of steered axle [mm]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
              <xsd:minInclusive value="500"/>
              <xsd:maxInclusive value="3000"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="At2">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Axle track of other axle [mm]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
              <xsd:restriction base="xsd:integer">
              <xsd:minInclusive value="500"/>
              <xsd:maxInclusive value="3000"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Ft">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Fuel type
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:minLength value="1"/>
              <xsd:maxLength value="120"/>
              <xsd:pattern value="[Pp]etrol|PETROL|[Ll]pg|LPG|[Nn][Gg]|NG|[Hh]ydrogen|HYDROGEN|[Ee]85|[Dd]iesel|DIESEL|[Ee]lectric|ELECTRIC|[Pp]etrol/[Ee]lectric|[Ee]85/[Ee]lectric|[Dd]iesel/[Ee]lectric|PETROL/ELECTRIC|E85/ELECTRIC|DIESEL/ELECTRIC"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Fm">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Fuel mode
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:minLength value="1"/>
              <xsd:maxLength value="1"/>
              <xsd:pattern value="(M|m)|(B|b)|(F|f)|(E|e)"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Ec">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Engine capacity [cm3]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:nonNegativeInteger">
                  <xsd:totalDigits value="5"/>
                </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Ep" minOccurs="0">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Engine power [kW]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:restriction base="xsd:nonNegativeInteger">
              <xsd:totalDigits value="3"/>
            </xsd:restriction>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Z">
          <xsd:annotation>
            <xsd:documentation xml:lang="en">
              Electric energy consumption [Wh/km]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:nonNegativeInteger"/>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>          
        </xsd:element>
        <xsd:element name="IT">
          <xsd:annotation>
            <xsd:documentation>
              Innovative technology or group of innovative technologies. 
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                  <xsd:maxLength value="25"/>
                  <xsd:minLength value="3"/>
                </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Ernedc">
          <xsd:annotation>
            <xsd:documentation>
              Emission reduction through innovative technologies (NEDC) [g/km]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:decimal">
                <xsd:fractionDigits value="1"/>
                  <xsd:minInclusive value="1"/>
                  <xsd:maxInclusive value="999.9"/>
                </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Erwltp">
          <xsd:annotation>
            <xsd:documentation>
              Emissions reduction through innovative technologies (WLTP) [g/km]
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:decimal">
                  <xsd:fractionDigits value="1"/>
                  <xsd:minInclusive value="1"/>
                  <xsd:maxInclusive value="999.9"/>
                </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="De">
          <xsd:annotation>
            <xsd:documentation>
              Deviation factor
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:decimal">
                  <xsd:fractionDigits value="5"/>
                  <xsd:maxInclusive value="0.500"/>
                </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:element>
        <xsd:element name="Vf">
          <xsd:annotation>
            <xsd:documentation>
              Verification factor
            </xsd:documentation>
          </xsd:annotation>
          <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:integer">
                  <xsd:minInclusive value="0"/>
                  <xsd:maxInclusive value="1"/>
                </xsd:restriction>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="EmptySimpleType"/>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
        </xsd:element>        
      </xsd:all>
    </xsd:complexType>
  </xsd:element>
  <xsd:simpleType name="EmptySimpleType">
    <xsd:annotation>
      <xsd:documentation>Type to enter blank value</xsd:documentation>
    </xsd:annotation>
    <xsd:restriction base="xsd:token">
      <xsd:enumeration value=""/>
    </xsd:restriction>
  </xsd:simpleType>
</xsd:schema>
Note

A check-in comment is required. Please enter it below.


Note

The schema's file name will not be changed, regardless of the name of the file you upload. Only the file contents will be overwritten!

Note

A new version requires a new file with a new name: