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 aggregated
      data according to Regulation 443/2009/EC.  Monitoring and reporting
      of average CO2 emissions.

      Version: $Id: cars-aggregated.xsd 17546 2015-01-15 14:26:41Z lainekai $
      Created: 07.01.2015

      Reporting Obligation: http://rod.eionet.europa.eu/obligations/655
      Reporting year: 2014

      Year 2013 updates:
        - new root level attributes 'Rt', 'RIVA', 'RNSS'
        - change fields from mandatory to optional: 'Man', 'Eav', 'Mav', 'Fav'
      Year 2014 updates:        
        - removed item 
      </xsd:appinfo>
  </xsd:annotation>
  <xsd:element name="aggregates">
    <xsd:complexType>
      <xsd:attribute name="Y" use="required">
        <xsd:annotation>
          <xsd:documentation xml:lang="en">
            Attribute 'Year'.
            Attribute of element 'vehicles'.
            Length is 4 (e.g. '2012')
            Mandatory Input.
          </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 'Member State name'.
            Attribute of element 'vehicles'.
            Use abbreviation in interinstitutional style guide of the European Union.
            Length 2 (e.g. CH for Switzerland).
            Mandatory Input.
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
              <xsd:maxLength value="2"/>
              <xsd:minLength value="2"/>
            </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="DS" use="required">
        <xsd:annotation>
          <xsd:documentation>
          Data source, length 3, mandatory input. It can be COC, TAD or MIX.
          Use MIX if data source is a combination of COC and TAD
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:string">
            <xsd:enumeration value="COC"/>
            <xsd:enumeration value="TAD"/>
            <xsd:enumeration value="MIX"/>
          </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="Rt">
        <xsd:annotation>
          <xsd:documentation xml:lang="en">
            Total number of new registrations of  new  passenger cars subject to EC type approval.
            Number of registrations for vehicles of the same manufacturer, including vehicle with any missing technical data.
            non-negative whole number.
            Mandatory input,
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:nonNegativeInteger"/>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="RIVA">
        <xsd:annotation>
          <xsd:documentation xml:lang="en">
            Total number of new registrations of new  individually approved passenger cars.
            Individually approved and stated into monitoring dataset as AA-IVA.
            non-negative whole number.
            Mandatory input
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:nonNegativeInteger"/>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="RNSS">
        <xsd:annotation>
          <xsd:documentation xml:lang="en">
            Total number of new registrations of new passenger cars approved nationally in small series.
            Type approved  in national small series and stated into monitoring dataset  as AA-NSS.
            non-negative whole number.
            Mandatory input
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
          <xsd:restriction base="xsd:nonNegativeInteger"/>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="FSP" use="required">
        <xsd:annotation>
          <xsd:documentation>
            Percentage of filling station supplying E85 fuel that satisfies the sustainability criteria,
            Mandatory value. Non-negative whole number, max value 100.
            Intervals of 5 from 0 to 100.
            Use lower of the intervals. Eg. exact value=14, report 10. Leave blank when no percentage of filling stations is available.
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
            <xsd:restriction base="xsd:integer">
                <xsd:minInclusive value="0"/>
                <xsd:maxInclusive value="100"/>
            </xsd:restriction>
        </xsd:simpleType>
      </xsd:attribute>
      <xsd:attribute name="NFS" use="required">
        <xsd:annotation>
          <xsd:documentation>
            Number of fuel filling station supplying E85 fuel that satisfy the sustainability criteria.
            Only applicable if entry FSP is equal or above 30% of all fuel filling stations providing E85 
            Mandatory value. Non-negative whole number
          </xsd:documentation>
        </xsd:annotation>
        <xsd:simpleType>
            <xsd:union>
              <xsd:simpleType>
                <xsd:restriction base="xsd:nonNegativeInteger"/>
              </xsd:simpleType>
              <xsd:simpleType>
                <xsd:restriction base="xsd:token">
                  <xsd:enumeration value=""/>
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:union>
          </xsd:simpleType>
      </xsd:attribute>      
    </xsd:complexType>
  </xsd:element>
</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: