143 lines
7.2 KiB
XML
143 lines
7.2 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:med2="http://www.thales.dc/MediaIdentification"
|
|
xmlns:head="http://www.thales.dc/Headers"
|
|
xmlns:orderDetails="http://www.thales.dc/OrderDetails"
|
|
xmlns:com="http://www.thales.dc/ExtendedAddress"
|
|
xmlns="http://www.thales.dc/OrderItem"
|
|
targetNamespace="http://www.thales.dc/OrderItem"
|
|
version="1.0.2">
|
|
|
|
<!-- Import of xsd file -->
|
|
<xs:import namespace="http://www.thales.dc/MediaIdentification" schemaLocation="../../common/MediaIdentification.xsd"/>
|
|
<xs:import namespace="http://www.thales.dc/Headers" schemaLocation="../../common/Headers.xsd"/>
|
|
<xs:import namespace="http://www.thales.dc/ExtendedAddress" schemaLocation="../../common/ExtendedAddress.xsd"/>
|
|
<xs:import namespace="http://www.thales.dc/OrderDetails" schemaLocation="../../common/OrderDetails.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>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>sprint 186 - 29/08/2023 - Version 1.0.1</xs:documentation>
|
|
<xs:documentation>
|
|
add refund data to order items (contractSerialNumber, refundAmount, refundFee, FinalRefundAmountFlag)
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>sprint 205 - 15/10/2024 - Version 1.0.2</xs:documentation>
|
|
<xs:documentation>
|
|
add Payment Means Id for PAY_AS_YOU_GO_MODIFICATION
|
|
</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="OrderItemXsdVersion" 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 CustomerOrdersAuditExchange structure -->
|
|
<xs:element name="Payload" type="OrderItemAuditExchange"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="OrderItemAuditExchange">
|
|
<xs:annotation>
|
|
<xs:documentation>pom_order_item_put: At order item update</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:all>
|
|
<xs:element name="OrderNumber" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="OrderStatus" type="orderDetails:CustomerOrderStatus" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Dictionary prefix: CustomerOrderStatus</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="CustomerId" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="InvoicingData" type="com:ExtendedAddress" minOccurs="0"/>
|
|
<xs:element name="ExpirationDate" type="xs:dateTime" minOccurs="0"/>
|
|
<xs:element name="ItemNumber" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="ItemStatus" type="orderDetails:DeliveryOrderStatus" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Dictionary prefix: DeliveryOrderStatus</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ItemType" type="orderDetails:OrderItemType" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Dictionary prefix: DeliveryOrderStatus</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="Media" type="med2:MediaIdentification" minOccurs="0"/>
|
|
<xs:element name="Price" type="orderDetails:PriceIncludingVAT" minOccurs="0"/>
|
|
<xs:element name="TicketingVersion" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="ContractSerialNumber" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The serial number of the contract to refund</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="InitialRefundAmount" type="orderDetails:PriceIncludingVAT" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The initial refund amount calculated by CSS</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="FinalRefundAmount" type="orderDetails:PriceIncludingVAT" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The final refund amount calculated by MAM</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="RefundFee" type="orderDetails:PriceIncludingVAT" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The fee applied to refund a product</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="FinalRefundAmountFlag" type="xs:boolean" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>If we have a final refund amount</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="PaymentMeansId" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>The payment means Id (When a Payment Agreement is attached to a media)</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="PurseId" type="xs:string" minOccurs="0"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:schema>
|