| Schema URL | http://dd.eionet.europa.eu/schemas/CO2-monitoring-cars-2023/cars-detailed.xsd |
|---|---|
| File name | cars-detailed.xsd |
| Schema set | CO2-monitoring-cars-2023 |
| Name | Schema for cars detailed data |
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 2019/631. Monitoring and reporting
of average CO2 emissions. (passenger cars)
Reporting obligation: http://rod.eionet.europa.eu/obligations/655
</xsd:appinfo>
</xsd:annotation>
<xsd:element name="vehicles">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="item" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<!--Attributes of the element 'vehicles'-->
<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 'MS'.
Attribute of element 'vehicles'.
</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" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Vehicle identification number
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:length value="17"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:element>
<xsd:element name="VFN" minOccurs="1">
<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:maxLength value="25"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Mh" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Manufacturer name - EU standard denomination.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="120"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Man" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Manufacturer as declared by OEM
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="120"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Tan" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Type approval number and its extension
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="120"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="T" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Type
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="120"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Va" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Variant
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="120"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Ve" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Version
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="120"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Mk" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Make
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="120"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Cn" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Commercial Name
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="120"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Ct" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Category of Vehicle Type Approved
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="3"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Cr" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Category of the vehicle registered
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="3"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="R" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Registrations
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:nonNegativeInteger">
<xsd:minInclusive value="1"/>
<xsd:maxInclusive value="1"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="M" minOccurs="1">
<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="500"/>
<xsd:maxInclusive value="5000"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Mt" minOccurs="1">
<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="500"/>
<xsd:maxInclusive value="5000"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Enedc" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Specific CO2 Emissions [g/km]
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:minInclusive value="0"/>
<xsd:maxInclusive value="49"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="EmptySimpleType"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Ewltp" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Specific CO2 Emissions (WLTP) [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="W" minOccurs="1">
<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="6000"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="At1" minOccurs="1">
<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" minOccurs="1">
<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" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Fuel type
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<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" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Fuel mode
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="1"/>
<xsd:pattern value="[a-zA-Z]"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Ec" minOccurs="1">
<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="4"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="EmptySimpleType"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Ep" minOccurs="1">
<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" minOccurs="1">
<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="Zr" minOccurs="1">
<xsd:annotation>
<xsd:documentation>
Electric range
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:minInclusive value="0"/>
<xsd:maxInclusive value="999"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="EmptySimpleType"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:element>
<xsd:element name="IT" minOccurs="1">
<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:minLength value="3"/>
<xsd:maxLength value="25"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="EmptySimpleType"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Erwltp" minOccurs="1">
<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="2"/>
<xsd:minInclusive value="0.50"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType>
<xsd:restriction base="EmptySimpleType"/>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Dr" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Date of firste registration YYYY-MM-DD
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:date"/>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Fc" minOccurs="1">
<xsd:annotation>
<xsd:documentation xml:lang="en">
Fuel consumption
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:union>
<xsd:simpleType>
<xsd:restriction base="xsd:decimal"/>
</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>
European Environment Agency
Kgs. Nytorv 6, DK-1050 Copenhagen K, Denmark