Skip to content

Commit

Permalink
Restructuring SustainabilityGroup (#344)
Browse files Browse the repository at this point in the history
* EmissionCO2Structure added
  • Loading branch information
trurlurl authored Mar 28, 2023
1 parent 193c8b3 commit 2bd2784
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 42 deletions.
46 changes: 26 additions & 20 deletions OJP/OJP_Common.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -448,27 +448,33 @@
<xs:documentation>Elements about sustainability. Primarily for TRIPs and LEGs.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="EmissionCO2" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="KilogramPerPersonKm">
<xs:annotation>
<xs:documentation>Kilogram by person and by kilometer of CO2 emission.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:float">
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ConfidenceLevel" type="Percentage" minOccurs="0">
<xs:annotation>
<xs:documentation>Confidence level of the emission value in percent.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="EmissionCO2" type="EmissionCO2Structure" minOccurs="0">
<xs:annotation>
<xs:documentation>Estimation of CO2 emissions.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="EmissionCO2Structure">
<xs:annotation>
<xs:documentation>Estimation of CO2 emissions.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="KilogramPerPersonKm">
<xs:annotation>
<xs:documentation>Kilograms of CO2 emission by person and by kilometre.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:float">
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ConfidenceLevel" type="Percentage" minOccurs="0">
<xs:annotation>
<xs:documentation>Confidence level of the emission value in percent.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>
Loading

0 comments on commit 2bd2784

Please sign in to comment.