poc-reports/es_elt/xsd/common/RatingDetail.xsd
2026-01-27 14:48:39 +01:00

90 lines
4.3 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:det="http://www.thales.dc/ProductPriceWithDetails"
xmlns:capping="http://www.thales.dc/CappingDetails"
xmlns="http://www.thales.dc/RatingDetail"
targetNamespace="http://www.thales.dc/RatingDetail"
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>Version List</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation>sprint 186 - 23/08/2023 - Version 1.0.1</xs:documentation>
<xs:documentation>
change versioning and add documentation to respect XSD versioning format
</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------</xs:documentation>
</xs:annotation>
<!-- Import of xsd file -->
<xs:import namespace="http://www.thales.dc/ProductPriceWithDetails" schemaLocation="ProductPriceWithDetails.xsd"/>
<xs:import namespace="http://www.thales.dc/CappingDetails" schemaLocation="CappingDetails.xsd"/>
<xs:element name="RatingDetail" type="RatingDetail"/>
<xs:complexType name="RatingDetail">
<xs:all>
<xs:element name="HolderProfileId" type="xs:int" minOccurs="0">
<xs:annotation>
<xs:documentation>Dictionary prefix: HolderProfile</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContractSerialNumber" type="xs:long" minOccurs="0">
<xs:annotation>
<xs:documentation>Contract serial number</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProductCode" type="xs:int" minOccurs="0">
<xs:annotation>
<xs:documentation>Dictionary prefix: ProductCode</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CounterBalanceCurrentValue" type="xs:int" minOccurs="0">
<xs:annotation>
<xs:documentation>Current counter balance value if the used contract is a multi ride</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExcessFare" type="xs:boolean" minOccurs="0">
<xs:annotation>
<xs:documentation>Dictionary prefix: ExcessFare</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProductPriceWithDetails" type="det:ProductPriceWithDetails" minOccurs="0">
<xs:annotation>
<xs:documentation>Price of the leg including details such as fees, discount and base fare.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TicketingVersion" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>The ticketing version used for audit messages.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CappingDetails" type="capping:CappingDetails" minOccurs="0">
<xs:annotation>
<xs:documentation>The details of the capping.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ValidityEndDate" type="xs:dateTime" minOccurs="0">
<xs:annotation>
<xs:documentation>Product validity end date used for audit messages.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:all>
</xs:complexType>
</xs:schema>