ordertypes.xsd

来自「This a collection of sample processes th」· XSD 代码 · 共 63 行

XSD
63
字号
<?xml version='1.0' encoding='UTF-8' ?>

<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
           xmlns:tns="http://schemas.active-endpoints.com/sample/orderTypes/2006/09/orderTypes.xsd"
           targetNamespace="http://schemas.active-endpoints.com/sample/orderTypes/2006/09/orderTypes.xsd" >

   <complexType name="AddressInfoType">
    <sequence>
     <element name="Name" nillable="true" type="xsd:string"/>
     <element name="Address1" nillable="true" type="xsd:string"/>
     <element name="Address2" nillable="true" type="xsd:string"/>
     <element name="City" nillable="true" type="xsd:string"/>
     <element name="State" nillable="true" type="xsd:string"/>
     <element name="Zip" nillable="true" type="xsd:string"/>
     <element name="Cntry" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>

   <complexType name="_OrderHeader">
    <sequence>
     <element name="CustId" nillable="true" type="xsd:string"/>
     <element name="PONo" nillable="true" type="xsd:string"/>
     <element name="DiscountPct" nillable="true" type="xsd:string"/>
     <element name="OrderComment" nillable="true" type="xsd:string"/>
     <element name="OrderId" nillable="true" type="xsd:string"/>
     <element name="CreateDate" nillable="true" type="xsd:string"/>
     <element name="OrderTotal" nillable="true" type="xsd:string"/>
     <element name="Status" nillable="true" type="xsd:string"/>
     <element name="BillToInfo" nillable="true" type="tns:AddressInfoType"/>
     <element name="ShipToInfo" nillable="true" type="tns:AddressInfoType"/>
    </sequence>
   </complexType>

   <complexType name="_OrderDetail">
    <sequence>
     <element name="SKU" nillable="true" type="xsd:string"/>
     <element name="QTY" nillable="true" type="xsd:string"/>
     <element name="LineComment" nillable="true" type="xsd:string"/>
     <element name="Cost" nillable="true" type="xsd:string"/>
     <element name="TotalCost" nillable="true" type="xsd:string"/>
     <element name="Status" nillable="true" type="xsd:string"/>
    </sequence>
   </complexType>

   <complexType name="OrderInfoType">
    <sequence>
     <element name="OrderHeader" nillable="true" type="tns:_OrderHeader"/>
     <element maxOccurs="unbounded" name="OrderDetail" nillable="true" type="tns:_OrderDetail"/>
    </sequence>
   </complexType>

   <complexType name="OrderKeyType">
    <sequence>
     <element name="custId" nillable="false" type="xsd:string"/>
     <element name="PONo" nillable="false" type="xsd:string"/>
     <element name="orderId" nillable="false" type="xsd:string"/>
    </sequence>
   </complexType>

   <element name="orderElement" type="tns:OrderInfoType" />
   <element name="orderKeyElement" type="tns:OrderKeyType" />
</schema>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?