64 lines
2.8 KiB
XML
64 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
|
|
Copyright (C) Revenue Collection Systems France S.A.S. - 2018-2025 ALL RIGHTS RESERVED
|
|
|
|
-->
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
xmlns="http://www.thales.dc/TransitContract"
|
|
targetNamespace="http://www.thales.dc/TransitContract"
|
|
version="1.0.1">
|
|
|
|
<!-- Annotate all modification of the xsd file according to version -->
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>Transit Contract</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>sprint 186 - 30/08/2023 - Version 1.0.1</xs:documentation>
|
|
<xs:documentation>
|
|
Transit contract sale audit
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
|
|
<!-- Description of the TransitContract structure -->
|
|
<xs:element name="TransitContract" type="TransitContract"/>
|
|
<xs:complexType name="TransitContract">
|
|
<xs:all>
|
|
<xs:element name="ContractSerialNumber" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="ProductCode" type="xs:integer" minOccurs="0"/>
|
|
<xs:element name="ProductFamily" type="ProductFamily" minOccurs="0"/>
|
|
<xs:element name="SaleOrderedItemNumber" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="TotalAmount" type="PriceIncludingVAT" minOccurs="0"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
<xs:simpleType name="ProductFamily">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="PERIOD_PASS"/>
|
|
<xs:enumeration value="MULTI_RIDE"/>
|
|
<xs:enumeration value="PAY_AS_YOU_GO"/>
|
|
<xs:enumeration value="EXIT_TICKET"/>
|
|
<xs:enumeration value="MULTI_LEG"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:complexType name="PriceIncludingVAT">
|
|
<xs:all>
|
|
<xs:element name="AmountIT" type="xs:decimal" minOccurs="0"/>
|
|
<xs:element name="AmountET" type="xs:decimal" minOccurs="0"/>
|
|
<xs:element name="AmountPST" type="xs:decimal" minOccurs="0"/>
|
|
<xs:element name="AmountGST" type="xs:decimal" minOccurs="0"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:schema>
|