📄 product.xsd
字号:
<?xml version="1.0" encoding="gb2312"?>
<!--
1.[2005-8-10]修改product和offering元素,去除多余的子元素。只保留offeringId、offeringSpecId、productId和productSpecId等必要的子元素
-->
<xsd:schema targetNamespace="http://bnet.gsta.com/businessProcess/schema" xmlns="http://bnet.gsta.com/businessProcess/schema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://bnet.gsta.com/businessProcess/schema" elementFormDefault="qualified" attributeFormDefault="qualified" version="1.0">
<xsd:annotation>
<xsd:documentation>产品域</xsd:documentation>
</xsd:annotation>
<!--商品-->
<xsd:element name="offering">
<xsd:complexType>
<xsd:sequence>
<!--商品Id-->
<xsd:element name="offeringId" type="xsd:string"/>
<!--商品规格Id-->
<xsd:element name="offeringSpecId" type="xsd:string"/>
<!--当前商品包含的产品-->
<xsd:element ref="tns:product" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!--产品-->
<xsd:element name="product">
<xsd:complexType>
<xsd:sequence>
<!--产品Id-->
<xsd:element name="productId" type="xsd:string"/>
<xsd:element name="acceptNumber" type="xsd:string"/>
<!--商品Id-->
<xsd:element name="offeringId" type="xsd:string"/>
<!--产品规格Id-->
<xsd:element name="productSpecId" type="xsd:string"/>
<!--商品规格Id-->
<xsd:element name="offeringSpecId" type="xsd:string"/>
<!--客户Id-->
<xsd:element name="bnetId" type="xsd:string"/>
<xsd:element name="openTime" type="xsd:date"/>
<xsd:element name="stateId" type="xsd:long"/>
<xsd:element name="discountRate" type="xsd:double"/>
<!--客户查勘结果-->
<xsd:element name="custCheckResult" type="xsd:string"/>
<xsd:element ref="tns:productProperty" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!--产品属性-->
<xsd:element name="productProperty">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="atrributeId" type="xsd:string"/>
<xsd:element name="attributeValue" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -