<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.3">
<annotation>
<documentation>
<schemaName>PipelineSchedule</schemaName>
<copyright>American Petroleum Institute (API), Petroleum Industry Data Exchange (PIDX) 2006</copyright>
<schemaVersion>1.3</schemaVersion>
<description>PipelineSchedule element serves as the root node for PIDX transactions.</description>
</documentation>
</annotation>
<include schemaLocation="PIDXLib.xsd"/>
<element name="PipelineSchedule">
<complexType>
<sequence>
<element ref="pidx:PipelineScheduleProperties"/>
<element ref="pidx:PipelineScheduleDetails"/>
<element ref="pidx:PipelineScheduleSummary"/>
</sequence>
<attribute ref="pidx:documentIdentifier" use="required"/>
<attribute ref="pidx:transactionPurposeIndicator" use="required"/>
<attribute ref="pidx:version" use="optional"/>
</complexType>
</element>
<element name="PipelineScheduleDetails">
<complexType>
<sequence>
<element ref="pidx:PipelineScheduleLineItem" maxOccurs="unbounded"/>
</sequence>
</complexType>
</element>
<element name="PipelineScheduleLineItem">
<complexType>
<sequence>
<element ref="pidx:LineItemNumber"/>
<element ref="pidx:LineItemInformation"/>
<element ref="pidx:LineItemScheduleQuantity"/>
<element ref="pidx:LineItemNominationQuantity" minOccurs="0"/>
<element ref="pidx:LineItemTankNumber" minOccurs="0"/>
<element ref="pidx:PartnerInformation" maxOccurs="unbounded"/>
<element ref="pidx:PipelineCycle"/>
<element ref="pidx:PipelineSequence"/>
<element ref="pidx:PipelineSCD"/>
<element ref="pidx:ScheduleStartDateTime"/>
<element ref="pidx:ScheduleStopDateTime" minOccurs="0"/>
<element ref="pidx:PipelineEventInformation" minOccurs="0"/>
<element ref="pidx:AverageFlowRate" minOccurs="0"/>
<element ref="pidx:CommodityCode" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:PurchaseOrderLineItemNumber" minOccurs="0"/>
<element ref="pidx:PurchaseOrderInformation" minOccurs="0"/>
<element ref="pidx:OriginLocationInformation" minOccurs="0"/>
<element ref="pidx:CustodyLocationInformation"/>
<element ref="pidx:SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:ReferenceInformation" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:PartnerDefinedMeasure" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:Attachment" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:Comment" minOccurs="0"/>
</sequence>
</complexType>
</element>
<element name="PipelineScheduleProperties">
<complexType>
<sequence>
<element ref="pidx:CreateDateTime"/>
<element ref="pidx:PipelineLineNumber"/>
<element ref="pidx:PipelineLineDescription" minOccurs="0"/>
<element ref="pidx:PartnerInformation" maxOccurs="unbounded"/>
<element ref="pidx:PurchaseOrderInformation" minOccurs="0"/>
<element ref="pidx:PurchaseOrderLineItemNumber" minOccurs="0"/>
<element ref="pidx:LanguageCode" minOccurs="0"/>
<element ref="pidx:SpecialInstructions" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:ReferenceInformation" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:Attachment" minOccurs="0" maxOccurs="unbounded"/>
<element ref="pidx:Comment" minOccurs="0"/>
</sequence>
</complexType>
</element>
<element name="PipelineScheduleSummary">
<complexType>
<sequence>
<element ref="pidx:TotalLineItems"/>
</sequence>
</complexType>
</element>
</schema>
|