From e612ebde95cc22242c5e0ff362290eb21dd606bd Mon Sep 17 00:00:00 2001
From: Michael Krisper <michael.krisper@tugraz.at>
Date: Mon, 21 Mar 2022 12:23:14 +0100
Subject: [PATCH] Added RetarderType Axlegear Input Retarder in XML Schema
 Definition 2.4

---
 .../XSD/VectoDeclarationDefinitions.2.4.xsd   | 21 ++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/VectoCore/VectoCore/Resources/XSD/VectoDeclarationDefinitions.2.4.xsd b/VectoCore/VectoCore/Resources/XSD/VectoDeclarationDefinitions.2.4.xsd
index c88ddcc9df..a61359720b 100644
--- a/VectoCore/VectoCore/Resources/XSD/VectoDeclarationDefinitions.2.4.xsd
+++ b/VectoCore/VectoCore/Resources/XSD/VectoDeclarationDefinitions.2.4.xsd
@@ -2931,6 +2931,25 @@
 			<xs:minLength value="1"/>
 		</xs:restriction>
 	</xs:simpleType>
+	<xs:simpleType name="RetarderTypeType">
+		<xs:annotation>
+			<xs:appinfo>
+				<vectoParam:description>
+					<vectoParam:parameterId component="Vehicle">052</vectoParam:parameterId>
+					<vectoParam:unit>-</vectoParam:unit>
+				</vectoParam:description>
+			</xs:appinfo>
+			<xs:documentation>P052 - enum</xs:documentation>
+		</xs:annotation>
+		<xs:restriction base="xs:string">
+			<xs:enumeration value="None"/>
+			<xs:enumeration value="Losses included in Gearbox"/>
+			<xs:enumeration value="Engine Retarder"/>
+			<xs:enumeration value="Transmission Input Retarder"/>
+			<xs:enumeration value="Transmission Output Retarder"/>
+			<xs:enumeration value="Axlegear Input Retarder"/>
+		</xs:restriction>
+	</xs:simpleType>
 	<xs:group name="BusAuxElectricSystemLightsGroup">
 		<xs:sequence>
 			<xs:element name="LEDLights">
@@ -3773,7 +3792,7 @@
 	</xs:group>
 	<xs:group name="Vehicle_RetarderSequenceGroup">
 		<xs:sequence>
-			<xs:element name="RetarderType" type="v1.0:RetarderTypeType">
+			<xs:element name="RetarderType" type="v2.4:RetarderTypeType">
 				<xs:annotation>
 					<xs:documentation>P052 - enum</xs:documentation>
 				</xs:annotation>
-- 
GitLab