<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>Receipt</schemaName>
<copyright>American Petroleum Institute (API), Petroleum Industry Data Exchange (PIDX) 2006</copyright>
<schemaVersion>1.2</schemaVersion>
<description>Receipt element serves as the root node for PIDX transactions.</description>
</documentation>
</annotation>
<include schemaLocation="PIDXLib.xsd"/>
<element name="Receipt">
<annotation>
<documentation>Structure containing information about the Receipt.</documentation>
</annotation>
<complexType>
<sequence>
<element ref="pidx:ReceiptProperties"/>
<element ref="pidx:ReceiptDetails"/>
<element ref="pidx:ReceiptTotals" minOccurs="0"/>
</sequence>
<attribute ref="pidx:version" use="optional"/>
</complexType>
</element>
<element name="ReceiptDetails">
<annotation>
<documentation>Structure containing information on the details of the Receipt.</documentation>
</annotation>
<complexType>
<sequence>
<element ref="pidx:ReceiptLineItems" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="ReceiptProperties">
<annotation>
<documentation>Structure containing information on the properties of the Receipt.</documentation>
</annotation>
<complexType>
<sequence>
<element ref="pidx:ReceiptDate"/>
<element ref="pidx:PurchaseOrderReferenceInformation"/>
<element ref="pidx:PartnerInformation" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:ReferenceNumber" minOccurs="0"/>
<element ref="pidx:LanguageCode" minOccurs="0"/>
<element ref="pidx:DateTimeRange" minOccurs="0"/>
<element ref="pidx:DocumentReference" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:CustomerSpecificInformation" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:Comment" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="ReceiptTotals">
<annotation>
<documentation>Structure containing information on the totals of the Receipt.</documentation>
</annotation>
<complexType>
<sequence>
<element ref="pidx:TotalLineItems" minOccurs="0"/>
</sequence>
</complexType>
</element>
</schema>
|