<schema xmlns:pidx="http://www.api.org/pidXML" xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.api.org/pidXML" elementFormDefault="qualified" version="1.0">
<annotation>
<documentation>
<schemaName>Inventory Balance Request</schemaName>
<copyright>American Petroleum Institute (API), Petroleum Industry Data Exchange (PIDX) 2006</copyright>
<schemaVersion>1.0</schemaVersion>
<description>The InventoryBalanceRequest message represents a request from a shipper to the terminal to have specific data returned for that shipper to use. </description>
</documentation>
</annotation>
<include schemaLocation="PIDXCodeLists.xsd"/>
<include schemaLocation="PIDXLib.xsd"/>
<complexType name="InventoryBalanceRequestHeaderType">
<sequence>
<element ref="pidx:StartDateTime">
<annotation>
<documentation> The start datetime of the period being requested.</documentation>
</annotation>
</element>
<element ref="pidx:EndDateTime">
<annotation>
<documentation> The end datetime of the period being requested</documentation>
</annotation>
</element>
<element ref="pidx:TerminalInformation"/>
<element ref="pidx:Shipper">
<annotation>
<documentation> The owner of the product in the terminal.</documentation>
</annotation>
</element>
<element ref="pidx:UnitOfMeasureCode" minOccurs="0">
<annotation>
<documentation>The requested unit of measure for all products contained in the inventory report.</documentation>
</annotation>
</element>
</sequence>
</complexType>
<complexType name="InventoryBalanceRequestType">
<sequence>
<element ref="pidx:InventoryBalanceRequestHeader"/>
</sequence>
</complexType>
<element name="EndDateTime" type="dateTime">
<annotation>
<documentation>The end datetime of the period being requested</documentation>
</annotation>
</element>
<element name="InventoryBalanceRequestHeader" type="pidx:InventoryBalanceRequestHeaderType">
<annotation>
<documentation>Header information for the inventory balance request.</documentation>
</annotation>
</element>
<element name="InventoryBalanceRequest" type="pidx:InventoryBalanceRequestType">
<annotation>
<documentation>Information for the inventory balance request.</documentation>
</annotation>
</element>
<element name="Shipper" type="pidx:CompanyInformationType">
<annotation>
<documentation>The owner of the product in the terminal requesting the inventiry balance information.</documentation>
</annotation>
</element>
<element name="StartDateTime" type="dateTime">
<annotation>
<documentation>The start datetime of the period being requested</documentation>
</annotation>
</element>
</schema>
|