poc-reports/es_elt/xsd/common/StockOrderExchange.xsd
2026-01-27 14:48:39 +01:00

117 lines
6.1 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:com="http://www.thales.dc/ExtendedAddress"
xmlns:loc="http://www.thales.dc/Localized"
xmlns="http://www.thales.dc/StockOrderExchange"
targetNamespace="http://www.thales.dc/StockOrderExchange"
version="1.0.1">
<!-- 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>-----------------------------------------------------------------------------------------------------------------------</xs:documentation>
</xs:annotation>
<!-- Import of xsd file -->
<xs:import namespace="http://www.thales.dc/ExtendedAddress" schemaLocation="ExtendedAddress.xsd"/>
<xs:import namespace="http://www.thales.dc/Localized" schemaLocation="Localized.xsd"/>
<!-- Description of the StockOrderExchange structure -->
<xs:element name="StockOrderExchange" type="StockOrderExchange"/>
<xs:complexType name="StockOrderExchange">
<xs:all>
<xs:element name="Comment" type="xs:string" minOccurs="0"/>
<xs:element name="DeliveryAddress" type="com:ExtendedAddress" minOccurs="0">
<xs:annotation>
<xs:documentation>Shipping address</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExpectedDeliveryDate" type="xs:date" minOccurs="0"/>
<xs:element name="ManufacturerIdentifier" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Identifier of the Business Entity acting as Media Manufacturer/Supplier</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ParcelQuantity" type="xs:int"/>
<xs:element name="QuantityPerParcel" type="xs:int">
<xs:annotation>
<xs:documentation>Quantity of media inside a parcel</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StockItemType" type="loc:LocalizedStockItemType" minOccurs="0"/>
<xs:element name="SubConditioningInParcel" type="xs:int" minOccurs="0">
<xs:annotation>
<xs:documentation>Sub-conditioning of media (ex. blister) inside a parcel</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BatchCreationDateTime" type="xs:dateTime" minOccurs="0"/>
<xs:element name="BatchQuantity" type="xs:int" minOccurs="0"/>
<xs:element name="FrontArtworkIdentifier" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Graphical artwork to be printed on the media (Front) surface ; it may include dynamic areas that will be filled in
with specific data
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GraphicalNumberEndRange" type="xs:string" minOccurs="0"/>
<xs:element name="GraphicalNumberStartRange" type="xs:string" minOccurs="0"/>
<xs:element name="MediaExpiryDate" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation>Validity end date assigned to all media produced for this order</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MediaIssuerId" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Identifier of the Business Entity acting as Media Issuer</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MediaType" type="loc:LocalizedMediaType" minOccurs="0">
<xs:annotation>
<xs:documentation>Dictionary prefix: MediaType</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OperatorIdentifier" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Identifier of the operator that created the order</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OrderStatus" type="loc:LocalizedOrderStatus" minOccurs="0"/>
<xs:element name="RearArtworkIdentifier" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Graphical artwork to be printed on the media (Rear) surface ; it may include dynamic areas that will be filled in
with specific data
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SecurityKeySet" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>Security Key set to be used for the media. Key Set are exchange by security officer via another mean
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StockOrderId" type="xs:string" minOccurs="0"/>
<xs:element name="ValidationDate" type="xs:dateTime" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:schema>