125 lines
5.7 KiB
XML
125 lines
5.7 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:clr="http://www.thales.dc/ClearingItemType"
|
|
xmlns="http://www.thales.dc/FixedOriginDestinationApportionmentDetails"
|
|
targetNamespace="http://www.thales.dc/FixedOriginDestinationApportionmentDetails"
|
|
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/ClearingItemType" schemaLocation="../../common/ClearingItemType.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>22/11/2021 - Version 1.0.0</xs:documentation>
|
|
<xs:documentation>
|
|
Create the audit message
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>Sprint 186 - 22/08/2023 - Version 1.0.1</xs:documentation>
|
|
<xs:documentation>
|
|
Added leg rule details
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
|
|
|
|
<!-- Description of the AuditMessages 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="FixedOriginDestinationApportionmentDetailsXsdVersion" type="xs:string" fixed="1.0"/>
|
|
</xs:complexType>
|
|
<!-- Description of the AuditMessage structure -->
|
|
<xs:complexType name="AuditMessageType">
|
|
<xs:sequence>
|
|
<!-- Headers structure -->
|
|
<xs:element name="Headers" type="head:HeadersType" minOccurs="0"/>
|
|
<!-- Payload is a FixedOriginDestinationApportionmentErrorsAuditExchange structure -->
|
|
<xs:element name="Payload" type="FixedOriginDestinationApportionmentDetailsAuditExchange"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="FixedOriginDestinationApportionmentDetailsAuditExchange">
|
|
<xs:annotation>
|
|
<xs:documentation>clr_apportionment_fixed_od_details: Created each time we receive a new event</xs:documentation>
|
|
<xs:documentation>Details of fixed origin destination apportionment for a contractId.</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:all>
|
|
<xs:element name="ContractId" type="xs:string"/>
|
|
<xs:element name="LegApportionments">
|
|
<xs:annotation>
|
|
<xs:documentation>Apportionment per leg</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="LegApportionment" type="LegApportionment" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="Sequence" type="xs:long">
|
|
<xs:annotation>
|
|
<xs:documentation>The ordering sequence number of this contract's apportionment.</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="LegApportionment">
|
|
<xs:annotation>
|
|
<xs:documentation>Details of apportionment for a leg.</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:all>
|
|
<xs:element name="LegId" type="xs:string"/>
|
|
<xs:element name="ApportionmentItems" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Output from apportionment</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="ApportionmentItem" type="clr:ApportionmentItemType" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="LegRuleDetails" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Details of rule calculation, when several parts are engaged for apportionment's calculation</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="LegRuleDetail" type="clr:ContractRuleDetails" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:schema>
|