| 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 |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" |
| 13 |
xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd" |
| 14 |
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd"> |
| 15 |
<xsd:annotation> |
| 16 |
<xsd:documentation xml:lang="en">Catalog schema for Retailer component of WS-I</xsd:documentation> |
| 17 |
</xsd:annotation> |
| 18 |
<xsd:element name="catalog" type="tns:CatalogType"/> |
| 19 |
<xsd:element name="comment" type="xsd:string"/> |
| 20 |
<xsd:complexType name="CatalogType"> |
| 21 |
<xsd:sequence> |
| 22 |
<xsd:element name="Item" type="tns:CatalogItem" maxOccurs="10"/> |
| 23 |
</xsd:sequence> |
| 24 |
</xsd:complexType> |
| 25 |
<xsd:complexType name="CatalogItem"> |
| 26 |
<xsd:sequence> |
| 27 |
<xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/> |
| 28 |
<xsd:element name="description" type="xsd:string" minOccurs="1" maxOccurs="1"/> |
| 29 |
<xsd:element name="productNumber" type="tns:productNumber" minOccurs="1" maxOccurs="1"/> |
| 30 |
<xsd:element name="category" type="xsd:string" minOccurs="1" maxOccurs="1"/> |
| 31 |
<xsd:element name="brand" type="xsd:string" minOccurs="1" maxOccurs="1"/> |
| 32 |
<xsd:element name="price" type="xsd:decimal" minOccurs="1" maxOccurs="1"/> |
| 33 |
</xsd:sequence> |
| 34 |
</xsd:complexType> |
| 35 |
<xsd:simpleType name="productNumber"> |
| 36 |
<xsd:restriction base="xsd:integer"> |
| 37 |
<xsd:minInclusive value="1"/> |
| 38 |
<xsd:maxInclusive value="999999"/> |
| 39 |
</xsd:restriction> |
| 40 |
</xsd:simpleType> |
| 41 |
</xsd:schema> |