118 lines
6.3 KiB
XML
118 lines
6.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:head="http://www.thales.dc/Headers"
|
|
xmlns:common="http://www.thales.dc/MediaConsumptionAdjustmentCommon"
|
|
xmlns="http://www.thales.dc/MediaConsumptionAdjustmentCancellation"
|
|
targetNamespace="http://www.thales.dc/MediaConsumptionAdjustmentCancellation"
|
|
version="1.0.0">
|
|
|
|
<!-- Import of xsd file -->
|
|
<xs:import namespace="http://www.thales.dc/Headers" schemaLocation="../../common/Headers.xsd"/>
|
|
<xs:import namespace="http://www.thales.dc/MediaConsumptionAdjustmentCommon" schemaLocation="../../common/MediaConsumptionAdjustmentCommon.xsd"/>
|
|
|
|
|
|
<!-- 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>04/11/2021 - Version 1.0.0</xs:documentation>
|
|
<xs:documentation>
|
|
1st part: Add the AuditMessages, AuditMessage, Headers and Payload element for the XML validation
|
|
2nd part: Add version to xsd schema
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>14/11/2023 - Version 1.1.0</xs:documentation>
|
|
<xs:documentation>
|
|
Add information about the previous and the recomputed leg id.
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------</xs:documentation>
|
|
</xs:annotation>
|
|
|
|
|
|
<!-- Description of the AuditMessagesType structure -->
|
|
<xs:element name="AuditMessages" type="AuditMessagesType"/>
|
|
<xs:complexType name="AuditMessagesType">
|
|
<xs:sequence>
|
|
<!-- List of AuditMessage -->
|
|
<xs:element name="AuditMessage" type="AuditMessageType" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
<!-- version of AuditMessages structure -->
|
|
<xs:attribute name="MediaConsumptionAdjustmentCancellationXsdVersion" type="xs:string" fixed="1.1"/>
|
|
</xs:complexType>
|
|
<!-- Description of the AuditMessageTypeForActionList structure -->
|
|
<xs:complexType name="AuditMessageType">
|
|
<xs:sequence>
|
|
<!-- Headers structure -->
|
|
<xs:element name="Headers" type="head:HeadersType" minOccurs="0"/>
|
|
<!-- Payload is a ActionListAuditExchange structure -->
|
|
<xs:element name="Payload" type="MediaConsumptionAdjustmentCancellationAuditExchange"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<!-- Description of the MediaConsumptionAdjustmentCancellationAuditExchange structure -->
|
|
<xs:complexType name="MediaConsumptionAdjustmentCancellationAuditExchange">
|
|
<xs:annotation>
|
|
<xs:documentation>mam_media_consumption_virtual_cancellation_post: Cancellation of an adjustment. Only manually</xs:documentation>
|
|
<xs:documentation>mam_media_consumption_excess_cancellation_post: Cancellation of an excess adjustment. Only manually</xs:documentation>
|
|
|
|
</xs:annotation>
|
|
<xs:all>
|
|
<xs:element name="CancellationDate" type="xs:dateTime"/>
|
|
<xs:element name="MediaIdentification" type="common:MediaIdentification"/>
|
|
<xs:element name="User" type="common:User">
|
|
<xs:annotation>
|
|
<xs:documentation>User performing the cancellation</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="MediaConsumptionAdjustmentModificationResult" type="common:MediaConsumptionAdjustmentModificationResult" minOccurs="0"/>
|
|
<xs:element name="MediaConsumptionJourneyAdjustmentModificationResult" type="common:MediaConsumptionJourneyAdjustmentModificationResult" minOccurs="0"/>
|
|
<xs:element name="MissingTravelEventAdjustment" minOccurs="0">
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="AdjustmentType" type="common:AdjustmentType"/>
|
|
<xs:element name="ExistingTravelEventTransactionId" type="xs:string">
|
|
<xs:annotation>
|
|
<xs:documentation>Transaction Id of the travel event that was previously missing a travel event</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="DailyMediaConsumptionId" type="xs:string"/>
|
|
<xs:element name="PreviousLegId" type="xs:string"/>
|
|
<xs:element name="RecomputedLegId" type="xs:string"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="ExcessFareAdjustment" minOccurs="0">
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="AdjustedTravelEventTransactionId" type="xs:string">
|
|
<xs:annotation>
|
|
<xs:documentation>Transaction Id of the exit travel event for which the excess fare has been adjusted</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="DailyMediaConsumptionId" type="xs:string"/>
|
|
<xs:element name="PreviousLegId" type="xs:string"/>
|
|
<xs:element name="RecomputedLegId" type="xs:string"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:schema>
|