62 lines
2.3 KiB
XML
62 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
<xs:element name="StructureXML">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="ML" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="code_boite" type="codeboitetype" />
|
|
<xs:element name="code_ede" type="codeedetype"/>
|
|
<xs:element name="date_de_ponte" type="xs:date"/>
|
|
<xs:element name="code_produit" type="codeproduittype"/>
|
|
<xs:element name="lib_produit" type="libproduittype"/>
|
|
<xs:element name="lot_externe" type="lotexternetype"/>
|
|
<xs:element name="dcr" type="xs:date"/>
|
|
<xs:element name="ean_13" type="ean13type"/>
|
|
<xs:element name="date_emballage" type="xs:date"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
|
|
<xs:simpleType name="codeboitetype">
|
|
<xs:restriction base="xs:integer">
|
|
<xs:pattern value="[0-9]{9}|[0-9]{10}"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
<xs:simpleType name="codeedetype">
|
|
<xs:restriction base="xs:string">
|
|
<xs:length value="8"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
<xs:simpleType name="codeproduittype">
|
|
<xs:restriction base="xs:string">
|
|
<xs:pattern value="[0-9]{8}.[0-9]{3}"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
<xs:simpleType name="libproduittype">
|
|
<xs:restriction base="xs:string">
|
|
<xs:maxLength value="35"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
<xs:simpleType name="lotexternetype">
|
|
<xs:restriction base="xs:integer">
|
|
<xs:pattern value="[0-9]{6}|[0-9]{12}"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
|
|
<xs:simpleType name="ean13type">
|
|
<xs:restriction base="xs:integer">
|
|
<xs:pattern value="[0-9]{13}"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
|
|
</xs:schema>
|