0
|
1 |
<?xml version="1.0"?>
|
|
2 |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
|
3 |
|
|
4 |
<xsd:element name="order">
|
|
5 |
<xsd:complexType>
|
|
6 |
<xsd:sequence>
|
|
7 |
<xsd:element name="customerId" type="xsd:positiveInteger"/>
|
|
8 |
<xsd:element name="article" type="articleType" maxOccurs="unbounded"/>
|
|
9 |
<xsd:element name="deliveryDate" type="xsd:date"/>
|
|
10 |
<xsd:element name="payed" type="xsd:boolean"/>
|
|
11 |
</xsd:sequence>
|
|
12 |
</xsd:complexType>
|
|
13 |
</xsd:element>
|
|
14 |
|
|
15 |
<xsd:complexType name="articleType">
|
|
16 |
<xsd:sequence>
|
|
17 |
<xsd:element name="articleId" type="xsd:positiveInteger"/>
|
|
18 |
<xsd:element name="count" type="xsd:positiveInteger"/>
|
|
19 |
<xsd:element name="comment" type="xsd:string" minOccurs="0"/>
|
|
20 |
</xsd:sequence>
|
|
21 |
</xsd:complexType>
|
|
22 |
|
|
23 |
</xsd:schema>
|