<schema targetNamespace="http://www.api.org/pidXML" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:pidx="http://www.api.org/pidXML" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.2">
<annotation>
<documentation>
<schemaName>AdvancedShipNotice</schemaName>
<copyright>American Petroleum Institute (API), Petroleum Industry Data Exchange (PIDX) 2006</copyright>
<schemaVersion>1.2</schemaVersion>
<description>AdvancedShipNotice element serves as the root node for PIDX transactions.</description>
</documentation>
</annotation>
<include schemaLocation="PIDXLib.xsd"/>
<element name="AdvancedShipNotice">
<complexType>
<sequence>
<element ref="pidx:AdvancedShipNoticeDetails"/>
<element ref="pidx:AdvancedShipNoticeProperties"/>
<element ref="pidx:AdvancedShipNoticeTotals" minOccurs="0"/>
</sequence>
<attribute ref="pidx:version" use="optional"/>
</complexType>
</element>
<element name="AdvancedShipNoticeDetails">
<complexType>
<sequence>
<element ref="pidx:ShipNoticeEquipmentDetails" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:AdvancedShipNoticeLineItems" maxOccurs="unbounded"/>
<element ref="pidx:ShipmentPackaging" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="AdvancedShipNoticeProperties">
<complexType>
<sequence>
<element ref="pidx:ShipmentIdentifier"/>
<element ref="pidx:ShipDate"/>
<element ref="pidx:LoadTenderInformation" minOccurs="0"/>
<element ref="pidx:PurchaseOrderReferenceInformation" minOccurs="0"/>
<element ref="pidx:DateTimeRange" minOccurs="0"/>
<element ref="pidx:TransportMethod" minOccurs="0"/>
<element ref="pidx:SystemAccountCode" minOccurs="0"/>
<element ref="pidx:LanguageCode" minOccurs="0"/>
<element ref="pidx:PartnerInformation" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:DocumentReference" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:ShipmentMethodOfPayment" minOccurs="0"/>
<element ref="pidx:ShipmentTerms" minOccurs="0"/>
<element ref="pidx:ConveyanceInformation" minOccurs="0"/>
<element ref="pidx:PortOfLoading" minOccurs="0"/>
<element ref="pidx:IntermodalService" minOccurs="0"/>
<element ref="pidx:PortOfDischarge" minOccurs="0"/>
<element ref="pidx:SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:CustomerSpecificInformation" minOccurs="0" maxOccurs="unbounded"/>
<choice minOccurs="0">
<element ref="pidx:ScheduleDateTime"/>
<element ref="pidx:ScheduleDateTimeRange"/>
</choice>
<element ref="pidx:Comment" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="AdvancedShipNoticeTotals">
<complexType>
<sequence>
<element ref="pidx:TotalLineItems" minOccurs="0"/>
<element ref="pidx:GrossTotalAmount" minOccurs="0"/>
</sequence>
</complexType>
</element>
</schema>
|