102 lines
4.8 KiB
XML
102 lines
4.8 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="http://www.thales.dc/ActionList"
|
|
targetNamespace="http://www.thales.dc/ActionList"
|
|
version="1.0.0">
|
|
|
|
<!-- Import of xsd file -->
|
|
<xs:import namespace="http://www.thales.dc/Headers" schemaLocation="../../common/Headers.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>
|
|
|
|
|
|
<!-- 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="ActionListXsdVersion" type="xs:string" fixed="1.0"/>
|
|
</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="ActionListAuditExchange"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<!-- Description of the ActionListAuditExchange structure -->
|
|
<xs:annotation>
|
|
<xs:documentation>alm_actions_post: Creation of an action</xs:documentation>
|
|
<xs:documentation>alm_action_post: Update, completion or cancellation of an action</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType name="ActionListAuditExchange">
|
|
<xs:all>
|
|
<xs:element name="ActionEntryStatus" type="ActionEntryStatus" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Dictionary prefix: ActionEntryStatus</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ActionEntryType" type="ActionEntryType" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Dictionary prefix: ActionEntryType</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="ExecutionDate" type="xs:dateTime" minOccurs="0"/>
|
|
<xs:element name="ExpiryDate" type="xs:dateTime" minOccurs="0"/>
|
|
<xs:element name="MediaId" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="MediaSerialNumber" type="xs:string" minOccurs="0"/>
|
|
<xs:element name="MediaTypeId" type="xs:int" minOccurs="0"/>
|
|
<xs:element name="SubmissionDate" type="xs:dateTime" minOccurs="0"/>
|
|
<xs:element name="SystemActionNumber" type="xs:string" minOccurs="0"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
<xs:simpleType name="ActionEntryStatus">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="INITIALIZED"/>
|
|
<xs:enumeration value="COMPLETED"/>
|
|
<xs:enumeration value="CANCELLED"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
<xs:simpleType name="ActionEntryType">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="APPLICATION_ACTIVATION"/>
|
|
<xs:enumeration value="APPLICATION_UNBLOCKING"/>
|
|
<xs:enumeration value="HOLDER_PROFILE_UPDATE"/>
|
|
<xs:enumeration value="PURSE_RELOAD"/>
|
|
<xs:enumeration value="PURSE_DEBIT"/>
|
|
<xs:enumeration value="CONTRACT_SALE"/>
|
|
<xs:enumeration value="CONTRACT_UNBLOCKING"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:schema>
|