95 lines
5.6 KiB
XML
95 lines
5.6 KiB
XML
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<xs:element name="export_arcadia">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Commande">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Num_Commande">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value=""/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Date_Commande">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:pattern value="(0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[012])/(19|20)\d\d"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element type="xs:byte" name="Operation" />
|
|
<xs:element name="Email_conso">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:pattern value="[^@]+@[^\.]+\..+"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Civilite">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value=""/>
|
|
<xs:enumeration value="1"/>
|
|
<xs:enumeration value="2"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element type="xs:string" name="Nom" />
|
|
<xs:element type="xs:string" name="Prenom" />
|
|
<xs:element type="xs:string" name="Adresse" />
|
|
<xs:element type="xs:string" name="Adresse_Complementaire" />
|
|
<xs:element type="xs:string" name="CP" />
|
|
<xs:element type="xs:string" name="Ville" />
|
|
<xs:element type="xs:string" name="Telephone" />
|
|
<xs:element name="Ligne_de_Commande">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="Quantite">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="1"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Poids_Unitaire_Colis">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:pattern value="[0-9]*|"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Code_Support">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:unsignedInt">
|
|
<xs:maxInclusive value="65535"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element type="xs:string" name="Libelle_Type_Support" />
|
|
<xs:element name="Code_on_Pack">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:pattern value="\d{13}|\d{8}|\d{7}|\d{6}"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
<xs:element name="Code_Unique" minOccurs="0">
|
|
<xs:simpleType>
|
|
<xs:restriction base="xs:string">
|
|
<xs:pattern value="[0-9A-Z]*|"/>
|
|
</xs:restriction>
|
|
</xs:simpleType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema>
|