-
Notifications
You must be signed in to change notification settings - Fork 0
/
purchaseOrder.xsd
40 lines (40 loc) · 1.79 KB
/
purchaseOrder.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<xs:schema elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="purchaseOrder">
<xs:complexType>
<xs:sequence>
<xs:element type="nameType" name="name"/>
<xs:element type="xs:string" name="sku"/>
<xs:element type="xs:decimal" name="price"/>
<xs:element type="xs:date" name="orderDate"/>
<xs:element name="shipTo">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="name"/>
<xs:element type="xs:string" name="address"/>
<xs:element type="xs:string" name="city"/>
<xs:element type="xs:string" name="state"/>
<xs:element type="xs:string" name="zip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="billTo">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="name"/>
<xs:element type="xs:string" name="address"/>
<xs:element type="xs:string" name="city"/>
<xs:element type="xs:string" name="state"/>
<xs:element type="xs:string" name="zip"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="nameType">
<xs:restriction base="xs:string">
<xs:maxLength value="512"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>