root / projects / MonthlyProductionReport_1.0 / XML / PRODML / PRODML_schemas_with_enum_4apr2008 / obj_productFlowModel_profiled_template_schema.xsd @ 17

Revision 17, 164.4 kB (checked in by ryland, 15 years ago)

Added project files for monthly production version 1.0

RevLine 
[17]1<?xml version="1.0" encoding="utf-8"?>
2<xsd:schema
3        elementFormDefault="qualified"
4        attributeFormDefault="unqualified"
5        targetNamespace="http://www.witsml.org/schemas/131"
6        xmlns:witsml="http://www.witsml.org/schemas/131"
7        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
8        version="1.3.1">
9   <!--                                                                                -->
10   <!-- Energistics License Agreement                                                  -->
11   <!-- This file is distributed under the Energistics License Agreement at            -->
12   <!-- http://www.posc.org/about/license.shtml.                                       -->
13   <!-- Use of this file constitutes agreement with the Energistics License Agreement. -->
14   <!--                                                                                -->
15   <!--UNUSED: Deleted type q_attgrp_uid.-->
16   <!--UNUSED: Deleted type cs_businessAssociate.-->
17   <xsd:complexType name="q_cs_commonData">
18      <xsd:annotation>
19         <xsd:documentation>WITSML - Common Data Component Schema</xsd:documentation>
20      </xsd:annotation>
21      <xsd:sequence>
22         <xsd:element name="sourceName" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
23            <xsd:annotation>
24               <xsd:documentation>An identifier to indicate the data originator. This identifies the server that originally created the object and thus most of the uids in the
25               object (but not necessarily the uids of the parents). This is typically a url.</xsd:documentation>
26            </xsd:annotation>
27         </xsd:element>
28         <xsd:element name="dTimCreation" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
29            <xsd:annotation>
30               <xsd:documentation>When the data was created at the persistent data store.</xsd:documentation>
31            </xsd:annotation>
32         </xsd:element>
33         <xsd:element name="dTimLastChange" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
34            <xsd:annotation>
35               <xsd:documentation>Last change of any element of the data at the persistent data store. The change time is not updated for a growing object while it is
36               growing.</xsd:documentation>
37            </xsd:annotation>
38         </xsd:element>
39         <xsd:element name="itemState" type="witsml:q_ItemState_queryValue" minOccurs="0" maxOccurs="1">
40            <xsd:annotation>
41               <xsd:documentation>The item state for the data object.</xsd:documentation>
42            </xsd:annotation>
43         </xsd:element>
44         <xsd:element name="comments" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
45            <xsd:annotation>
46               <xsd:documentation>Comments and remarks.</xsd:documentation>
47            </xsd:annotation>
48         </xsd:element>
49      </xsd:sequence>
50   </xsd:complexType>
51   <xsd:complexType name="q_cs_connectedNode">
52      <xsd:annotation>
53         <xsd:documentation>WITSML - Product Flow Connected Node Component Schema.</xsd:documentation>
54      </xsd:annotation>
55      <xsd:sequence>
56         <xsd:element name="node" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
57            <xsd:annotation>
58               <xsd:documentation>Defines the node to which this port is connected. Only two ports should be actively connected to the same node at the same point in time. That
59               is, a port should only be connected to one other port. There are no semantics for the node except common connection. All ports that are connected to a node with the
60               the same name are inherently connected to each other. The name of the node is only required to be unique within the context of the current Product Flow Network
61               (that is, not the overall model). All ports must be connected to a node and whether or not any other port is connected to the same node depends on the requirements
62               of the network. Any node that is internally connected to only one node is presumably a candidate to be connected to an external node. The behavior of ports
63               connected at a common node is as follows: a) There is no pressure drop across the node. All ports connected to the node have the same pressure. That is, there is an
64               assumption of steady state fluid flow. b) Conservation of mass exists across the node. The mass into the node via all connected ports equals the mass out of the
65               node via all connected ports. c) The flow direction of a port connected to the node may be transient. That is, flow direction may change toward any port if the
66               relative internal pressure of the Product Flow Units change and a new steady state is achieved.</xsd:documentation>
67               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
68            </xsd:annotation>
69         </xsd:element>
70         <xsd:element name="planName" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
71            <xsd:annotation>
72               <xsd:documentation>The name of a network plan. This indicates a planned connection. The connected port must be part of the same plan or be an actual. Not specified
73               indicates an actual connection.</xsd:documentation>
74            </xsd:annotation>
75         </xsd:element>
76         <xsd:element name="dTimStart" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
77            <xsd:annotation>
78               <xsd:documentation>The date and time that the connection was activated.</xsd:documentation>
79            </xsd:annotation>
80         </xsd:element>
81         <xsd:element name="dTimEnd" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
82            <xsd:annotation>
83               <xsd:documentation>The date and time that the connection was terminated.</xsd:documentation>
84            </xsd:annotation>
85         </xsd:element>
86         <xsd:element name="comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
87            <xsd:annotation>
88               <xsd:documentation>A descriptive remark associated with this connection, possibly including a reason for termination.</xsd:documentation>
89            </xsd:annotation>
90         </xsd:element>
91      </xsd:sequence>
92      <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
93         <xsd:annotation>
94            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
95            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
96            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
97         </xsd:annotation>
98      </xsd:attribute>
99   </xsd:complexType>
100   <!--UNUSED: Deleted type cs_curveData.-->
101   <!--UNUSED: Deleted type cs_curveDefinition.-->
102   <xsd:complexType name="q_cs_customData">
103      <xsd:annotation>
104         <xsd:documentation>WITSML - Custom or User Defined Element and Attributes Component Schema. Specify custom element, attributes, and types in the custom data
105         area.</xsd:documentation>
106      </xsd:annotation>
107      <xsd:sequence>
108         <xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded">
109            <xsd:annotation>
110               <xsd:documentation>Any element or attribute in any namespace. It is strongly recommended that all custom data definitions be added to a unique
111               namespace.</xsd:documentation>
112            </xsd:annotation>
113         </xsd:any>
114      </xsd:sequence>
115   </xsd:complexType>
116   <!--UNUSED: Deleted type cs_datedComment.-->
117   <!--UNUSED: Deleted type q_cs_densityValue.-->
118   <xsd:complexType name="q_cs_documentInfo">
119      <xsd:annotation>
120         <xsd:documentation>A schema to capture a set of data that is relevant for many exchange documents. It includes information about the file that was created, and high-level
121         information about the data that is being exchanged within the file.</xsd:documentation>
122      </xsd:annotation>
123      <xsd:sequence>
124         <xsd:element name="DocumentName" type="witsml:q_nameStruct" minOccurs="0" maxOccurs="1">
125            <xsd:annotation>
126               <xsd:documentation>An identifier for the document. This is intended to be unique within the context of the NamingSystem.</xsd:documentation>
127               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
128            </xsd:annotation>
129         </xsd:element>
130         <xsd:element name="DocumentAlias" type="witsml:q_nameStruct" minOccurs="0" maxOccurs="unbounded">
131            <xsd:annotation>
132               <xsd:documentation>Zero or more alternate names for the document. These names do not need to be unique within the naming system.</xsd:documentation>
133            </xsd:annotation>
134         </xsd:element>
135         <xsd:element name="DocumentDate" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
136            <xsd:annotation>
137               <xsd:documentation>The date of the creation of the document. This is not the same as the date that the file was created. For this date, the document is considered
138               to be the set of information associated with this document information. For example, the document may be a seismic binset. This represents the date that the binset
139               was created. The FileCreation information would capture the date that the XML file was created to send or exchange the binset.</xsd:documentation>
140            </xsd:annotation>
141         </xsd:element>
142         <xsd:element name="documentClass" type="witsml:q_nameStruct" minOccurs="0" maxOccurs="unbounded">
143            <xsd:annotation>
144               <xsd:documentation>A document class. Examples of classes would be a metadata classification or a set of keywords.</xsd:documentation>
145            </xsd:annotation>
146         </xsd:element>
147         <xsd:element name="FileCreationInformation" type="witsml:q_fileCreationType" minOccurs="0" maxOccurs="1">
148            <xsd:annotation>
149               <xsd:documentation>The information about the creation of the exchange file. This is not about the creation of the data within the file, but the creation of the file
150               itself.</xsd:documentation>
151            </xsd:annotation>
152         </xsd:element>
153         <xsd:element name="SecurityInformation" type="witsml:q_securityInfoType" minOccurs="0" maxOccurs="5">
154            <xsd:annotation>
155               <xsd:documentation>Information about the security to be applied to this file. More than one classification can be given.</xsd:documentation>
156            </xsd:annotation>
157         </xsd:element>
158         <xsd:element name="Disclaimer" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
159            <xsd:annotation>
160               <xsd:documentation>A free-form string that allows a disclaimer to accompany the information.</xsd:documentation>
161            </xsd:annotation>
162         </xsd:element>
163         <xsd:element name="AuditTrail" type="witsml:q_auditType" minOccurs="0" maxOccurs="1">
164            <xsd:annotation>
165               <xsd:documentation>A collection of events that can document the history of the data.</xsd:documentation>
166            </xsd:annotation>
167         </xsd:element>
168         <xsd:element name="Owner" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
169            <xsd:annotation>
170               <xsd:documentation>The owner of the data.</xsd:documentation>
171            </xsd:annotation>
172         </xsd:element>
173         <xsd:element name="QueryParam" type="witsml:q_queryParam" minOccurs="0" maxOccurs="1">
174            <xsd:annotation>
175               <xsd:documentation>WITSML query parameters.</xsd:documentation>
176            </xsd:annotation>
177         </xsd:element>
178         <xsd:element name="Comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
179            <xsd:annotation>
180               <xsd:documentation>An optional comment about the document.</xsd:documentation>
181            </xsd:annotation>
182         </xsd:element>
183      </xsd:sequence>
184   </xsd:complexType>
185   <xsd:complexType name="q_queryParam">
186      <xsd:annotation>
187         <xsd:documentation>A structure for WITSML query parameters. The intent is to allow a query for all objects within an index range (whether or not the object is growing).
188         These would typically be something like a daily report.</xsd:documentation>
189      </xsd:annotation>
190      <xsd:sequence>
191         <xsd:element name="dTimMin" type="witsml:q_endpointQualifiedDateTime" minOccurs="0" maxOccurs="1">
192            <xsd:annotation>
193               <xsd:documentation>The minimum start time for an object. This only applies to objects with a root level date and/or dateTime element(s). The objects may or not be
194               growing objects but the See the API specification for behavior related to this query parameter.</xsd:documentation>
195            </xsd:annotation>
196         </xsd:element>
197         <xsd:element name="dTimMax" type="witsml:q_endpointQualifiedDateTime" minOccurs="0" maxOccurs="1">
198            <xsd:annotation>
199               <xsd:documentation>The maximum start time for an object. This only applies to objects with a root level date and/or dateTime element(s). See the API specification
200               for behavior related to this query parameter.</xsd:documentation>
201            </xsd:annotation>
202         </xsd:element>
203      </xsd:sequence>
204   </xsd:complexType>
205   <xsd:complexType name="q_fileCreationType">
206      <xsd:annotation>
207         <xsd:documentation>A block of information about the creation of the XML file. This is different than the creation of the data that is included within the
208         file.</xsd:documentation>
209      </xsd:annotation>
210      <xsd:sequence>
211         <xsd:element name="FileCreationDate" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
212            <xsd:annotation>
213               <xsd:documentation>The date and time that the file was created.</xsd:documentation>
214               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
215            </xsd:annotation>
216         </xsd:element>
217         <xsd:element name="SoftwareName" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
218            <xsd:annotation>
219               <xsd:documentation>If appropriate, the software that created the file. This is a free form string, and may include whatever information is deemed
220               relevant.</xsd:documentation>
221            </xsd:annotation>
222         </xsd:element>
223         <xsd:element name="FileCreator" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
224            <xsd:annotation>
225               <xsd:documentation>The person or business associate that created the file.</xsd:documentation>
226            </xsd:annotation>
227         </xsd:element>
228         <xsd:element name="Comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
229            <xsd:annotation>
230               <xsd:documentation>Any comment that would be useful to further explain the creation of this instance document.</xsd:documentation>
231            </xsd:annotation>
232         </xsd:element>
233      </xsd:sequence>
234   </xsd:complexType>
235   <xsd:complexType name="q_securityInfoType">
236      <xsd:annotation>
237         <xsd:documentation>Information about the security classification of the document. This is intended as a documentation of the security so that the file will not
238         inadvertently be sent to someone who is not allowed access to the data. This block also carries a date that the security classification expires. For example, a well log
239         is confidential for a period of time, and then becomes open. All security classes are characterized by their classification systems.</xsd:documentation>
240      </xsd:annotation>
241      <xsd:sequence>
242         <xsd:element name="Class" type="witsml:q_kindString_queryValue" minOccurs="0" maxOccurs="1">
243            <xsd:annotation>
244               <xsd:documentation>The security class in which this document is classified. Examples would be confidential, partner confidential, tight. The meaning of the class is
245               determined by the System in which it is defined.</xsd:documentation>
246            </xsd:annotation>
247         </xsd:element>
248         <xsd:element name="SecuritySystem" type="witsml:q_kindString_queryValue" minOccurs="0" maxOccurs="1">
249            <xsd:annotation>
250               <xsd:documentation>The security classification system. This gives context to the meaning of the Class value.</xsd:documentation>
251            </xsd:annotation>
252         </xsd:element>
253         <xsd:element name="EndDate" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
254            <xsd:annotation>
255               <xsd:documentation>The date on which this security class is no longer applicable.</xsd:documentation>
256            </xsd:annotation>
257         </xsd:element>
258         <xsd:element name="Comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
259            <xsd:annotation>
260               <xsd:documentation>A general comment to further define the security class.</xsd:documentation>
261            </xsd:annotation>
262         </xsd:element>
263      </xsd:sequence>
264   </xsd:complexType>
265   <xsd:complexType name="q_auditType">
266      <xsd:annotation>
267         <xsd:documentation>The audit records what happened to the data, to produce the data that is in this file. It consists of one or more events.</xsd:documentation>
268      </xsd:annotation>
269      <xsd:sequence>
270         <xsd:element name="Event" type="witsml:q_eventType" minOccurs="0" maxOccurs="unbounded">
271            <xsd:annotation>
272               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
273            </xsd:annotation>
274         </xsd:element>
275      </xsd:sequence>
276   </xsd:complexType>
277   <xsd:complexType name="q_eventType">
278      <xsd:annotation>
279         <xsd:documentation>An event type captures the basic information about an event that has affected the data.</xsd:documentation>
280      </xsd:annotation>
281      <xsd:sequence>
282         <xsd:element name="EventDate" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
283            <xsd:annotation>
284               <xsd:documentation>The date on which the event took place.</xsd:documentation>
285               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
286            </xsd:annotation>
287         </xsd:element>
288         <xsd:element name="ResponsibleParty" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
289            <xsd:annotation>
290               <xsd:documentation>The party responsible for the event.</xsd:documentation>
291            </xsd:annotation>
292         </xsd:element>
293         <xsd:element name="Comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
294            <xsd:annotation>
295               <xsd:documentation>A free form comment that can further define the event that occurred.</xsd:documentation>
296            </xsd:annotation>
297         </xsd:element>
298      </xsd:sequence>
299   </xsd:complexType>
300   <!--UNUSED: Deleted type cs_dtsBoxInformation.-->
301   <!--UNUSED: Deleted type cs_dtsCalibration.-->
302   <!--UNUSED: Deleted type cs_dtsCalibrationParameter.-->
303   <!--UNUSED: Deleted type cs_dtsErrorReport.-->
304   <!--UNUSED: Deleted type cs_dtsFiber.-->
305   <!--UNUSED: Deleted type cs_dtsFiberEndPoint.-->
306   <!--UNUSED: Deleted type cs_dtsFiberInformation.-->
307   <!--UNUSED: Deleted type cs_dtsFiberInstalledPoints.-->
308   <!--UNUSED: Deleted type cs_dtsInstrumentBox.-->
309   <!--UNUSED: Deleted type cs_dtsInstrumentBoxCalibration.-->
310   <!--UNUSED: Deleted type cs_dtsOneWayLoss.-->
311   <!--UNUSED: Deleted type cs_dtsOtdr.-->
312   <!--UNUSED: Deleted type cs_dtsProcessedWellLog.-->
313   <!--UNUSED: Deleted type cs_dtsPumpActivity.-->
314   <!--UNUSED: Deleted type cs_dtsPumpLogRow.-->
315   <!--UNUSED: Deleted type cs_dtsPumpLogTable.-->
316   <!--UNUSED: Deleted type cs_dtsRefractiveIndex.-->
317   <!--UNUSED: Deleted type cs_dtsSingleInstalledPoint.-->
318   <!--UNUSED: Deleted type cs_fluidResultCceTestStep.-->
319   <!--UNUSED: Deleted type cs_fluidResultCompositeComposition.-->
320   <!--UNUSED: Deleted type cs_fluidResultComposition.-->
321   <!--UNUSED: Deleted type cs_fluidResultConstantCompositionExpansionTest.-->
322   <!--UNUSED: Deleted type cs_fluidResultConstantVolumeDepletionTest.-->
323   <!--UNUSED: Deleted type cs_fluidResultContaminant.-->
324   <!--UNUSED: Deleted type cs_fluidResultCvdTestStep.-->
325   <!--UNUSED: Deleted type cs_fluidResultDataQuality.-->
326   <!--UNUSED: Deleted type cs_fluidResultDifferentialLiberationTest.-->
327   <!--UNUSED: Deleted type cs_fluidResultDifferentialLiberationTestStep.-->
328   <!--UNUSED: Deleted type cs_fluidResultJCurveTest.-->
329   <!--UNUSED: Deleted type cs_fluidResultJCurveTestStep.-->
330   <!--UNUSED: Deleted type cs_fluidResultPhaseComposition.-->
331   <!--UNUSED: Deleted type cs_fluidResultSaturationTest.-->
332   <!--UNUSED: Deleted type cs_fluidResultSaturationTestStep.-->
333   <!--UNUSED: Deleted type cs_fluidResultSeparatorTest.-->
334   <!--UNUSED: Deleted type cs_fluidResultSeparatorTestStep.-->
335   <!--UNUSED: Deleted type cs_fluidResultStockTank.-->
336   <!--UNUSED: Deleted type cs_fluidResultTransportPropertiesTest.-->
337   <!--UNUSED: Deleted type cs_fluidResultTransportTestStep.-->
338   <!--UNUSED: Deleted type cs_fluidResultVolumeReference.-->
339   <!--UNUSED: Deleted type cs_generalAddress.-->
340   <!--UNUSED: Deleted type cs_geographicContext.-->
341   <!--UNUSED: Deleted type cs_nameTag.-->
342   <!--UNUSED: Deleted type cs_northSeaOffshore.-->
343   <!--UNUSED: Deleted type cs_offshoreLocation.-->
344   <!--UNUSED: Deleted type cs_personName.-->
345   <xsd:complexType name="q_cs_productFlowChangeLog">
346      <xsd:annotation>
347         <xsd:documentation>Documents the point in time where changes were made.</xsd:documentation>
348      </xsd:annotation>
349      <xsd:sequence>
350         <xsd:element name="name" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
351            <xsd:annotation>
352               <xsd:documentation>A name assigned to the change.</xsd:documentation>
353               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
354            </xsd:annotation>
355         </xsd:element>
356         <xsd:element name="dTim" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
357            <xsd:annotation>
358               <xsd:documentation>The timestamp associated with the change. All changes must use this timestamp.</xsd:documentation>
359               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
360            </xsd:annotation>
361         </xsd:element>
362         <xsd:element name="reason" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
363            <xsd:annotation>
364               <xsd:documentation>A textual reason for the change.</xsd:documentation>
365            </xsd:annotation>
366         </xsd:element>
367      </xsd:sequence>
368      <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
369         <xsd:annotation>
370            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
371            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
372            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
373         </xsd:annotation>
374      </xsd:attribute>
375   </xsd:complexType>
376   <xsd:complexType name="q_cs_productFlowExpectedPortProperty">
377      <xsd:annotation>
378         <xsd:documentation>WITSML - Product Flow Expected Property Component Schema.</xsd:documentation>
379      </xsd:annotation>
380      <xsd:sequence>
381         <xsd:element name="property" type="witsml:q_ReportingProperty_queryValue" minOccurs="0" maxOccurs="1">
382            <xsd:annotation>
383               <xsd:documentation>The expected kind of property.</xsd:documentation>
384               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
385            </xsd:annotation>
386         </xsd:element>
387         <xsd:element name="dTimStart" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
388            <xsd:annotation>
389               <xsd:documentation>The date and time that the sensor was activated on the port.</xsd:documentation>
390            </xsd:annotation>
391         </xsd:element>
392         <xsd:element name="dTimEnd" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
393            <xsd:annotation>
394               <xsd:documentation>The date and time that the sensor was deactivated on the port.</xsd:documentation>
395            </xsd:annotation>
396         </xsd:element>
397         <xsd:element name="tagAlias" type="witsml:q_nameStruct" minOccurs="0" maxOccurs="unbounded">
398            <xsd:annotation>
399               <xsd:documentation>An alternative name for the sensor that will measure the property.</xsd:documentation>
400            </xsd:annotation>
401         </xsd:element>
402         <xsd:element name="expectedFlowProduct" type="witsml:q_cs_productFlowQualifierExpected" minOccurs="0" maxOccurs="unbounded">
403            <xsd:annotation>
404               <xsd:documentation>Defines the expected flow and product pairs to be assigned to this port by a Product Volume report. A set of expected qualifiers can be defined
405               for each pair. The aggregate of expectations on all properties should be a subset of the aggregate of expectations on the port. If no expectations are defined on
406               the port then the port aggregate will be defined by the properties.</xsd:documentation>
407            </xsd:annotation>
408         </xsd:element>
409         <xsd:element name="comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
410            <xsd:annotation>
411               <xsd:documentation>A descriptive remark associated with this property.</xsd:documentation>
412            </xsd:annotation>
413         </xsd:element>
414      </xsd:sequence>
415      <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
416         <xsd:annotation>
417            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
418            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
419            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
420         </xsd:annotation>
421      </xsd:attribute>
422   </xsd:complexType>
423   <xsd:complexType name="q_cs_productFlowExpectedUnitProperty">
424      <xsd:annotation>
425         <xsd:documentation>Defines expected properties of a facility represented by a unit.</xsd:documentation>
426      </xsd:annotation>
427      <xsd:sequence>
428         <xsd:element name="property" type="witsml:q_FacilityParameter_queryValue" minOccurs="0" maxOccurs="1">
429            <xsd:annotation>
430               <xsd:documentation>The expected kind of facility property. Each property is documented to have values of a particular type.</xsd:documentation>
431               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
432            </xsd:annotation>
433         </xsd:element>
434         <xsd:element name="qualifier" type="witsml:q_FlowQualifier_queryValue" minOccurs="0" maxOccurs="unbounded">
435            <xsd:annotation>
436               <xsd:documentation>The expected kind of qualifier of the property.</xsd:documentation>
437            </xsd:annotation>
438         </xsd:element>
439         <xsd:element name="comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
440            <xsd:annotation>
441               <xsd:documentation>A descriptive remark associated with this property.</xsd:documentation>
442            </xsd:annotation>
443         </xsd:element>
444      </xsd:sequence>
445      <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
446         <xsd:annotation>
447            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
448            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
449            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
450         </xsd:annotation>
451      </xsd:attribute>
452   </xsd:complexType>
453   <xsd:complexType name="q_cs_productFlowExternalReference">
454      <xsd:annotation>
455         <xsd:documentation>A reference to an external port within a different Product Flow Model. This value represents a foreign key from one element to
456         another.</xsd:documentation>
457      </xsd:annotation>
458      <xsd:sequence>
459         <xsd:element name="port" type="witsml:q_refNameString" minOccurs="0" maxOccurs="1">
460            <xsd:annotation>
461               <xsd:documentation>A pointer to the external port in the network that represents the current Model. This is the port to which a different model is being
462               connected.</xsd:documentation>
463               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
464            </xsd:annotation>
465         </xsd:element>
466         <xsd:element name="connectedPort" type="witsml:q_refNameString" minOccurs="0" maxOccurs="1">
467            <xsd:annotation>
468               <xsd:documentation>A pointer to the external port within the connected Model. This is the port on a different model to which the port on this model is
469               connected.</xsd:documentation>
470               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
471            </xsd:annotation>
472         </xsd:element>
473         <xsd:element name="connectedModel" type="witsml:q_refNameString" minOccurs="0" maxOccurs="1">
474            <xsd:annotation>
475               <xsd:documentation>A pointer to the Product Flow Model that contains the connected port.</xsd:documentation>
476               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
477            </xsd:annotation>
478         </xsd:element>
479         <xsd:element name="connectedInstallation" type="witsml:q_facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
480            <xsd:annotation>
481               <xsd:documentation>The name of the facility that is represented by the connected model. The name can be qualified by a naming system. This also defines the kind of
482               facility.</xsd:documentation>
483            </xsd:annotation>
484         </xsd:element>
485      </xsd:sequence>
486      <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
487         <xsd:annotation>
488            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
489            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
490            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
491         </xsd:annotation>
492      </xsd:attribute>
493   </xsd:complexType>
494   <xsd:complexType name="q_cs_productFlowlExternalPort">
495      <xsd:annotation>
496         <xsd:documentation>WITSML - Product Flow Network External Port Component Schema.</xsd:documentation>
497      </xsd:annotation>
498      <xsd:sequence>
499         <xsd:element name="name" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
500            <xsd:annotation>
501               <xsd:documentation>The name of the external port within the context of the current Product Flow Network.</xsd:documentation>
502               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
503            </xsd:annotation>
504         </xsd:element>
505         <xsd:element name="direction" type="witsml:q_ProductFlowPortType_queryValue" minOccurs="0" maxOccurs="1">
506            <xsd:annotation>
507               <xsd:documentation>Defines whether this port is an inlet or outlet. Note that this is a nominal intended direction.</xsd:documentation>
508               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
509            </xsd:annotation>
510         </xsd:element>
511         <xsd:element name="exposed" type="witsml:q_logicalBoolean_queryValue" minOccurs="0" maxOccurs="1">
512            <xsd:annotation>
513               <xsd:documentation>True ("true" or "1") indicates that the port is an exposed internal port and cannot be used in a connection external to the network. False
514               ("false" or "0") or not given indicates a normal port.</xsd:documentation>
515            </xsd:annotation>
516         </xsd:element>
517         <xsd:element name="connectedNode" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
518            <xsd:annotation>
519               <xsd:documentation>Defines the internal node to which this external port is connected. All ports (whether internal or external) that are connected to a node with
520               the same name are connected to each other. Node names are unique to each network. The purpose of the external port is to provide input to or output from the
521               internal network except when the port is an "exposed" port. The purpose of an exposed port is to allow the properties of the port to be seen external to the
522               network. For an exposed port, the connection points to the associated port.</xsd:documentation>
523               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
524            </xsd:annotation>
525         </xsd:element>
526         <xsd:element name="comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
527            <xsd:annotation>
528               <xsd:documentation>A descriptive remark about the port.</xsd:documentation>
529            </xsd:annotation>
530         </xsd:element>
531      </xsd:sequence>
532      <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
533         <xsd:annotation>
534            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
535            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
536            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
537         </xsd:annotation>
538      </xsd:attribute>
539   </xsd:complexType>
540   <xsd:complexType name="q_cs_productFlowNetwork">
541      <xsd:annotation>
542         <xsd:documentation>The non-contextual content of a WITSML Product Flow Network object.</xsd:documentation>
543      </xsd:annotation>
544      <xsd:sequence>
545         <xsd:element name="name" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
546            <xsd:annotation>
547               <xsd:documentation>The name of the Product Flow Network. This must be unique within the context of the overall Product Flow Model.</xsd:documentation>
548               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
549            </xsd:annotation>
550         </xsd:element>
551         <xsd:element name="planName" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
552            <xsd:annotation>
553               <xsd:documentation>The name of a network plan. This indicates a planned network. All child network components must all be planned and be part of the same plan. The
554               parent network must either contain the plan (i.e., be an actual) or be part of the same plan. Not specified indicates an actual network.</xsd:documentation>
555            </xsd:annotation>
556         </xsd:element>
557         <xsd:element name="parentNetwork" type="witsml:q_refNameString" minOccurs="0" maxOccurs="1">
558            <xsd:annotation>
559               <xsd:documentation>A pointer to the network containing the unit that this network represents. That is, the Unit must exist in a different Network. If a parent
560               network is not specified then the network represents the model. A model should only be represented by one network. The model network represents the overall
561               installation. All other networks represent internal detail and should not be referenced from outside the model. The external ports on the model network represent
562               the external ports to the overall Product Flow Model. A pointer to an external port on the Product Flow Model does not require the name of the model network because
563               it is redundant to knowledge of the model name (i.e., there is a one-to-one correspondence).</xsd:documentation>
564            </xsd:annotation>
565         </xsd:element>
566         <xsd:element name="representedUnit" type="witsml:q_refNameString" minOccurs="0" maxOccurs="1">
567            <xsd:annotation>
568               <xsd:documentation>DEPRECATED. Use parentNetwork for all new work. A pointer to the Flow Unit that this network represents. The Unit must exist in a different
569               Network. If a unit is not specified then the network represents the model. A model should only be represented by one network. The model network represents the
570               overall installation. All other networks represent internal detail and should not be referenced from outside this model. The external ports on the model network
571               represent the external ports to the overall Product Flow Model. A pointer to an external port on the Product Flow Model does not require the name of the model
572               network because it is redundant to knowledge of the model name (i.e., there is a one-to-one correspondence). A unit model defines the internal behavior of a Flow
573               Unit.</xsd:documentation>
574            </xsd:annotation>
575         </xsd:element>
576         <xsd:element name="comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
577            <xsd:annotation>
578               <xsd:documentation>A descriptive remark about the network.</xsd:documentation>
579            </xsd:annotation>
580         </xsd:element>
581         <xsd:element name="port" type="witsml:q_cs_productFlowlExternalPort" minOccurs="0" maxOccurs="unbounded">
582            <xsd:annotation>
583               <xsd:documentation>An external port. This exposes an internal node for the purpose of allowing connections to the internal behavior of the network. Networks that
584               represent a Flow Unit should always have external ports. If this network represents a Unit then the name of the external port must match the name of a port on the
585               Unit (i.e., they are logically the same port).</xsd:documentation>
586            </xsd:annotation>
587         </xsd:element>
588         <xsd:element name="unit" type="witsml:q_cs_productFlowUnit" minOccurs="0" maxOccurs="unbounded">
589            <xsd:annotation>
590               <xsd:documentation>A flow behavior for one unit. Within this context, a unit represents a usage of equipment for some purpose. The unit is generally identified by
591               its function rather than the actual equipment used to realize the function. A unit might represent something complex like a field or separator or something simple
592               like a valve or pump.</xsd:documentation>
593               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
594            </xsd:annotation>
595         </xsd:element>
596         <xsd:element name="changeLog" type="witsml:q_cs_productFlowChangeLog" minOccurs="0" maxOccurs="unbounded">
597            <xsd:annotation>
598               <xsd:documentation>Documents that a change occurred at a particular time.</xsd:documentation>
599            </xsd:annotation>
600         </xsd:element>
601      </xsd:sequence>
602      <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
603         <xsd:annotation>
604            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
605            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
606            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
607         </xsd:annotation>
608      </xsd:attribute>
609   </xsd:complexType>
610   <!--UNUSED: Deleted type cs_productFlowNetworkPlan.-->
611   <xsd:complexType name="q_cs_productFlowPort">
612      <xsd:annotation>
613         <xsd:documentation>WITSML - Product Flow Port Component Schema.</xsd:documentation>
614      </xsd:annotation>
615      <xsd:sequence>
616         <xsd:element name="name" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
617            <xsd:annotation>
618               <xsd:documentation>The name of the port within the context of the Product Flow Unit.</xsd:documentation>
619               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
620            </xsd:annotation>
621         </xsd:element>
622         <xsd:element name="planName" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
623            <xsd:annotation>
624               <xsd:documentation>The name of a network plan. This indicates a planned port. All child network components must all be planned and be part of the same plan. The
625               parent unit must be part of the same plan or be an actual. Not specified indicates an actual port.</xsd:documentation>
626            </xsd:annotation>
627         </xsd:element>
628         <xsd:element name="direction" type="witsml:q_ProductFlowPortType_queryValue" minOccurs="0" maxOccurs="1">
629            <xsd:annotation>
630               <xsd:documentation>Defines whether this port is an inlet or outlet. This is a nominal intended direction.</xsd:documentation>
631               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
632            </xsd:annotation>
633         </xsd:element>
634         <xsd:element name="facility" type="witsml:q_facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
635            <xsd:annotation>
636               <xsd:documentation>The name of the facility represented by this Product Flow Port The name can be qualified by a naming system. The facility name is assumed to be
637               unique within the context of the facility represented by the unit. This also defines the kind of facility.</xsd:documentation>
638            </xsd:annotation>
639         </xsd:element>
640         <xsd:element name="facilityAlias" type="witsml:q_nameStruct" minOccurs="0" maxOccurs="unbounded">
641            <xsd:annotation>
642               <xsd:documentation>An alternatative name of a facility. This is generally unique within a naming system. The above contextually unique name should also be listed as
643               an alias.</xsd:documentation>
644            </xsd:annotation>
645         </xsd:element>
646         <xsd:element name="exposed" type="witsml:q_logicalBoolean_queryValue" minOccurs="0" maxOccurs="1">
647            <xsd:annotation>
648               <xsd:documentation>True ("true" or "1") indicates that the port is an exposed internal port and cannot be used in a connection external to the unit. False ("false"
649               or "0") or not given indicates a normal port.</xsd:documentation>
650            </xsd:annotation>
651         </xsd:element>
652         <xsd:element name="connectedNode" type="witsml:q_cs_connectedNode" minOccurs="0" maxOccurs="unbounded">
653            <xsd:annotation>
654               <xsd:documentation>Defines the node to which this port is connected. A timestamp activates and deactivates the connection. Only one connectedNode should be active
655               at any one point in time. There are no semantics for the node except common connection. All ports that are connected to a node with the the same name are inherently
656               connected to each other. The name of the node is only required to be unique within the context of the current Product Flow Network (that is, not the overall model).
657               All ports must be connected to a node and whether or not any other port is connected to the same node depends on the requirements of the network. Any node that is
658               internally connected to only one port is presumably a candidate to be connected to an external node. The behavior of ports connected at a common node is as follows:
659               a) There is no pressure drop across the node. All ports connected to the node have the same pressure. That is, there is an assumption of steady state fluid flow. b)
660               Conservation of mass exists across the node. The mass into the node via all connected ports equals the mass out of the node via all connected ports. c) The flow
661               direction of a port connected to the node may be transient. That is, flow direction may change toward any port(s) if the relative internal pressure of the Product
662               Flow Units change and a new steady state is achieved.</xsd:documentation>
663               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
664            </xsd:annotation>
665         </xsd:element>
666         <xsd:element name="expectedFlowProduct" type="witsml:q_cs_productFlowQualifierExpected" minOccurs="0" maxOccurs="unbounded">
667            <xsd:annotation>
668               <xsd:documentation>Defines the expected flow and product pairs to be assigned to this port by a Product Volume report. A set of expected qualifiers can be defined
669               for each pair.</xsd:documentation>
670            </xsd:annotation>
671         </xsd:element>
672         <xsd:element name="expectedFlowProperty" type="witsml:q_cs_productFlowExpectedPortProperty" minOccurs="0" maxOccurs="unbounded">
673            <xsd:annotation>
674               <xsd:documentation>Defines the properties that are expected to be measured at this port. This can also specify the equipment tag(s) of the sensor that will read the
675               value. Only one of each property kind should be active at any point in time.</xsd:documentation>
676            </xsd:annotation>
677         </xsd:element>
678         <xsd:element name="comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
679            <xsd:annotation>
680               <xsd:documentation>A descriptive remark associated with this port.</xsd:documentation>
681            </xsd:annotation>
682         </xsd:element>
683      </xsd:sequence>
684      <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
685         <xsd:annotation>
686            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
687            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
688            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
689         </xsd:annotation>
690      </xsd:attribute>
691   </xsd:complexType>
692   <xsd:complexType name="q_cs_productFlowQualifierExpected">
693      <xsd:annotation>
694         <xsd:documentation>Defines an expected combination of kinds.</xsd:documentation>
695      </xsd:annotation>
696      <xsd:sequence>
697         <xsd:element name="flow" type="witsml:q_ReportingFlow_queryValue" minOccurs="0" maxOccurs="1">
698            <xsd:annotation>
699               <xsd:documentation>The expected kind of flow.</xsd:documentation>
700               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
701            </xsd:annotation>
702         </xsd:element>
703         <xsd:element name="product" type="witsml:q_ReportingProduct_queryValue" minOccurs="0" maxOccurs="1">
704            <xsd:annotation>
705               <xsd:documentation>The expected kind of product within the flow.</xsd:documentation>
706               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
707            </xsd:annotation>
708         </xsd:element>
709         <xsd:element name="qualifier" type="witsml:q_FlowQualifier_queryValue" minOccurs="0" maxOccurs="unbounded">
710            <xsd:annotation>
711               <xsd:documentation>The expected kind of qualifier of the flow.</xsd:documentation>
712            </xsd:annotation>
713         </xsd:element>
714      </xsd:sequence>
715      <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
716         <xsd:annotation>
717            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
718            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
719            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
720         </xsd:annotation>
721      </xsd:attribute>
722   </xsd:complexType>
723   <xsd:complexType name="q_cs_productFlowUnit">
724      <xsd:annotation>
725         <xsd:documentation>WITSML - Product Flow Unit Component Schema.</xsd:documentation>
726      </xsd:annotation>
727      <xsd:sequence>
728         <xsd:element name="name" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
729            <xsd:annotation>
730               <xsd:documentation>The name of the Product Flow Unit within the context of the Product Flow Network.</xsd:documentation>
731            </xsd:annotation>
732         </xsd:element>
733         <xsd:element name="planName" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
734            <xsd:annotation>
735               <xsd:documentation>The name of a network plan. This indicates a planned unit. All child network components must all be planned and be part of the same plan. The
736               parent network must either contain the plan (i.e., be an actual) or be part of the same plan. Not specified indicates an actual unit.</xsd:documentation>
737            </xsd:annotation>
738         </xsd:element>
739         <xsd:element name="internalNetwork" type="witsml:q_refNameString" minOccurs="0" maxOccurs="1">
740            <xsd:annotation>
741               <xsd:documentation>A pointer to the network representing the internal behavior of this unit. The names of the external ports on the internal network must match the
742               names of the ports on this unit. That is they are logically the same ports.</xsd:documentation>
743            </xsd:annotation>
744         </xsd:element>
745         <xsd:element name="facility" type="witsml:q_facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
746            <xsd:annotation>
747               <xsd:documentation>The name of the facility for which this Product Flow Unit describes fluid flow connecton behavior. The name can be qualified by a naming system.
748               This also defines the kind of facility.</xsd:documentation>
749            </xsd:annotation>
750         </xsd:element>
751         <xsd:element name="facilityParent1" type="witsml:q_facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
752            <xsd:annotation>
753               <xsd:documentation>For facilities whose name is unique within the context of another facility, the name of the parent facility this named facility. The name can be
754               qualified by a naming system. This also defines the kind of facility.</xsd:documentation>
755            </xsd:annotation>
756         </xsd:element>
757         <xsd:element name="facilityParent2" type="witsml:q_facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
758            <xsd:annotation>
759               <xsd:documentation>For facilities whose name is unique within the context of another facility, the name of the parent facility of facilityParent1. The name can be
760               qualified by a naming system. This also defines the kind of facility.</xsd:documentation>
761            </xsd:annotation>
762         </xsd:element>
763         <xsd:element name="facilityAlias" type="witsml:q_nameStruct" minOccurs="0" maxOccurs="unbounded">
764            <xsd:annotation>
765               <xsd:documentation>An alternatative name of a facility. This is generally unique within a naming system. The above contextually unique name (that is, within the
766               context of a parent) should also be listed as an alias.</xsd:documentation>
767            </xsd:annotation>
768         </xsd:element>
769         <xsd:element name="contextFacility" type="witsml:q_facilityIdentifierStruct" minOccurs="0" maxOccurs="unbounded">
770            <xsd:annotation>
771               <xsd:documentation>The name and type of a facility whose context is relevant to the represented facility.</xsd:documentation>
772            </xsd:annotation>
773         </xsd:element>
774         <xsd:element name="expectedProperty" type="witsml:q_cs_productFlowExpectedUnitProperty" minOccurs="0" maxOccurs="unbounded">
775            <xsd:annotation>
776               <xsd:documentation>Defines an expected property of the facility represented by this unit.</xsd:documentation>
777            </xsd:annotation>
778         </xsd:element>
779         <xsd:element name="relativeCoordinate" type="witsml:q_cs_relativeCoordinate" minOccurs="0" maxOccurs="1">
780            <xsd:annotation>
781               <xsd:documentation>Defines the relative coordinate of the unit on a display screen. This is not intended for detailed diagrams. Rather it is intended to allow
782               different applications to present a user view which has a consistent layout.</xsd:documentation>
783            </xsd:annotation>
784         </xsd:element>
785         <xsd:element name="port" type="witsml:q_cs_productFlowPort" minOccurs="0" maxOccurs="unbounded">
786            <xsd:annotation>
787               <xsd:documentation>An inlet or outlet port associated with this unit. If there is an internal network then the name of this port must match the name of an external
788               port for that network. Any properties (e.g., volume, pressure, temperature) that are assigned to this port are inherently assigned to the corresponding external
789               port on the internal network. That is, the ports are logically the same port. Similar to a node, there is no pressure drop across a port. Also similar to a node,
790               conservation of mass exists across the port and the flow direction across the port can change over time if the relative pressures across connected units
791               change.</xsd:documentation>
792               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
793            </xsd:annotation>
794         </xsd:element>
795         <xsd:element name="comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
796            <xsd:annotation>
797               <xsd:documentation>A descriptive remark associated with this unit.</xsd:documentation>
798            </xsd:annotation>
799         </xsd:element>
800      </xsd:sequence>
801      <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
802         <xsd:annotation>
803            <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
804            assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is only
805            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
806         </xsd:annotation>
807      </xsd:attribute>
808   </xsd:complexType>
809   <!--UNUSED: Deleted type cs_productionOperationActivity.-->
810   <!--UNUSED: Deleted type cs_productionOperationAlarm.-->
811   <!--UNUSED: Deleted type cs_productionOperationCargoShipOperation.-->
812   <!--UNUSED: Deleted type cs_productionOperationHSE.-->
813   <!--UNUSED: Deleted type cs_productionOperationInstallationReport.-->
814   <!--UNUSED: Deleted type cs_productionOperationLostProduction.-->
815   <!--UNUSED: Deleted type cs_productionOperationMarineOperation.-->
816   <!--UNUSED: Deleted type cs_productionOperationOperationalComment.-->
817   <!--UNUSED: Deleted type cs_productionOperationSafety.-->
818   <!--UNUSED: Deleted type cs_productionOperationShutdown.-->
819   <!--UNUSED: Deleted type cs_productionOperationThirdPartyProcessing.-->
820   <!--UNUSED: Deleted type cs_productionOperationWaterCleaningQuality.-->
821   <!--UNUSED: Deleted type cs_productionOperationWeather.-->
822   <!--UNUSED: Deleted type cs_productVolumeAlert.-->
823   <!--UNUSED: Deleted type cs_productVolumeBusinessUnit.-->
824   <!--UNUSED: Deleted type cs_productVolumeBusinessSubUnit.-->
825   <!--UNUSED: Deleted type cs_productVolumeBusinessOwnershipShare.-->
826   <!--UNUSED: Deleted type cs_productVolumeBusinessAccountInfo.-->
827   <!--UNUSED: Deleted type BusinessUnitKind.-->
828   <!--UNUSED: Deleted type cs_productVolumeComponentContent.-->
829   <!--UNUSED: Deleted type cs_productVolumeFacility.-->
830   <!--UNUSED: Deleted type cs_productVolumeFlow.-->
831   <!--UNUSED: Deleted type cs_productVolumeParameterSet.-->
832   <!--UNUSED: Deleted type cs_productVolumeParameterValue.-->
833   <!--UNUSED: Deleted type cs_productVolumePeriod.-->
834   <!--UNUSED: Deleted type q_cs_productVolumePortDifference.-->
835   <!--UNUSED: Deleted type cs_productVolumeProduct.-->
836   <!--UNUSED: Deleted type cs_productVolumeRelatedFacility.-->
837   <!--UNUSED: Deleted type cs_productVolumeSalesSet.-->
838   <!--UNUSED: Deleted type cs_productVolumeSalesDetail.-->
839   <!--UNUSED: Deleted type cs_productVolumeDestination.-->
840   <!--UNUSED: Deleted type cs_productVolumeSaleEvent.-->
841   <!--UNUSED: Deleted type SaleEventKind.-->
842   <!--UNUSED: Deleted type SalesFlowPart.-->
843   <!--UNUSED: Deleted type SaleDestinationType.-->
844   <!--UNUSED: Deleted type cs_refProductFlow.-->
845   <!--UNUSED: Deleted type cs_refWellWellbore.-->
846   <!--UNUSED: Deleted type cs_refWellWellboreRig.-->
847   <xsd:complexType name="q_cs_relativeCoordinate">
848      <xsd:annotation>
849         <xsd:documentation>WITSML - Product Flow Connected Node Component Schema.</xsd:documentation>
850      </xsd:annotation>
851      <xsd:sequence>
852         <xsd:element name="x" type="witsml:q_lengthPerLengthMeasure" minOccurs="0" maxOccurs="1">
853            <xsd:annotation>
854               <xsd:documentation>Defines the relative from-left-to-right location on a display screen. The display origin (0,0) is the upper left-hand corner of the display as
855               viewed by the user.</xsd:documentation>
856            </xsd:annotation>
857         </xsd:element>
858         <xsd:element name="y" type="witsml:q_lengthPerLengthMeasure" minOccurs="0" maxOccurs="1">
859            <xsd:annotation>
860               <xsd:documentation>Defines the relative from-top-to-bottom location on a display screen. The display origin (0,0) is the upper left-hand corner of the display as
861               viewed by the user.</xsd:documentation>
862            </xsd:annotation>
863         </xsd:element>
864         <xsd:element name="z" type="witsml:q_lengthPerLengthMeasure" minOccurs="0" maxOccurs="1">
865            <xsd:annotation>
866               <xsd:documentation>Defines the relative from-front-to-back location in a 3D system. The unrotated display origin (0,0) is the upper left-hand corner of the display
867               as viewed by the user. The "3D picture" may be rotated on the 2d display.</xsd:documentation>
868            </xsd:annotation>
869         </xsd:element>
870      </xsd:sequence>
871   </xsd:complexType>
872   <!--UNUSED: Deleted type q_cs_volumeValue.-->
873   <!--UNUSED: Deleted type cs_wellContext.-->
874   <!--UNUSED: Deleted type cs_wellDatum.-->
875   <!--UNUSED: Deleted type cs_wellTestBottomholeData.-->
876   <!--UNUSED: Deleted type cs_wellTestCumulative.-->
877   <!--UNUSED: Deleted type cs_wellTestFluidLevelTest.-->
878   <!--UNUSED: Deleted type cs_wellTestFluidRate.-->
879   <!--UNUSED: Deleted type cs_wellTestInjectionTestData.-->
880   <!--UNUSED: Deleted type cs_wellTestInjectionTestResults.-->
881   <!--UNUSED: Deleted type cs_wellTestInterval.-->
882   <!--UNUSED: Deleted type cs_wellTestPointData.-->
883   <!--UNUSED: Deleted type cs_wellTestProductionTestData.-->
884   <!--UNUSED: Deleted type cs_wellTestProductionTestResults.-->
885   <!--UNUSED: Deleted type cs_wellTestSeparatorData.-->
886   <!--UNUSED: Deleted type cs_wellTestTestVolume.-->
887   <!--UNUSED: Deleted type cs_wellTestWellheadData.-->
888   <!--UNUSED: Deleted type grp_commonPropertiesProductVolume.-->
889   <!--UNUSED: Deleted type grp_dtsInstalledSystem.-->
890   <!--UNUSED: Deleted type grp_dtsMeasurement.-->
891   <!--UNUSED: Deleted type grp_fluidAnalysis.-->
892   <!--UNUSED: Deleted type grp_fluidAnalysisResult.-->
893   <!--UNUSED: Deleted type grp_fluidResultCommonTestGroup.-->
894   <!--UNUSED: Deleted type grp_fluidSample.-->
895   <!--UNUSED: Deleted type grp_productionOperation.-->
896   <!--UNUSED: Deleted type grp_productVolume.-->
897   <!--UNUSED: Deleted type grp_wellTest.-->
898   <xsd:element name="productFlowModelQuerySet" type="witsml:q_obj_productFlowModels">
899      <xsd:annotation>
900         <xsd:documentation>The WITSML API mandated plural root element which allows multiple singular objects to be sent. The plural name is formed by adding an "s" to the
901         singular name.</xsd:documentation>
902      </xsd:annotation>
903   </xsd:element>
904   <xsd:complexType name="q_obj_productFlowModels">
905      <xsd:sequence>
906         <xsd:element name="documentInfo" type="witsml:q_cs_documentInfo" minOccurs="0" maxOccurs="1">
907            <xsd:annotation>
908               <xsd:documentation>Information about the XML message instance.</xsd:documentation>
909            </xsd:annotation>
910         </xsd:element>
911         <xsd:element name="productFlowModel" type="witsml:q_obj_productFlowModel" minOccurs="0" maxOccurs="unbounded">
912            <xsd:annotation>
913               <xsd:documentation>Information about a single Product Flow Model.</xsd:documentation>
914            </xsd:annotation>
915         </xsd:element>
916      </xsd:sequence>
917      <xsd:attribute name="version" type="witsml:q_schemaVersionString" use="optional">
918         <xsd:annotation>
919            <xsd:documentation>Data object schema version. The fourth level must match the version of the schema constraints (enumerations and XML loader files) that are assumed
920            by the documenti nstance.</xsd:documentation>
921            <xsd:appinfo>constraints:@use="required"</xsd:appinfo>
922         </xsd:annotation>
923      </xsd:attribute>
924   </xsd:complexType>
925   <xsd:complexType name="q_obj_productFlowModel">
926      <xsd:complexContent>
927         <xsd:extension base="witsml:">
928            <xsd:sequence>
929               <xsd:element name="name" type="witsml:q_nameString_queryValue" minOccurs="0" maxOccurs="1">
930                  <xsd:annotation>
931                     <xsd:documentation>The name of the Product Flow Model.</xsd:documentation>
932                     <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
933                  </xsd:annotation>
934               </xsd:element>
935               <xsd:element name="installation" type="witsml:q_facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
936                  <xsd:annotation>
937                     <xsd:documentation>The name of the facility which is represented by this model. The name can be qualified by a naming system. This also defines the kind of
938                     facility.</xsd:documentation>
939                  </xsd:annotation>
940               </xsd:element>
941               <xsd:element name="contextFacility" type="witsml:q_facilityIdentifierStruct" minOccurs="0" maxOccurs="unbounded">
942                  <xsd:annotation>
943                     <xsd:documentation>The name and type of a facility whose context is relevant to the represented installation.</xsd:documentation>
944                  </xsd:annotation>
945               </xsd:element>
946               <xsd:element name="dTimStart" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
947                  <xsd:annotation>
948                     <xsd:documentation>The date and time of the start of validity for this model.</xsd:documentation>
949                  </xsd:annotation>
950               </xsd:element>
951               <xsd:element name="dTimEnd" type="witsml:q_timestamp_queryValue" minOccurs="0" maxOccurs="1">
952                  <xsd:annotation>
953                     <xsd:documentation>The date and time of the termination of validity for this model.</xsd:documentation>
954                  </xsd:annotation>
955               </xsd:element>
956               <xsd:element name="existenceTime" type="witsml:q_endpointQualifiedDateTime" minOccurs="0" maxOccurs="1">
957                  <xsd:annotation>
958                     <xsd:documentation>The time for which "currently existing" data is desired from the network. All connections (and related data) existing at this time (i.e.
959                     start and end bracket this value) will will be returned if requested. The existence time is a server query parameter. See the WITSML API Specification
960                     appendix on "Special Handling" of growing objects for a description of the behavior related to this parameter.</xsd:documentation>
961                  </xsd:annotation>
962               </xsd:element>
963               <xsd:element name="dTimMin" type="witsml:q_endpointQualifiedDateTime" minOccurs="0" maxOccurs="1">
964                  <xsd:annotation>
965                     <xsd:documentation>The minimum time index contained within the report. The minimum and maximum indexes are server query parameters and will be populated with
966                     valid values in a "get" result. See the WITSML API Specification appendix on "Special Handling" of growing objects for a description of the behavior related
967                     to this parameter.</xsd:documentation>
968                  </xsd:annotation>
969               </xsd:element>
970               <xsd:element name="dTimMax" type="witsml:q_endpointQualifiedDateTime" minOccurs="0" maxOccurs="1">
971                  <xsd:annotation>
972                     <xsd:documentation>The maximum time index contained within the report. The minimum and maximum indexes are server query parameters and will be populated with
973                     valid values in a "get" result. See the WITSML API Specification appendix on "Special Handling" of growing objects for a description of the behavior related
974                     to this parameter.</xsd:documentation>
975                  </xsd:annotation>
976               </xsd:element>
977               <xsd:element name="externalConnect" type="witsml:q_cs_productFlowExternalReference" minOccurs="0" maxOccurs="unbounded">
978                  <xsd:annotation>
979                     <xsd:documentation>Defines the external port in another Product Flow Model to which an external port in this model is connected. An external port should be
980                     connected to an external port with the opposite direction. The connected external port must be in another Product Flow Model. These connections should always
981                     be defined on a one-to-one basis. For example, if a facility may receive input from multiple other facilities then a separate input port should be defined for
982                     each of those facilities. This allows any question about mass balancing to be contained within each individual model. The external port name must match the
983                     name of an external port on the network that represents this model.</xsd:documentation>
984                  </xsd:annotation>
985               </xsd:element>
986               <xsd:element name="network" type="witsml:q_cs_productFlowNetwork" minOccurs="0" maxOccurs="unbounded">
987                  <xsd:annotation>
988                     <xsd:documentation>The description of one named network within this model. Each model is self contained but may reference other newtorks for defining internal
989                     detail. One of the networks must represent this model.</xsd:documentation>
990                     <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
991                  </xsd:annotation>
992               </xsd:element>
993               <xsd:element name="comment" type="witsml:q_commentString_queryValue" minOccurs="0" maxOccurs="1">
994                  <xsd:annotation>
995                     <xsd:documentation>A descriptive remark about the model.</xsd:documentation>
996                  </xsd:annotation>
997               </xsd:element>
998               <xsd:element name="commonData" type="witsml:q_cs_commonData" minOccurs="0" maxOccurs="1">
999                  <xsd:annotation>
1000                     <xsd:documentation>A container element that contains elements that are common to all data objects.</xsd:documentation>
1001                  </xsd:annotation>
1002               </xsd:element>
1003               <xsd:element name="customData" type="witsml:q_cs_customData" minOccurs="0" maxOccurs="1">
1004                  <xsd:annotation>
1005                     <xsd:documentation>A container element that can contain custom or user defined data elements.</xsd:documentation>
1006                  </xsd:annotation>
1007               </xsd:element>
1008            </xsd:sequence>
1009            <xsd:attribute name="uid" type="witsml:q_uidString" use="optional">
1010               <xsd:annotation>
1011                  <xsd:documentation>The unique identifier of a container element. This attribute is generally required within the context of a WITSML server. There should be no
1012                  assumption as to the semantic content of this attribute. This should only be used with recurring container types (i.e., maxOccurs greater than one). The value is
1013                  only required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
1014               </xsd:annotation>
1015            </xsd:attribute>
1016         </xsd:extension>
1017      </xsd:complexContent>
1018   </xsd:complexType>
1019   <xsd:simpleType name="q_abstractBoolean">
1020      <xsd:annotation>
1021         <xsd:documentation>This type disallows an "empty" boolean value. This type should not be used directly except to derive another type. All boolean types should be derived
1022         from this type rather than using xsd:boolen.</xsd:documentation>
1023      </xsd:annotation>
1024      <xsd:restriction base="xsd:boolean">
1025         <xsd:pattern value=".+" />
1026      </xsd:restriction>
1027   </xsd:simpleType>
1028   <!--UNUSED: Deleted type q_abstractBoolean_queryValue.-->
1029   <xsd:simpleType name="q_abstractDateTime">
1030      <xsd:annotation>
1031         <xsd:documentation>This type disallows an "empty" dateTime value. This type should not be used directly except to derive another type. All dateTime types should be
1032         derived from this type rather than using xsd:dateTime.</xsd:documentation>
1033      </xsd:annotation>
1034      <xsd:restriction base="xsd:dateTime">
1035         <xsd:pattern value=".+" />
1036      </xsd:restriction>
1037   </xsd:simpleType>
1038   <!--UNUSED: Deleted type q_abstractDateTime_queryValue.-->
1039   <!--UNUSED: Deleted type q_abstractDate.-->
1040   <!--UNUSED: Deleted type q_abstractDate_queryValue.-->
1041   <!--UNUSED: Deleted type abstractYear.-->
1042   <xsd:simpleType name="q_abstractDouble">
1043      <xsd:annotation>
1044         <xsd:documentation>This type disallows an "empty" double value. This type should not be used directly except to derive another type.</xsd:documentation>
1045      </xsd:annotation>
1046      <xsd:restriction base="xsd:double">
1047         <xsd:pattern value=".+" />
1048      </xsd:restriction>
1049   </xsd:simpleType>
1050   <!--UNUSED: Deleted type q_abstractDouble_queryValue.-->
1051   <!--UNUSED: Deleted type abstractShort.-->
1052   <!--UNUSED: Deleted type abstractInt.-->
1053   <xsd:simpleType name="q_abstractString">
1054      <xsd:annotation>
1055         <xsd:documentation>The intended abstract supertype of all strings. This abstract type allows the control over whitespace for all strings to be defined at a high level.
1056         This type should not be used directly except to derive another type.</xsd:documentation>
1057      </xsd:annotation>
1058      <xsd:restriction base="xsd:string">
1059         <xsd:whiteSpace value="collapse">
1060            <xsd:annotation>
1061               <xsd:documentation>Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and
1062               trailing spaces.</xsd:documentation>
1063            </xsd:annotation>
1064         </xsd:whiteSpace>
1065         <xsd:minLength value="0">
1066            <xsd:annotation>
1067               <xsd:documentation>The empty string is not allowed. This constraint conbined with the whiteSpace collapse constraint means that a blank value is not
1068               allowed.</xsd:documentation>
1069               <xsd:appinfo>constraints:@minLength="1",</xsd:appinfo>
1070            </xsd:annotation>
1071         </xsd:minLength>
1072      </xsd:restriction>
1073   </xsd:simpleType>
1074   <!--UNUSED: Deleted type q_abstractString_queryValue.-->
1075   <!--UNUSED: Deleted type q_abstractMeasure.-->
1076   <xsd:simpleType name="q_abstractMaximumLengthString">
1077      <xsd:annotation>
1078         <xsd:documentation>This defines the maximum acceptable length of a string that can be stored in a data base.</xsd:documentation>
1079      </xsd:annotation>
1080      <xsd:restriction base="witsml:q_abstractString">
1081         <xsd:maxLength value="4000">
1082            <xsd:annotation>
1083               <xsd:documentation>This value should be the smallest "maximum size of a variable length character type" in commonly used DBMSs. This is the maximum size of a
1084               VARCHAR2 in Oracle 8.</xsd:documentation>
1085            </xsd:annotation>
1086         </xsd:maxLength>
1087      </xsd:restriction>
1088   </xsd:simpleType>
1089   <!--UNUSED: Deleted type q_abstractMaximumLengthString_queryValue.-->
1090   <!--UNUSED: Deleted type q_abstractMaximumLengthString_unionSEL.-->
1091   <!--UNUSED: Deleted type abstractUncollapsedString.-->
1092   <!--UNUSED: Deleted type abstractContextualObject.-->
1093   <!--UNUSED: Deleted type q_abstractSingularDataObject.-->
1094   <!--UNUSED: Deleted type abstractPositiveCount.-->
1095   <xsd:simpleType name="q_abstractNameString">
1096      <xsd:annotation>
1097         <xsd:documentation>The intended abstract supertype of all user assigned human recognizable contextual name types. There should be no assumption that (interoperable)
1098         semantic information will be extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced
1099         by an enumeration.</xsd:documentation>
1100      </xsd:annotation>
1101      <xsd:restriction base="witsml:q_abstractString">
1102         <xsd:maxLength value="64" />
1103      </xsd:restriction>
1104   </xsd:simpleType>
1105   <!--UNUSED: Deleted type q_abstractNameString_queryValue.-->
1106   <!--UNUSED: Deleted type q_abstractNameString_unionSEL.-->
1107   <xsd:simpleType name="q_abstractUidString">
1108      <xsd:annotation>
1109         <xsd:documentation>The intended abstract supertype of all locally unique identifiers. The value is not intended to convey any semantic content (e.g., it may be computer
1110         generated). The value is only required to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in
1111         multiple documents will utilize the same uid value unless enforced by the source of the document (e.g., a document server). Spaces are not allowed.</xsd:documentation>
1112      </xsd:annotation>
1113      <xsd:restriction base="witsml:q_abstractString">
1114         <xsd:maxLength value="64" />
1115         <xsd:pattern value="[^ ]*" />
1116      </xsd:restriction>
1117   </xsd:simpleType>
1118   <!--UNUSED: Deleted type q_abstractUidString_queryValue.-->
1119   <!--UNUSED: Deleted type q_abstractUidString_unionSEL.-->
1120   <xsd:simpleType name="q_abstractCommentString">
1121      <xsd:annotation>
1122         <xsd:documentation>The intended abstract supertype of all comments or remarks intended for human consumption. There should be no assumption that semantics can be
1123         extracted from the field by a computer. Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be
1124         interoperable).</xsd:documentation>
1125      </xsd:annotation>
1126      <xsd:restriction base="witsml:q_abstractMaximumLengthString" />
1127   </xsd:simpleType>
1128   <!--UNUSED: Deleted type q_abstractCommentString_queryValue.-->
1129   <!--UNUSED: Deleted type q_abstractCommentString_unionSEL.-->
1130   <xsd:simpleType name="q_abstractTypeEnum">
1131      <xsd:annotation>
1132         <xsd:documentation>The intended abstract supertype of all enumerated "types". This abstract type allows the maximum length of a type enumeration to be centrally defined.
1133         This type should not be used directly except to derive another type. It should also be used for uncontrolled strings which are candidates to become enumerations at a
1134         future date.</xsd:documentation>
1135      </xsd:annotation>
1136      <xsd:restriction base="witsml:q_abstractString">
1137         <xsd:maxLength value="40" />
1138      </xsd:restriction>
1139   </xsd:simpleType>
1140   <!--UNUSED: Deleted type q_abstractTypeEnum_queryValue.-->
1141   <!--UNUSED: Deleted type q_abstractTypeEnum_unionSEL.-->
1142   <xsd:simpleType name="q_abstractUomEnum">
1143      <xsd:annotation>
1144         <xsd:documentation>The intended abstract supertype of all "units of measure". This abstract type allows the maximum length of a UOM enumeration to be centrally defined.
1145         This type is abstract in the sense that it should not be used directly except to derive another type.</xsd:documentation>
1146      </xsd:annotation>
1147      <xsd:restriction base="witsml:q_abstractString">
1148         <xsd:maxLength value="24" />
1149      </xsd:restriction>
1150   </xsd:simpleType>
1151   <!--UNUSED: Deleted type q_abstractUomEnum_queryValue.-->
1152   <!--UNUSED: Deleted type q_abstractUomEnum_unionSEL.-->
1153   <!--UNUSED: Deleted type abstractNonNegativeCount.-->
1154   <!--UNUSED: Deleted type ActivityClassType.-->
1155   <!--UNUSED: Deleted type ActivityCode.-->
1156   <!--UNUSED: Deleted type AddressKindEnum.-->
1157   <!--UNUSED: Deleted type AddressQualifier.-->
1158   <!--UNUSED: Deleted type AziRef.-->
1159   <!--UNUSED: Deleted type ArrayElementDataType.-->
1160   <!--UNUSED: Deleted type BearingType.-->
1161   <!--UNUSED: Deleted type BitDullCode.-->
1162   <!--UNUSED: Deleted type BitReasonPulled.-->
1163   <!--UNUSED: Deleted type BitType.-->
1164   <!--UNUSED: Deleted type BhaStatus.-->
1165   <!--UNUSED: Deleted type BladeShapeType.-->
1166   <!--UNUSED: Deleted type BladeType.-->
1167   <!--UNUSED: Deleted type BopType.-->
1168   <!--UNUSED: Deleted type BoxPinConfig.-->
1169   <!--UNUSED: Deleted type CalculationMethod.-->
1170   <!--UNUSED: Deleted type CementJobType.-->
1171   <!--UNUSED: Deleted type ConnectionPosition.-->
1172   <!--UNUSED: Deleted type ContactPreference.-->
1173   <!--UNUSED: Deleted type DeflectionMethod.-->
1174   <!--UNUSED: Deleted type DerrickType.-->
1175   <!--UNUSED: Deleted type DrawWorksType.-->
1176   <!--UNUSED: Deleted type DriveType.-->
1177   <!--UNUSED: Deleted type ElevCodeEnum.-->
1178   <!--UNUSED: Deleted type Ellipsoid.-->
1179   <xsd:simpleType name="q_EndpointQualifier">
1180      <xsd:annotation>
1181         <xsd:documentation>The meaning of the endpoint for min/max query parameters on "growing objects". The list of standard values is contained in the PRODML enumValues.xml
1182         file.</xsd:documentation>
1183      </xsd:annotation>
1184      <xsd:restriction base="witsml:q_abstractTypeEnum">
1185         <xsd:enumeration value="inclusive">
1186            <xsd:annotation>
1187               <xsd:documentation>The endpoint of the range is inclusive of the specified range value. hat is, a node index value which matches the specified range value is
1188               considered to be within the range.</xsd:documentation>
1189            </xsd:annotation>
1190         </xsd:enumeration>
1191         <xsd:enumeration value="exclusive">
1192            <xsd:annotation>
1193               <xsd:documentation>The endpoint of the range is exclusive of the specified range value. That is, a node index value which matches the specified range value is
1194               considered to be outside the range.</xsd:documentation>
1195            </xsd:annotation>
1196         </xsd:enumeration>
1197         <xsd:enumeration value="extensive">
1198            <xsd:annotation>
1199               <xsd:documentation>The endpoint of the range may be extended to the first encountered value if an exact value match is not found. That is, if a node index value
1200               does not match the specified range value then the next smaller value (on minimum end) or larger value (on maximum end) in the index series should be used as the
1201               endpoint. Basically, this concept is designed to support interpolation across an undefined point.</xsd:documentation>
1202            </xsd:annotation>
1203         </xsd:enumeration>
1204         <xsd:enumeration value="overlap extensive">
1205            <xsd:annotation>
1206               <xsd:documentation>The endpoint of the range may be extended to the first encountered value if the interval is overlapped with the index interval. That is, if a
1207               node index value does not match the specified range value then the next smaller value (on minimum end) or larger value (on maximum end) in the index series should
1208               be used as the endpoint. This concept is designed to select ALL nodes whose index interval overlap with the query range.</xsd:documentation>
1209            </xsd:annotation>
1210         </xsd:enumeration>
1211         <xsd:enumeration value="unknown">
1212            <xsd:annotation>
1213               <xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate
1214               value. Use of this value may result in rejection in some situations.</xsd:documentation>
1215            </xsd:annotation>
1216         </xsd:enumeration>
1217      </xsd:restriction>
1218   </xsd:simpleType>
1219   <!--UNUSED: Deleted type q_EndpointQualifier_queryValue.-->
1220   <xsd:simpleType name="q_EndpointQualifier_unionSEL">
1221      <xsd:union memberTypes="witsml:q_EndpointQualifier witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
1222   </xsd:simpleType>
1223   <xsd:simpleType name="q_FacilityParameter">
1224      <xsd:annotation>
1225         <xsd:documentation>Defines kinds of facility parameters. The list of standard values is contained in the PRODML enumValues.xml file.</xsd:documentation>
1226      </xsd:annotation>
1227      <xsd:restriction base="witsml:q_abstractTypeEnum">
1228         <xsd:enumeration value="available">
1229            <xsd:annotation>
1230               <xsd:documentation>Indicates the availablity of the facility. This should be implemented as a string value. A value of "true" indicates that it is available for
1231               use. That is, it may be currently shut-down but it can be restarted. A value of "false" indicates that the faility is not available to be used. That is, it cannot
1232               be restarted at this time.</xsd:documentation>
1233            </xsd:annotation>
1234         </xsd:enumeration>
1235         <xsd:enumeration value="available room">
1236            <xsd:annotation>
1237               <xsd:documentation>Defines the unoccupied volume of a tank. Zero indicates that the tank is full. This should be implemented as a volume
1238               measure.</xsd:documentation>
1239            </xsd:annotation>
1240         </xsd:enumeration>
1241         <xsd:enumeration value="block valve status">
1242            <xsd:annotation>
1243               <xsd:documentation>Indicates the status of a block valve. This should be implemented as a string value. A value of "open" indicates that it is open. A value of
1244               "closed" indicates that it is closed.</xsd:documentation>
1245            </xsd:annotation>
1246         </xsd:enumeration>
1247         <xsd:enumeration value="facility uptime">
1248            <xsd:annotation>
1249               <xsd:documentation>The ammount to time the facility was available during the specified period. This should be implemented as an time measure.</xsd:documentation>
1250            </xsd:annotation>
1251         </xsd:enumeration>
1252         <xsd:enumeration value="reciprocating speed">
1253            <xsd:annotation>
1254               <xsd:documentation>The reciprocating speed of a device (e.g., motor, compressor) This should be implemented as an anglePerTime measure.</xsd:documentation>
1255            </xsd:annotation>
1256         </xsd:enumeration>
1257         <xsd:enumeration value="relative tank level">
1258            <xsd:annotation>
1259               <xsd:documentation>Defines the relative level of a tank. Zero indicates empty and 100% indicates full. This should be implemented as a lengthPerLength
1260               measure.</xsd:documentation>
1261            </xsd:annotation>
1262         </xsd:enumeration>
1263         <xsd:enumeration value="relative valve opening">
1264            <xsd:annotation>
1265               <xsd:documentation>Indicates the status of a valve. This should be implemented as an areaPerAreaMeasure. A value of 100 % indicates that it is open. A value of zero
1266               indicates that it is closed.</xsd:documentation>
1267            </xsd:annotation>
1268         </xsd:enumeration>
1269         <xsd:enumeration value="valve opening">
1270            <xsd:annotation>
1271               <xsd:documentation>Indicates the open area of a valve. This should be implemented as an areaMeasure. A value of zero indicates that it is
1272               closed.</xsd:documentation>
1273            </xsd:annotation>
1274         </xsd:enumeration>
1275         <xsd:enumeration value="scheduled downtime">
1276            <xsd:annotation>
1277               <xsd:documentation>Indicates the amount of time the facility has been unavailable during the specified period. May be related to a particular point in time which
1278               would represent the start of the downtime. This should be implemented as an time measure.</xsd:documentation>
1279            </xsd:annotation>
1280         </xsd:enumeration>
1281         <xsd:enumeration value="shutdown order">
1282            <xsd:annotation>
1283               <xsd:documentation>Defines the relative order in which a facility should be shutdown. This should be implemented as an integer count. Facilities with smaller values
1284               should be shut down first. Only facility parameters with the same version time and same version source should be evaluated together for the purposes of this
1285               order.</xsd:documentation>
1286            </xsd:annotation>
1287         </xsd:enumeration>
1288         <xsd:enumeration value="tank fluid level">
1289            <xsd:annotation>
1290               <xsd:documentation>The vertical height of the specified product in a tank. This should be implemented as a length measure.</xsd:documentation>
1291            </xsd:annotation>
1292         </xsd:enumeration>
1293         <xsd:enumeration value="tank product volume">
1294            <xsd:annotation>
1295               <xsd:documentation>The volume of the specified product in a tank. This should be implemented as a volume measure.</xsd:documentation>
1296            </xsd:annotation>
1297         </xsd:enumeration>
1298         <xsd:enumeration value="tank product standard volume">
1299            <xsd:annotation>
1300               <xsd:documentation>The volume of the specified product in a tank, corrected to standard conditions of temperature and pressure. This should be implemented as a
1301               volume measure.</xsd:documentation>
1302            </xsd:annotation>
1303         </xsd:enumeration>
1304         <xsd:enumeration value="well operation type">
1305            <xsd:annotation>
1306               <xsd:documentation>This commonly called the "well type". It characterizes the well based on its mode of lifting the product. This should be implemented as a string
1307               value.</xsd:documentation>
1308            </xsd:annotation>
1309         </xsd:enumeration>
1310         <xsd:enumeration value="unknown">
1311            <xsd:annotation>
1312               <xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate
1313               value. Use of this value may result in rejection in some situations.</xsd:documentation>
1314            </xsd:annotation>
1315         </xsd:enumeration>
1316      </xsd:restriction>
1317   </xsd:simpleType>
1318   <xsd:complexType name="q_FacilityParameter_queryValue">
1319      <xsd:attribute name="queryValue" type="witsml:q_FacilityParameter_unionSEL" />
1320   </xsd:complexType>
1321   <xsd:simpleType name="q_FacilityParameter_unionSEL">
1322      <xsd:union memberTypes="witsml:q_FacilityParameter witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
1323   </xsd:simpleType>
1324   <!--UNUSED: Deleted type FiberMode.-->
1325   <xsd:simpleType name="q_FlowQualifier">
1326      <xsd:annotation>
1327         <xsd:documentation>Defines qualifiers for type of flow. The list of standard values is contained in the PRODML enumValues.xml file.</xsd:documentation>
1328      </xsd:annotation>
1329      <xsd:restriction base="witsml:q_abstractTypeEnum">
1330         <xsd:enumeration value="allocated">
1331            <xsd:annotation>
1332               <xsd:documentation>Indicates product characteristics that were allocated back to a well as opposed to being measured at the well.</xsd:documentation>
1333            </xsd:annotation>
1334         </xsd:enumeration>
1335         <xsd:enumeration value="budget">
1336            <xsd:annotation>
1337               <xsd:documentation>A performance requirement as determined by a budget.</xsd:documentation>
1338            </xsd:annotation>
1339         </xsd:enumeration>
1340         <xsd:enumeration value="constraint">
1341            <xsd:annotation>
1342               <xsd:documentation>Indicates product characteristics that were determined by an allowable or other performance limit. This includes allowables which are usually
1343               established by a regulatory agency for a product.</xsd:documentation>
1344            </xsd:annotation>
1345         </xsd:enumeration>
1346         <xsd:enumeration value="forecast">
1347            <xsd:annotation>
1348               <xsd:documentation>A forecast future value.</xsd:documentation>
1349            </xsd:annotation>
1350         </xsd:enumeration>
1351         <xsd:enumeration value="derived">
1352            <xsd:annotation>
1353               <xsd:documentation>Indicates product volumes that were derived directly from one or more other flows.</xsd:documentation>
1354            </xsd:annotation>
1355         </xsd:enumeration>
1356         <xsd:enumeration value="estimate">
1357            <xsd:annotation>
1358               <xsd:documentation>An estimated or calculated performance, possibly based on comparable product flow units, but not based on reservoir simulations for the
1359               particular product flow unit.</xsd:documentation>
1360            </xsd:annotation>
1361         </xsd:enumeration>
1362         <xsd:enumeration value="measured">
1363            <xsd:annotation>
1364               <xsd:documentation>Indicates product volumes that were actually measured at the port.</xsd:documentation>
1365            </xsd:annotation>
1366         </xsd:enumeration>
1367         <xsd:enumeration value="nominated">
1368            <xsd:annotation>
1369               <xsd:documentation>Normally a 1 day forcast promise to a buyer.</xsd:documentation>
1370            </xsd:annotation>
1371         </xsd:enumeration>
1372         <xsd:enumeration value="potential">
1373            <xsd:annotation>
1374               <xsd:documentation>The estimated maximum which is possible.</xsd:documentation>
1375            </xsd:annotation>
1376         </xsd:enumeration>
1377         <xsd:enumeration value="processed">
1378            <xsd:annotation>
1379               <xsd:documentation>A measured value that has been processed. This is different from derived because it is fundamentally a variation of the original
1380               value.</xsd:documentation>
1381            </xsd:annotation>
1382         </xsd:enumeration>
1383         <xsd:enumeration value="quota">
1384            <xsd:annotation>
1385               <xsd:documentation>An amount, set by some authority, which may or may not be based on technical criteria.</xsd:documentation>
1386            </xsd:annotation>
1387         </xsd:enumeration>
1388         <xsd:enumeration value="recommended">
1389            <xsd:annotation>
1390               <xsd:documentation>A value which is believed to be very desirable if it can be achieved. This a recommendation that something be changed in order to achieve this
1391               value.</xsd:documentation>
1392            </xsd:annotation>
1393         </xsd:enumeration>
1394         <xsd:enumeration value="simulated">
1395            <xsd:annotation>
1396               <xsd:documentation>An estimated performance based on a simulation that includes the particular product flow unit.</xsd:documentation>
1397            </xsd:annotation>
1398         </xsd:enumeration>
1399         <xsd:enumeration value="target">
1400            <xsd:annotation>
1401               <xsd:documentation>The desired value. What you are aiming for.</xsd:documentation>
1402            </xsd:annotation>
1403         </xsd:enumeration>
1404         <xsd:enumeration value="unknown">
1405            <xsd:annotation>
1406               <xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate
1407               value. Use of this value may result in rejection in some situations.</xsd:documentation>
1408            </xsd:annotation>
1409         </xsd:enumeration>
1410         <xsd:enumeration value="mass adjusted">
1411            <xsd:annotation>
1412               <xsd:documentation>xxxxxxxxxxxxxxxxxxxxxxxxxxx</xsd:documentation>
1413            </xsd:annotation>
1414         </xsd:enumeration>
1415         <xsd:enumeration value="value adjusted">
1416            <xsd:annotation>
1417               <xsd:documentation>xxxxxxxxxxxxxxxxxxxxxxxxxxx</xsd:documentation>
1418            </xsd:annotation>
1419         </xsd:enumeration>
1420         <xsd:enumeration value="difference">
1421            <xsd:annotation>
1422               <xsd:documentation>A value that is the difference between e.g. a target value and a metered value.</xsd:documentation>
1423            </xsd:annotation>
1424         </xsd:enumeration>
1425         <xsd:enumeration value="metered - fiscal">
1426            <xsd:annotation>
1427               <xsd:documentation>A value that is generated by measurement and calculation and has an impact on company revenue and government taxation.</xsd:documentation>
1428            </xsd:annotation>
1429         </xsd:enumeration>
1430         <xsd:enumeration value="tariff basis">
1431            <xsd:annotation>
1432               <xsd:documentation>xxxxxxxxxxxxxxxxxxxxxxxxxxx</xsd:documentation>
1433            </xsd:annotation>
1434         </xsd:enumeration>
1435      </xsd:restriction>
1436   </xsd:simpleType>
1437   <xsd:complexType name="q_FlowQualifier_queryValue">
1438      <xsd:attribute name="queryValue" type="witsml:q_FlowQualifier_unionSEL" />
1439   </xsd:complexType>
1440   <xsd:simpleType name="q_FlowQualifier_unionSEL">
1441      <xsd:union memberTypes="witsml:q_FlowQualifier witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
1442   </xsd:simpleType>
1443   <!--UNUSED: Deleted type FlowSubQualifier.-->
1444   <!--UNUSED: Deleted type GasPeakType.-->
1445   <!--UNUSED: Deleted type GeodeticDatum.-->
1446   <!--UNUSED: Deleted type Hemispheres.-->
1447   <!--UNUSED: Deleted type HoleCasingType.-->
1448   <!--UNUSED: Deleted type HoleOpenerType.-->
1449   <!--UNUSED: Deleted type InjectionFluid.-->
1450   <!--UNUSED: Deleted type IntervalMethod.-->
1451   <!--UNUSED: Deleted type IntervalType.-->
1452   <xsd:simpleType name="q_ItemState">
1453      <xsd:annotation>
1454         <xsd:documentation>These values represent the state of a WITSML object.</xsd:documentation>
1455      </xsd:annotation>
1456      <xsd:restriction base="witsml:q_abstractTypeEnum">
1457         <xsd:enumeration value="actual">
1458            <xsd:annotation>
1459               <xsd:documentation>Actual data measured or entered at the well site.</xsd:documentation>
1460            </xsd:annotation>
1461         </xsd:enumeration>
1462         <xsd:enumeration value="model">
1463            <xsd:annotation>
1464               <xsd:documentation>Model data used for "what if" calculations.</xsd:documentation>
1465            </xsd:annotation>
1466         </xsd:enumeration>
1467         <xsd:enumeration value="plan">
1468            <xsd:annotation>
1469               <xsd:documentation>A planned object. That is, one which is expected to be executed in the future.</xsd:documentation>
1470            </xsd:annotation>
1471         </xsd:enumeration>
1472         <xsd:enumeration value="unknown">
1473            <xsd:annotation>
1474               <xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate
1475               value. Use of this value may result in rejection in some situations.</xsd:documentation>
1476            </xsd:annotation>
1477         </xsd:enumeration>
1478      </xsd:restriction>
1479   </xsd:simpleType>
1480   <xsd:complexType name="q_ItemState_queryValue">
1481      <xsd:attribute name="queryValue" type="witsml:q_ItemState_unionSEL" />
1482   </xsd:complexType>
1483   <xsd:simpleType name="q_ItemState_unionSEL">
1484      <xsd:union memberTypes="witsml:q_ItemState witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
1485   </xsd:simpleType>
1486   <!--UNUSED: Deleted type InstalledFiberPoint.-->
1487   <!--UNUSED: Deleted type JarType.-->
1488   <!--UNUSED: Deleted type JarAction.-->
1489   <!--UNUSED: Deleted type LithologySource.-->
1490   <!--UNUSED: Deleted type LithologyType.-->
1491   <!--UNUSED: Deleted type LogDataType.-->
1492   <!--UNUSED: Deleted type LogIndexDirection.-->
1493   <!--UNUSED: Deleted type LogIndexType.-->
1494   <!--UNUSED: Deleted type LogTraceOrigin.-->
1495   <!--UNUSED: Deleted type LogTraceState.-->
1496   <!--UNUSED: Deleted type MaterialType.-->
1497   <!--UNUSED: Deleted type MeasureClass.-->
1498   <!--UNUSED: Deleted type MeasurementType.-->
1499   <!--UNUSED: Deleted type MessageProbability.-->
1500   <!--UNUSED: Deleted type MessageSeverity.-->
1501   <!--UNUSED: Deleted type MessageType.-->
1502   <!--UNUSED: Deleted type MudLogParameterType.-->
1503   <!--UNUSED: Deleted type NADTypes.-->
1504   <!--UNUSED: Deleted type NameTagLocation.-->
1505   <!--UNUSED: Deleted type NameTagNumberingScheme.-->
1506   <!--UNUSED: Deleted type NameTagTechnology.-->
1507   <!--UNUSED: Deleted type NozzleType.-->
1508   <!--UNUSED: Deleted type OTDRReason.-->
1509   <!--UNUSED: Deleted type PhoneType.-->
1510   <!--UNUSED: Deleted type PitType.-->
1511   <xsd:simpleType name="q_ProductFlowPortType">
1512      <xsd:annotation>
1513         <xsd:documentation>Defines the types of Product Flow Ports. The list of standard values is contained in the PRODML enumValues.xml file.</xsd:documentation>
1514      </xsd:annotation>
1515      <xsd:restriction base="witsml:q_abstractTypeEnum">
1516         <xsd:enumeration value="inlet">
1517            <xsd:annotation>
1518               <xsd:documentation>An inlet port by which fluid normally flows into the Product Flow Unit.</xsd:documentation>
1519            </xsd:annotation>
1520         </xsd:enumeration>
1521         <xsd:enumeration value="outlet">
1522            <xsd:annotation>
1523               <xsd:documentation>An inlet port by which fluid normally flows out of Product Flow Unit.</xsd:documentation>
1524            </xsd:annotation>
1525         </xsd:enumeration>
1526         <xsd:enumeration value="unknown">
1527            <xsd:annotation>
1528               <xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate
1529               value. Use of this value may result in rejection in some situations.</xsd:documentation>
1530            </xsd:annotation>
1531         </xsd:enumeration>
1532      </xsd:restriction>
1533   </xsd:simpleType>
1534   <xsd:complexType name="q_ProductFlowPortType_queryValue">
1535      <xsd:attribute name="queryValue" type="witsml:q_ProductFlowPortType_unionSEL" />
1536   </xsd:complexType>
1537   <xsd:simpleType name="q_ProductFlowPortType_unionSEL">
1538      <xsd:union memberTypes="witsml:q_ProductFlowPortType witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
1539   </xsd:simpleType>
1540   <!--UNUSED: Deleted type Projection.-->
1541   <!--UNUSED: Deleted type ProjectionVariantsObliqueMercator.-->
1542   <!--UNUSED: Deleted type PumpType.-->
1543   <!--UNUSED: Deleted type PumpOpType.-->
1544   <!--UNUSED: Deleted type QualifierType.-->
1545   <!--UNUSED: Deleted type RealtimeData.-->
1546   <xsd:simpleType name="q_ReportingFacility">
1547      <xsd:annotation>
1548         <xsd:documentation>A kind of facility (usage of equipment or material). The list of standard values is contained in the PRODML enumValues.xml file.</xsd:documentation>
1549      </xsd:annotation>
1550      <xsd:restriction base="witsml:q_abstractTypeEnum">
1551         <xsd:enumeration value="block valve">
1552            <xsd:annotation>
1553               <xsd:documentation>A single block valve.</xsd:documentation>
1554            </xsd:annotation>
1555         </xsd:enumeration>
1556         <xsd:enumeration value="bottomhole">
1557            <xsd:annotation>
1558               <xsd:documentation>A single bottomhole.</xsd:documentation>
1559            </xsd:annotation>
1560         </xsd:enumeration>
1561         <xsd:enumeration value="choke">
1562            <xsd:annotation>
1563               <xsd:documentation>A single choke.</xsd:documentation>
1564            </xsd:annotation>
1565         </xsd:enumeration>
1566         <xsd:enumeration value="cluster">
1567            <xsd:annotation>
1568               <xsd:documentation>A single cluster.</xsd:documentation>
1569            </xsd:annotation>
1570         </xsd:enumeration>
1571         <xsd:enumeration value="completion">
1572            <xsd:annotation>
1573               <xsd:documentation>A single completion.</xsd:documentation>
1574            </xsd:annotation>
1575         </xsd:enumeration>
1576         <xsd:enumeration value="compressor">
1577            <xsd:annotation>
1578               <xsd:documentation>A single compressor.</xsd:documentation>
1579            </xsd:annotation>
1580         </xsd:enumeration>
1581         <xsd:enumeration value="controller">
1582            <xsd:annotation>
1583               <xsd:documentation>A single lift gas controller.</xsd:documentation>
1584            </xsd:annotation>
1585         </xsd:enumeration>
1586         <xsd:enumeration value="controller -- lift">
1587            <xsd:annotation>
1588               <xsd:documentation>DEPRECATED: use "controller" instead.</xsd:documentation>
1589            </xsd:annotation>
1590         </xsd:enumeration>
1591         <xsd:enumeration value="county">
1592            <xsd:annotation>
1593               <xsd:documentation>A single county.</xsd:documentation>
1594            </xsd:annotation>
1595         </xsd:enumeration>
1596         <xsd:enumeration value="country">
1597            <xsd:annotation>
1598               <xsd:documentation>A single country.</xsd:documentation>
1599            </xsd:annotation>
1600         </xsd:enumeration>
1601         <xsd:enumeration value="field">
1602            <xsd:annotation>
1603               <xsd:documentation>A single field.</xsd:documentation>
1604            </xsd:annotation>
1605         </xsd:enumeration>
1606         <xsd:enumeration value="flowline">
1607            <xsd:annotation>
1608               <xsd:documentation>A single flowline.</xsd:documentation>
1609            </xsd:annotation>
1610         </xsd:enumeration>
1611         <xsd:enumeration value="flow meter">
1612            <xsd:annotation>
1613               <xsd:documentation>A single flow meter.</xsd:documentation>
1614            </xsd:annotation>
1615         </xsd:enumeration>
1616         <xsd:enumeration value="lease">
1617            <xsd:annotation>
1618               <xsd:documentation>A single lease.</xsd:documentation>
1619            </xsd:annotation>
1620         </xsd:enumeration>
1621         <xsd:enumeration value="manifold">
1622            <xsd:annotation>
1623               <xsd:documentation>A single manifold.</xsd:documentation>
1624            </xsd:annotation>
1625         </xsd:enumeration>
1626         <xsd:enumeration value="platform">
1627            <xsd:annotation>
1628               <xsd:documentation>A single platform.</xsd:documentation>
1629            </xsd:annotation>
1630         </xsd:enumeration>
1631         <xsd:enumeration value="pressure meter">
1632            <xsd:annotation>
1633               <xsd:documentation>A single pressure meter. Note that this represents the device and not the sensor itself.</xsd:documentation>
1634            </xsd:annotation>
1635         </xsd:enumeration>
1636         <xsd:enumeration value="processing facility">
1637            <xsd:annotation>
1638               <xsd:documentation>A single production processing facility.</xsd:documentation>
1639            </xsd:annotation>
1640         </xsd:enumeration>
1641         <xsd:enumeration value="regulating valve">
1642            <xsd:annotation>
1643               <xsd:documentation>A single regulating valve.</xsd:documentation>
1644            </xsd:annotation>
1645         </xsd:enumeration>
1646         <xsd:enumeration value="reservoir">
1647            <xsd:annotation>
1648               <xsd:documentation>A single reservoir.</xsd:documentation>
1649            </xsd:annotation>
1650         </xsd:enumeration>
1651         <xsd:enumeration value="separator">
1652            <xsd:annotation>
1653               <xsd:documentation>A single separator.</xsd:documentation>
1654            </xsd:annotation>
1655         </xsd:enumeration>
1656         <xsd:enumeration value="sleeve valve">
1657            <xsd:annotation>
1658               <xsd:documentation>A single sleeve valve. This is a type of tubing valve which has a sliding sleeve to cover holes in the tubing. You cover all of the holes in
1659               order to close the valve. For configurations oriented toward production, the inlet is on the casing side and the outlet is on the tubing side. For injection, the
1660               reverse would be true.</xsd:documentation>
1661            </xsd:annotation>
1662         </xsd:enumeration>
1663         <xsd:enumeration value="state">
1664            <xsd:annotation>
1665               <xsd:documentation>A single state or province.</xsd:documentation>
1666            </xsd:annotation>
1667         </xsd:enumeration>
1668         <xsd:enumeration value="tank">
1669            <xsd:annotation>
1670               <xsd:documentation>A single tank.</xsd:documentation>
1671            </xsd:annotation>
1672         </xsd:enumeration>
1673         <xsd:enumeration value="temperature meter">
1674            <xsd:annotation>
1675               <xsd:documentation>A single temperature meter. Note that this represents the device and not the sensor itself.</xsd:documentation>
1676            </xsd:annotation>
1677         </xsd:enumeration>
1678         <xsd:enumeration value="template">
1679            <xsd:annotation>
1680               <xsd:documentation>A single template.</xsd:documentation>
1681            </xsd:annotation>
1682         </xsd:enumeration>
1683         <xsd:enumeration value="trunkline">
1684            <xsd:annotation>
1685               <xsd:documentation>A single trunkline.</xsd:documentation>
1686            </xsd:annotation>
1687         </xsd:enumeration>
1688         <xsd:enumeration value="tubing head">
1689            <xsd:annotation>
1690               <xsd:documentation>A single tubing head within a wellhead.</xsd:documentation>
1691            </xsd:annotation>
1692         </xsd:enumeration>
1693         <xsd:enumeration value="well group">
1694            <xsd:annotation>
1695               <xsd:documentation>A single named group of wells.</xsd:documentation>
1696            </xsd:annotation>
1697         </xsd:enumeration>
1698         <xsd:enumeration value="well">
1699            <xsd:annotation>
1700               <xsd:documentation>A single well, possibly with many wellbores (sidetracks).</xsd:documentation>
1701            </xsd:annotation>
1702         </xsd:enumeration>
1703         <xsd:enumeration value="wellbore">
1704            <xsd:annotation>
1705               <xsd:documentation>A single wellbore (sidetrack) within a well.</xsd:documentation>
1706            </xsd:annotation>
1707         </xsd:enumeration>
1708         <xsd:enumeration value="wellhead">
1709            <xsd:annotation>
1710               <xsd:documentation>A single wellhead for one well. See also "tubing head".</xsd:documentation>
1711            </xsd:annotation>
1712         </xsd:enumeration>
1713         <xsd:enumeration value="zone">
1714            <xsd:annotation>
1715               <xsd:documentation>A single zone.</xsd:documentation>
1716            </xsd:annotation>
1717         </xsd:enumeration>
1718         <xsd:enumeration value="unknown">
1719            <xsd:annotation>
1720               <xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate
1721               value. Use of this value may result in rejection in some situations.</xsd:documentation>
1722            </xsd:annotation>
1723         </xsd:enumeration>
1724         <xsd:enumeration value="commercial entity">
1725            <xsd:annotation>
1726               <xsd:documentation>A commercial entity is an organisational construct through which the a group of organisations or facilities are grouped as if it were a single
1727               composite.</xsd:documentation>
1728            </xsd:annotation>
1729         </xsd:enumeration>
1730         <xsd:enumeration value="company">
1731            <xsd:annotation>
1732               <xsd:documentation>xxxxxxxxxxxxxxxxxxxxxxx</xsd:documentation>
1733            </xsd:annotation>
1734         </xsd:enumeration>
1735         <xsd:enumeration value="field - area">
1736            <xsd:annotation>
1737               <xsd:documentation>A ground that is an area above an oilfield.</xsd:documentation>
1738            </xsd:annotation>
1739         </xsd:enumeration>
1740         <xsd:enumeration value="field - group">
1741            <xsd:annotation>
1742               <xsd:documentation>An area concept that is a grouping of two or more selcted petroleum fields for commercial reasons or other purposes.</xsd:documentation>
1743            </xsd:annotation>
1744         </xsd:enumeration>
1745         <xsd:enumeration value="field - part">
1746            <xsd:annotation>
1747               <xsd:documentation>An area concept that is an area that forms part of a petroleum field.</xsd:documentation>
1748            </xsd:annotation>
1749         </xsd:enumeration>
1750         <xsd:enumeration value="formation">
1751            <xsd:annotation>
1752               <xsd:documentation>xxxxxxxxxxxxxxxxxxxxxxx</xsd:documentation>
1753            </xsd:annotation>
1754         </xsd:enumeration>
1755         <xsd:enumeration value="installation">
1756            <xsd:annotation>
1757               <xsd:documentation>A physical object that is an appliance involved in the extraction, production, transportation or storage of oil or gas.</xsd:documentation>
1758            </xsd:annotation>
1759         </xsd:enumeration>
1760         <xsd:enumeration value="licence">
1761            <xsd:annotation>
1762               <xsd:documentation>A regulatory agreement that gives the licensees excluding rights to investigate, explore and recover petroleum deposits within the geographical
1763               area and timeperiode stated in the agreement.</xsd:documentation>
1764            </xsd:annotation>
1765         </xsd:enumeration>
1766         <xsd:enumeration value="pipeline">
1767            <xsd:annotation>
1768               <xsd:documentation>A fluid conductor that consists of pipe, possibly also including pumps, valves, and control devices, intended for conveying liquids, gases, or
1769               finely divided solids.</xsd:documentation>
1770            </xsd:annotation>
1771         </xsd:enumeration>
1772         <xsd:enumeration value="storage">
1773            <xsd:annotation>
1774               <xsd:documentation>A system for the storage of gaseous, liquid and solid products.</xsd:documentation>
1775            </xsd:annotation>
1776         </xsd:enumeration>
1777         <xsd:enumeration value="terminal">
1778            <xsd:annotation>
1779               <xsd:documentation>A physical object that is an industrial facility for the storage of oil and/or petrochemical products and from which these products are usually
1780               transported to end users or further storage facilities.</xsd:documentation>
1781            </xsd:annotation>
1782         </xsd:enumeration>
1783      </xsd:restriction>
1784   </xsd:simpleType>
1785   <!--UNUSED: Deleted type q_ReportingFacility_queryValue.-->
1786   <xsd:simpleType name="q_ReportingFacility_unionSEL">
1787      <xsd:union memberTypes="witsml:q_ReportingFacility witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
1788   </xsd:simpleType>
1789   <xsd:simpleType name="q_ReportingFlow">
1790      <xsd:annotation>
1791         <xsd:documentation>Defines the types of flows for volume reports. The list of standard values is contained in the PRODML enumValues.xml file.</xsd:documentation>
1792      </xsd:annotation>
1793      <xsd:restriction base="witsml:q_abstractTypeEnum">
1794         <xsd:enumeration value="consume">
1795            <xsd:annotation>
1796               <xsd:documentation>Consumed (all methods) by the facility.</xsd:documentation>
1797            </xsd:annotation>
1798         </xsd:enumeration>
1799         <xsd:enumeration value="consume - black start">
1800            <xsd:annotation>
1801               <xsd:documentation>Consummed to restart power facilities as a result of an overall power outage.</xsd:documentation>
1802            </xsd:annotation>
1803         </xsd:enumeration>
1804         <xsd:enumeration value="consume - compressor">
1805            <xsd:annotation>
1806               <xsd:documentation>Consummed by compressors.</xsd:documentation>
1807            </xsd:annotation>
1808         </xsd:enumeration>
1809         <xsd:enumeration value="consume - non compressor">
1810            <xsd:annotation>
1811               <xsd:documentation>Consumed by devices other than compressors.</xsd:documentation>
1812            </xsd:annotation>
1813         </xsd:enumeration>
1814         <xsd:enumeration value="consume - emitted">
1815            <xsd:annotation>
1816               <xsd:documentation>Released into the atmosphere as a by-product of consumption.</xsd:documentation>
1817            </xsd:annotation>
1818         </xsd:enumeration>
1819         <xsd:enumeration value="consume - flare">
1820            <xsd:annotation>
1821               <xsd:documentation>Burned in a flare. A fluid stream that has one or more flares as the ultimate target.</xsd:documentation>
1822            </xsd:annotation>
1823         </xsd:enumeration>
1824         <xsd:enumeration value="consume - HP flare">
1825            <xsd:annotation>
1826               <xsd:documentation>Burned in a high pressure flare.</xsd:documentation>
1827            </xsd:annotation>
1828         </xsd:enumeration>
1829         <xsd:enumeration value="consume - LP flare">
1830            <xsd:annotation>
1831               <xsd:documentation>Burned in a low pressure flare.</xsd:documentation>
1832            </xsd:annotation>
1833         </xsd:enumeration>
1834         <xsd:enumeration value="consume - fuel">
1835            <xsd:annotation>
1836               <xsd:documentation>Consumed by processing equipment.</xsd:documentation>
1837            </xsd:annotation>
1838         </xsd:enumeration>
1839         <xsd:enumeration value="consume - venting">
1840            <xsd:annotation>
1841               <xsd:documentation>Released into the atmosphere.</xsd:documentation>
1842            </xsd:annotation>
1843         </xsd:enumeration>
1844         <xsd:enumeration value="export">
1845            <xsd:annotation>
1846               <xsd:documentation>Leaving the installation for commercialized purposes.</xsd:documentation>
1847            </xsd:annotation>
1848         </xsd:enumeration>
1849         <xsd:enumeration value="export - requested">
1850            <xsd:annotation>
1851               <xsd:documentation>Requested to leave the installation for commercialized purposes.</xsd:documentation>
1852            </xsd:annotation>
1853         </xsd:enumeration>
1854         <xsd:enumeration value="export - nominated">
1855            <xsd:annotation>
1856               <xsd:documentation>Planned to leave the installation for commercialized purposes.</xsd:documentation>
1857            </xsd:annotation>
1858         </xsd:enumeration>
1859         <xsd:enumeration value="export - shortfall">
1860            <xsd:annotation>
1861               <xsd:documentation>Difference between what was requested and what was delivered.</xsd:documentation>
1862            </xsd:annotation>
1863         </xsd:enumeration>
1864         <xsd:enumeration value="gas lift">
1865            <xsd:annotation>
1866               <xsd:documentation>Injected into a producing well to reduce the hydrostataic pressure of the fluid column. The resulting reduction in bottom hole pressure allows
1867               the reservoir liquids to flow.</xsd:documentation>
1868            </xsd:annotation>
1869         </xsd:enumeration>
1870         <xsd:enumeration value="import">
1871            <xsd:annotation>
1872               <xsd:documentation>Entering the facility for commercialized purposes.</xsd:documentation>
1873            </xsd:annotation>
1874         </xsd:enumeration>
1875         <xsd:enumeration value="injection">
1876            <xsd:annotation>
1877               <xsd:documentation>Inject into a well.</xsd:documentation>
1878            </xsd:annotation>
1879         </xsd:enumeration>
1880         <xsd:enumeration value="inventory">
1881            <xsd:annotation>
1882               <xsd:documentation>Stock at a facility. For a period that represents an event, the amount would represent the current amount of inventory. For other periods, the
1883               amount would represent the addition (positive value) or drawdown (negative value) over that period. For an individual storage facility (e.g., a tank), the amounts
1884               would represent that tank. For an overall facility, the amounts would represent all tanks.</xsd:documentation>
1885            </xsd:annotation>
1886         </xsd:enumeration>
1887         <xsd:enumeration value="overboard">
1888            <xsd:annotation>
1889               <xsd:documentation>Dropped overboard into the sea.</xsd:documentation>
1890            </xsd:annotation>
1891         </xsd:enumeration>
1892         <xsd:enumeration value="production">
1893            <xsd:annotation>
1894               <xsd:documentation>Exploited from a reservoir. This is independent of any disposition.</xsd:documentation>
1895            </xsd:annotation>
1896         </xsd:enumeration>
1897         <xsd:enumeration value="unknown">
1898            <xsd:annotation>
1899               <xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate
1900               value. Use of this value may result in rejection in some situations.</xsd:documentation>
1901            </xsd:annotation>
1902         </xsd:enumeration>
1903         <xsd:enumeration value="hydrocarbon accounting">
1904            <xsd:annotation>
1905               <xsd:documentation>An accounting of all of the fluids into and out of Stock (i.e., Inventory) which includes all storage facilities at a site including fluid within
1906               a pipeline.</xsd:documentation>
1907            </xsd:annotation>
1908         </xsd:enumeration>
1909         <xsd:enumeration value="disposal">
1910            <xsd:annotation>
1911               <xsd:documentation>A fluid stream that contains waste fluids for disposal.</xsd:documentation>
1912            </xsd:annotation>
1913         </xsd:enumeration>
1914         <xsd:enumeration value="sale">
1915            <xsd:annotation>
1916               <xsd:documentation>A fluid stream that is sold and transported to a buyer by pipeline.</xsd:documentation>
1917            </xsd:annotation>
1918         </xsd:enumeration>
1919         <xsd:enumeration value="storage">
1920            <xsd:annotation>
1921               <xsd:documentation>A fluid stream that is directed to one or more storage locations.</xsd:documentation>
1922            </xsd:annotation>
1923         </xsd:enumeration>
1924      </xsd:restriction>
1925   </xsd:simpleType>
1926   <xsd:complexType name="q_ReportingFlow_queryValue">
1927      <xsd:attribute name="queryValue" type="witsml:q_ReportingFlow_unionSEL" />
1928   </xsd:complexType>
1929   <xsd:simpleType name="q_ReportingFlow_unionSEL">
1930      <xsd:union memberTypes="witsml:q_ReportingFlow witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
1931   </xsd:simpleType>
1932   <!--UNUSED: Deleted type ReportingPeriod.-->
1933   <xsd:simpleType name="q_ReportingProduct">
1934      <xsd:annotation>
1935         <xsd:documentation>A kind of product in a fluid system. The list of standard values is contained in the PRODML enumValues.xml file.</xsd:documentation>
1936      </xsd:annotation>
1937      <xsd:restriction base="witsml:q_abstractTypeEnum">
1938         <xsd:enumeration value="C2+">
1939            <xsd:annotation>
1940               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all heavier components.</xsd:documentation>
1941            </xsd:annotation>
1942         </xsd:enumeration>
1943         <xsd:enumeration value="C3+">
1944            <xsd:annotation>
1945               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all heavier components.</xsd:documentation>
1946            </xsd:annotation>
1947         </xsd:enumeration>
1948         <xsd:enumeration value="C4+">
1949            <xsd:annotation>
1950               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all heavier components.</xsd:documentation>
1951            </xsd:annotation>
1952         </xsd:enumeration>
1953         <xsd:enumeration value="C5+">
1954            <xsd:annotation>
1955               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all heavier components.</xsd:documentation>
1956            </xsd:annotation>
1957         </xsd:enumeration>
1958         <xsd:enumeration value="C6+">
1959            <xsd:annotation>
1960               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all heavier components.</xsd:documentation>
1961            </xsd:annotation>
1962         </xsd:enumeration>
1963         <xsd:enumeration value="C7+">
1964            <xsd:annotation>
1965               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all heavier components.</xsd:documentation>
1966            </xsd:annotation>
1967         </xsd:enumeration>
1968         <xsd:enumeration value="C8+">
1969            <xsd:annotation>
1970               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all heavier components.</xsd:documentation>
1971            </xsd:annotation>
1972         </xsd:enumeration>
1973         <xsd:enumeration value="C9+">
1974            <xsd:annotation>
1975               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all heavier components.</xsd:documentation>
1976            </xsd:annotation>
1977         </xsd:enumeration>
1978         <xsd:enumeration value="C10+">
1979            <xsd:annotation>
1980               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all heavier components.</xsd:documentation>
1981            </xsd:annotation>
1982         </xsd:enumeration>
1983         <xsd:enumeration value="C2-">
1984            <xsd:annotation>
1985               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all lighter components.</xsd:documentation>
1986            </xsd:annotation>
1987         </xsd:enumeration>
1988         <xsd:enumeration value="C3-">
1989            <xsd:annotation>
1990               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all lighter components.</xsd:documentation>
1991            </xsd:annotation>
1992         </xsd:enumeration>
1993         <xsd:enumeration value="C4-">
1994            <xsd:annotation>
1995               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all lighter components.</xsd:documentation>
1996            </xsd:annotation>
1997         </xsd:enumeration>
1998         <xsd:enumeration value="C5-">
1999            <xsd:annotation>
2000               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all lighter components.</xsd:documentation>
2001            </xsd:annotation>
2002         </xsd:enumeration>
2003         <xsd:enumeration value="C6-">
2004            <xsd:annotation>
2005               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all lighter components.</xsd:documentation>
2006            </xsd:annotation>
2007         </xsd:enumeration>
2008         <xsd:enumeration value="C7-">
2009            <xsd:annotation>
2010               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all lighter components.</xsd:documentation>
2011            </xsd:annotation>
2012         </xsd:enumeration>
2013         <xsd:enumeration value="C8-">
2014            <xsd:annotation>
2015               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all lighter components.</xsd:documentation>
2016            </xsd:annotation>
2017         </xsd:enumeration>
2018         <xsd:enumeration value="C9-">
2019            <xsd:annotation>
2020               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all lighter components.</xsd:documentation>
2021            </xsd:annotation>
2022         </xsd:enumeration>
2023         <xsd:enumeration value="C10-">
2024            <xsd:annotation>
2025               <xsd:documentation>A product composed of the component with the specified number of carbon atoms plus all lighter components.</xsd:documentation>
2026            </xsd:annotation>
2027         </xsd:enumeration>
2028         <xsd:enumeration value="oleic">
2029            <xsd:annotation>
2030               <xsd:documentation>An undifferentiated liquid fluid phase in which the dominant continuous materials are liquid hydrocarbons. This phase is often called the "oil
2031               phase".</xsd:documentation>
2032            </xsd:annotation>
2033         </xsd:enumeration>
2034         <xsd:enumeration value="aqueous">
2035            <xsd:annotation>
2036               <xsd:documentation>An undifferentiated liquid fluid phase in which the dominant continuous material is liquid water. This phase is often called the "water
2037               phase".</xsd:documentation>
2038            </xsd:annotation>
2039         </xsd:enumeration>
2040         <xsd:enumeration value="vapor">
2041            <xsd:annotation>
2042               <xsd:documentation>An undifferentiated fluid phase that is distinctly gaseous. This phase is often called the "gas phase".</xsd:documentation>
2043            </xsd:annotation>
2044         </xsd:enumeration>
2045         <xsd:enumeration value="liquid">
2046            <xsd:annotation>
2047               <xsd:documentation>An undifferentiated fluid phase that is distinctly liquid. This includes water.</xsd:documentation>
2048            </xsd:annotation>
2049         </xsd:enumeration>
2050         <xsd:enumeration value="carbon monoxode gas">
2051            <xsd:annotation>
2052               <xsd:documentation>Carbon monoxode in a gaseous state.</xsd:documentation>
2053            </xsd:annotation>
2054         </xsd:enumeration>
2055         <xsd:enumeration value="carbon dioxide gas">
2056            <xsd:annotation>
2057               <xsd:documentation>Carbon dioxide in a gaseous state.</xsd:documentation>
2058            </xsd:annotation>
2059         </xsd:enumeration>
2060         <xsd:enumeration value="chemical">
2061            <xsd:annotation>
2062               <xsd:documentation>A chemical of some type.</xsd:documentation>
2063            </xsd:annotation>
2064         </xsd:enumeration>
2065         <xsd:enumeration value="condensate">
2066            <xsd:annotation>
2067               <xsd:documentation>Mixture of light and heavier hydrocarbons in a liguid state.</xsd:documentation>
2068            </xsd:annotation>
2069         </xsd:enumeration>
2070         <xsd:enumeration value="cuttings">
2071            <xsd:annotation>
2072               <xsd:documentation>Drill cuttings.</xsd:documentation>
2073            </xsd:annotation>
2074         </xsd:enumeration>
2075         <xsd:enumeration value="diesel">
2076            <xsd:annotation>
2077               <xsd:documentation>Diesel fuel.</xsd:documentation>
2078            </xsd:annotation>
2079         </xsd:enumeration>
2080         <xsd:enumeration value="electric power">
2081            <xsd:annotation>
2082               <xsd:documentation>Electrical power.</xsd:documentation>
2083            </xsd:annotation>
2084         </xsd:enumeration>
2085         <xsd:enumeration value="ethane - component">
2086            <xsd:annotation>
2087               <xsd:documentation>Ethane as a component in another fluid.</xsd:documentation>
2088            </xsd:annotation>
2089         </xsd:enumeration>
2090         <xsd:enumeration value="gas">
2091            <xsd:annotation>
2092               <xsd:documentation>Gas mixture of hydrocarbons.</xsd:documentation>
2093            </xsd:annotation>
2094         </xsd:enumeration>
2095         <xsd:enumeration value="gas - rich">
2096            <xsd:annotation>
2097               <xsd:documentation>Gas mixture of light and heavier hydrocarbons than a lean gas.</xsd:documentation>
2098            </xsd:annotation>
2099         </xsd:enumeration>
2100         <xsd:enumeration value="gas - component in oil">
2101            <xsd:annotation>
2102               <xsd:documentation>Gas as a component in oil.</xsd:documentation>
2103            </xsd:annotation>
2104         </xsd:enumeration>
2105         <xsd:enumeration value="helium gas">
2106            <xsd:annotation>
2107               <xsd:documentation>xxxxxxxxxxxxxxxxx</xsd:documentation>
2108            </xsd:annotation>
2109         </xsd:enumeration>
2110         <xsd:enumeration value="hydrogen gas">
2111            <xsd:annotation>
2112               <xsd:documentation>xxxxxxxxxxxxxxxxx</xsd:documentation>
2113            </xsd:annotation>
2114         </xsd:enumeration>
2115         <xsd:enumeration value="i-butane - component">
2116            <xsd:annotation>
2117               <xsd:documentation>I-butane as a component in another fluid.</xsd:documentation>
2118            </xsd:annotation>
2119         </xsd:enumeration>
2120         <xsd:enumeration value="natural gas liquid">
2121            <xsd:annotation>
2122               <xsd:documentation>Mixture of ethane, propane and butane with small quantities of heaver hydrocarbons. Partially liquid at atmospheric pressure.</xsd:documentation>
2123            </xsd:annotation>
2124         </xsd:enumeration>
2125         <xsd:enumeration value="methane - component">
2126            <xsd:annotation>
2127               <xsd:documentation>xxxxxxxxxxxxxxxx</xsd:documentation>
2128            </xsd:annotation>
2129         </xsd:enumeration>
2130         <xsd:enumeration value="n-butane - component">
2131            <xsd:annotation>
2132               <xsd:documentation>N-butane as a component in another fluid.</xsd:documentation>
2133            </xsd:annotation>
2134         </xsd:enumeration>
2135         <xsd:enumeration value="nitrogen oxide gas">
2136            <xsd:annotation>
2137               <xsd:documentation>Nitrogen oxides in a gaseous state</xsd:documentation>
2138            </xsd:annotation>
2139         </xsd:enumeration>
2140         <xsd:enumeration value="NGL - component in gas">
2141            <xsd:annotation>
2142               <xsd:documentation>Natural gas liquid as a component in gas.</xsd:documentation>
2143            </xsd:annotation>
2144         </xsd:enumeration>
2145         <xsd:enumeration value="oil and gas">
2146            <xsd:annotation>
2147               <xsd:documentation>A combination of oil (including water) and gas. This is generally used when refering to 'all production'.</xsd:documentation>
2148            </xsd:annotation>
2149         </xsd:enumeration>
2150         <xsd:enumeration value="oil">
2151            <xsd:annotation>
2152               <xsd:documentation>Crude oil including water. A mixture of hydrocargons, that existed in liquid phase in underground reservoirs and remains liquid at atmospheric
2153               pressure after passing through separating facilities.</xsd:documentation>
2154            </xsd:annotation>
2155         </xsd:enumeration>
2156         <xsd:enumeration value="oil - net">
2157            <xsd:annotation>
2158               <xsd:documentation>Oil with water removed.</xsd:documentation>
2159            </xsd:annotation>
2160         </xsd:enumeration>
2161         <xsd:enumeration value="oil - component in water">
2162            <xsd:annotation>
2163               <xsd:documentation>Oil as a component in water.</xsd:documentation>
2164            </xsd:annotation>
2165         </xsd:enumeration>
2166         <xsd:enumeration value="pentane - component">
2167            <xsd:annotation>
2168               <xsd:documentation>xxxxxxxxxxxxxxxx</xsd:documentation>
2169            </xsd:annotation>
2170         </xsd:enumeration>
2171         <xsd:enumeration value="petroleum gas liquid">
2172            <xsd:annotation>
2173               <xsd:documentation>xxxxxxxxxxxxxxx</xsd:documentation>
2174            </xsd:annotation>
2175         </xsd:enumeration>
2176         <xsd:enumeration value="propane - component">
2177            <xsd:annotation>
2178               <xsd:documentation>Propane as a component in another fluid.</xsd:documentation>
2179            </xsd:annotation>
2180         </xsd:enumeration>
2181         <xsd:enumeration value="sand - component">
2182            <xsd:annotation>
2183               <xsd:documentation>Sand as a component in another fluid.</xsd:documentation>
2184            </xsd:annotation>
2185         </xsd:enumeration>
2186         <xsd:enumeration value="water">
2187            <xsd:annotation>
2188               <xsd:documentation>Water in a liquid state.</xsd:documentation>
2189            </xsd:annotation>
2190         </xsd:enumeration>
2191         <xsd:enumeration value="water - discharge">
2192            <xsd:annotation>
2193               <xsd:documentation>Produced water that has not been processed.</xsd:documentation>
2194            </xsd:annotation>
2195         </xsd:enumeration>
2196         <xsd:enumeration value="water - processed">
2197            <xsd:annotation>
2198               <xsd:documentation>Produced water that has been processed to remove hydrocarbons.</xsd:documentation>
2199            </xsd:annotation>
2200         </xsd:enumeration>
2201         <xsd:enumeration value="unknown">
2202            <xsd:annotation>
2203               <xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate
2204               value. Use of this value may result in rejection in some situations.</xsd:documentation>
2205            </xsd:annotation>
2206         </xsd:enumeration>
2207         <xsd:enumeration value="condensate - gross">
2208            <xsd:annotation>
2209               <xsd:documentation>Light hydrocarbon fractions produced with natural gas, which condense into liquid at normal temperatures and pressures associated with surface
2210               production equipment.</xsd:documentation>
2211            </xsd:annotation>
2212         </xsd:enumeration>
2213         <xsd:enumeration value="condensate - net">
2214            <xsd:annotation>
2215               <xsd:documentation>Hydrocatbon condensate containing only the heavier carbon fractions C5 to C10+.</xsd:documentation>
2216            </xsd:annotation>
2217         </xsd:enumeration>
2218         <xsd:enumeration value="crude - stabilized">
2219            <xsd:annotation>
2220               <xsd:documentation>A crude oil that has been stabilized by separating out dissolved gas.</xsd:documentation>
2221            </xsd:annotation>
2222         </xsd:enumeration>
2223         <xsd:enumeration value="ethane">
2224            <xsd:annotation>
2225               <xsd:documentation>A compound where the main component is ethane.</xsd:documentation>
2226            </xsd:annotation>
2227         </xsd:enumeration>
2228         <xsd:enumeration value="gas - dry">
2229            <xsd:annotation>
2230               <xsd:documentation>A natural gas that occurs in the absence of condensate or liquid hydrocarbons, or gas that has had condensable hydrocarbons removed, mainly
2231               consisting of methane gas.</xsd:documentation>
2232            </xsd:annotation>
2233         </xsd:enumeration>
2234         <xsd:enumeration value="gas - wet">
2235            <xsd:annotation>
2236               <xsd:documentation>A natural gas that contains less methane (typically less than 85% methane) and more ethane and other more complex hydrocarbons like propane,
2237               butane and naphtha.</xsd:documentation>
2238            </xsd:annotation>
2239         </xsd:enumeration>
2240         <xsd:enumeration value="heptane">
2241            <xsd:annotation>
2242               <xsd:documentation>xxxxxxxxxxxxxxxxxxxxxx</xsd:documentation>
2243            </xsd:annotation>
2244         </xsd:enumeration>
2245         <xsd:enumeration value="isobutane">
2246            <xsd:annotation>
2247               <xsd:documentation>A compound where the main component is isobutane.</xsd:documentation>
2248            </xsd:annotation>
2249         </xsd:enumeration>
2250         <xsd:enumeration value="liquified natural gas">
2251            <xsd:annotation>
2252               <xsd:documentation>A liquid compound that is natural gas compressed and supercooled to -167 deg C (-269 deg F) into a liquid to reduce its volume to 1/635th for
2253               storage and transportation. Liquefied natural gas has a calorific value of 22,300 Btu/lb. It consists of about 9 xxxxxxxxxxxxxxxxxxxxxx</xsd:documentation>
2254            </xsd:annotation>
2255         </xsd:enumeration>
2256         <xsd:enumeration value="liquified petroleum gas">
2257            <xsd:annotation>
2258               <xsd:documentation>A liquid compound that is predominantly butane and propane separated from natural gasoline or natural gas and sold as fuel - commonly known as
2259               bottled gas, tank gas or LP-gas.</xsd:documentation>
2260            </xsd:annotation>
2261         </xsd:enumeration>
2262         <xsd:enumeration value="methane">
2263            <xsd:annotation>
2264               <xsd:documentation>xxxxxxxxxxxxxxxxxxxxxx</xsd:documentation>
2265            </xsd:annotation>
2266         </xsd:enumeration>
2267         <xsd:enumeration value="mixed butane">
2268            <xsd:annotation>
2269               <xsd:documentation>A compound where the main components are butane and isobutane.</xsd:documentation>
2270            </xsd:annotation>
2271         </xsd:enumeration>
2272         <xsd:enumeration value="normal butane">
2273            <xsd:annotation>
2274               <xsd:documentation>A compound where the main component is butane.</xsd:documentation>
2275            </xsd:annotation>
2276         </xsd:enumeration>
2277         <xsd:enumeration value="normal pentane">
2278            <xsd:annotation>
2279               <xsd:documentation>A compound where the main component is pentane.</xsd:documentation>
2280            </xsd:annotation>
2281         </xsd:enumeration>
2282         <xsd:enumeration value="oil - gross">
2283            <xsd:annotation>
2284               <xsd:documentation>A crude oil that that includes all petroleum liquids and sediments and water, excluding free water.</xsd:documentation>
2285            </xsd:annotation>
2286         </xsd:enumeration>
2287         <xsd:enumeration value="propane">
2288            <xsd:annotation>
2289               <xsd:documentation>A compound where the main component is propane.</xsd:documentation>
2290            </xsd:annotation>
2291         </xsd:enumeration>
2292         <xsd:enumeration value="salt">
2293            <xsd:annotation>
2294               <xsd:documentation>xxxxxxxxxxxxxxxxxxxxxx</xsd:documentation>
2295            </xsd:annotation>
2296         </xsd:enumeration>
2297         <xsd:enumeration value="naphta">
2298            <xsd:annotation>
2299               <xsd:documentation>An aggregate that is a volatile and inflammable product of crude oil refining with a boiling range 140 - 210 deg. Celsius consisting of C5+ to
2300               C10 components (pentanes and hexanes).</xsd:documentation>
2301            </xsd:annotation>
2302         </xsd:enumeration>
2303         <xsd:enumeration value="isopentane">
2304            <xsd:annotation>
2305               <xsd:documentation>A compound where the main component is isopentane.</xsd:documentation>
2306            </xsd:annotation>
2307         </xsd:enumeration>
2308      </xsd:restriction>
2309   </xsd:simpleType>
2310   <xsd:complexType name="q_ReportingProduct_queryValue">
2311      <xsd:attribute name="queryValue" type="witsml:q_ReportingProduct_unionSEL" />
2312   </xsd:complexType>
2313   <xsd:simpleType name="q_ReportingProduct_unionSEL">
2314      <xsd:union memberTypes="witsml:q_ReportingProduct witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
2315   </xsd:simpleType>
2316   <xsd:simpleType name="q_ReportingProperty">
2317      <xsd:annotation>
2318         <xsd:documentation>The type of properties that can be measured at a port. The list of standard values is contained in the PRODML enumValues.xml file.</xsd:documentation>
2319      </xsd:annotation>
2320      <xsd:restriction base="witsml:q_abstractTypeEnum">
2321         <xsd:enumeration value="volume">
2322            <xsd:annotation>
2323               <xsd:documentation>A volume measure.</xsd:documentation>
2324            </xsd:annotation>
2325         </xsd:enumeration>
2326         <xsd:enumeration value="standard volume">
2327            <xsd:annotation>
2328               <xsd:documentation>A volume measure at standard conditions of temperature and pressure.</xsd:documentation>
2329            </xsd:annotation>
2330         </xsd:enumeration>
2331         <xsd:enumeration value="flow rate">
2332            <xsd:annotation>
2333               <xsd:documentation>A flow rate measure.</xsd:documentation>
2334            </xsd:annotation>
2335         </xsd:enumeration>
2336         <xsd:enumeration value="temperature">
2337            <xsd:annotation>
2338               <xsd:documentation>A temperature measure.</xsd:documentation>
2339            </xsd:annotation>
2340         </xsd:enumeration>
2341         <xsd:enumeration value="pressure">
2342            <xsd:annotation>
2343               <xsd:documentation>A pressure measure.</xsd:documentation>
2344            </xsd:annotation>
2345         </xsd:enumeration>
2346         <xsd:enumeration value="mass">
2347            <xsd:annotation>
2348               <xsd:documentation>A mass measure.</xsd:documentation>
2349            </xsd:annotation>
2350         </xsd:enumeration>
2351         <xsd:enumeration value="work">
2352            <xsd:annotation>
2353               <xsd:documentation>A work measure (of electricity).</xsd:documentation>
2354            </xsd:annotation>
2355         </xsd:enumeration>
2356         <xsd:enumeration value="unknown">
2357            <xsd:annotation>
2358               <xsd:documentation>The value is not known. This value should not be used in normal situations. All reasonable attempts should be made to determine the appropriate
2359               value. Use of this value may result in rejection in some situations.</xsd:documentation>
2360            </xsd:annotation>
2361         </xsd:enumeration>
2362      </xsd:restriction>
2363   </xsd:simpleType>
2364   <xsd:complexType name="q_ReportingProperty_queryValue">
2365      <xsd:attribute name="queryValue" type="witsml:q_ReportingProperty_unionSEL" />
2366   </xsd:complexType>
2367   <xsd:simpleType name="q_ReportingProperty_unionSEL">
2368      <xsd:union memberTypes="witsml:q_ReportingProperty witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
2369   </xsd:simpleType>
2370   <!--UNUSED: Deleted type RigType.-->
2371   <!--UNUSED: Deleted type RiskAffectedPersonnel.-->
2372   <!--UNUSED: Deleted type RiskCategory.-->
2373   <!--UNUSED: Deleted type RiskSubCategory.-->
2374   <!--UNUSED: Deleted type RiskType.-->
2375   <!--UNUSED: Deleted type ScrType.-->
2376   <!--UNUSED: Deleted type ShowFluorescence.-->
2377   <!--UNUSED: Deleted type ShowLevel.-->
2378   <!--UNUSED: Deleted type ShowRating.-->
2379   <!--UNUSED: Deleted type ShowSpeed.-->
2380   <!--UNUSED: Deleted type StandardTempPress.-->
2381   <!--UNUSED: Deleted type SupportCraft.-->
2382   <!--UNUSED: Deleted type SurfEquipType.-->
2383   <!--UNUSED: Deleted type TargetCategory.-->
2384   <!--UNUSED: Deleted type TargetScope.-->
2385   <!--UNUSED: Deleted type TargetSectionScope.-->
2386   <!--UNUSED: Deleted type TestReason.-->
2387   <!--UNUSED: Deleted type TrajStationStatus.-->
2388   <!--UNUSED: Deleted type TrajStationType.-->
2389   <!--UNUSED: Deleted type TubularAssembly.-->
2390   <!--UNUSED: Deleted type TubularComponent.-->
2391   <!--UNUSED: Deleted type TypeSurveyTool.-->
2392   <!--UNUSED: Deleted type q_ValueStatus.-->
2393   <!--UNUSED: Deleted type q_ValueStatus_queryValue.-->
2394   <!--UNUSED: Deleted type q_ValueStatus_unionSEL.-->
2395   <!--UNUSED: Deleted type WellDirection.-->
2396   <!--UNUSED: Deleted type WellFluid.-->
2397   <!--UNUSED: Deleted type WellboreShape.-->
2398   <!--UNUSED: Deleted type WellboreType.-->
2399   <!--UNUSED: Deleted type WellPurpose.-->
2400   <!--UNUSED: Deleted type WellStatus.-->
2401   <!--UNUSED: Deleted type CrewType.-->
2402   <!--UNUSED: Deleted type OperationKind.-->
2403   <!--UNUSED: Deleted type ReasonLost.-->
2404   <!--UNUSED: Deleted type SafetyType.-->
2405   <!--UNUSED: Deleted type VolumeReferenceKind.-->
2406   <!--UNUSED: Deleted type DataQuality.-->
2407   <!--UNUSED: Deleted type FluidAnalysisKind.-->
2408   <!--UNUSED: Deleted type FluidComponent.-->
2409   <!--UNUSED: Deleted type FluidSampleTestAcquisition.-->
2410   <!--UNUSED: Deleted type FluidComponentKind.-->
2411   <!--UNUSED: Deleted type FluidContaminant.-->
2412   <!--UNUSED: Deleted type FluidSampleKind.-->
2413   <!--UNUSED: Deleted type ReservoirFluidKind.-->
2414   <!--UNUSED: Deleted type EosModelKind.-->
2415   <!--UNUSED: Deleted type generalMeasureType.-->
2416   <!--UNUSED: Deleted type temperatureSlopeMeasure.-->
2417   <!--UNUSED: Deleted type typeOptionalClassString.-->
2418   <xsd:complexType name="q_endpointQualifiedDateTime">
2419      <xsd:annotation>
2420         <xsd:documentation>A timestamp value used for min/max query parameters related to "growing objects". The meaning of the endpoint of an interval can be modified by the
2421         endpoint attribute.</xsd:documentation>
2422      </xsd:annotation>
2423      <xsd:attribute name="queryValue" type="witsml:q_abstractDateTime">
2424         <xsd:annotation>
2425            <xsd:documentation>The element value for which a match is requested.</xsd:documentation>
2426         </xsd:annotation>
2427      </xsd:attribute>
2428      <xsd:attribute name="endpoint" type="witsml:q_EndpointQualifier_unionSEL" use="optional">
2429         <xsd:annotation>
2430            <xsd:documentation>The default is "inclusive".</xsd:documentation>
2431         </xsd:annotation>
2432      </xsd:attribute>
2433   </xsd:complexType>
2434   <!--UNUSED: Deleted type endpointQualifiedDate.-->
2435   <!--UNUSED: Deleted type emailQualifierStruct.-->
2436   <xsd:complexType name="q_facilityIdentifierStruct">
2437      <xsd:annotation>
2438         <xsd:documentation>Identifies a facility.</xsd:documentation>
2439      </xsd:annotation>
2440      <xsd:attribute name="queryValue" type="witsml:q_abstractNameString">
2441         <xsd:annotation>
2442            <xsd:documentation>The element value for which a match is requested.</xsd:documentation>
2443         </xsd:annotation>
2444      </xsd:attribute>
2445      <xsd:attribute name="kind" type="witsml:q_ReportingFacility_unionSEL" use="optional">
2446         <xsd:annotation>
2447            <xsd:documentation>The kind of facility.</xsd:documentation>
2448         </xsd:annotation>
2449      </xsd:attribute>
2450      <xsd:attribute name="namingSystem" type="witsml:q_nameString" use="optional">
2451         <xsd:annotation>
2452            <xsd:documentation>The naming system within which the name is unique. For example, API or NPD.</xsd:documentation>
2453         </xsd:annotation>
2454      </xsd:attribute>
2455      <xsd:attribute name="uidRef" type="witsml:q_uidString" use="optional">
2456         <xsd:annotation>
2457            <xsd:documentation>If the facility is defined and instantiated within the context of a WITSML server, this is a pointer to the uid value of that object
2458            instance.</xsd:documentation>
2459         </xsd:annotation>
2460      </xsd:attribute>
2461   </xsd:complexType>
2462   <!--UNUSED: Deleted type phoneNumberStruct.-->
2463   <xsd:simpleType name="q_logicalBoolean">
2464      <xsd:annotation>
2465         <xsd:documentation>Values of "true" (or "1") and "false" (or "0").</xsd:documentation>
2466      </xsd:annotation>
2467      <xsd:restriction base="witsml:q_abstractBoolean" />
2468   </xsd:simpleType>
2469   <xsd:complexType name="q_logicalBoolean_queryValue">
2470      <xsd:attribute name="queryValue" type="witsml:q_logicalBoolean" />
2471   </xsd:complexType>
2472   <!--UNUSED: Deleted type q_date.-->
2473   <!--UNUSED: Deleted type q_date_queryValue.-->
2474   <!--UNUSED: Deleted type month.-->
2475   <!--UNUSED: Deleted type year.-->
2476   <xsd:simpleType name="q_timestamp">
2477      <xsd:annotation>
2478         <xsd:documentation>A date with the time of day and an optional time zone. While the time zone is optional, it is strongly advised that the zone always be specified in
2479         each date time value.</xsd:documentation>
2480      </xsd:annotation>
2481      <xsd:restriction base="witsml:q_abstractDateTime" />
2482   </xsd:simpleType>
2483   <xsd:complexType name="q_timestamp_queryValue">
2484      <xsd:attribute name="queryValue" type="witsml:q_timestamp" />
2485   </xsd:complexType>
2486   <!--UNUSED: Deleted type timeZone.-->
2487   <!--UNUSED: Deleted type calendarYear.-->
2488   <!--UNUSED: Deleted type yAxisAzimuth.-->
2489   <!--UNUSED: Deleted type nonNegativeFraction.-->
2490   <!--UNUSED: Deleted type q_unitlessQuantity.-->
2491   <!--UNUSED: Deleted type genericMeasure.-->
2492   <!--UNUSED: Deleted type indexCurve.-->
2493   <!--UNUSED: Deleted type ratioGenericMeasure.-->
2494   <!--UNUSED: Deleted type listOfString.-->
2495   <!--UNUSED: Deleted type listOfDouble.-->
2496   <xsd:complexType name="q_refNameString">
2497      <xsd:annotation>
2498         <xsd:documentation>A reference to a name in another node of the xml hierachy. This value represents a foreign key from one element to another.</xsd:documentation>
2499      </xsd:annotation>
2500      <xsd:attribute name="queryValue" type="witsml:q_abstractNameString">
2501         <xsd:annotation>
2502            <xsd:documentation>The element value for which a match is requested.</xsd:documentation>
2503         </xsd:annotation>
2504      </xsd:attribute>
2505      <xsd:attribute name="uidRef" type="witsml:q_refString" use="optional">
2506         <xsd:annotation>
2507            <xsd:documentation>A reference to the unique identifier (uid attribute) in the node referenced by the name value. This attribute is required within the context of a
2508            WITSML server.</xsd:documentation>
2509         </xsd:annotation>
2510      </xsd:attribute>
2511   </xsd:complexType>
2512   <!--UNUSED: Deleted type refObjectString.-->
2513   <!--UNUSED: Deleted type refPositiveCount.-->
2514   <!--UNUSED: Deleted type refWellDatum.-->
2515   <xsd:simpleType name="q_nameString">
2516      <xsd:annotation>
2517         <xsd:documentation>A user assigned human recognizable contextual name of something. There should be no assumption that (interoperable) semantic information will be
2518         extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced by an
2519         enumeration.</xsd:documentation>
2520      </xsd:annotation>
2521      <xsd:restriction base="witsml:q_abstractNameString" />
2522   </xsd:simpleType>
2523   <xsd:complexType name="q_nameString_queryValue">
2524      <xsd:attribute name="queryValue" type="witsml:q_nameString_unionSEL" />
2525   </xsd:complexType>
2526   <xsd:simpleType name="q_nameString_unionSEL">
2527      <xsd:union memberTypes="witsml:q_nameString witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
2528   </xsd:simpleType>
2529   <xsd:simpleType name="q_commentString">
2530      <xsd:annotation>
2531         <xsd:documentation>A comment or remark intended for human consumption. There should be no assumption that semantics can be extracted from this field by a computer.
2532         Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be interoperable).</xsd:documentation>
2533      </xsd:annotation>
2534      <xsd:restriction base="witsml:q_abstractCommentString" />
2535   </xsd:simpleType>
2536   <xsd:complexType name="q_commentString_queryValue">
2537      <xsd:attribute name="queryValue" type="witsml:q_commentString_unionSEL" />
2538   </xsd:complexType>
2539   <xsd:simpleType name="q_commentString_unionSEL">
2540      <xsd:union memberTypes="witsml:q_commentString witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
2541   </xsd:simpleType>
2542   <!--UNUSED: Deleted type descriptionString.-->
2543   <!--UNUSED: Deleted type shortDescriptionString.-->
2544   <!--UNUSED: Deleted type encodedArrayString.-->
2545   <!--UNUSED: Deleted type encodedValueString.-->
2546   <xsd:simpleType name="q_kindString">
2547      <xsd:annotation>
2548         <xsd:documentation>A community assigned human recognizable name. This type of value is intended to be unique and is generally a candidate to be constrained to an
2549         enumerated list.</xsd:documentation>
2550      </xsd:annotation>
2551      <xsd:restriction base="witsml:q_abstractTypeEnum" />
2552   </xsd:simpleType>
2553   <xsd:complexType name="q_kindString_queryValue">
2554      <xsd:attribute name="queryValue" type="witsml:q_kindString_unionSEL" />
2555   </xsd:complexType>
2556   <xsd:simpleType name="q_kindString_unionSEL">
2557      <xsd:union memberTypes="witsml:q_kindString witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
2558   </xsd:simpleType>
2559   <!--UNUSED: Deleted type uomString.-->
2560   <xsd:simpleType name="q_uidString">
2561      <xsd:annotation>
2562         <xsd:documentation>A locally unique identifier. The value is not intended to convey any semantic content (e.g., it may be computer generated). The value is only required
2563         to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in multiple documents will utilize the same uid
2564         value unless enforced by the source of the document (e.g., a document server).</xsd:documentation>
2565      </xsd:annotation>
2566      <xsd:restriction base="witsml:q_abstractUidString" />
2567   </xsd:simpleType>
2568   <!--UNUSED: Deleted type q_uidString_queryValue.-->
2569   <!--UNUSED: Deleted type q_uidString_unionSEL.-->
2570   <xsd:simpleType name="q_refString">
2571      <xsd:annotation>
2572         <xsd:documentation>A reference to the unique identifier of another element. This value represents a foreign key from one element to another. The value should match the
2573         value of an attribute of type uidString.</xsd:documentation>
2574      </xsd:annotation>
2575      <xsd:restriction base="witsml:q_abstractUidString" />
2576   </xsd:simpleType>
2577   <!--UNUSED: Deleted type q_refString_queryValue.-->
2578   <!--UNUSED: Deleted type q_refString_unionSEL.-->
2579   <xsd:simpleType name="q_schemaVersionString">
2580      <xsd:annotation>
2581         <xsd:documentation>The version of the schema. The first three levels are fixed. The fourth level can vary to represent the constraints defined in enumerations and XML
2582         loader files.</xsd:documentation>
2583      </xsd:annotation>
2584      <xsd:restriction base="witsml:q_abstractString">
2585         <xsd:maxLength value="16" />
2586         <xsd:pattern value="1\.0\.0\.[1-9]?[0-9]\(PRODML\)" />
2587      </xsd:restriction>
2588   </xsd:simpleType>
2589   <!--UNUSED: Deleted type q_schemaVersionString_queryValue.-->
2590   <!--UNUSED: Deleted type q_schemaVersionString_unionSEL.-->
2591   <xsd:complexType name="q_nameStruct">
2592      <xsd:annotation>
2593         <xsd:documentation>The name of something within a naming system.</xsd:documentation>
2594      </xsd:annotation>
2595      <xsd:attribute name="queryValue" type="witsml:q_abstractNameString">
2596         <xsd:annotation>
2597            <xsd:documentation>The element value for which a match is requested.</xsd:documentation>
2598         </xsd:annotation>
2599      </xsd:attribute>
2600      <xsd:attribute name="namingSystem" type="witsml:q_nameString" use="optional">
2601         <xsd:annotation>
2602            <xsd:documentation>The naming system within the name is (hopefully) unique.</xsd:documentation>
2603         </xsd:annotation>
2604      </xsd:attribute>
2605   </xsd:complexType>
2606   <!--UNUSED: Deleted type wellKnownNameStruct.-->
2607   <!--UNUSED: Deleted type uncollapsedString.-->
2608   <!--UNUSED: Deleted type iadcBearingWearCode.-->
2609   <!--UNUSED: Deleted type geodeticZoneString.-->
2610   <!--UNUSED: Deleted type generalQualifiedMeasure.-->
2611   <!--UNUSED: Deleted type integerQualifiedCount.-->
2612   <!--UNUSED: Deleted type kindQualifiedString.-->
2613   <!--UNUSED: Deleted type areaQualifiedMeasure.-->
2614   <!--UNUSED: Deleted type areaPerAreaQualifiedMeasure.-->
2615   <!--UNUSED: Deleted type anglePerTimeQualifiedMeasure.-->
2616   <!--UNUSED: Deleted type lengthPerLengthQualifiedMeasure.-->
2617   <!--UNUSED: Deleted type pressureQualifiedMeasure.-->
2618   <!--UNUSED: Deleted type thermodynamicTemperatureQualifiedMeasure.-->
2619   <!--UNUSED: Deleted type q_volumeQualifiedMeasure.-->
2620   <!--UNUSED: Deleted type q_volumeFlowRateQualifiedMeasure.-->
2621   <!--UNUSED: Deleted type measuredDepthCoord.-->
2622   <!--UNUSED: Deleted type MeasuredDepthUom.-->
2623   <!--UNUSED: Deleted type wellVerticalDepthCoord.-->
2624   <!--UNUSED: Deleted type wellElevationCoord.-->
2625   <!--UNUSED: Deleted type WellVerticalCoordinateUom.-->
2626   <!--UNUSED: Deleted type nonNegativeCount.-->
2627   <!--UNUSED: Deleted type positiveCount.-->
2628   <!--UNUSED: Deleted type positiveBigCount.-->
2629   <!--UNUSED: Deleted type integerCount.-->
2630   <!--UNUSED: Deleted type beaufortScaleIntegerCode.-->
2631   <!--UNUSED: Deleted type pumpActionIntegerCode.-->
2632   <!--UNUSED: Deleted type iadcIntegerCode.-->
2633   <!--UNUSED: Deleted type levelIntegerCode.-->
2634   <!--UNUSED: Deleted type cost.-->
2635   <!--UNUSED: Deleted type indexedObject.-->
2636   <!--UNUSED: Deleted type str2.-->
2637   <!--UNUSED: Deleted type str16.-->
2638   <!--UNUSED: Deleted type str32.-->
2639   <!--UNUSED: Deleted type crewCount.-->
2640   <!--UNUSED: Deleted type lostVolumeAndReason.-->
2641   <!--UNUSED: Deleted type safetyCount.-->
2642   <!--UNUSED: Deleted type binaryInteractionCoefficient.-->
2643   <!--UNUSED: Deleted type q_massConcentrationMeasurePercent.-->
2644   <!--UNUSED: Deleted type q_molarFractionMeasurePercent.-->
2645   <!--UNUSED: Deleted type volumePerVolumeMeasurePercent.-->
2646   <!--UNUSED: Deleted type q_PercentUom.-->
2647   <!--UNUSED: Deleted type q_PercentUom_queryValue.-->
2648   <!--UNUSED: Deleted type q_PercentUom_unionSEL.-->
2649   <!--UNUSED: Deleted type accelerationLinearMeasure.-->
2650   <!--UNUSED: Deleted type q_amountOfSubstanceMeasure.-->
2651   <!--UNUSED: Deleted type anglePerLengthMeasure.-->
2652   <!--UNUSED: Deleted type anglePerTimeMeasure.-->
2653   <!--UNUSED: Deleted type areaMeasure.-->
2654   <!--UNUSED: Deleted type areaPerAreaMeasure.-->
2655   <!--UNUSED: Deleted type q_densityMeasure.-->
2656   <!--UNUSED: Deleted type q_dimensionlessMeasure.-->
2657   <!--UNUSED: Deleted type dynamicViscosityMeasure.-->
2658   <!--UNUSED: Deleted type electricPotentialMeasure.-->
2659   <!--UNUSED: Deleted type energyPerAreaMeasure.-->
2660   <!--UNUSED: Deleted type equivalentPerMassMeasure.-->
2661   <!--UNUSED: Deleted type forceMeasure.-->
2662   <!--UNUSED: Deleted type forcePerVolumeMeasure.-->
2663   <!--UNUSED: Deleted type frequencyMeasure.-->
2664   <!--UNUSED: Deleted type illuminanceMeasure.-->
2665   <!--UNUSED: Deleted type q_lengthMeasure.-->
2666   <xsd:complexType name="q_lengthPerLengthMeasure">
2667      <xsd:attribute name="queryValue" type="witsml:q_abstractDouble">
2668         <xsd:annotation>
2669            <xsd:documentation>The element value for which a match is requested.</xsd:documentation>
2670         </xsd:annotation>
2671      </xsd:attribute>
2672      <xsd:attribute name="uom" type="witsml:q_lengthPerLengthUom_unionSEL" use="optional">
2673         <xsd:annotation>
2674            <xsd:appinfo>constraints:@use="required"</xsd:appinfo>
2675         </xsd:annotation>
2676      </xsd:attribute>
2677   </xsd:complexType>
2678   <!--UNUSED: Deleted type magneticFieldStrengthMeasure.-->
2679   <!--UNUSED: Deleted type q_massConcentrationMeasure.-->
2680   <!--UNUSED: Deleted type q_massFlowRateMeasure.-->
2681   <!--UNUSED: Deleted type q_massMeasure.-->
2682   <!--UNUSED: Deleted type massPerLengthMeasure.-->
2683   <!--UNUSED: Deleted type q_modulusOfCompressionMeasure.-->
2684   <!--UNUSED: Deleted type momentOfForceMeasure.-->
2685   <!--UNUSED: Deleted type perLengthMeasure.-->
2686   <!--UNUSED: Deleted type planeAngleMeasure.-->
2687   <!--UNUSED: Deleted type powerMeasure.-->
2688   <!--UNUSED: Deleted type q_pressureMeasure.-->
2689   <!--UNUSED: Deleted type relativePowerMeasure.-->
2690   <!--UNUSED: Deleted type specificVolumeMeasure.-->
2691   <!--UNUSED: Deleted type q_thermodynamicTemperatureMeasure.-->
2692   <!--UNUSED: Deleted type timeMeasure.-->
2693   <!--UNUSED: Deleted type velocityMeasure.-->
2694   <!--UNUSED: Deleted type volumeMeasure.-->
2695   <!--UNUSED: Deleted type volumeFlowRateMeasure.-->
2696   <!--UNUSED: Deleted type q_volumePerVolumeMeasure.-->
2697   <!--UNUSED: Deleted type q_workMeasure.-->
2698   <!--UNUSED: Deleted type compressibilityMeasure.-->
2699   <!--UNUSED: Deleted type molarVolumeMeasure.-->
2700   <!--UNUSED: Deleted type standardVolumeMeasure.-->
2701   <!--UNUSED: Deleted type thermalConductivityMeasure.-->
2702   <!--UNUSED: Deleted type volumePerStandardVolumeMeasure.-->
2703   <!--UNUSED: Deleted type standardVolumePerStandardVolumeMeasure.-->
2704   <!--UNUSED: Deleted type standardVolumePerVolumeMeasure.-->
2705   <!--UNUSED: Deleted type accelerationLinearUom.-->
2706   <!--UNUSED: Deleted type q_amountOfSubstanceUom.-->
2707   <!--UNUSED: Deleted type q_amountOfSubstanceUom_queryValue.-->
2708   <!--UNUSED: Deleted type q_amountOfSubstanceUom_unionSEL.-->
2709   <!--UNUSED: Deleted type anglePerLengthUom.-->
2710   <!--UNUSED: Deleted type anglePerTimeUom.-->
2711   <!--UNUSED: Deleted type areaUom.-->
2712   <!--UNUSED: Deleted type areaPerAreaUom.-->
2713   <!--UNUSED: Deleted type q_densityUom.-->
2714   <!--UNUSED: Deleted type q_densityUom_queryValue.-->
2715   <!--UNUSED: Deleted type q_densityUom_unionSEL.-->
2716   <!--UNUSED: Deleted type q_dimensionlessUom.-->
2717   <!--UNUSED: Deleted type q_dimensionlessUom_queryValue.-->
2718   <!--UNUSED: Deleted type q_dimensionlessUom_unionSEL.-->
2719   <!--UNUSED: Deleted type dynamicViscosityUom.-->
2720   <!--UNUSED: Deleted type electricPotentialUom.-->
2721   <!--UNUSED: Deleted type energyPerAreaUom.-->
2722   <!--UNUSED: Deleted type equivalentPerMassUom.-->
2723   <!--UNUSED: Deleted type forceUom.-->
2724   <!--UNUSED: Deleted type forcePerVolumeUom.-->
2725   <!--UNUSED: Deleted type frequencyUom.-->
2726   <!--UNUSED: Deleted type illuminanceUom.-->
2727   <!--UNUSED: Deleted type q_lengthUom.-->
2728   <!--UNUSED: Deleted type q_lengthUom_queryValue.-->
2729   <!--UNUSED: Deleted type q_lengthUom_unionSEL.-->
2730   <xsd:simpleType name="q_lengthPerLengthUom">
2731      <xsd:restriction base="witsml:q_abstractUomEnum">
2732         <xsd:enumeration value="%" />
2733         <xsd:enumeration value="ft/100ft" />
2734         <xsd:enumeration value="ft/ft" />
2735         <xsd:enumeration value="ft/in" />
2736         <xsd:enumeration value="ft/m" />
2737         <xsd:enumeration value="ft/mi" />
2738         <xsd:enumeration value="km/cm" />
2739         <xsd:enumeration value="m/30m" />
2740         <xsd:enumeration value="m/cm" />
2741         <xsd:enumeration value="m/km" />
2742         <xsd:enumeration value="m/m" />
2743         <xsd:enumeration value="mi/in" />
2744      </xsd:restriction>
2745   </xsd:simpleType>
2746   <!--UNUSED: Deleted type q_lengthPerLengthUom_queryValue.-->
2747   <xsd:simpleType name="q_lengthPerLengthUom_unionSEL">
2748      <xsd:union memberTypes="witsml:q_lengthPerLengthUom witsml:q_unionSEL witsml:q_unionBlankEnumeration" />
2749   </xsd:simpleType>
2750   <!--UNUSED: Deleted type magneticFieldStrengthUom.-->
2751   <!--UNUSED: Deleted type q_massConcentrationUom.-->
2752   <!--UNUSED: Deleted type q_massConcentrationUom_queryValue.-->
2753   <!--UNUSED: Deleted type q_massConcentrationUom_unionSEL.-->
2754   <!--UNUSED: Deleted type q_massFlowRateUom.-->
2755   <!--UNUSED: Deleted type q_massFlowRateUom_queryValue.-->
2756   <!--UNUSED: Deleted type q_massFlowRateUom_unionSEL.-->
2757   <!--UNUSED: Deleted type q_massUom.-->
2758   <!--UNUSED: Deleted type q_massUom_queryValue.-->
2759   <!--UNUSED: Deleted type q_massUom_unionSEL.-->
2760   <!--UNUSED: Deleted type massPerLengthUom.-->
2761   <!--UNUSED: Deleted type q_modulusOfCompressionUom.-->
2762   <!--UNUSED: Deleted type q_modulusOfCompressionUom_queryValue.-->
2763   <!--UNUSED: Deleted type q_modulusOfCompressionUom_unionSEL.-->
2764   <!--UNUSED: Deleted type momentOfForceUom.-->
2765   <!--UNUSED: Deleted type perLengthUom.-->
2766   <!--UNUSED: Deleted type planeAngleUom.-->
2767   <!--UNUSED: Deleted type powerUom.-->
2768   <!--UNUSED: Deleted type q_pressureUom.-->
2769   <!--UNUSED: Deleted type q_pressureUom_queryValue.-->
2770   <!--UNUSED: Deleted type q_pressureUom_unionSEL.-->
2771   <!--UNUSED: Deleted type relativePowerUom.-->
2772   <!--UNUSED: Deleted type specificVolumeUom.-->
2773   <!--UNUSED: Deleted type q_thermodynamicTemperatureUom.-->
2774   <!--UNUSED: Deleted type q_thermodynamicTemperatureUom_queryValue.-->
2775   <!--UNUSED: Deleted type q_thermodynamicTemperatureUom_unionSEL.-->
2776   <!--UNUSED: Deleted type timeUom.-->
2777   <!--UNUSED: Deleted type velocityUom.-->
2778   <!--UNUSED: Deleted type q_volumeUom.-->
2779   <!--UNUSED: Deleted type q_volumeUom_queryValue.-->
2780   <!--UNUSED: Deleted type q_volumeUom_unionSEL.-->
2781   <!--UNUSED: Deleted type q_volumeFlowRateUom.-->
2782   <!--UNUSED: Deleted type q_volumeFlowRateUom_queryValue.-->
2783   <!--UNUSED: Deleted type q_volumeFlowRateUom_unionSEL.-->
2784   <!--UNUSED: Deleted type q_volumePerVolumeUom.-->
2785   <!--UNUSED: Deleted type q_volumePerVolumeUom_queryValue.-->
2786   <!--UNUSED: Deleted type q_volumePerVolumeUom_unionSEL.-->
2787   <!--UNUSED: Deleted type q_workUom.-->
2788   <!--UNUSED: Deleted type q_workUom_queryValue.-->
2789   <!--UNUSED: Deleted type q_workUom_unionSEL.-->
2790   <!--UNUSED: Deleted type compressibilityUom.-->
2791   <!--UNUSED: Deleted type molarVolumeUom.-->
2792   <!--UNUSED: Deleted type thermalConductivityUom.-->
2793   <!--UNUSED: Deleted type q_booleanTemplateStruct.-->
2794   <!--UNUSED: Deleted type q_shortTemplateStruct.-->
2795   <!--UNUSED: Deleted type q_intTemplateStruct.-->
2796   <!--UNUSED: Deleted type q_stringTemplateStruct.-->
2797   <!--UNUSED: Deleted type q_doubleTemplateStruct.-->
2798   <!--UNUSED: Deleted type q_dateTimeTemplateStruct.-->
2799   <!--UNUSED: Deleted type q_dateTemplateStruct.-->
2800   <!--UNUSED: Deleted type q_gYearTemplateStruct.-->
2801   <!--UNUSED: Deleted type q_measure.-->
2802   <!--UNUSED: Deleted type q_measureWithQualifier.-->
2803   <!--UNUSED: Deleted type q_verticalCoord.-->
2804   <!--UNUSED: Deleted type q_integerString.-->
2805   <xsd:simpleType name="q_unionSEL">
2806      <xsd:restriction base="xsd:string">
2807         <xsd:pattern value="((SEL)|(sel))\(.*\)" />
2808      </xsd:restriction>
2809   </xsd:simpleType>
2810   <xsd:simpleType name="q_unionBlankEnumeration">
2811      <xsd:restriction base="xsd:string">
2812         <xsd:enumeration value="" />
2813      </xsd:restriction>
2814   </xsd:simpleType>
2815</xsd:schema>
Note: See TracBrowser for help on using the browser.