retailcatalog.xsd
来自「一个web service的开发工具」· XSD 代码 · 共 42 行
XSD
42 行
<?xml version="1.0" encoding="utf-8"?>
<!--
September 14, 2002
(c) Copyright 2002, The Web Services-Interoperability Organization (WS-I)
Download or use of this file is governed by the Policies and Bylaws of WS-I.
For more information, send email info@ws-i.org.
-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd"
targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd">
<xsd:annotation>
<xsd:documentation xml:lang="en">Catalog schema for Retailer component of WS-I</xsd:documentation>
</xsd:annotation>
<xsd:element name="catalog" type="tns:CatalogType"/>
<xsd:element name="comment" type="xsd:string"/>
<xsd:complexType name="CatalogType">
<xsd:sequence>
<xsd:element name="Item" type="tns:CatalogItem" maxOccurs="10"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CatalogItem">
<xsd:sequence>
<xsd:element name="name" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="description" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="productNumber" type="tns:productNumber" minOccurs="1" maxOccurs="1"/>
<xsd:element name="category" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="brand" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="price" type="xsd:decimal" minOccurs="1" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
<xsd:simpleType name="productNumber">
<xsd:restriction base="xsd:integer">
<xsd:minInclusive value="1"/>
<xsd:maxInclusive value="999999"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?