Skip to content

Instantly share code, notes, and snippets.

@lpender
Last active November 6, 2019 16:59
Show Gist options
  • Save lpender/a34469a2b8ea92b2ee681ca24891d317 to your computer and use it in GitHub Desktop.
Save lpender/a34469a2b8ea92b2ee681ca24891d317 to your computer and use it in GitHub Desktop.
Shipment Order Summary Schema
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://schemas.quietlogistics.com/V2/ShipmentOrder.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:p1="http://schemas.quietlogistics.com/V2/ShipmentOrder.xsd" xmlns:mstns="http://schemas.quietlogistics.com/V2/ShipmentOrder.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" >
<xs:element name="ShipOrderDocument" nillable="false" type="p1:ShipOrderDocumentType" />
<xs:complexType name="AddressType">
<xs:sequence>
<xs:element name="Extension" type="xs:string" maxOccurs="1" minOccurs="0" />
</xs:sequence>
<xs:attribute name="Company" type="xs:string" use="optional" />
<xs:attribute name="Contact" type="xs:string" use="optional" />
<xs:attribute name="Address1" type="xs:string" use="required" />
<xs:attribute name="Address2" type="xs:string" use="optional" />
<xs:attribute name="Address3" type="xs:string" use="optional" />
<xs:attribute name="City" type="xs:string" use="required" />
<xs:attribute name="State" type="xs:string" use="required" />
<xs:attribute name="Country" type="xs:string" use="optional" />
<xs:attribute name="PostalCode" type="xs:string" use="required" />
<xs:attribute name="Phone" type="xs:string" use="optional" />
<xs:attribute name="Phone2" type="xs:string" use="optional" />
<xs:attribute name="Fax" type="xs:string" use="optional" />
<xs:attribute name="Email" type="xs:string" use="optional" />
</xs:complexType>
<xs:complexType name="SoDetailType">
<xs:sequence>
<xs:element name="Extension" type="xs:string" maxOccurs="1" minOccurs="0" />
<xs:element name="Comments" type="xs:string" maxOccurs="1" minOccurs="0" />
<xs:element name="Process" type="p1:ProcessType" maxOccurs="unbounded" minOccurs="0" />
<xs:element name="SpecialHandling" type="xs:string" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="TaxRate" type="p1:TaxRateType" maxOccurs="unbounded" minOccurs="0" />
<xs:element name="Instructions" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Notes" type="p1:SONoteType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="ValueAddedService" type="p1:ValueAddedServiceType" maxOccurs="unbounded" minOccurs="0" />
</xs:sequence>
<xs:attribute name="Line" type="xs:int" use="required" />
<xs:attribute name="ItemNumber" type="xs:string" use="required" />
<xs:attribute name="UOM" type="xs:string" use="required" />
<xs:attribute name="QuantityOrdered" type="xs:int" use="required" />
<xs:attribute name="QuantityToShip" type="xs:int" use="required" />
<xs:attribute name="Price" type="xs:decimal" use="optional" />
<xs:attribute name="SubstituteItem" type="xs:string" use="optional" />
<xs:attribute name="AltItemDescription" type="xs:string" use="optional" />
<xs:attribute name="AltItemSize" type="xs:string" use="optional" />
<xs:attribute name="AltItemColor" type="xs:string" use="optional" />
<xs:attribute name="Gift" type="xs:boolean" use="optional" />
<xs:attribute name="GiftType" type="xs:string" use="optional" />
<xs:attribute name="ItemIDCapture" type="xs:boolean" use="optional" />
<xs:attribute name="Returnable" type="xs:boolean" use="optional" />
<xs:attribute name="AltVendorItem" type="xs:string" use="optional" />
<xs:attribute name="AltUPC" type="xs:string" use="optional" />
<xs:attribute name="AltPrice" type="xs:decimal" use="optional" />
</xs:complexType>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment