178 lines
7.9 KiB
XML
178 lines
7.9 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/MediaConsumptionsApportionment"
|
|
targetNamespace="http://www.thales.dc/MediaConsumptionsApportionment"
|
|
version="1.1.1">
|
|
|
|
<!-- 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>23/11/2021 - Version 1.0.0</xs:documentation>
|
|
<xs:documentation>
|
|
Create MediaConsumptionsApportionment
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>28/11/2022 - Version 1.0.1</xs:documentation>
|
|
<xs:documentation>
|
|
- add errorCodes to legs
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>11/07/2024 - Version 1.1.0</xs:documentation>
|
|
<xs:documentation>
|
|
- add journeyId to journey
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>-----------------------------------------------------------------------------------------------------------------------
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:annotation>
|
|
<xs:documentation>09/09/2025 - Version 1.1.1</xs:documentation>
|
|
<xs:documentation>
|
|
- add fee contract ids to daily media consumption
|
|
</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="MediaConsumptionsApportionmentXsdVersion" type="xs:string" fixed="1.1"/>
|
|
</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 MediaConsumptionListAuditExchange structure -->
|
|
<xs:element name="Payload" type="MediaConsumptionsApportionmentAuditExchange"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<!-- Description of the MediaConsumptionsApportionmentAuditExchange structure -->
|
|
<xs:complexType name="MediaConsumptionsApportionmentAuditExchange">
|
|
<xs:annotation>
|
|
<xs:documentation>clr_str_media_consumptions_apportionment: After reception of a new journey reconstruction and rating</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:all>
|
|
<xs:element name="MediaConsumptionApportionments" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Media consumptions</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="MediaConsumptionApportionment" type="MediaConsumptionApportionment" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
<xs:complexType name="MediaConsumptionApportionment">
|
|
<xs:all>
|
|
<xs:element name="DailyMediaConsumptionId" type="xs:string"/>
|
|
<xs:element minOccurs="0" name="Journeys">
|
|
<xs:annotation>
|
|
<xs:documentation>Journeys</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Journey" type="Journey" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="Fees" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Fees information</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Fee" type="clr:FeeData" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
<xs:complexType name="Journey">
|
|
<xs:all>
|
|
<xs:element name="JourneyId" type="xs:string">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Unique identifier for a journey.
|
|
Between multiple reconstructions, the journeyId will be kept constant if the journey did not change
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element minOccurs="0" name="Legs">
|
|
<xs:annotation>
|
|
<xs:documentation>Legs</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Leg" type="Leg" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
<xs:complexType name="Leg">
|
|
<xs:all>
|
|
<xs:element name="LegId" type="xs:string">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
Unique identifier for a leg.
|
|
Between multiple reconstructions, the legId will be kept constant if the leg did not change
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ContractId" type="xs:string" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>
|
|
This leg is taken into account in this contract. If empty, it means this leg is not taken into account for apportionment purpose
|
|
</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ErrorCodes" minOccurs="0">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="ErrorCode" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:schema>
|