Debian Codegraph @

samples/ws-i/scm/source/schema/Warehouse.xsd

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4 September 14, 2002
5
6 (c) Copyright 2002, The Web Services-Interoperability Organization (WS-I)
7 Download or use of this file is governed by the Policies and Bylaws of WS-I.
8
9 For more information, send email [email protected].
10 -->
11
12 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
13 xmlns:wh="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd"
14 targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd">
15
16 <xs:simpleType name="CustomerReferenceType">
17 <xs:restriction base="xs:normalizedString">
18 <xs:maxLength value="20"/>
19 <xs:pattern value="[A-D][0-9]{5}-[0-9A-Z]{7}-[a-z]{3}#*"/>
20 </xs:restriction>
21 </xs:simpleType>
22
23 <xs:complexType name="Item">
24 <xs:sequence>
25 <xs:element name="ProductNumber" type="xs:nonNegativeInteger"/>
26 <xs:element name="Quantity" type="xs:unsignedShort"/>
27 </xs:sequence>
28 </xs:complexType>
29
30 <xs:complexType name="ItemList">
31 <xs:sequence>
32 <xs:element name="Item" type="wh:Item" minOccurs="1" maxOccurs="unbounded" nillable="false"/>
33 </xs:sequence>
34 </xs:complexType>
35
36 <xs:complexType name="ItemShippingStatus">
37 <xs:sequence>
38 <xs:element name="ProductNumber" type="xs:nonNegativeInteger"/>
39 <xs:element name="Status" type="xs:boolean"/>
40 </xs:sequence>
41 </xs:complexType>
42
43 <xs:complexType name="ItemShippingStatusList">
44 <xs:sequence>
45 <xs:element name="ItemStatus" type="wh:ItemShippingStatus" minOccurs="1" maxOccurs="unbounded" nillable="false"/>
46 </xs:sequence>
47 </xs:complexType>
48
49 </xs:schema>