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

Revision 17, 229.7 kB (checked in by ryland, 12 years ago)

Added project files for monthly production version 1.0

Line 
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 attgrp_uid.-->
16   <xsd:complexType name="cs_businessAssociate">
17      <xsd:annotation>
18         <xsd:documentation>The business associate describes any company, person, group, consultant, etc, which is associated within a context (e.g., a well). The information
19         contained in this module is: (1) contact information, such as address, phone numbers, email, (2) alternate name, or aliases, and (3) associations, such as the business
20         associate that this one is associated with, or a contact who is associated with this business associate.</xsd:documentation>
21      </xsd:annotation>
22      <xsd:sequence>
23         <xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="1">
24            <xsd:annotation>
25               <xsd:documentation>The name of the business associate. This can be the name of a person, business, group, etc.</xsd:documentation>
26               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
27            </xsd:annotation>
28         </xsd:element>
29         <xsd:element name="role" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
30            <xsd:annotation>
31               <xsd:documentation>The role of the business associate within the context. For example, "driller" or "operator", "lead agency - CEQA compliance" "regulatory
32               contact", "safety contact". A business associate will generally have one role but the role may be called different things in different naming
33               systems.</xsd:documentation>
34               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
35            </xsd:annotation>
36         </xsd:element>
37         <xsd:element name="personName" type="witsml:cs_personName" minOccurs="0" maxOccurs="1">
38            <xsd:annotation>
39               <xsd:documentation>If the business associate is a person, this specifies the component names of the person.</xsd:documentation>
40            </xsd:annotation>
41         </xsd:element>
42         <xsd:element name="alias" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
43            <xsd:annotation>
44               <xsd:documentation>The alias is an alternate name of a business associate. It is generally associated with a naming system. An alias is not necessarily unique
45               within the naming system.</xsd:documentation>
46            </xsd:annotation>
47         </xsd:element>
48         <xsd:element name="address" type="witsml:cs_generalAddress" minOccurs="0" maxOccurs="unbounded">
49            <xsd:annotation>
50               <xsd:documentation>Note that address may occur more than once, because it may be necessary to give a physical address, a mailing address, or
51               both.</xsd:documentation>
52            </xsd:annotation>
53         </xsd:element>
54         <xsd:element name="phoneNumber" type="witsml:phoneNumberStruct" minOccurs="0" maxOccurs="unbounded">
55            <xsd:annotation>
56               <xsd:documentation>The various types of phone numbers may be given. The may be office or home, they may be a number for a cell phone, or for a fax, etc. Attributes
57               of PhoneNumber declare the type of phone number that is being given.</xsd:documentation>
58            </xsd:annotation>
59         </xsd:element>
60         <xsd:element name="email" type="witsml:emailQualifierStruct" minOccurs="0" maxOccurs="unbounded">
61            <xsd:annotation>
62               <xsd:documentation>The email address may be home, office, or permanent. More than one may be given.</xsd:documentation>
63            </xsd:annotation>
64         </xsd:element>
65         <xsd:element name="contactPreference" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
66            <xsd:annotation>
67               <xsd:documentation>The preferred method of being contacted within the context of this role.</xsd:documentation>
68               <xsd:appinfo>constraints:@type="witsml:ContactPreference",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
69            </xsd:annotation>
70         </xsd:element>
71         <xsd:element name="associatedWith" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
72            <xsd:annotation>
73               <xsd:documentation>A pointer to another business associate that this business associate is associated with. The most common situation is that of an employee being
74               associated with a company. But it may also be, for example, a work group associated with a university.</xsd:documentation>
75            </xsd:annotation>
76         </xsd:element>
77         <xsd:element name="contact" type="witsml:refNameString" minOccurs="0" maxOccurs="unbounded">
78            <xsd:annotation>
79               <xsd:documentation>A pointer to a business associate (generally a person) who serves as a contact for this business associate.</xsd:documentation>
80            </xsd:annotation>
81         </xsd:element>
82         <xsd:element name="personnelCount" type="xsd:short" minOccurs="0" maxOccurs="1">
83            <xsd:annotation>
84               <xsd:documentation>The count of the number of personnel in a group.</xsd:documentation>
85               <xsd:appinfo>constraints:@type="witsml:nonNegativeCount",xsd:minInclusive="0",xsd:pattern=".+"</xsd:appinfo>
86            </xsd:annotation>
87         </xsd:element>
88         <xsd:element name="comment" type="xsd:string" minOccurs="0" maxOccurs="1">
89            <xsd:annotation>
90               <xsd:documentation>A general comment. This should not be used to carry semantic information. This is not intended to be machine interpretable.</xsd:documentation>
91               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
92            </xsd:annotation>
93         </xsd:element>
94      </xsd:sequence>
95      <xsd:attribute name="uid" type="xsd:string" use="optional">
96         <xsd:annotation>
97            <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
98            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
99            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
100            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
101         </xsd:annotation>
102      </xsd:attribute>
103   </xsd:complexType>
104   <xsd:complexType name="cs_commonData">
105      <xsd:annotation>
106         <xsd:documentation>WITSML - Common Data Component Schema</xsd:documentation>
107      </xsd:annotation>
108      <xsd:sequence>
109         <xsd:element name="sourceName" type="xsd:string" minOccurs="0" maxOccurs="1">
110            <xsd:annotation>
111               <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
112               object (but not necessarily the uids of the parents). This is typically a url.</xsd:documentation>
113               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
114            </xsd:annotation>
115         </xsd:element>
116         <xsd:element name="dTimCreation" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
117            <xsd:annotation>
118               <xsd:documentation>When the data was created at the persistent data store.</xsd:documentation>
119               <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
120            </xsd:annotation>
121         </xsd:element>
122         <xsd:element name="dTimLastChange" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
123            <xsd:annotation>
124               <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
125               growing.</xsd:documentation>
126               <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
127            </xsd:annotation>
128         </xsd:element>
129         <xsd:element name="itemState" type="xsd:string" minOccurs="0" maxOccurs="1">
130            <xsd:annotation>
131               <xsd:documentation>The item state for the data object.</xsd:documentation>
132               <xsd:appinfo>
133               constraints:@type="witsml:ItemState",xsd:enumeration="actual",xsd:enumeration="model",xsd:enumeration="plan",xsd:enumeration="unknown",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
134            </xsd:annotation>
135         </xsd:element>
136         <xsd:element name="comments" type="xsd:string" minOccurs="0" maxOccurs="1">
137            <xsd:annotation>
138               <xsd:documentation>Comments and remarks.</xsd:documentation>
139               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
140            </xsd:annotation>
141         </xsd:element>
142      </xsd:sequence>
143   </xsd:complexType>
144   <!--UNUSED: Deleted type cs_connectedNode.-->
145   <xsd:complexType name="cs_curveData">
146      <xsd:sequence>
147         <xsd:element name="index" type="xsd:double" minOccurs="0" maxOccurs="unbounded">
148            <xsd:annotation>
149               <xsd:documentation>The value of an independent (index) variable in a row of the curve table. The units of measure are specified in the curve definition. The first
150               value corresponds to order=1 for colums where isIndex is true. The second to order=2. And so on. The number of index and data values must match the number of
151               columns in the table.</xsd:documentation>
152               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:unitlessQuantity",xsd:pattern=".+"</xsd:appinfo>
153            </xsd:annotation>
154         </xsd:element>
155         <xsd:element name="value" type="xsd:double" minOccurs="0" maxOccurs="unbounded">
156            <xsd:annotation>
157               <xsd:documentation>The value of a dependent (data) variable in a row of the curve table. The units of measure are specified in the curve definition. The first value
158               corresponds to order=1 for columns where isIndex is false. The second to order=2. And so on. The number of index and data values must match the number of columns in
159               the table.</xsd:documentation>
160               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:unitlessQuantity",xsd:pattern=".+"</xsd:appinfo>
161            </xsd:annotation>
162         </xsd:element>
163      </xsd:sequence>
164   </xsd:complexType>
165   <xsd:complexType name="cs_curveDefinition">
166      <xsd:annotation>
167         <xsd:documentation>The definition of a curve.</xsd:documentation>
168      </xsd:annotation>
169      <xsd:sequence>
170         <xsd:element name="order" type="xsd:short" minOccurs="0" maxOccurs="1">
171            <xsd:annotation>
172               <xsd:documentation>The order of the value in the index or data tuple. If isIndex is true this is the order of the (independent) index element. If isIndex is false,
173               this is the order of the (dependent) value element.</xsd:documentation>
174               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:positiveCount",xsd:minInclusive="1",xsd:minInclusive="1",xsd:pattern=".+"</xsd:appinfo>
175            </xsd:annotation>
176         </xsd:element>
177         <xsd:element name="parameter" type="xsd:string" minOccurs="0" maxOccurs="1">
178            <xsd:annotation>
179               <xsd:documentation>The name of the variable in this curve.</xsd:documentation>
180               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
181            </xsd:annotation>
182         </xsd:element>
183         <xsd:element name="isIndex" type="xsd:boolean" minOccurs="0" maxOccurs="1">
184            <xsd:annotation>
185               <xsd:documentation>True (equal "1" or "true") indicates that this is an independent variable in this curve. At least one column column should be flagged as
186               independent.</xsd:documentation>
187               <xsd:appinfo>constraints:@type="witsml:logicalBoolean",xsd:pattern=".+"</xsd:appinfo>
188            </xsd:annotation>
189         </xsd:element>
190         <xsd:element name="measureClass" type="xsd:string" minOccurs="0" maxOccurs="1">
191            <xsd:annotation>
192               <xsd:documentation>The measure class of the variable. This defines which units of measure are valid for the value.</xsd:documentation>
193               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:MeasureClass",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
194            </xsd:annotation>
195         </xsd:element>
196         <xsd:element name="unit" type="xsd:string" minOccurs="0" maxOccurs="1">
197            <xsd:annotation>
198               <xsd:documentation>The unit of measure of the variable. The unit of measure must match a unit allowed by the measure class.</xsd:documentation>
199               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:uomString",xsd:maxLength="24",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
200            </xsd:annotation>
201         </xsd:element>
202      </xsd:sequence>
203      <xsd:attribute name="uid" type="xsd:string" use="optional">
204         <xsd:annotation>
205            <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
206            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
207            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
208            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
209         </xsd:annotation>
210      </xsd:attribute>
211   </xsd:complexType>
212   <xsd:complexType name="cs_customData">
213      <xsd:annotation>
214         <xsd:documentation>WITSML - Custom or User Defined Element and Attributes Component Schema. Specify custom element, attributes, and types in the custom data
215         area.</xsd:documentation>
216      </xsd:annotation>
217      <xsd:sequence>
218         <xsd:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded">
219            <xsd:annotation>
220               <xsd:documentation>Any element or attribute in any namespace. It is strongly recommended that all custom data definitions be added to a unique
221               namespace.</xsd:documentation>
222            </xsd:annotation>
223         </xsd:any>
224      </xsd:sequence>
225   </xsd:complexType>
226   <xsd:complexType name="cs_datedComment">
227      <xsd:annotation>
228         <xsd:documentation>A general timestamped comment structure.</xsd:documentation>
229      </xsd:annotation>
230      <xsd:sequence>
231         <xsd:element name="who" type="xsd:string" minOccurs="0" maxOccurs="1">
232            <xsd:annotation>
233               <xsd:documentation>The name of the person providing the comment.</xsd:documentation>
234               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
235            </xsd:annotation>
236         </xsd:element>
237         <xsd:element name="role" type="xsd:string" minOccurs="0" maxOccurs="1">
238            <xsd:annotation>
239               <xsd:documentation>The role of the person providing the comment. This is the role of the person within the context of comment.</xsd:documentation>
240               <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
241            </xsd:annotation>
242         </xsd:element>
243         <xsd:element name="dTimStart" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
244            <xsd:annotation>
245               <xsd:documentation>The date and time where the comment begins to be valid.</xsd:documentation>
246               <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
247            </xsd:annotation>
248         </xsd:element>
249         <xsd:element name="dTimEnd" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
250            <xsd:annotation>
251               <xsd:documentation>The date and time where the comment is no longer valid.</xsd:documentation>
252               <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
253            </xsd:annotation>
254         </xsd:element>
255         <xsd:element name="remark" type="xsd:string" minOccurs="0" maxOccurs="1">
256            <xsd:annotation>
257               <xsd:documentation>The relevant comment.</xsd:documentation>
258               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
259            </xsd:annotation>
260         </xsd:element>
261      </xsd:sequence>
262      <xsd:attribute name="uid" type="xsd:string" use="optional">
263         <xsd:annotation>
264            <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
265            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
266            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
267            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
268         </xsd:annotation>
269      </xsd:attribute>
270   </xsd:complexType>
271   <xsd:complexType name="cs_densityValue">
272      <xsd:annotation>
273         <xsd:documentation>A possibly temperature and pressure corrected desity value.</xsd:documentation>
274      </xsd:annotation>
275      <xsd:sequence>
276         <xsd:element name="density" type="witsml:measure" minOccurs="0" maxOccurs="1">
277            <xsd:annotation>
278               <xsd:documentation>The density of the product.</xsd:documentation>
279               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:densityMeasure"</xsd:appinfo>
280            </xsd:annotation>
281         </xsd:element>
282         <xsd:element name="temp" type="witsml:measure" minOccurs="0" maxOccurs="1">
283            <xsd:annotation>
284               <xsd:documentation>The temperature to which the density has been corrected. If not given then the ambient temperature is assumed. If given, then a pressure should
285               also be given. Common standard temperatures are: 0 degC, 15 degC, 60 degF.</xsd:documentation>
286               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
287            </xsd:annotation>
288         </xsd:element>
289         <xsd:element name="pres" type="witsml:measure" minOccurs="0" maxOccurs="1">
290            <xsd:annotation>
291               <xsd:documentation>The pressure to which the density has been corrected. If not given then the ambient pressure is assumed. If given, then a temperature should also
292               be given. Common standard pressures are: 1 atm and 14.696 psi (which are equivalent).</xsd:documentation>
293               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
294            </xsd:annotation>
295         </xsd:element>
296      </xsd:sequence>
297   </xsd:complexType>
298   <xsd:complexType name="cs_documentInfo">
299      <xsd:annotation>
300         <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
301         information about the data that is being exchanged within the file.</xsd:documentation>
302      </xsd:annotation>
303      <xsd:sequence>
304         <xsd:element name="DocumentName" type="witsml:nameStruct" minOccurs="0" maxOccurs="1">
305            <xsd:annotation>
306               <xsd:documentation>An identifier for the document. This is intended to be unique within the context of the NamingSystem.</xsd:documentation>
307               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
308            </xsd:annotation>
309         </xsd:element>
310         <xsd:element name="DocumentAlias" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
311            <xsd:annotation>
312               <xsd:documentation>Zero or more alternate names for the document. These names do not need to be unique within the naming system.</xsd:documentation>
313            </xsd:annotation>
314         </xsd:element>
315         <xsd:element name="DocumentDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
316            <xsd:annotation>
317               <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
318               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
319               was created. The FileCreation information would capture the date that the XML file was created to send or exchange the binset.</xsd:documentation>
320               <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
321            </xsd:annotation>
322         </xsd:element>
323         <xsd:element name="documentClass" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
324            <xsd:annotation>
325               <xsd:documentation>A document class. Examples of classes would be a metadata classification or a set of keywords.</xsd:documentation>
326            </xsd:annotation>
327         </xsd:element>
328         <xsd:element name="FileCreationInformation" type="witsml:fileCreationType" minOccurs="0" maxOccurs="1">
329            <xsd:annotation>
330               <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
331               itself.</xsd:documentation>
332            </xsd:annotation>
333         </xsd:element>
334         <xsd:element name="SecurityInformation" type="witsml:securityInfoType" minOccurs="0" maxOccurs="unbounded">
335            <xsd:annotation>
336               <xsd:documentation>Information about the security to be applied to this file. More than one classification can be given.</xsd:documentation>
337            </xsd:annotation>
338         </xsd:element>
339         <xsd:element name="Disclaimer" type="xsd:string" minOccurs="0" maxOccurs="1">
340            <xsd:annotation>
341               <xsd:documentation>A free-form string that allows a disclaimer to accompany the information.</xsd:documentation>
342               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
343            </xsd:annotation>
344         </xsd:element>
345         <xsd:element name="AuditTrail" type="witsml:auditType" minOccurs="0" maxOccurs="1">
346            <xsd:annotation>
347               <xsd:documentation>A collection of events that can document the history of the data.</xsd:documentation>
348            </xsd:annotation>
349         </xsd:element>
350         <xsd:element name="Owner" type="xsd:string" minOccurs="0" maxOccurs="1">
351            <xsd:annotation>
352               <xsd:documentation>The owner of the data.</xsd:documentation>
353               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
354            </xsd:annotation>
355         </xsd:element>
356         <xsd:element name="QueryParam" type="witsml:queryParam" minOccurs="0" maxOccurs="1">
357            <xsd:annotation>
358               <xsd:documentation>WITSML query parameters.</xsd:documentation>
359            </xsd:annotation>
360         </xsd:element>
361         <xsd:element name="Comment" type="xsd:string" minOccurs="0" maxOccurs="1">
362            <xsd:annotation>
363               <xsd:documentation>An optional comment about the document.</xsd:documentation>
364               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
365            </xsd:annotation>
366         </xsd:element>
367      </xsd:sequence>
368   </xsd:complexType>
369   <xsd:complexType name="queryParam">
370      <xsd:annotation>
371         <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).
372         These would typically be something like a daily report.</xsd:documentation>
373      </xsd:annotation>
374      <xsd:sequence>
375         <xsd:element name="dTimMin" type="witsml:endpointQualifiedDateTime" minOccurs="0" maxOccurs="1">
376            <xsd:annotation>
377               <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
378               growing objects but the See the API specification for behavior related to this query parameter.</xsd:documentation>
379            </xsd:annotation>
380         </xsd:element>
381         <xsd:element name="dTimMax" type="witsml:endpointQualifiedDateTime" minOccurs="0" maxOccurs="1">
382            <xsd:annotation>
383               <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
384               for behavior related to this query parameter.</xsd:documentation>
385            </xsd:annotation>
386         </xsd:element>
387      </xsd:sequence>
388   </xsd:complexType>
389   <xsd:complexType name="fileCreationType">
390      <xsd:annotation>
391         <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
392         file.</xsd:documentation>
393      </xsd:annotation>
394      <xsd:sequence>
395         <xsd:element name="FileCreationDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
396            <xsd:annotation>
397               <xsd:documentation>The date and time that the file was created.</xsd:documentation>
398               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
399            </xsd:annotation>
400         </xsd:element>
401         <xsd:element name="SoftwareName" type="xsd:string" minOccurs="0" maxOccurs="1">
402            <xsd:annotation>
403               <xsd:documentation>If appropriate, the software that created the file. This is a free form string, and may include whatever information is deemed
404               relevant.</xsd:documentation>
405               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
406            </xsd:annotation>
407         </xsd:element>
408         <xsd:element name="FileCreator" type="xsd:string" minOccurs="0" maxOccurs="1">
409            <xsd:annotation>
410               <xsd:documentation>The person or business associate that created the file.</xsd:documentation>
411               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
412            </xsd:annotation>
413         </xsd:element>
414         <xsd:element name="Comment" type="xsd:string" minOccurs="0" maxOccurs="1">
415            <xsd:annotation>
416               <xsd:documentation>Any comment that would be useful to further explain the creation of this instance document.</xsd:documentation>
417               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
418            </xsd:annotation>
419         </xsd:element>
420      </xsd:sequence>
421   </xsd:complexType>
422   <xsd:complexType name="securityInfoType">
423      <xsd:annotation>
424         <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
425         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
426         is confidential for a period of time, and then becomes open. All security classes are characterized by their classification systems.</xsd:documentation>
427      </xsd:annotation>
428      <xsd:sequence>
429         <xsd:element name="Class" type="xsd:string" minOccurs="0" maxOccurs="1">
430            <xsd:annotation>
431               <xsd:documentation>The security class in which this document is classified. Examples would be confidential, partner confidential, tight. The meaning of the class is
432               determined by the System in which it is defined.</xsd:documentation>
433               <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
434            </xsd:annotation>
435         </xsd:element>
436         <xsd:element name="SecuritySystem" type="xsd:string" minOccurs="0" maxOccurs="1">
437            <xsd:annotation>
438               <xsd:documentation>The security classification system. This gives context to the meaning of the Class value.</xsd:documentation>
439               <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
440            </xsd:annotation>
441         </xsd:element>
442         <xsd:element name="EndDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
443            <xsd:annotation>
444               <xsd:documentation>The date on which this security class is no longer applicable.</xsd:documentation>
445               <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
446            </xsd:annotation>
447         </xsd:element>
448         <xsd:element name="Comment" type="xsd:string" minOccurs="0" maxOccurs="1">
449            <xsd:annotation>
450               <xsd:documentation>A general comment to further define the security class.</xsd:documentation>
451               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
452            </xsd:annotation>
453         </xsd:element>
454      </xsd:sequence>
455   </xsd:complexType>
456   <xsd:complexType name="auditType">
457      <xsd:annotation>
458         <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>
459      </xsd:annotation>
460      <xsd:sequence>
461         <xsd:element name="Event" type="witsml:eventType" minOccurs="0" maxOccurs="unbounded">
462            <xsd:annotation>
463               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
464            </xsd:annotation>
465         </xsd:element>
466      </xsd:sequence>
467   </xsd:complexType>
468   <xsd:complexType name="eventType">
469      <xsd:annotation>
470         <xsd:documentation>An event type captures the basic information about an event that has affected the data.</xsd:documentation>
471      </xsd:annotation>
472      <xsd:sequence>
473         <xsd:element name="EventDate" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
474            <xsd:annotation>
475               <xsd:documentation>The date on which the event took place.</xsd:documentation>
476               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
477            </xsd:annotation>
478         </xsd:element>
479         <xsd:element name="ResponsibleParty" type="xsd:string" minOccurs="0" maxOccurs="1">
480            <xsd:annotation>
481               <xsd:documentation>The party responsible for the event.</xsd:documentation>
482               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
483            </xsd:annotation>
484         </xsd:element>
485         <xsd:element name="Comment" type="xsd:string" minOccurs="0" maxOccurs="1">
486            <xsd:annotation>
487               <xsd:documentation>A free form comment that can further define the event that occurred.</xsd:documentation>
488               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
489            </xsd:annotation>
490         </xsd:element>
491      </xsd:sequence>
492   </xsd:complexType>
493   <!--UNUSED: Deleted type cs_dtsBoxInformation.-->
494   <!--UNUSED: Deleted type cs_dtsCalibration.-->
495   <!--UNUSED: Deleted type cs_dtsCalibrationParameter.-->
496   <!--UNUSED: Deleted type cs_dtsErrorReport.-->
497   <!--UNUSED: Deleted type cs_dtsFiber.-->
498   <!--UNUSED: Deleted type cs_dtsFiberEndPoint.-->
499   <!--UNUSED: Deleted type cs_dtsFiberInformation.-->
500   <!--UNUSED: Deleted type cs_dtsFiberInstalledPoints.-->
501   <!--UNUSED: Deleted type cs_dtsInstrumentBox.-->
502   <!--UNUSED: Deleted type cs_dtsInstrumentBoxCalibration.-->
503   <!--UNUSED: Deleted type cs_dtsOneWayLoss.-->
504   <!--UNUSED: Deleted type cs_dtsOtdr.-->
505   <!--UNUSED: Deleted type cs_dtsProcessedWellLog.-->
506   <!--UNUSED: Deleted type cs_dtsPumpActivity.-->
507   <!--UNUSED: Deleted type cs_dtsPumpLogRow.-->
508   <!--UNUSED: Deleted type cs_dtsPumpLogTable.-->
509   <!--UNUSED: Deleted type cs_dtsRefractiveIndex.-->
510   <!--UNUSED: Deleted type cs_dtsSingleInstalledPoint.-->
511   <!--UNUSED: Deleted type cs_fluidResultCceTestStep.-->
512   <!--UNUSED: Deleted type cs_fluidResultCompositeComposition.-->
513   <!--UNUSED: Deleted type cs_fluidResultComposition.-->
514   <!--UNUSED: Deleted type cs_fluidResultConstantCompositionExpansionTest.-->
515   <!--UNUSED: Deleted type cs_fluidResultConstantVolumeDepletionTest.-->
516   <!--UNUSED: Deleted type cs_fluidResultContaminant.-->
517   <!--UNUSED: Deleted type cs_fluidResultCvdTestStep.-->
518   <!--UNUSED: Deleted type cs_fluidResultDataQuality.-->
519   <!--UNUSED: Deleted type cs_fluidResultDifferentialLiberationTest.-->
520   <!--UNUSED: Deleted type cs_fluidResultDifferentialLiberationTestStep.-->
521   <!--UNUSED: Deleted type cs_fluidResultJCurveTest.-->
522   <!--UNUSED: Deleted type cs_fluidResultJCurveTestStep.-->
523   <!--UNUSED: Deleted type cs_fluidResultPhaseComposition.-->
524   <!--UNUSED: Deleted type cs_fluidResultSaturationTest.-->
525   <!--UNUSED: Deleted type cs_fluidResultSaturationTestStep.-->
526   <!--UNUSED: Deleted type cs_fluidResultSeparatorTest.-->
527   <!--UNUSED: Deleted type cs_fluidResultSeparatorTestStep.-->
528   <!--UNUSED: Deleted type cs_fluidResultStockTank.-->
529   <!--UNUSED: Deleted type cs_fluidResultTransportPropertiesTest.-->
530   <!--UNUSED: Deleted type cs_fluidResultTransportTestStep.-->
531   <!--UNUSED: Deleted type cs_fluidResultVolumeReference.-->
532   <xsd:complexType name="cs_generalAddress">
533      <xsd:annotation>
534         <xsd:documentation>An general address structure. This form is appropriate for most countries.</xsd:documentation>
535      </xsd:annotation>
536      <xsd:sequence>
537         <xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="1">
538            <xsd:annotation>
539               <xsd:documentation>The Name line of an address. If missing, use the Name of the business associate.</xsd:documentation>
540               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
541            </xsd:annotation>
542         </xsd:element>
543         <xsd:element name="street" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
544            <xsd:annotation>
545               <xsd:documentation>The Street is a generic term for the middle lines of an address. They may be a street address, PO Box, Suite number, or any lines that come
546               between the "name" and "city" lines. This may be repeated for up to four, ordered lines.</xsd:documentation>
547               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
548            </xsd:annotation>
549         </xsd:element>
550         <xsd:element name="city" type="xsd:string" minOccurs="0" maxOccurs="1">
551            <xsd:annotation>
552               <xsd:documentation>The City for the business associate's address</xsd:documentation>
553               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
554            </xsd:annotation>
555         </xsd:element>
556         <xsd:element name="state" type="xsd:string" minOccurs="0" maxOccurs="1">
557            <xsd:annotation>
558               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
559            </xsd:annotation>
560         </xsd:element>
561         <xsd:element name="province" type="xsd:string" minOccurs="0" maxOccurs="1">
562            <xsd:annotation>
563               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
564            </xsd:annotation>
565         </xsd:element>
566         <xsd:element name="county" type="xsd:string" minOccurs="0" maxOccurs="1">
567            <xsd:annotation>
568               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
569            </xsd:annotation>
570         </xsd:element>
571         <xsd:element name="country" type="xsd:string" minOccurs="0" maxOccurs="1">
572            <xsd:annotation>
573               <xsd:documentation>The Country may be included. Although this is optional, it is probably required for most uses.</xsd:documentation>
574               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
575            </xsd:annotation>
576         </xsd:element>
577         <xsd:element name="postalCode" type="xsd:string" minOccurs="0" maxOccurs="1">
578            <xsd:annotation>
579               <xsd:documentation>A postal code, if appropriate for the country. In the USA this would be the five or nine digit zip code.</xsd:documentation>
580               <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
581            </xsd:annotation>
582         </xsd:element>
583      </xsd:sequence>
584      <xsd:attribute name="kind" type="xsd:string" use="optional">
585         <xsd:annotation>
586            <xsd:documentation>The type of address: mailing, physical, or both.</xsd:documentation>
587            <xsd:appinfo>constraints:@type="witsml:AddressKindEnum",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
588         </xsd:annotation>
589      </xsd:attribute>
590      <xsd:attribute name="uid" type="xsd:string" use="optional">
591         <xsd:annotation>
592            <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
593            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
594            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
595            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
596         </xsd:annotation>
597      </xsd:attribute>
598   </xsd:complexType>
599   <xsd:complexType name="cs_geographicContext">
600      <xsd:annotation>
601         <xsd:documentation>A geographic context of a report.</xsd:documentation>
602      </xsd:annotation>
603      <xsd:sequence>
604         <xsd:element name="country" type="xsd:string" minOccurs="0" maxOccurs="1">
605            <xsd:annotation>
606               <xsd:documentation>The name of the country.</xsd:documentation>
607               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
608            </xsd:annotation>
609         </xsd:element>
610         <xsd:element name="state" type="xsd:string" minOccurs="0" maxOccurs="1">
611            <xsd:annotation>
612               <xsd:documentation>The state of province within the country.</xsd:documentation>
613               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
614            </xsd:annotation>
615         </xsd:element>
616         <xsd:element name="field" type="witsml:nameStruct" minOccurs="0" maxOccurs="1">
617            <xsd:annotation>
618               <xsd:documentation>The name of the field within whose context the report exists.</xsd:documentation>
619            </xsd:annotation>
620         </xsd:element>
621         <xsd:element name="offshoreLocation" type="witsml:cs_offshoreLocation" minOccurs="0" maxOccurs="1">
622            <xsd:annotation>
623               <xsd:documentation>An offshore context.</xsd:documentation>
624            </xsd:annotation>
625         </xsd:element>
626         <xsd:element name="comment" type="xsd:string" minOccurs="0" maxOccurs="1">
627            <xsd:annotation>
628               <xsd:documentation>An general comment that further explains the offshore location.</xsd:documentation>
629               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
630            </xsd:annotation>
631         </xsd:element>
632      </xsd:sequence>
633   </xsd:complexType>
634   <!--UNUSED: Deleted type cs_nameTag.-->
635   <xsd:complexType name="cs_northSeaOffshore">
636      <xsd:annotation>
637         <xsd:documentation>A type of offshore location that captures the North Sea Offshore terminology.</xsd:documentation>
638      </xsd:annotation>
639      <xsd:sequence>
640         <xsd:element name="areaName" type="xsd:string" minOccurs="0" maxOccurs="1">
641            <xsd:annotation>
642               <xsd:documentation>An optional, uncontrolled value, which may be used to describe the general area of offshore North Sea in which the point is
643               located.</xsd:documentation>
644               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
645            </xsd:annotation>
646         </xsd:element>
647         <xsd:element name="quadrant" type="xsd:string" minOccurs="0" maxOccurs="1">
648            <xsd:annotation>
649               <xsd:documentation>The number or letter of the quadrant in the North Sea.</xsd:documentation>
650               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
651            </xsd:annotation>
652         </xsd:element>
653         <xsd:element name="blockSuffix" type="xsd:string" minOccurs="0" maxOccurs="1">
654            <xsd:annotation>
655               <xsd:documentation>A lower case letter assigned if a block is subdivided.</xsd:documentation>
656               <xsd:appinfo>constraints:@type="witsml:str2",xsd:maxLength="2",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
657            </xsd:annotation>
658         </xsd:element>
659      </xsd:sequence>
660   </xsd:complexType>
661   <xsd:complexType name="cs_offshoreLocation">
662      <xsd:annotation>
663         <xsd:documentation>A generic type of offshore location. This allows an offshore location to be given by an Area Name, and up to four block names. A comment is also
664         allowed.</xsd:documentation>
665      </xsd:annotation>
666      <xsd:sequence>
667         <xsd:element name="areaName" type="xsd:string" minOccurs="0" maxOccurs="1">
668            <xsd:annotation>
669               <xsd:documentation>A general meaning of Area. It may be as general as 'UK North Sea' or 'Viosca Knoll'. The user community must agree on the meaning of this
670               element.</xsd:documentation>
671               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
672            </xsd:annotation>
673         </xsd:element>
674         <xsd:element name="blockID" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
675            <xsd:annotation>
676               <xsd:documentation>One to four block ID's, that can more tightly locate the object. The BlockID should be an identifying name or code. The user community must agree
677               on the exact meaning of this element.</xsd:documentation>
678               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
679            </xsd:annotation>
680         </xsd:element>
681         <xsd:element name="northSeaOffshore" type="witsml:cs_northSeaOffshore" minOccurs="0" maxOccurs="1">
682            <xsd:annotation>
683               <xsd:documentation>An offshore location using the North Sea Offshore terminology.</xsd:documentation>
684               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
685            </xsd:annotation>
686         </xsd:element>
687         <xsd:element name="comment" type="xsd:string" minOccurs="0" maxOccurs="1">
688            <xsd:annotation>
689               <xsd:documentation>An general comment that further explains the offshore location.</xsd:documentation>
690               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
691            </xsd:annotation>
692         </xsd:element>
693      </xsd:sequence>
694   </xsd:complexType>
695   <xsd:complexType name="cs_personName">
696      <xsd:annotation>
697         <xsd:documentation>The components of a persons name.</xsd:documentation>
698      </xsd:annotation>
699      <xsd:sequence>
700         <xsd:element name="prefix" type="xsd:string" minOccurs="0" maxOccurs="1">
701            <xsd:annotation>
702               <xsd:documentation>A name prefix. Such as, Dr, Ms, Miss, Mr, etc.</xsd:documentation>
703               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
704            </xsd:annotation>
705         </xsd:element>
706         <xsd:element name="first" type="xsd:string" minOccurs="0" maxOccurs="1">
707            <xsd:annotation>
708               <xsd:documentation>The persons first name.</xsd:documentation>
709               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
710            </xsd:annotation>
711         </xsd:element>
712         <xsd:element name="middle" type="xsd:string" minOccurs="0" maxOccurs="1">
713            <xsd:annotation>
714               <xsd:documentation>The persons middle name or initial name.</xsd:documentation>
715               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
716            </xsd:annotation>
717         </xsd:element>
718         <xsd:element name="last" type="xsd:string" minOccurs="0" maxOccurs="1">
719            <xsd:annotation>
720               <xsd:documentation>The persons last or given name.</xsd:documentation>
721               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
722            </xsd:annotation>
723         </xsd:element>
724         <xsd:element name="suffix" type="xsd:string" minOccurs="0" maxOccurs="unbounded">
725            <xsd:annotation>
726               <xsd:documentation>A name suffix. Such as Esq, Phd, etc.</xsd:documentation>
727               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
728            </xsd:annotation>
729         </xsd:element>
730      </xsd:sequence>
731   </xsd:complexType>
732   <!--UNUSED: Deleted type cs_productFlowChangeLog.-->
733   <!--UNUSED: Deleted type cs_productFlowExpectedPortProperty.-->
734   <!--UNUSED: Deleted type cs_productFlowExpectedUnitProperty.-->
735   <!--UNUSED: Deleted type cs_productFlowExternalReference.-->
736   <!--UNUSED: Deleted type cs_productFlowlExternalPort.-->
737   <!--UNUSED: Deleted type cs_productFlowNetwork.-->
738   <!--UNUSED: Deleted type cs_productFlowNetworkPlan.-->
739   <!--UNUSED: Deleted type cs_productFlowPort.-->
740   <!--UNUSED: Deleted type cs_productFlowQualifierExpected.-->
741   <!--UNUSED: Deleted type cs_productFlowUnit.-->
742   <!--UNUSED: Deleted type cs_productionOperationActivity.-->
743   <!--UNUSED: Deleted type cs_productionOperationAlarm.-->
744   <!--UNUSED: Deleted type cs_productionOperationCargoShipOperation.-->
745   <!--UNUSED: Deleted type cs_productionOperationHSE.-->
746   <!--UNUSED: Deleted type cs_productionOperationInstallationReport.-->
747   <!--UNUSED: Deleted type cs_productionOperationLostProduction.-->
748   <!--UNUSED: Deleted type cs_productionOperationMarineOperation.-->
749   <!--UNUSED: Deleted type cs_productionOperationOperationalComment.-->
750   <!--UNUSED: Deleted type cs_productionOperationSafety.-->
751   <!--UNUSED: Deleted type cs_productionOperationShutdown.-->
752   <!--UNUSED: Deleted type cs_productionOperationThirdPartyProcessing.-->
753   <!--UNUSED: Deleted type cs_productionOperationWaterCleaningQuality.-->
754   <!--UNUSED: Deleted type cs_productionOperationWeather.-->
755   <xsd:complexType name="cs_productVolumeAlert">
756      <xsd:annotation>
757         <xsd:documentation>WITSML - Alert Component Schema.</xsd:documentation>
758      </xsd:annotation>
759      <xsd:sequence>
760         <xsd:element name="target" type="xsd:string" minOccurs="0" maxOccurs="1">
761            <xsd:annotation>
762               <xsd:documentation>An XPATH to the target value within the message containing this XPATH value.</xsd:documentation>
763               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
764            </xsd:annotation>
765         </xsd:element>
766         <xsd:element name="level" type="xsd:string" minOccurs="0" maxOccurs="1">
767            <xsd:annotation>
768               <xsd:documentation>The level of the alert.</xsd:documentation>
769               <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
770            </xsd:annotation>
771         </xsd:element>
772         <xsd:element name="type" type="xsd:string" minOccurs="0" maxOccurs="1">
773            <xsd:annotation>
774               <xsd:documentation>The type of alert. For example "off specification".</xsd:documentation>
775               <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
776            </xsd:annotation>
777         </xsd:element>
778         <xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1">
779            <xsd:annotation>
780               <xsd:documentation>A textual decription of the alert.</xsd:documentation>
781               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
782            </xsd:annotation>
783         </xsd:element>
784      </xsd:sequence>
785   </xsd:complexType>
786   <xsd:complexType name="cs_productVolumeBusinessUnit">
787      <xsd:annotation>
788         <xsd:documentation>WITSML - Product Volume component schema for defining business units.</xsd:documentation>
789      </xsd:annotation>
790      <xsd:sequence>
791         <xsd:element name="kind" type="xsd:string" minOccurs="0" maxOccurs="1">
792            <xsd:annotation>
793               <xsd:documentation>The type of business unit.</xsd:documentation>
794               <xsd:appinfo>
795               constraints:@minOccurs="1",@minOccurs="1",@type="witsml:BusinessUnitKind",xsd:enumeration="company",xsd:enumeration="field",xsd:enumeration="license",xsd:enumeration="business
796               area",xsd:enumeration="platform",xsd:enumeration="terminal",xsd:enumeration="unknown",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
797            </xsd:annotation>
798         </xsd:element>
799         <xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="1">
800            <xsd:annotation>
801               <xsd:documentation>The human contextual name of the business unit.</xsd:documentation>
802               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
803            </xsd:annotation>
804         </xsd:element>
805         <xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1">
806            <xsd:annotation>
807               <xsd:documentation>A textual description of the business unit.</xsd:documentation>
808               <xsd:appinfo>constraints:@type="witsml:descriptionString",xsd:maxLength="256",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
809            </xsd:annotation>
810         </xsd:element>
811         <xsd:element name="subUnit" type="witsml:cs_productVolumeBusinessSubUnit" minOccurs="0" maxOccurs="unbounded">
812            <xsd:annotation>
813               <xsd:documentation>A component part of the unit. The composition of a unit may vary with time. This defines the ownership share or account information for a sub
814               unit within the context of the whole unit. For ownership shares, at any one point in time the sum of the shares should be 100%.</xsd:documentation>
815            </xsd:annotation>
816         </xsd:element>
817      </xsd:sequence>
818      <xsd:attribute name="uid" type="xsd:string" use="optional">
819         <xsd:annotation>
820            <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
821            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
822            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
823            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
824         </xsd:annotation>
825      </xsd:attribute>
826   </xsd:complexType>
827   <xsd:complexType name="cs_productVolumeBusinessSubUnit">
828      <xsd:annotation>
829         <xsd:documentation>WITSML - Product Volume component schema for defining ownership shares of business units.</xsd:documentation>
830      </xsd:annotation>
831      <xsd:sequence>
832         <xsd:element name="kind" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
833            <xsd:annotation>
834               <xsd:documentation>Points to business unit which is part of another business unit.</xsd:documentation>
835               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
836            </xsd:annotation>
837         </xsd:element>
838         <xsd:element name="ownershipShare" type="witsml:cs_productVolumeBusinessOwnershipShare" minOccurs="0" maxOccurs="unbounded">
839            <xsd:annotation>
840               <xsd:documentation>Defines the ownership share in the parent unit at a point in time. This commonly applies at a parent source unit (e.g., a field or
841               platform).</xsd:documentation>
842            </xsd:annotation>
843         </xsd:element>
844         <xsd:element name="accountInformation" type="witsml:cs_productVolumeBusinessAccountInfo" minOccurs="0" maxOccurs="unbounded">
845            <xsd:annotation>
846               <xsd:documentation>Defines account information in the parent unit. This commonly applies at a parent terminus unit (e.g., a terminal),</xsd:documentation>
847            </xsd:annotation>
848         </xsd:element>
849      </xsd:sequence>
850      <xsd:attribute name="uid" type="xsd:string" use="optional">
851         <xsd:annotation>
852            <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
853            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
854            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
855            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
856         </xsd:annotation>
857      </xsd:attribute>
858   </xsd:complexType>
859   <xsd:complexType name="cs_productVolumeBusinessOwnershipShare">
860      <xsd:annotation>
861         <xsd:documentation>WITSML - Product Volume component schema for defining ownership shares.</xsd:documentation>
862      </xsd:annotation>
863      <xsd:sequence>
864         <xsd:element name="share" type="witsml:measure" minOccurs="0" maxOccurs="1">
865            <xsd:annotation>
866               <xsd:documentation>The percent ownership of the sub-unit in the unit during the specified time.</xsd:documentation>
867               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:volumePerVolumeMeasurePercent"</xsd:appinfo>
868            </xsd:annotation>
869         </xsd:element>
870         <xsd:element name="startDate" type="xsd:date" minOccurs="0" maxOccurs="1">
871            <xsd:annotation>
872               <xsd:documentation>The date on which the ownership became valid.</xsd:documentation>
873               <xsd:appinfo>constraints:@type="witsml:date",xsd:pattern=".+"</xsd:appinfo>
874            </xsd:annotation>
875         </xsd:element>
876         <xsd:element name="endDate" type="xsd:date" minOccurs="0" maxOccurs="1">
877            <xsd:annotation>
878               <xsd:documentation>The final date on which the ownership was valid. If no end date is specified, the share is considered to still be valid.</xsd:documentation>
879               <xsd:appinfo>constraints:@type="witsml:date",xsd:pattern=".+"</xsd:appinfo>
880            </xsd:annotation>
881         </xsd:element>
882      </xsd:sequence>
883      <xsd:attribute name="uid" type="xsd:string" use="optional">
884         <xsd:annotation>
885            <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
886            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
887            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
888            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
889         </xsd:annotation>
890      </xsd:attribute>
891   </xsd:complexType>
892   <xsd:complexType name="cs_productVolumeBusinessAccountInfo">
893      <xsd:annotation>
894         <xsd:documentation>WITSML - Product Volume component schema for defining account information.</xsd:documentation>
895      </xsd:annotation>
896      <xsd:sequence>
897         <xsd:element name="accountId" type="xsd:string" minOccurs="0" maxOccurs="1">
898            <xsd:annotation>
899               <xsd:documentation>The identifier of the account of the sub-unit within the whole business unit.</xsd:documentation>
900               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
901            </xsd:annotation>
902         </xsd:element>
903         <xsd:element name="product" type="xsd:string" minOccurs="0" maxOccurs="1">
904            <xsd:annotation>
905               <xsd:documentation>The product associated with the account identifier.</xsd:documentation>
906               <xsd:appinfo>constraints:@type="witsml:ReportingProduct",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
907            </xsd:annotation>
908         </xsd:element>
909      </xsd:sequence>
910      <xsd:attribute name="uid" type="xsd:string" use="optional">
911         <xsd:annotation>
912            <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
913            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
914            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
915            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
916         </xsd:annotation>
917      </xsd:attribute>
918   </xsd:complexType>
919   <!--UNUSED: Deleted type BusinessUnitKind.-->
920   <xsd:complexType name="cs_productVolumeComponentContent">
921      <xsd:annotation>
922         <xsd:documentation>WITSML - Product Volume Component Content Component Schema.</xsd:documentation>
923      </xsd:annotation>
924      <xsd:sequence>
925         <xsd:element name="kind" type="xsd:string" minOccurs="0" maxOccurs="1">
926            <xsd:annotation>
927               <xsd:documentation>The type of product whose relative content is being described. This should be a specific component (e.g., water) rather than a phase (e.g.,
928               aqueous).</xsd:documentation>
929               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:ReportingProduct",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
930            </xsd:annotation>
931         </xsd:element>
932         <xsd:element name="referenceKind" type="xsd:string" minOccurs="0" maxOccurs="1">
933            <xsd:annotation>
934               <xsd:documentation>The type of product to which the product is being compared. If not given then the product is being compared against the overall flow
935               stream.</xsd:documentation>
936               <xsd:appinfo>constraints:@type="witsml:ReportingProduct",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
937            </xsd:annotation>
938         </xsd:element>
939         <xsd:element name="gor" type="witsml:measure" minOccurs="0" maxOccurs="1">
940            <xsd:annotation>
941               <xsd:documentation>Gas oil ratio. The ratio between the total produced gas volume and the total produced oil volume including oil and gas volumes used on the
942               installation.</xsd:documentation>
943               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
944            </xsd:annotation>
945         </xsd:element>
946         <xsd:element name="gorMTD" type="witsml:measure" minOccurs="0" maxOccurs="1">
947            <xsd:annotation>
948               <xsd:documentation>Gas oil ratio month to date. The gas oil ratio from the beginning of the month to the end of the reporting priod.</xsd:documentation>
949               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
950            </xsd:annotation>
951         </xsd:element>
952         <xsd:element name="waterConcMass" type="witsml:measure" minOccurs="0" maxOccurs="1">
953            <xsd:annotation>
954               <xsd:documentation>Water concentration mass basis. The ratio of water produced compared to the mass of total liquids produced.</xsd:documentation>
955               <xsd:appinfo>constraints:@type="witsml:massConcentrationMeasure"</xsd:appinfo>
956            </xsd:annotation>
957         </xsd:element>
958         <xsd:element name="waterConcVol" type="witsml:measure" minOccurs="0" maxOccurs="1">
959            <xsd:annotation>
960               <xsd:documentation>Water concentration volume basis. The ratio of water produced compared to the mass of total liquids produced.</xsd:documentation>
961               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
962            </xsd:annotation>
963         </xsd:element>
964         <xsd:element name="atmosphere" type="witsml:measure" minOccurs="0" maxOccurs="1">
965            <xsd:annotation>
966               <xsd:documentation>The average atmospheric pressure during the reporting period.</xsd:documentation>
967               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
968            </xsd:annotation>
969         </xsd:element>
970         <xsd:element name="volumeValue" type="witsml:cs_volumeValue" minOccurs="0" maxOccurs="1">
971            <xsd:annotation>
972               <xsd:documentation>The volume of the fluid, possibly corrected to specific conditions of temperature and pressure. A positive value for an inlet port indicates flow
973               into the port. A negative value for an inlet port indicates flow out of the port. A positive value for an outlet port indicates flow out of the port. A negative
974               value for an outlet port indicates flow into of the port. This convention is designed such that a positive sign indicates an expected condition based on the
975               intended port direction while a negative sign indicates an anomolous condition.</xsd:documentation>
976            </xsd:annotation>
977         </xsd:element>
978         <xsd:element name="volume" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
979            <xsd:annotation>
980               <xsd:documentation>DEPRECATED. Use volumeValue for new work. The uncorrected volume of the product. The sign of the value should conform to the above description of
981               volumeValue. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be good with no restrictions. A value of "NaN" should
982               be interpreted as null and should be not be given unless a status is also specified to explain why it is null.</xsd:documentation>
983               <xsd:appinfo>constraints:@type="witsml:volumeQualifiedMeasure"</xsd:appinfo>
984            </xsd:annotation>
985         </xsd:element>
986         <xsd:element name="volumeStd" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
987            <xsd:annotation>
988               <xsd:documentation>DEPRECATED. Use volumeValue for new work. The volume of the fluid, corrected to standard conditions of temperature and pressure. The sign of the
989               value should conform to the above description of volumeValue. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be
990               good with no restrictions. A value of "NaN" should be interpreted as null and should be not be given unless a status is also specified to explain why it is
991               null.</xsd:documentation>
992               <xsd:appinfo>constraints:@type="witsml:volumeQualifiedMeasure"</xsd:appinfo>
993            </xsd:annotation>
994         </xsd:element>
995         <xsd:element name="flowRate" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
996            <xsd:annotation>
997               <xsd:documentation>The flow rate of the product. The sign of the value should conform to the above description of volume. If the 'status' attribute is absent and
998               the value is not "NaN", the data value can be assumed to be good with no restrictions. A value of "NaN" should be interpreted as null and should be not be given
999               unless a status is also specified to explain why it is null.</xsd:documentation>
1000               <xsd:appinfo>constraints:@type="witsml:volumeFlowRateQualifiedMeasure"</xsd:appinfo>
1001            </xsd:annotation>
1002         </xsd:element>
1003         <xsd:element name="temp" type="witsml:measure" minOccurs="0" maxOccurs="1">
1004            <xsd:annotation>
1005               <xsd:documentation>Temperature of the port. Specifying the temperature here (as opposed to in Period) implies that the temperature is constant for all periods of
1006               the flow.</xsd:documentation>
1007               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
1008            </xsd:annotation>
1009         </xsd:element>
1010         <xsd:element name="pres" type="witsml:measure" minOccurs="0" maxOccurs="1">
1011            <xsd:annotation>
1012               <xsd:documentation>Pressure of the port. Specifying the pressure here (as opposed to in Period) implies that the pressure is constant for all periods of the
1013               flow.</xsd:documentation>
1014               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1015            </xsd:annotation>
1016         </xsd:element>
1017         <xsd:element name="absoluteMinPres" type="witsml:measure" minOccurs="0" maxOccurs="1">
1018            <xsd:annotation>
1019               <xsd:documentation>Absolute minimum pressure before the system will give an alarm.</xsd:documentation>
1020               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1021            </xsd:annotation>
1022         </xsd:element>
1023         <xsd:element name="portDiff" type="witsml:cs_productVolumePortDifference" minOccurs="0" maxOccurs="unbounded">
1024            <xsd:annotation>
1025               <xsd:documentation>The internal differences between this port and one other port on this unit.</xsd:documentation>
1026            </xsd:annotation>
1027         </xsd:element>
1028         <xsd:element name="mass" type="witsml:measure" minOccurs="0" maxOccurs="1">
1029            <xsd:annotation>
1030               <xsd:documentation>The mass of the product.</xsd:documentation>
1031               <xsd:appinfo>constraints:@type="witsml:massMeasure"</xsd:appinfo>
1032            </xsd:annotation>
1033         </xsd:element>
1034         <xsd:element name="work" type="witsml:measure" minOccurs="0" maxOccurs="1">
1035            <xsd:annotation>
1036               <xsd:documentation>The electrical energy represented by the product.</xsd:documentation>
1037               <xsd:appinfo>constraints:@type="witsml:workMeasure"</xsd:appinfo>
1038            </xsd:annotation>
1039         </xsd:element>
1040         <xsd:element name="efficiency" type="witsml:measure" minOccurs="0" maxOccurs="1">
1041            <xsd:annotation>
1042               <xsd:documentation>The actual volume divided by the potential volume.</xsd:documentation>
1043               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1044            </xsd:annotation>
1045         </xsd:element>
1046         <xsd:element name="rvp" type="witsml:measure" minOccurs="0" maxOccurs="1">
1047            <xsd:annotation>
1048               <xsd:documentation>Reid vapor pressure of the product. The absolute vapor pressure of volatile crude oil and volatile petroleum liquids, except liquefied petroleum
1049               gases, as determined in accordance with American Society for Testing and Materials under the designation ASTM D323-56.</xsd:documentation>
1050               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1051            </xsd:annotation>
1052         </xsd:element>
1053         <xsd:element name="tvp" type="witsml:measure" minOccurs="0" maxOccurs="1">
1054            <xsd:annotation>
1055               <xsd:documentation>True vapor pressure of the product. The equilibrium partial pressure exerted by a petroleum liquid as determined in accordance with standard
1056               methods.</xsd:documentation>
1057               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1058            </xsd:annotation>
1059         </xsd:element>
1060         <xsd:element name="bsw" type="witsml:measure" minOccurs="0" maxOccurs="1">
1061            <xsd:annotation>
1062               <xsd:documentation>Basic sediment and water is measured from a liquid sample of the production stream. It includes free water, sediment and emulsion and is measured
1063               as a volume percentage of the production stream.</xsd:documentation>
1064               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1065            </xsd:annotation>
1066         </xsd:element>
1067         <xsd:element name="bswPrevious" type="witsml:measure" minOccurs="0" maxOccurs="1">
1068            <xsd:annotation>
1069               <xsd:documentation>The basic sediment and water as measured on the previous reporting period (e.g., day).</xsd:documentation>
1070               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1071            </xsd:annotation>
1072         </xsd:element>
1073         <xsd:element name="densityValue" type="witsml:cs_densityValue" minOccurs="0" maxOccurs="1">
1074            <xsd:annotation>
1075               <xsd:documentation>The density of the fluid, possibly corrected to specific conditions of temperature and pressure.</xsd:documentation>
1076            </xsd:annotation>
1077         </xsd:element>
1078         <xsd:element name="density" type="witsml:measure" minOccurs="0" maxOccurs="1">
1079            <xsd:annotation>
1080               <xsd:documentation>The density of the product.</xsd:documentation>
1081               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
1082            </xsd:annotation>
1083         </xsd:element>
1084         <xsd:element name="densityFlowRate" type="witsml:measure" minOccurs="0" maxOccurs="1">
1085            <xsd:annotation>
1086               <xsd:documentation>The mass basis flow rate of the product. This is used for things like a sand component.</xsd:documentation>
1087               <xsd:appinfo>constraints:@type="witsml:massFlowRateMeasure"</xsd:appinfo>
1088            </xsd:annotation>
1089         </xsd:element>
1090         <xsd:element name="densityStd" type="witsml:measure" minOccurs="0" maxOccurs="1">
1091            <xsd:annotation>
1092               <xsd:documentation>The density of the product after it has been corrected to standard temperature and pressure.</xsd:documentation>
1093               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
1094            </xsd:annotation>
1095         </xsd:element>
1096         <xsd:element name="concentration" type="witsml:measure" minOccurs="0" maxOccurs="1">
1097            <xsd:annotation>
1098               <xsd:documentation>The concentration of the product as a volume percentage of the product stream.</xsd:documentation>
1099               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1100            </xsd:annotation>
1101         </xsd:element>
1102         <xsd:element name="molecularWeight" type="xsd:double" minOccurs="0" maxOccurs="1">
1103            <xsd:annotation>
1104               <xsd:documentation>The molecular weight of the product.</xsd:documentation>
1105               <xsd:appinfo>constraints:@type="witsml:unitlessQuantity",xsd:pattern=".+"</xsd:appinfo>
1106            </xsd:annotation>
1107         </xsd:element>
1108         <xsd:element name="weightPercent" type="witsml:measure" minOccurs="0" maxOccurs="1">
1109            <xsd:annotation>
1110               <xsd:documentation>The weight fraction of the product.</xsd:documentation>
1111               <xsd:appinfo>constraints:@type="witsml:massConcentrationMeasurePercent"</xsd:appinfo>
1112            </xsd:annotation>
1113         </xsd:element>
1114         <xsd:element name="molePercent" type="witsml:measure" minOccurs="0" maxOccurs="1">
1115            <xsd:annotation>
1116               <xsd:documentation>The mole fraction of the product.</xsd:documentation>
1117               <xsd:appinfo>constraints:@type="witsml:molarFractionMeasurePercent"</xsd:appinfo>
1118            </xsd:annotation>
1119         </xsd:element>
1120         <xsd:element name="moleAmt" type="witsml:measure" minOccurs="0" maxOccurs="1">
1121            <xsd:annotation>
1122               <xsd:documentation>The molar amount.</xsd:documentation>
1123               <xsd:appinfo>constraints:@type="witsml:amountOfSubstanceMeasure"</xsd:appinfo>
1124            </xsd:annotation>
1125         </xsd:element>
1126         <xsd:element name="sg" type="witsml:measure" minOccurs="0" maxOccurs="1">
1127            <xsd:annotation>
1128               <xsd:documentation>The specific gravity of the product.</xsd:documentation>
1129               <xsd:appinfo>constraints:@type="witsml:dimensionlessMeasure"</xsd:appinfo>
1130            </xsd:annotation>
1131         </xsd:element>
1132         <xsd:element name="hcDewpoint" type="witsml:measure" minOccurs="0" maxOccurs="1">
1133            <xsd:annotation>
1134               <xsd:documentation>The temperature at which the heavier hydrocarbons come out of solution.</xsd:documentation>
1135               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
1136            </xsd:annotation>
1137         </xsd:element>
1138         <xsd:element name="waterDewpoint" type="witsml:measure" minOccurs="0" maxOccurs="1">
1139            <xsd:annotation>
1140               <xsd:documentation>The temperature at which the first water comes out of solution.</xsd:documentation>
1141               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
1142            </xsd:annotation>
1143         </xsd:element>
1144         <xsd:element name="wobbeIndex" type="witsml:measure" minOccurs="0" maxOccurs="1">
1145            <xsd:annotation>
1146               <xsd:documentation>Wobbe Index. A number which indicates interchangeability of fuel gasses and is obtained by dividing the heating value of a gas by the square root
1147               of its specific gravity.</xsd:documentation>
1148               <xsd:appinfo>constraints:@type="witsml:modulusOfCompressionMeasure"</xsd:appinfo>
1149            </xsd:annotation>
1150         </xsd:element>
1151         <xsd:element name="grossCalorificValueStd" type="witsml:measure" minOccurs="0" maxOccurs="1">
1152            <xsd:annotation>
1153               <xsd:documentation>The amount of heat which would be released by the complete combustion in air of a specific quantity of product at standard temperature and
1154               pressure.</xsd:documentation>
1155               <xsd:appinfo>constraints:@type="witsml:modulusOfCompressionMeasure"</xsd:appinfo>
1156            </xsd:annotation>
1157         </xsd:element>
1158         <xsd:element name="rvpStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
1159            <xsd:annotation>
1160               <xsd:documentation>Reid vapor pressure of stabilized crude.</xsd:documentation>
1161               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1162            </xsd:annotation>
1163         </xsd:element>
1164         <xsd:element name="bswStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
1165            <xsd:annotation>
1166               <xsd:documentation>Basic sediment and water content in stabilized crude.</xsd:documentation>
1167               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1168            </xsd:annotation>
1169         </xsd:element>
1170         <xsd:element name="densityStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
1171            <xsd:annotation>
1172               <xsd:documentation>The density of stabilized crude.</xsd:documentation>
1173               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
1174            </xsd:annotation>
1175         </xsd:element>
1176      </xsd:sequence>
1177      <xsd:attribute name="uid" type="xsd:string" use="optional">
1178         <xsd:annotation>
1179            <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
1180            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
1181            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
1182            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1183         </xsd:annotation>
1184      </xsd:attribute>
1185   </xsd:complexType>
1186   <xsd:complexType name="cs_productVolumeFacility">
1187      <xsd:annotation>
1188         <xsd:documentation>WITSML - Report Facility Component Schema.</xsd:documentation>
1189      </xsd:annotation>
1190      <xsd:sequence>
1191         <xsd:element name="name" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
1192            <xsd:annotation>
1193               <xsd:documentation>The name of the facility. The name can be qualified by a naming system. This also defines the kind of facility.</xsd:documentation>
1194               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
1195            </xsd:annotation>
1196         </xsd:element>
1197         <xsd:element name="facilityParent1" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
1198            <xsd:annotation>
1199               <xsd:documentation>For facilities whose name is unique within the context of another facility, the name of the parent facility. For example, if name represents a
1200               completion, then facilityParent1 would represent the name of the well within which name was unique. The name can be qualified by a naming system. This also defines
1201               the kind of facility.</xsd:documentation>
1202            </xsd:annotation>
1203         </xsd:element>
1204         <xsd:element name="facilityParent2" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
1205            <xsd:annotation>
1206               <xsd:documentation>For facilities whose name is unique within the context of another facility, the name of the parent facility of parent1. The name can be qualified
1207               by a naming system. This also defines the kind of facility.</xsd:documentation>
1208            </xsd:annotation>
1209         </xsd:element>
1210         <xsd:element name="facilityAlias" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
1211            <xsd:annotation>
1212               <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
1213               context of a parent) should also be listed as an alias.</xsd:documentation>
1214            </xsd:annotation>
1215         </xsd:element>
1216         <xsd:element name="unit" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
1217            <xsd:annotation>
1218               <xsd:documentation>The Product Flow Unit representing the facility. This must be unique within the context of the Product Flow Network.</xsd:documentation>
1219               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
1220            </xsd:annotation>
1221         </xsd:element>
1222         <xsd:element name="network" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
1223            <xsd:annotation>
1224               <xsd:documentation>The Product Flow Network representing the facility. This can only be given if unit is given. This is only required if the network is not the same
1225               as the primary network that represents the Product Flow Model. This must be unique within the context of the Product Flow Model represented by this
1226               report.</xsd:documentation>
1227            </xsd:annotation>
1228         </xsd:element>
1229         <xsd:element name="contextFacility" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="unbounded">
1230            <xsd:annotation>
1231               <xsd:documentation>The name and type of a facility whose context is relevant to this facility.</xsd:documentation>
1232            </xsd:annotation>
1233         </xsd:element>
1234         <xsd:element name="wellProducing" type="xsd:boolean" minOccurs="0" maxOccurs="1">
1235            <xsd:annotation>
1236               <xsd:documentation>True (or 1) indicates that the well is producing. False (or 0) or not given indicates that the well is not producing. This only applies if the
1237               facility is a well or wellbore.</xsd:documentation>
1238               <xsd:appinfo>constraints:@type="witsml:logicalBoolean",xsd:pattern=".+"</xsd:appinfo>
1239            </xsd:annotation>
1240         </xsd:element>
1241         <xsd:element name="wellInjecting" type="xsd:boolean" minOccurs="0" maxOccurs="1">
1242            <xsd:annotation>
1243               <xsd:documentation>True (or 1) indicates that the well is injecting. False (or 0) or not given indicates that the well is not injecting. This only applies if the
1244               facility is a well or wellbore.</xsd:documentation>
1245               <xsd:appinfo>constraints:@type="witsml:logicalBoolean",xsd:pattern=".+"</xsd:appinfo>
1246            </xsd:annotation>
1247         </xsd:element>
1248         <xsd:element name="capacity" type="witsml:measure" minOccurs="0" maxOccurs="1">
1249            <xsd:annotation>
1250               <xsd:documentation>The storage capacity of the facility (e.g., a tank).</xsd:documentation>
1251               <xsd:appinfo>constraints:@type="witsml:volumeMeasure"</xsd:appinfo>
1252            </xsd:annotation>
1253         </xsd:element>
1254         <xsd:element name="operationTime" type="witsml:measure" minOccurs="0" maxOccurs="1">
1255            <xsd:annotation>
1256               <xsd:documentation>The amount of time that the facility was active during the reporting period.</xsd:documentation>
1257               <xsd:appinfo>constraints:@type="witsml:timeMeasure"</xsd:appinfo>
1258            </xsd:annotation>
1259         </xsd:element>
1260         <xsd:element name="downtimeReason" type="witsml:cs_datedComment" minOccurs="0" maxOccurs="unbounded">
1261            <xsd:annotation>
1262               <xsd:documentation>The reason for any down time during the reporting period.</xsd:documentation>
1263            </xsd:annotation>
1264         </xsd:element>
1265         <xsd:element name="parameterSet" type="witsml:cs_productVolumeParameterSet" minOccurs="0" maxOccurs="unbounded">
1266            <xsd:annotation>
1267               <xsd:documentation>Usage values for one parameter associated with the facility.</xsd:documentation>
1268            </xsd:annotation>
1269         </xsd:element>
1270         <xsd:element name="flow" type="witsml:cs_productVolumeFlow" minOccurs="0" maxOccurs="unbounded">
1271            <xsd:annotation>
1272               <xsd:documentation>Reports a flow of a product.</xsd:documentation>
1273            </xsd:annotation>
1274         </xsd:element>
1275         <xsd:element name="comment" type="witsml:cs_datedComment" minOccurs="0" maxOccurs="unbounded">
1276            <xsd:annotation>
1277               <xsd:documentation>A timestamped remark about the facility.</xsd:documentation>
1278            </xsd:annotation>
1279         </xsd:element>
1280      </xsd:sequence>
1281      <xsd:attribute name="uid" type="xsd:string" use="optional">
1282         <xsd:annotation>
1283            <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
1284            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
1285            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
1286            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1287         </xsd:annotation>
1288      </xsd:attribute>
1289   </xsd:complexType>
1290   <xsd:complexType name="cs_productVolumeFlow">
1291      <xsd:annotation>
1292         <xsd:documentation>WITSML - Product Volume Flow Component Schema.</xsd:documentation>
1293      </xsd:annotation>
1294      <xsd:sequence>
1295         <xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="1">
1296            <xsd:annotation>
1297               <xsd:documentation>The name of this flow within the context of this report. This might reflect some combination of the kind of flow, port, qualifier and related
1298               facility.</xsd:documentation>
1299               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1300            </xsd:annotation>
1301         </xsd:element>
1302         <xsd:element name="kind" type="xsd:string" minOccurs="0" maxOccurs="1">
1303            <xsd:annotation>
1304               <xsd:documentation>Indicates the type of flow that is being reported. The type of flow is an indication of the overall source or target of the flow. A production
1305               flow has one or more wells as the originating source. An injection flow has one or more wells as the ultimate target. An import flow has an offsite source. An
1306               export flow has an offiste target. A consumption flow generally has a kind of equipment as a target.</xsd:documentation>
1307               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:ReportingFlow",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1308            </xsd:annotation>
1309         </xsd:element>
1310         <xsd:element name="port" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
1311            <xsd:annotation>
1312               <xsd:documentation>The Product Flow Port to which the flow is assigned. This is the port on the Product Flow Unit that represents the facility.</xsd:documentation>
1313            </xsd:annotation>
1314         </xsd:element>
1315         <xsd:element name="direction" type="xsd:string" minOccurs="0" maxOccurs="1">
1316            <xsd:annotation>
1317               <xsd:documentation>The kind of port that this flow represents: inlet or outlet.</xsd:documentation>
1318               <xsd:appinfo>constraints:@type="witsml:ProductFlowPortType",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1319            </xsd:annotation>
1320         </xsd:element>
1321         <xsd:element name="facility" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
1322            <xsd:annotation>
1323               <xsd:documentation>The name of the facility represented by the port where the measurements were taken. The name can be qualified by a naming system. This also
1324               defines the kind of facility.</xsd:documentation>
1325            </xsd:annotation>
1326         </xsd:element>
1327         <xsd:element name="facilityAlias" type="witsml:nameStruct" minOccurs="0" maxOccurs="unbounded">
1328            <xsd:annotation>
1329               <xsd:documentation>An alternatative name of a facility represented by the port. This is generally unique within a naming system. The above contextually unique name
1330               (that is, within the context of a parent) should also be listed as an alias.</xsd:documentation>
1331            </xsd:annotation>
1332         </xsd:element>
1333         <xsd:element name="qualifier" type="xsd:string" minOccurs="0" maxOccurs="1">
1334            <xsd:annotation>
1335               <xsd:documentation>Qualifies the type of flow that is being reported.</xsd:documentation>
1336               <xsd:appinfo>constraints:@type="witsml:FlowQualifier",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1337            </xsd:annotation>
1338         </xsd:element>
1339         <xsd:element name="subQualifier" type="xsd:string" minOccurs="0" maxOccurs="1">
1340            <xsd:annotation>
1341               <xsd:documentation>Defines a specialization of the qualifier value. This should only be given if a qualifier is given.</xsd:documentation>
1342               <xsd:appinfo>constraints:@type="witsml:FlowSubQualifier",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1343            </xsd:annotation>
1344         </xsd:element>
1345         <xsd:element name="relatedFacility" type="witsml:cs_productVolumeRelatedFacility" minOccurs="0" maxOccurs="1">
1346            <xsd:annotation>
1347               <xsd:documentation>A second facility related to this flow. For a production flow, this would represent a role of 'produced for'. For an import flow, this would
1348               represent a role of 'inport from'. For an export flow, this would represent a role of 'export to'.</xsd:documentation>
1349            </xsd:annotation>
1350         </xsd:element>
1351         <xsd:element name="version" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
1352            <xsd:annotation>
1353               <xsd:documentation>A timestamp representing the version of this data. A flow (same port and products) with a more recent timestamp will represent the "current"
1354               version.</xsd:documentation>
1355               <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
1356            </xsd:annotation>
1357         </xsd:element>
1358         <xsd:element name="versionSource" type="xsd:string" minOccurs="0" maxOccurs="1">
1359            <xsd:annotation>
1360               <xsd:documentation>Identifies the source of the version. This will commonly be the name of the software which created the version.</xsd:documentation>
1361               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1362            </xsd:annotation>
1363         </xsd:element>
1364         <xsd:element name="sourceFlow" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
1365            <xsd:annotation>
1366               <xsd:documentation>This is a pointer to the flow from which this flow was derived.</xsd:documentation>
1367            </xsd:annotation>
1368         </xsd:element>
1369         <xsd:element name="gor" type="witsml:measure" minOccurs="0" maxOccurs="1">
1370            <xsd:annotation>
1371               <xsd:documentation>Gas oil ratio. The ratio between the total produced gas volume and the total produced oil volume including oil and gas volumes used on the
1372               installation.</xsd:documentation>
1373               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1374            </xsd:annotation>
1375         </xsd:element>
1376         <xsd:element name="gorMTD" type="witsml:measure" minOccurs="0" maxOccurs="1">
1377            <xsd:annotation>
1378               <xsd:documentation>Gas oil ratio month to date. The gas oil ratio from the beginning of the month to the end of the reporting priod.</xsd:documentation>
1379               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1380            </xsd:annotation>
1381         </xsd:element>
1382         <xsd:element name="waterConcMass" type="witsml:measure" minOccurs="0" maxOccurs="1">
1383            <xsd:annotation>
1384               <xsd:documentation>Water concentration mass basis. The ratio of water produced compared to the mass of total liquids produced.</xsd:documentation>
1385               <xsd:appinfo>constraints:@type="witsml:massConcentrationMeasure"</xsd:appinfo>
1386            </xsd:annotation>
1387         </xsd:element>
1388         <xsd:element name="waterConcVol" type="witsml:measure" minOccurs="0" maxOccurs="1">
1389            <xsd:annotation>
1390               <xsd:documentation>Water concentration volume basis. The ratio of water produced compared to the mass of total liquids produced.</xsd:documentation>
1391               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1392            </xsd:annotation>
1393         </xsd:element>
1394         <xsd:element name="atmosphere" type="witsml:measure" minOccurs="0" maxOccurs="1">
1395            <xsd:annotation>
1396               <xsd:documentation>The average atmospheric pressure during the reporting period.</xsd:documentation>
1397               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1398            </xsd:annotation>
1399         </xsd:element>
1400         <xsd:element name="volumeValue" type="witsml:cs_volumeValue" minOccurs="0" maxOccurs="1">
1401            <xsd:annotation>
1402               <xsd:documentation>The volume of the fluid, possibly corrected to specific conditions of temperature and pressure. A positive value for an inlet port indicates flow
1403               into the port. A negative value for an inlet port indicates flow out of the port. A positive value for an outlet port indicates flow out of the port. A negative
1404               value for an outlet port indicates flow into of the port. This convention is designed such that a positive sign indicates an expected condition based on the
1405               intended port direction while a negative sign indicates an anomolous condition.</xsd:documentation>
1406            </xsd:annotation>
1407         </xsd:element>
1408         <xsd:element name="volume" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
1409            <xsd:annotation>
1410               <xsd:documentation>DEPRECATED. Use volumeValue for new work. The uncorrected volume of the product. The sign of the value should conform to the above description of
1411               volumeValue. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be good with no restrictions. A value of "NaN" should
1412               be interpreted as null and should be not be given unless a status is also specified to explain why it is null.</xsd:documentation>
1413               <xsd:appinfo>constraints:@type="witsml:volumeQualifiedMeasure"</xsd:appinfo>
1414            </xsd:annotation>
1415         </xsd:element>
1416         <xsd:element name="volumeStd" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
1417            <xsd:annotation>
1418               <xsd:documentation>DEPRECATED. Use volumeValue for new work. The volume of the fluid, corrected to standard conditions of temperature and pressure. The sign of the
1419               value should conform to the above description of volumeValue. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be
1420               good with no restrictions. A value of "NaN" should be interpreted as null and should be not be given unless a status is also specified to explain why it is
1421               null.</xsd:documentation>
1422               <xsd:appinfo>constraints:@type="witsml:volumeQualifiedMeasure"</xsd:appinfo>
1423            </xsd:annotation>
1424         </xsd:element>
1425         <xsd:element name="flowRate" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
1426            <xsd:annotation>
1427               <xsd:documentation>The flow rate of the product. The sign of the value should conform to the above description of volume. If the 'status' attribute is absent and
1428               the value is not "NaN", the data value can be assumed to be good with no restrictions. A value of "NaN" should be interpreted as null and should be not be given
1429               unless a status is also specified to explain why it is null.</xsd:documentation>
1430               <xsd:appinfo>constraints:@type="witsml:volumeFlowRateQualifiedMeasure"</xsd:appinfo>
1431            </xsd:annotation>
1432         </xsd:element>
1433         <xsd:element name="temp" type="witsml:measure" minOccurs="0" maxOccurs="1">
1434            <xsd:annotation>
1435               <xsd:documentation>Temperature of the port. Specifying the temperature here (as opposed to in Period) implies that the temperature is constant for all periods of
1436               the flow.</xsd:documentation>
1437               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
1438            </xsd:annotation>
1439         </xsd:element>
1440         <xsd:element name="pres" type="witsml:measure" minOccurs="0" maxOccurs="1">
1441            <xsd:annotation>
1442               <xsd:documentation>Pressure of the port. Specifying the pressure here (as opposed to in Period) implies that the pressure is constant for all periods of the
1443               flow.</xsd:documentation>
1444               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1445            </xsd:annotation>
1446         </xsd:element>
1447         <xsd:element name="absoluteMinPres" type="witsml:measure" minOccurs="0" maxOccurs="1">
1448            <xsd:annotation>
1449               <xsd:documentation>Absolute minimum pressure before the system will give an alarm.</xsd:documentation>
1450               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1451            </xsd:annotation>
1452         </xsd:element>
1453         <xsd:element name="portDiff" type="witsml:cs_productVolumePortDifference" minOccurs="0" maxOccurs="unbounded">
1454            <xsd:annotation>
1455               <xsd:documentation>The internal differences between this port and one other port on this unit.</xsd:documentation>
1456            </xsd:annotation>
1457         </xsd:element>
1458         <xsd:element name="mass" type="witsml:measure" minOccurs="0" maxOccurs="1">
1459            <xsd:annotation>
1460               <xsd:documentation>The mass of the product.</xsd:documentation>
1461               <xsd:appinfo>constraints:@type="witsml:massMeasure"</xsd:appinfo>
1462            </xsd:annotation>
1463         </xsd:element>
1464         <xsd:element name="work" type="witsml:measure" minOccurs="0" maxOccurs="1">
1465            <xsd:annotation>
1466               <xsd:documentation>The electrical energy represented by the product.</xsd:documentation>
1467               <xsd:appinfo>constraints:@type="witsml:workMeasure"</xsd:appinfo>
1468            </xsd:annotation>
1469         </xsd:element>
1470         <xsd:element name="efficiency" type="witsml:measure" minOccurs="0" maxOccurs="1">
1471            <xsd:annotation>
1472               <xsd:documentation>The actual volume divided by the potential volume.</xsd:documentation>
1473               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1474            </xsd:annotation>
1475         </xsd:element>
1476         <xsd:element name="rvp" type="witsml:measure" minOccurs="0" maxOccurs="1">
1477            <xsd:annotation>
1478               <xsd:documentation>Reid vapor pressure of the product. The absolute vapor pressure of volatile crude oil and volatile petroleum liquids, except liquefied petroleum
1479               gases, as determined in accordance with American Society for Testing and Materials under the designation ASTM D323-56.</xsd:documentation>
1480               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1481            </xsd:annotation>
1482         </xsd:element>
1483         <xsd:element name="tvp" type="witsml:measure" minOccurs="0" maxOccurs="1">
1484            <xsd:annotation>
1485               <xsd:documentation>True vapor pressure of the product. The equilibrium partial pressure exerted by a petroleum liquid as determined in accordance with standard
1486               methods.</xsd:documentation>
1487               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1488            </xsd:annotation>
1489         </xsd:element>
1490         <xsd:element name="bsw" type="witsml:measure" minOccurs="0" maxOccurs="1">
1491            <xsd:annotation>
1492               <xsd:documentation>Basic sediment and water is measured from a liquid sample of the production stream. It includes free water, sediment and emulsion and is measured
1493               as a volume percentage of the production stream.</xsd:documentation>
1494               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1495            </xsd:annotation>
1496         </xsd:element>
1497         <xsd:element name="bswPrevious" type="witsml:measure" minOccurs="0" maxOccurs="1">
1498            <xsd:annotation>
1499               <xsd:documentation>The basic sediment and water as measured on the previous reporting period (e.g., day).</xsd:documentation>
1500               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1501            </xsd:annotation>
1502         </xsd:element>
1503         <xsd:element name="densityValue" type="witsml:cs_densityValue" minOccurs="0" maxOccurs="1">
1504            <xsd:annotation>
1505               <xsd:documentation>The density of the fluid, possibly corrected to specific conditions of temperature and pressure.</xsd:documentation>
1506            </xsd:annotation>
1507         </xsd:element>
1508         <xsd:element name="density" type="witsml:measure" minOccurs="0" maxOccurs="1">
1509            <xsd:annotation>
1510               <xsd:documentation>The density of the product.</xsd:documentation>
1511               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
1512            </xsd:annotation>
1513         </xsd:element>
1514         <xsd:element name="densityFlowRate" type="witsml:measure" minOccurs="0" maxOccurs="1">
1515            <xsd:annotation>
1516               <xsd:documentation>The mass basis flow rate of the product. This is used for things like a sand component.</xsd:documentation>
1517               <xsd:appinfo>constraints:@type="witsml:massFlowRateMeasure"</xsd:appinfo>
1518            </xsd:annotation>
1519         </xsd:element>
1520         <xsd:element name="densityStd" type="witsml:measure" minOccurs="0" maxOccurs="1">
1521            <xsd:annotation>
1522               <xsd:documentation>The density of the product after it has been corrected to standard temperature and pressure.</xsd:documentation>
1523               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
1524            </xsd:annotation>
1525         </xsd:element>
1526         <xsd:element name="concentration" type="witsml:measure" minOccurs="0" maxOccurs="1">
1527            <xsd:annotation>
1528               <xsd:documentation>The concentration of the product as a volume percentage of the product stream.</xsd:documentation>
1529               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1530            </xsd:annotation>
1531         </xsd:element>
1532         <xsd:element name="molecularWeight" type="xsd:double" minOccurs="0" maxOccurs="1">
1533            <xsd:annotation>
1534               <xsd:documentation>The molecular weight of the product.</xsd:documentation>
1535               <xsd:appinfo>constraints:@type="witsml:unitlessQuantity",xsd:pattern=".+"</xsd:appinfo>
1536            </xsd:annotation>
1537         </xsd:element>
1538         <xsd:element name="weightPercent" type="witsml:measure" minOccurs="0" maxOccurs="1">
1539            <xsd:annotation>
1540               <xsd:documentation>The weight fraction of the product.</xsd:documentation>
1541               <xsd:appinfo>constraints:@type="witsml:massConcentrationMeasurePercent"</xsd:appinfo>
1542            </xsd:annotation>
1543         </xsd:element>
1544         <xsd:element name="molePercent" type="witsml:measure" minOccurs="0" maxOccurs="1">
1545            <xsd:annotation>
1546               <xsd:documentation>The mole fraction of the product.</xsd:documentation>
1547               <xsd:appinfo>constraints:@type="witsml:molarFractionMeasurePercent"</xsd:appinfo>
1548            </xsd:annotation>
1549         </xsd:element>
1550         <xsd:element name="moleAmt" type="witsml:measure" minOccurs="0" maxOccurs="1">
1551            <xsd:annotation>
1552               <xsd:documentation>The molar amount.</xsd:documentation>
1553               <xsd:appinfo>constraints:@type="witsml:amountOfSubstanceMeasure"</xsd:appinfo>
1554            </xsd:annotation>
1555         </xsd:element>
1556         <xsd:element name="sg" type="witsml:measure" minOccurs="0" maxOccurs="1">
1557            <xsd:annotation>
1558               <xsd:documentation>The specific gravity of the product.</xsd:documentation>
1559               <xsd:appinfo>constraints:@type="witsml:dimensionlessMeasure"</xsd:appinfo>
1560            </xsd:annotation>
1561         </xsd:element>
1562         <xsd:element name="hcDewpoint" type="witsml:measure" minOccurs="0" maxOccurs="1">
1563            <xsd:annotation>
1564               <xsd:documentation>The temperature at which the heavier hydrocarbons come out of solution.</xsd:documentation>
1565               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
1566            </xsd:annotation>
1567         </xsd:element>
1568         <xsd:element name="waterDewpoint" type="witsml:measure" minOccurs="0" maxOccurs="1">
1569            <xsd:annotation>
1570               <xsd:documentation>The temperature at which the first water comes out of solution.</xsd:documentation>
1571               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
1572            </xsd:annotation>
1573         </xsd:element>
1574         <xsd:element name="wobbeIndex" type="witsml:measure" minOccurs="0" maxOccurs="1">
1575            <xsd:annotation>
1576               <xsd:documentation>Wobbe Index. A number which indicates interchangeability of fuel gasses and is obtained by dividing the heating value of a gas by the square root
1577               of its specific gravity.</xsd:documentation>
1578               <xsd:appinfo>constraints:@type="witsml:modulusOfCompressionMeasure"</xsd:appinfo>
1579            </xsd:annotation>
1580         </xsd:element>
1581         <xsd:element name="grossCalorificValueStd" type="witsml:measure" minOccurs="0" maxOccurs="1">
1582            <xsd:annotation>
1583               <xsd:documentation>The amount of heat which would be released by the complete combustion in air of a specific quantity of product at standard temperature and
1584               pressure.</xsd:documentation>
1585               <xsd:appinfo>constraints:@type="witsml:modulusOfCompressionMeasure"</xsd:appinfo>
1586            </xsd:annotation>
1587         </xsd:element>
1588         <xsd:element name="rvpStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
1589            <xsd:annotation>
1590               <xsd:documentation>Reid vapor pressure of stabilized crude.</xsd:documentation>
1591               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1592            </xsd:annotation>
1593         </xsd:element>
1594         <xsd:element name="bswStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
1595            <xsd:annotation>
1596               <xsd:documentation>Basic sediment and water content in stabilized crude.</xsd:documentation>
1597               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1598            </xsd:annotation>
1599         </xsd:element>
1600         <xsd:element name="densityStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
1601            <xsd:annotation>
1602               <xsd:documentation>The density of stabilized crude.</xsd:documentation>
1603               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
1604            </xsd:annotation>
1605         </xsd:element>
1606         <xsd:element name="product" type="witsml:cs_productVolumeProduct" minOccurs="0" maxOccurs="unbounded">
1607            <xsd:annotation>
1608               <xsd:documentation>Reports a product flow stream.</xsd:documentation>
1609            </xsd:annotation>
1610         </xsd:element>
1611         <xsd:element name="comment" type="witsml:cs_datedComment" minOccurs="0" maxOccurs="unbounded">
1612            <xsd:annotation>
1613               <xsd:documentation>A timestamped remark about the flow.</xsd:documentation>
1614            </xsd:annotation>
1615         </xsd:element>
1616      </xsd:sequence>
1617      <xsd:attribute name="uid" type="xsd:string" use="optional">
1618         <xsd:annotation>
1619            <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
1620            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
1621            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
1622            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1623         </xsd:annotation>
1624      </xsd:attribute>
1625   </xsd:complexType>
1626   <xsd:complexType name="cs_productVolumeParameterSet">
1627      <xsd:annotation>
1628         <xsd:documentation>WITSML - Product Volume Facility Parameter Set Component Schema.</xsd:documentation>
1629      </xsd:annotation>
1630      <xsd:sequence>
1631         <xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="1">
1632            <xsd:annotation>
1633               <xsd:documentation>The name of the facility parameter. This should reflect the business semantics of all values in the set and not the underlying kind. For example,
1634               specify "diameter" rather than "length" or "distance".</xsd:documentation>
1635               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:FacilityParameter",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1636            </xsd:annotation>
1637         </xsd:element>
1638         <xsd:element name="port" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
1639            <xsd:annotation>
1640               <xsd:documentation>The port to which this parameter is assigned. This must be a port on the unit representing the parent facility of this parameter. If not
1641               specified then the parameter represents the unit.</xsd:documentation>
1642            </xsd:annotation>
1643         </xsd:element>
1644         <xsd:element name="measureClass" type="xsd:string" minOccurs="0" maxOccurs="1">
1645            <xsd:annotation>
1646               <xsd:documentation>If the value is a measure (value with unit of measure), this defines the measurement class of the value. The units of measure for the value must
1647               conform to the list allowed by the measurement class in the unit dictionary file. Mutually exclusive with curveDefinition.</xsd:documentation>
1648               <xsd:appinfo>constraints:@type="witsml:MeasureClass",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1649            </xsd:annotation>
1650         </xsd:element>
1651         <xsd:element name="curveDefinition" type="witsml:cs_curveDefinition" minOccurs="0" maxOccurs="unbounded">
1652            <xsd:annotation>
1653               <xsd:documentation>If the value is a curve, this defines the meaning of the one column in the table representing the curve. Mutually exclusive with
1654               measureClass.</xsd:documentation>
1655            </xsd:annotation>
1656         </xsd:element>
1657         <xsd:element name="qualifier" type="xsd:string" minOccurs="0" maxOccurs="1">
1658            <xsd:annotation>
1659               <xsd:documentation>Qualifies the type of parameter that is being reported.</xsd:documentation>
1660               <xsd:appinfo>constraints:@type="witsml:FlowQualifier",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1661            </xsd:annotation>
1662         </xsd:element>
1663         <xsd:element name="subQualifier" type="xsd:string" minOccurs="0" maxOccurs="1">
1664            <xsd:annotation>
1665               <xsd:documentation>Defines a specialization of the qualifier value. This should only be given if a qualifier is given.</xsd:documentation>
1666               <xsd:appinfo>constraints:@type="witsml:FlowSubQualifier",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1667            </xsd:annotation>
1668         </xsd:element>
1669         <xsd:element name="version" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
1670            <xsd:annotation>
1671               <xsd:documentation>A timestamp representing the version of this data. A parameter set with a more recent timestamp will represent the "current"
1672               version.</xsd:documentation>
1673               <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
1674            </xsd:annotation>
1675         </xsd:element>
1676         <xsd:element name="versionSource" type="xsd:string" minOccurs="0" maxOccurs="1">
1677            <xsd:annotation>
1678               <xsd:documentation>Identifies the source of the version. This will commonly be the name of the software which created the version.</xsd:documentation>
1679               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1680            </xsd:annotation>
1681         </xsd:element>
1682         <xsd:element name="product" type="xsd:string" minOccurs="0" maxOccurs="1">
1683            <xsd:annotation>
1684               <xsd:documentation>The type of product that is being reported. This would be useful for something like specifying a tank procuct volume or
1685               level.</xsd:documentation>
1686               <xsd:appinfo>constraints:@type="witsml:ReportingProduct",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1687            </xsd:annotation>
1688         </xsd:element>
1689         <xsd:element name="parameter" type="witsml:cs_productVolumeParameterValue" minOccurs="0" maxOccurs="unbounded">
1690            <xsd:annotation>
1691               <xsd:documentation>A parameter value, possibly at a time. If a time is not given then only one parameter should be given. If a time is specified with one value then
1692               time should be specified for all values. Each value in a time series should be of the same underling kind of value (for example, a length
1693               measure).</xsd:documentation>
1694               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
1695            </xsd:annotation>
1696         </xsd:element>
1697         <xsd:element name="comment" type="xsd:string" minOccurs="0" maxOccurs="1">
1698            <xsd:annotation>
1699               <xsd:documentation>A comment about the parameter.</xsd:documentation>
1700               <xsd:appinfo>constraints:@type="witsml:commentString",xsd:maxLength="4000",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1701            </xsd:annotation>
1702         </xsd:element>
1703      </xsd:sequence>
1704      <xsd:attribute name="uid" type="xsd:string" use="optional">
1705         <xsd:annotation>
1706            <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
1707            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
1708            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
1709            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1710         </xsd:annotation>
1711      </xsd:attribute>
1712   </xsd:complexType>
1713   <xsd:complexType name="cs_productVolumeParameterValue">
1714      <xsd:annotation>
1715         <xsd:documentation>WITSML - Parameter Value Component Schema.</xsd:documentation>
1716      </xsd:annotation>
1717      <xsd:sequence>
1718         <xsd:element name="dTim" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
1719            <xsd:annotation>
1720               <xsd:documentation>The date and time at which the parameter applies. If no time is specified then the value is static.</xsd:documentation>
1721               <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
1722            </xsd:annotation>
1723         </xsd:element>
1724         <xsd:element name="measureValue" type="witsml:generalQualifiedMeasure" minOccurs="0" maxOccurs="unbounded">
1725            <xsd:annotation>
1726               <xsd:documentation>A measure value. Unless the parameter is defined as a tuple, only one value should be specified. The measure class is defined by measureClass in
1727               the parent set. The unit of measure must conform to the units allowed by the measure class in the unit dictionary file. If the 'status' attribute is absent and the
1728               value is not "NaN", the data value can be assumed to be good with no restrictions. A value of "NaN" should be interpreted as null and should be not be given unless
1729               a status is also specified to explain why it is null.</xsd:documentation>
1730               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
1731            </xsd:annotation>
1732         </xsd:element>
1733         <xsd:element name="curveValue" type="witsml:cs_curveData" minOccurs="0" maxOccurs="unbounded">
1734            <xsd:annotation>
1735               <xsd:documentation>The values in one row of a curve. The aggregate of the curve rows represent the curve.</xsd:documentation>
1736               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
1737            </xsd:annotation>
1738         </xsd:element>
1739         <xsd:element name="stringValue" type="witsml:kindQualifiedString" minOccurs="0" maxOccurs="1">
1740            <xsd:annotation>
1741               <xsd:documentation>A string value. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be good with no restrictions. A
1742               value of "NaN" should be interpreted as null and should be not be given unless a status is also specified to explain why it is null.</xsd:documentation>
1743               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
1744            </xsd:annotation>
1745         </xsd:element>
1746         <xsd:element name="integerValue" type="witsml:integerQualifiedCount" minOccurs="0" maxOccurs="1">
1747            <xsd:annotation>
1748               <xsd:documentation>An integer value. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be good with no restrictions.
1749               A value of "NaN" should be interpreted as null and should be not be given unless a status is also specified to explain why it is null.</xsd:documentation>
1750               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
1751            </xsd:annotation>
1752         </xsd:element>
1753         <xsd:element name="port" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
1754            <xsd:annotation>
1755               <xsd:documentation>A port related to the parameter. If a port is given then the corresponding unit usually must be given. For example, an "offset along network"
1756               parameter must specify a port from which the offset was measured.</xsd:documentation>
1757            </xsd:annotation>
1758         </xsd:element>
1759         <xsd:element name="unit" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
1760            <xsd:annotation>
1761               <xsd:documentation>A unit related to the parameter. For example, an "offset along network" parameter must specify a port (on a unit) from which the offset was
1762               measured.</xsd:documentation>
1763            </xsd:annotation>
1764         </xsd:element>
1765         <xsd:element name="alert" type="witsml:cs_productVolumeAlert" minOccurs="0" maxOccurs="1">
1766            <xsd:annotation>
1767               <xsd:documentation>An indication of some sort of abnormal condition relative this parameter.</xsd:documentation>
1768            </xsd:annotation>
1769         </xsd:element>
1770      </xsd:sequence>
1771      <xsd:attribute name="uid" type="xsd:string" use="optional">
1772         <xsd:annotation>
1773            <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
1774            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
1775            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
1776            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1777         </xsd:annotation>
1778      </xsd:attribute>
1779   </xsd:complexType>
1780   <xsd:complexType name="cs_productVolumePeriod">
1781      <xsd:annotation>
1782         <xsd:documentation>WITSML - Product Volume Period Component Schema.</xsd:documentation>
1783      </xsd:annotation>
1784      <xsd:sequence>
1785         <xsd:element name="kind" type="xsd:string" minOccurs="0" maxOccurs="1">
1786            <xsd:annotation>
1787               <xsd:documentation>The type of period that is being reported. If not specified and a time is not given then the period is defined by the reporting
1788               period.</xsd:documentation>
1789               <xsd:appinfo>constraints:@type="witsml:ReportingPeriod",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
1790            </xsd:annotation>
1791         </xsd:element>
1792         <xsd:element name="dTim" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
1793            <xsd:annotation>
1794               <xsd:documentation>The beginning date and time that the period represents.</xsd:documentation>
1795               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
1796            </xsd:annotation>
1797         </xsd:element>
1798         <xsd:element name="date" type="xsd:date" minOccurs="0" maxOccurs="1">
1799            <xsd:annotation>
1800               <xsd:documentation>The day that the period represents.</xsd:documentation>
1801               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:date",xsd:pattern=".+"</xsd:appinfo>
1802            </xsd:annotation>
1803         </xsd:element>
1804         <xsd:element name="dTimStart" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
1805            <xsd:annotation>
1806               <xsd:documentation>The beginning date and time that the period represents.</xsd:documentation>
1807               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
1808            </xsd:annotation>
1809         </xsd:element>
1810         <xsd:element name="dTimEnd" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
1811            <xsd:annotation>
1812               <xsd:documentation>The ending date and time that the period represents.</xsd:documentation>
1813               <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
1814            </xsd:annotation>
1815         </xsd:element>
1816         <xsd:element name="dateStart" type="xsd:date" minOccurs="0" maxOccurs="1">
1817            <xsd:annotation>
1818               <xsd:documentation>The beginning date that the period represents.</xsd:documentation>
1819               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:date",xsd:pattern=".+"</xsd:appinfo>
1820            </xsd:annotation>
1821         </xsd:element>
1822         <xsd:element name="dateEnd" type="xsd:date" minOccurs="0" maxOccurs="1">
1823            <xsd:annotation>
1824               <xsd:documentation>The ending date that the period represents.</xsd:documentation>
1825               <xsd:appinfo>constraints:@type="witsml:date",xsd:pattern=".+"</xsd:appinfo>
1826            </xsd:annotation>
1827         </xsd:element>
1828         <xsd:element name="gor" type="witsml:measure" minOccurs="0" maxOccurs="1">
1829            <xsd:annotation>
1830               <xsd:documentation>Gas oil ratio. The ratio between the total produced gas volume and the total produced oil volume including oil and gas volumes used on the
1831               installation.</xsd:documentation>
1832               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1833            </xsd:annotation>
1834         </xsd:element>
1835         <xsd:element name="gorMTD" type="witsml:measure" minOccurs="0" maxOccurs="1">
1836            <xsd:annotation>
1837               <xsd:documentation>Gas oil ratio month to date. The gas oil ratio from the beginning of the month to the end of the reporting priod.</xsd:documentation>
1838               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1839            </xsd:annotation>
1840         </xsd:element>
1841         <xsd:element name="waterConcMass" type="witsml:measure" minOccurs="0" maxOccurs="1">
1842            <xsd:annotation>
1843               <xsd:documentation>Water concentration mass basis. The ratio of water produced compared to the mass of total liquids produced.</xsd:documentation>
1844               <xsd:appinfo>constraints:@type="witsml:massConcentrationMeasure"</xsd:appinfo>
1845            </xsd:annotation>
1846         </xsd:element>
1847         <xsd:element name="waterConcVol" type="witsml:measure" minOccurs="0" maxOccurs="1">
1848            <xsd:annotation>
1849               <xsd:documentation>Water concentration volume basis. The ratio of water produced compared to the mass of total liquids produced.</xsd:documentation>
1850               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1851            </xsd:annotation>
1852         </xsd:element>
1853         <xsd:element name="atmosphere" type="witsml:measure" minOccurs="0" maxOccurs="1">
1854            <xsd:annotation>
1855               <xsd:documentation>The average atmospheric pressure during the reporting period.</xsd:documentation>
1856               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1857            </xsd:annotation>
1858         </xsd:element>
1859         <xsd:element name="volumeValue" type="witsml:cs_volumeValue" minOccurs="0" maxOccurs="1">
1860            <xsd:annotation>
1861               <xsd:documentation>The volume of the fluid, possibly corrected to specific conditions of temperature and pressure. A positive value for an inlet port indicates flow
1862               into the port. A negative value for an inlet port indicates flow out of the port. A positive value for an outlet port indicates flow out of the port. A negative
1863               value for an outlet port indicates flow into of the port. This convention is designed such that a positive sign indicates an expected condition based on the
1864               intended port direction while a negative sign indicates an anomolous condition.</xsd:documentation>
1865            </xsd:annotation>
1866         </xsd:element>
1867         <xsd:element name="volume" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
1868            <xsd:annotation>
1869               <xsd:documentation>DEPRECATED. Use volumeValue for new work. The uncorrected volume of the product. The sign of the value should conform to the above description of
1870               volumeValue. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be good with no restrictions. A value of "NaN" should
1871               be interpreted as null and should be not be given unless a status is also specified to explain why it is null.</xsd:documentation>
1872               <xsd:appinfo>constraints:@type="witsml:volumeQualifiedMeasure"</xsd:appinfo>
1873            </xsd:annotation>
1874         </xsd:element>
1875         <xsd:element name="volumeStd" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
1876            <xsd:annotation>
1877               <xsd:documentation>DEPRECATED. Use volumeValue for new work. The volume of the fluid, corrected to standard conditions of temperature and pressure. The sign of the
1878               value should conform to the above description of volumeValue. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be
1879               good with no restrictions. A value of "NaN" should be interpreted as null and should be not be given unless a status is also specified to explain why it is
1880               null.</xsd:documentation>
1881               <xsd:appinfo>constraints:@type="witsml:volumeQualifiedMeasure"</xsd:appinfo>
1882            </xsd:annotation>
1883         </xsd:element>
1884         <xsd:element name="flowRate" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
1885            <xsd:annotation>
1886               <xsd:documentation>The flow rate of the product. The sign of the value should conform to the above description of volume. If the 'status' attribute is absent and
1887               the value is not "NaN", the data value can be assumed to be good with no restrictions. A value of "NaN" should be interpreted as null and should be not be given
1888               unless a status is also specified to explain why it is null.</xsd:documentation>
1889               <xsd:appinfo>constraints:@type="witsml:volumeFlowRateQualifiedMeasure"</xsd:appinfo>
1890            </xsd:annotation>
1891         </xsd:element>
1892         <xsd:element name="temp" type="witsml:measure" minOccurs="0" maxOccurs="1">
1893            <xsd:annotation>
1894               <xsd:documentation>Temperature of the port. Specifying the temperature here (as opposed to in Period) implies that the temperature is constant for all periods of
1895               the flow.</xsd:documentation>
1896               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
1897            </xsd:annotation>
1898         </xsd:element>
1899         <xsd:element name="pres" type="witsml:measure" minOccurs="0" maxOccurs="1">
1900            <xsd:annotation>
1901               <xsd:documentation>Pressure of the port. Specifying the pressure here (as opposed to in Period) implies that the pressure is constant for all periods of the
1902               flow.</xsd:documentation>
1903               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1904            </xsd:annotation>
1905         </xsd:element>
1906         <xsd:element name="absoluteMinPres" type="witsml:measure" minOccurs="0" maxOccurs="1">
1907            <xsd:annotation>
1908               <xsd:documentation>Absolute minimum pressure before the system will give an alarm.</xsd:documentation>
1909               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1910            </xsd:annotation>
1911         </xsd:element>
1912         <xsd:element name="portDiff" type="witsml:cs_productVolumePortDifference" minOccurs="0" maxOccurs="unbounded">
1913            <xsd:annotation>
1914               <xsd:documentation>The internal differences between this port and one other port on this unit.</xsd:documentation>
1915            </xsd:annotation>
1916         </xsd:element>
1917         <xsd:element name="mass" type="witsml:measure" minOccurs="0" maxOccurs="1">
1918            <xsd:annotation>
1919               <xsd:documentation>The mass of the product.</xsd:documentation>
1920               <xsd:appinfo>constraints:@type="witsml:massMeasure"</xsd:appinfo>
1921            </xsd:annotation>
1922         </xsd:element>
1923         <xsd:element name="work" type="witsml:measure" minOccurs="0" maxOccurs="1">
1924            <xsd:annotation>
1925               <xsd:documentation>The electrical energy represented by the product.</xsd:documentation>
1926               <xsd:appinfo>constraints:@type="witsml:workMeasure"</xsd:appinfo>
1927            </xsd:annotation>
1928         </xsd:element>
1929         <xsd:element name="efficiency" type="witsml:measure" minOccurs="0" maxOccurs="1">
1930            <xsd:annotation>
1931               <xsd:documentation>The actual volume divided by the potential volume.</xsd:documentation>
1932               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1933            </xsd:annotation>
1934         </xsd:element>
1935         <xsd:element name="rvp" type="witsml:measure" minOccurs="0" maxOccurs="1">
1936            <xsd:annotation>
1937               <xsd:documentation>Reid vapor pressure of the product. The absolute vapor pressure of volatile crude oil and volatile petroleum liquids, except liquefied petroleum
1938               gases, as determined in accordance with American Society for Testing and Materials under the designation ASTM D323-56.</xsd:documentation>
1939               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1940            </xsd:annotation>
1941         </xsd:element>
1942         <xsd:element name="tvp" type="witsml:measure" minOccurs="0" maxOccurs="1">
1943            <xsd:annotation>
1944               <xsd:documentation>True vapor pressure of the product. The equilibrium partial pressure exerted by a petroleum liquid as determined in accordance with standard
1945               methods.</xsd:documentation>
1946               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
1947            </xsd:annotation>
1948         </xsd:element>
1949         <xsd:element name="bsw" type="witsml:measure" minOccurs="0" maxOccurs="1">
1950            <xsd:annotation>
1951               <xsd:documentation>Basic sediment and water is measured from a liquid sample of the production stream. It includes free water, sediment and emulsion and is measured
1952               as a volume percentage of the production stream.</xsd:documentation>
1953               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1954            </xsd:annotation>
1955         </xsd:element>
1956         <xsd:element name="bswPrevious" type="witsml:measure" minOccurs="0" maxOccurs="1">
1957            <xsd:annotation>
1958               <xsd:documentation>The basic sediment and water as measured on the previous reporting period (e.g., day).</xsd:documentation>
1959               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1960            </xsd:annotation>
1961         </xsd:element>
1962         <xsd:element name="densityValue" type="witsml:cs_densityValue" minOccurs="0" maxOccurs="1">
1963            <xsd:annotation>
1964               <xsd:documentation>The density of the fluid, possibly corrected to specific conditions of temperature and pressure.</xsd:documentation>
1965            </xsd:annotation>
1966         </xsd:element>
1967         <xsd:element name="density" type="witsml:measure" minOccurs="0" maxOccurs="1">
1968            <xsd:annotation>
1969               <xsd:documentation>The density of the product.</xsd:documentation>
1970               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
1971            </xsd:annotation>
1972         </xsd:element>
1973         <xsd:element name="densityFlowRate" type="witsml:measure" minOccurs="0" maxOccurs="1">
1974            <xsd:annotation>
1975               <xsd:documentation>The mass basis flow rate of the product. This is used for things like a sand component.</xsd:documentation>
1976               <xsd:appinfo>constraints:@type="witsml:massFlowRateMeasure"</xsd:appinfo>
1977            </xsd:annotation>
1978         </xsd:element>
1979         <xsd:element name="densityStd" type="witsml:measure" minOccurs="0" maxOccurs="1">
1980            <xsd:annotation>
1981               <xsd:documentation>The density of the product after it has been corrected to standard temperature and pressure.</xsd:documentation>
1982               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
1983            </xsd:annotation>
1984         </xsd:element>
1985         <xsd:element name="concentration" type="witsml:measure" minOccurs="0" maxOccurs="1">
1986            <xsd:annotation>
1987               <xsd:documentation>The concentration of the product as a volume percentage of the product stream.</xsd:documentation>
1988               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
1989            </xsd:annotation>
1990         </xsd:element>
1991         <xsd:element name="molecularWeight" type="xsd:double" minOccurs="0" maxOccurs="1">
1992            <xsd:annotation>
1993               <xsd:documentation>The molecular weight of the product.</xsd:documentation>
1994               <xsd:appinfo>constraints:@type="witsml:unitlessQuantity",xsd:pattern=".+"</xsd:appinfo>
1995            </xsd:annotation>
1996         </xsd:element>
1997         <xsd:element name="weightPercent" type="witsml:measure" minOccurs="0" maxOccurs="1">
1998            <xsd:annotation>
1999               <xsd:documentation>The weight fraction of the product.</xsd:documentation>
2000               <xsd:appinfo>constraints:@type="witsml:massConcentrationMeasurePercent"</xsd:appinfo>
2001            </xsd:annotation>
2002         </xsd:element>
2003         <xsd:element name="molePercent" type="witsml:measure" minOccurs="0" maxOccurs="1">
2004            <xsd:annotation>
2005               <xsd:documentation>The mole fraction of the product.</xsd:documentation>
2006               <xsd:appinfo>constraints:@type="witsml:molarFractionMeasurePercent"</xsd:appinfo>
2007            </xsd:annotation>
2008         </xsd:element>
2009         <xsd:element name="moleAmt" type="witsml:measure" minOccurs="0" maxOccurs="1">
2010            <xsd:annotation>
2011               <xsd:documentation>The molar amount.</xsd:documentation>
2012               <xsd:appinfo>constraints:@type="witsml:amountOfSubstanceMeasure"</xsd:appinfo>
2013            </xsd:annotation>
2014         </xsd:element>
2015         <xsd:element name="sg" type="witsml:measure" minOccurs="0" maxOccurs="1">
2016            <xsd:annotation>
2017               <xsd:documentation>The specific gravity of the product.</xsd:documentation>
2018               <xsd:appinfo>constraints:@type="witsml:dimensionlessMeasure"</xsd:appinfo>
2019            </xsd:annotation>
2020         </xsd:element>
2021         <xsd:element name="hcDewpoint" type="witsml:measure" minOccurs="0" maxOccurs="1">
2022            <xsd:annotation>
2023               <xsd:documentation>The temperature at which the heavier hydrocarbons come out of solution.</xsd:documentation>
2024               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
2025            </xsd:annotation>
2026         </xsd:element>
2027         <xsd:element name="waterDewpoint" type="witsml:measure" minOccurs="0" maxOccurs="1">
2028            <xsd:annotation>
2029               <xsd:documentation>The temperature at which the first water comes out of solution.</xsd:documentation>
2030               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
2031            </xsd:annotation>
2032         </xsd:element>
2033         <xsd:element name="wobbeIndex" type="witsml:measure" minOccurs="0" maxOccurs="1">
2034            <xsd:annotation>
2035               <xsd:documentation>Wobbe Index. A number which indicates interchangeability of fuel gasses and is obtained by dividing the heating value of a gas by the square root
2036               of its specific gravity.</xsd:documentation>
2037               <xsd:appinfo>constraints:@type="witsml:modulusOfCompressionMeasure"</xsd:appinfo>
2038            </xsd:annotation>
2039         </xsd:element>
2040         <xsd:element name="grossCalorificValueStd" type="witsml:measure" minOccurs="0" maxOccurs="1">
2041            <xsd:annotation>
2042               <xsd:documentation>The amount of heat which would be released by the complete combustion in air of a specific quantity of product at standard temperature and
2043               pressure.</xsd:documentation>
2044               <xsd:appinfo>constraints:@type="witsml:modulusOfCompressionMeasure"</xsd:appinfo>
2045            </xsd:annotation>
2046         </xsd:element>
2047         <xsd:element name="rvpStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
2048            <xsd:annotation>
2049               <xsd:documentation>Reid vapor pressure of stabilized crude.</xsd:documentation>
2050               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
2051            </xsd:annotation>
2052         </xsd:element>
2053         <xsd:element name="bswStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
2054            <xsd:annotation>
2055               <xsd:documentation>Basic sediment and water content in stabilized crude.</xsd:documentation>
2056               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
2057            </xsd:annotation>
2058         </xsd:element>
2059         <xsd:element name="densityStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
2060            <xsd:annotation>
2061               <xsd:documentation>The density of stabilized crude.</xsd:documentation>
2062               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
2063            </xsd:annotation>
2064         </xsd:element>
2065         <xsd:element name="componentContent" type="witsml:cs_productVolumeComponentContent" minOccurs="0" maxOccurs="unbounded">
2066            <xsd:annotation>
2067               <xsd:documentation>The relative amount of a component product in the product stream.</xsd:documentation>
2068            </xsd:annotation>
2069         </xsd:element>
2070         <xsd:element name="salesSet" type="witsml:cs_productVolumeSalesSet" minOccurs="0" maxOccurs="unbounded">
2071            <xsd:annotation>
2072               <xsd:documentation>Provides the sales context for this period.</xsd:documentation>
2073            </xsd:annotation>
2074         </xsd:element>
2075         <xsd:element name="alert" type="witsml:cs_productVolumeAlert" minOccurs="0" maxOccurs="1">
2076            <xsd:annotation>
2077               <xsd:documentation>An indication of some sort of abnormal condition relative the values in this period.</xsd:documentation>
2078            </xsd:annotation>
2079         </xsd:element>
2080         <xsd:element name="comment" type="witsml:cs_datedComment" minOccurs="0" maxOccurs="unbounded">
2081            <xsd:annotation>
2082               <xsd:documentation>A timestamped remark about the amounts.</xsd:documentation>
2083            </xsd:annotation>
2084         </xsd:element>
2085      </xsd:sequence>
2086      <xsd:attribute name="uid" type="xsd:string" use="optional">
2087         <xsd:annotation>
2088            <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
2089            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
2090            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
2091            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2092         </xsd:annotation>
2093      </xsd:attribute>
2094   </xsd:complexType>
2095   <xsd:complexType name="cs_productVolumePortDifference">
2096      <xsd:annotation>
2097         <xsd:documentation>Product Volume Port Differential characteristics.</xsd:documentation>
2098      </xsd:annotation>
2099      <xsd:sequence>
2100         <xsd:element name="port" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
2101            <xsd:annotation>
2102               <xsd:documentation>A port on the other end of an internal connection. This should always be specified if a Product Flow Network is being referenced by this report.
2103               If this is not specified then there is an assumption that there is only one other port for the unit. For example, if this end of the connection represents an inlet
2104               port then the implied other end is the outlet port for the unit.</xsd:documentation>
2105            </xsd:annotation>
2106         </xsd:element>
2107         <xsd:element name="presDiff" type="witsml:measure" minOccurs="0" maxOccurs="1">
2108            <xsd:annotation>
2109               <xsd:documentation>The differential pressure between the ports.</xsd:documentation>
2110               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
2111            </xsd:annotation>
2112         </xsd:element>
2113         <xsd:element name="tempDiff" type="witsml:measure" minOccurs="0" maxOccurs="1">
2114            <xsd:annotation>
2115               <xsd:documentation>The differential temperature between the ports.</xsd:documentation>
2116               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
2117            </xsd:annotation>
2118         </xsd:element>
2119         <xsd:element name="chokeSize" type="witsml:measure" minOccurs="0" maxOccurs="1">
2120            <xsd:annotation>
2121               <xsd:documentation>The size of the choke. This characterizes the overall unit with respect to the flow restriction between the ports. The restriction might be
2122               implemented using a valve or an actual choke.</xsd:documentation>
2123               <xsd:appinfo>constraints:@type="witsml:lengthMeasure"</xsd:appinfo>
2124            </xsd:annotation>
2125         </xsd:element>
2126         <xsd:element name="chokeRelative" type="witsml:measure" minOccurs="0" maxOccurs="1">
2127            <xsd:annotation>
2128               <xsd:documentation>The relative size of the choke restriction. This characterizes the overall unit with respect to the flow restriction between the ports. The
2129               restriction might be implemented using a valve or an actual choke.</xsd:documentation>
2130               <xsd:appinfo>constraints:@type="witsml:lengthPerLengthMeasure"</xsd:appinfo>
2131            </xsd:annotation>
2132         </xsd:element>
2133      </xsd:sequence>
2134      <xsd:attribute name="uid" type="xsd:string" use="optional">
2135         <xsd:annotation>
2136            <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
2137            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
2138            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
2139            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2140         </xsd:annotation>
2141      </xsd:attribute>
2142   </xsd:complexType>
2143   <xsd:complexType name="cs_productVolumeProduct">
2144      <xsd:annotation>
2145         <xsd:documentation>WITSML - Product Volume Product Component Schema.</xsd:documentation>
2146      </xsd:annotation>
2147      <xsd:sequence>
2148         <xsd:element name="kind" type="xsd:string" minOccurs="0" maxOccurs="1">
2149            <xsd:annotation>
2150               <xsd:documentation>The type of product that is being reported.</xsd:documentation>
2151               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:ReportingProduct",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2152            </xsd:annotation>
2153         </xsd:element>
2154         <xsd:element name="name" type="witsml:nameStruct" minOccurs="0" maxOccurs="1">
2155            <xsd:annotation>
2156               <xsd:documentation>The name of product that is being reported. This is reserved for generic kinds like chemical.</xsd:documentation>
2157            </xsd:annotation>
2158         </xsd:element>
2159         <xsd:element name="splitFactor" type="xsd:double" minOccurs="0" maxOccurs="1">
2160            <xsd:annotation>
2161               <xsd:documentation>This factor describes the fraction of fluid in the source flow that is allocated to this product stream. The volumes reported here are derived
2162               from the source flow based on this split factor. This should be an allocation flow.</xsd:documentation>
2163               <xsd:appinfo>constraints:@type="witsml:nonNegativeFraction",xsd:minInclusive="0",xsd:maxInclusive="1",xsd:pattern=".+"</xsd:appinfo>
2164            </xsd:annotation>
2165         </xsd:element>
2166         <xsd:element name="sourceFlow" type="witsml:cs_refProductFlow" minOccurs="0" maxOccurs="1">
2167            <xsd:annotation>
2168               <xsd:documentation>A reference to the source flow whose volumes are used to determine the volumes within this target product stream based on the split
2169               factor.</xsd:documentation>
2170            </xsd:annotation>
2171         </xsd:element>
2172         <xsd:element name="gor" type="witsml:measure" minOccurs="0" maxOccurs="1">
2173            <xsd:annotation>
2174               <xsd:documentation>Gas oil ratio. The ratio between the total produced gas volume and the total produced oil volume including oil and gas volumes used on the
2175               installation.</xsd:documentation>
2176               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
2177            </xsd:annotation>
2178         </xsd:element>
2179         <xsd:element name="gorMTD" type="witsml:measure" minOccurs="0" maxOccurs="1">
2180            <xsd:annotation>
2181               <xsd:documentation>Gas oil ratio month to date. The gas oil ratio from the beginning of the month to the end of the reporting priod.</xsd:documentation>
2182               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
2183            </xsd:annotation>
2184         </xsd:element>
2185         <xsd:element name="waterConcMass" type="witsml:measure" minOccurs="0" maxOccurs="1">
2186            <xsd:annotation>
2187               <xsd:documentation>Water concentration mass basis. The ratio of water produced compared to the mass of total liquids produced.</xsd:documentation>
2188               <xsd:appinfo>constraints:@type="witsml:massConcentrationMeasure"</xsd:appinfo>
2189            </xsd:annotation>
2190         </xsd:element>
2191         <xsd:element name="waterConcVol" type="witsml:measure" minOccurs="0" maxOccurs="1">
2192            <xsd:annotation>
2193               <xsd:documentation>Water concentration volume basis. The ratio of water produced compared to the mass of total liquids produced.</xsd:documentation>
2194               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
2195            </xsd:annotation>
2196         </xsd:element>
2197         <xsd:element name="atmosphere" type="witsml:measure" minOccurs="0" maxOccurs="1">
2198            <xsd:annotation>
2199               <xsd:documentation>The average atmospheric pressure during the reporting period.</xsd:documentation>
2200               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
2201            </xsd:annotation>
2202         </xsd:element>
2203         <xsd:element name="volumeValue" type="witsml:cs_volumeValue" minOccurs="0" maxOccurs="1">
2204            <xsd:annotation>
2205               <xsd:documentation>The volume of the fluid, possibly corrected to specific conditions of temperature and pressure. A positive value for an inlet port indicates flow
2206               into the port. A negative value for an inlet port indicates flow out of the port. A positive value for an outlet port indicates flow out of the port. A negative
2207               value for an outlet port indicates flow into of the port. This convention is designed such that a positive sign indicates an expected condition based on the
2208               intended port direction while a negative sign indicates an anomolous condition.</xsd:documentation>
2209            </xsd:annotation>
2210         </xsd:element>
2211         <xsd:element name="volume" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
2212            <xsd:annotation>
2213               <xsd:documentation>DEPRECATED. Use volumeValue for new work. The uncorrected volume of the product. The sign of the value should conform to the above description of
2214               volumeValue. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be good with no restrictions. A value of "NaN" should
2215               be interpreted as null and should be not be given unless a status is also specified to explain why it is null.</xsd:documentation>
2216               <xsd:appinfo>constraints:@type="witsml:volumeQualifiedMeasure"</xsd:appinfo>
2217            </xsd:annotation>
2218         </xsd:element>
2219         <xsd:element name="volumeStd" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
2220            <xsd:annotation>
2221               <xsd:documentation>DEPRECATED. Use volumeValue for new work. The volume of the fluid, corrected to standard conditions of temperature and pressure. The sign of the
2222               value should conform to the above description of volumeValue. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be
2223               good with no restrictions. A value of "NaN" should be interpreted as null and should be not be given unless a status is also specified to explain why it is
2224               null.</xsd:documentation>
2225               <xsd:appinfo>constraints:@type="witsml:volumeQualifiedMeasure"</xsd:appinfo>
2226            </xsd:annotation>
2227         </xsd:element>
2228         <xsd:element name="flowRate" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
2229            <xsd:annotation>
2230               <xsd:documentation>The flow rate of the product. The sign of the value should conform to the above description of volume. If the 'status' attribute is absent and
2231               the value is not "NaN", the data value can be assumed to be good with no restrictions. A value of "NaN" should be interpreted as null and should be not be given
2232               unless a status is also specified to explain why it is null.</xsd:documentation>
2233               <xsd:appinfo>constraints:@type="witsml:volumeFlowRateQualifiedMeasure"</xsd:appinfo>
2234            </xsd:annotation>
2235         </xsd:element>
2236         <xsd:element name="temp" type="witsml:measure" minOccurs="0" maxOccurs="1">
2237            <xsd:annotation>
2238               <xsd:documentation>Temperature of the port. Specifying the temperature here (as opposed to in Period) implies that the temperature is constant for all periods of
2239               the flow.</xsd:documentation>
2240               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
2241            </xsd:annotation>
2242         </xsd:element>
2243         <xsd:element name="pres" type="witsml:measure" minOccurs="0" maxOccurs="1">
2244            <xsd:annotation>
2245               <xsd:documentation>Pressure of the port. Specifying the pressure here (as opposed to in Period) implies that the pressure is constant for all periods of the
2246               flow.</xsd:documentation>
2247               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
2248            </xsd:annotation>
2249         </xsd:element>
2250         <xsd:element name="absoluteMinPres" type="witsml:measure" minOccurs="0" maxOccurs="1">
2251            <xsd:annotation>
2252               <xsd:documentation>Absolute minimum pressure before the system will give an alarm.</xsd:documentation>
2253               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
2254            </xsd:annotation>
2255         </xsd:element>
2256         <xsd:element name="portDiff" type="witsml:cs_productVolumePortDifference" minOccurs="0" maxOccurs="unbounded">
2257            <xsd:annotation>
2258               <xsd:documentation>The internal differences between this port and one other port on this unit.</xsd:documentation>
2259            </xsd:annotation>
2260         </xsd:element>
2261         <xsd:element name="mass" type="witsml:measure" minOccurs="0" maxOccurs="1">
2262            <xsd:annotation>
2263               <xsd:documentation>The mass of the product.</xsd:documentation>
2264               <xsd:appinfo>constraints:@type="witsml:massMeasure"</xsd:appinfo>
2265            </xsd:annotation>
2266         </xsd:element>
2267         <xsd:element name="work" type="witsml:measure" minOccurs="0" maxOccurs="1">
2268            <xsd:annotation>
2269               <xsd:documentation>The electrical energy represented by the product.</xsd:documentation>
2270               <xsd:appinfo>constraints:@type="witsml:workMeasure"</xsd:appinfo>
2271            </xsd:annotation>
2272         </xsd:element>
2273         <xsd:element name="efficiency" type="witsml:measure" minOccurs="0" maxOccurs="1">
2274            <xsd:annotation>
2275               <xsd:documentation>The actual volume divided by the potential volume.</xsd:documentation>
2276               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
2277            </xsd:annotation>
2278         </xsd:element>
2279         <xsd:element name="rvp" type="witsml:measure" minOccurs="0" maxOccurs="1">
2280            <xsd:annotation>
2281               <xsd:documentation>Reid vapor pressure of the product. The absolute vapor pressure of volatile crude oil and volatile petroleum liquids, except liquefied petroleum
2282               gases, as determined in accordance with American Society for Testing and Materials under the designation ASTM D323-56.</xsd:documentation>
2283               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
2284            </xsd:annotation>
2285         </xsd:element>
2286         <xsd:element name="tvp" type="witsml:measure" minOccurs="0" maxOccurs="1">
2287            <xsd:annotation>
2288               <xsd:documentation>True vapor pressure of the product. The equilibrium partial pressure exerted by a petroleum liquid as determined in accordance with standard
2289               methods.</xsd:documentation>
2290               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
2291            </xsd:annotation>
2292         </xsd:element>
2293         <xsd:element name="bsw" type="witsml:measure" minOccurs="0" maxOccurs="1">
2294            <xsd:annotation>
2295               <xsd:documentation>Basic sediment and water is measured from a liquid sample of the production stream. It includes free water, sediment and emulsion and is measured
2296               as a volume percentage of the production stream.</xsd:documentation>
2297               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
2298            </xsd:annotation>
2299         </xsd:element>
2300         <xsd:element name="bswPrevious" type="witsml:measure" minOccurs="0" maxOccurs="1">
2301            <xsd:annotation>
2302               <xsd:documentation>The basic sediment and water as measured on the previous reporting period (e.g., day).</xsd:documentation>
2303               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
2304            </xsd:annotation>
2305         </xsd:element>
2306         <xsd:element name="densityValue" type="witsml:cs_densityValue" minOccurs="0" maxOccurs="1">
2307            <xsd:annotation>
2308               <xsd:documentation>The density of the fluid, possibly corrected to specific conditions of temperature and pressure.</xsd:documentation>
2309            </xsd:annotation>
2310         </xsd:element>
2311         <xsd:element name="density" type="witsml:measure" minOccurs="0" maxOccurs="1">
2312            <xsd:annotation>
2313               <xsd:documentation>The density of the product.</xsd:documentation>
2314               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
2315            </xsd:annotation>
2316         </xsd:element>
2317         <xsd:element name="densityFlowRate" type="witsml:measure" minOccurs="0" maxOccurs="1">
2318            <xsd:annotation>
2319               <xsd:documentation>The mass basis flow rate of the product. This is used for things like a sand component.</xsd:documentation>
2320               <xsd:appinfo>constraints:@type="witsml:massFlowRateMeasure"</xsd:appinfo>
2321            </xsd:annotation>
2322         </xsd:element>
2323         <xsd:element name="densityStd" type="witsml:measure" minOccurs="0" maxOccurs="1">
2324            <xsd:annotation>
2325               <xsd:documentation>The density of the product after it has been corrected to standard temperature and pressure.</xsd:documentation>
2326               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
2327            </xsd:annotation>
2328         </xsd:element>
2329         <xsd:element name="concentration" type="witsml:measure" minOccurs="0" maxOccurs="1">
2330            <xsd:annotation>
2331               <xsd:documentation>The concentration of the product as a volume percentage of the product stream.</xsd:documentation>
2332               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
2333            </xsd:annotation>
2334         </xsd:element>
2335         <xsd:element name="molecularWeight" type="xsd:double" minOccurs="0" maxOccurs="1">
2336            <xsd:annotation>
2337               <xsd:documentation>The molecular weight of the product.</xsd:documentation>
2338               <xsd:appinfo>constraints:@type="witsml:unitlessQuantity",xsd:pattern=".+"</xsd:appinfo>
2339            </xsd:annotation>
2340         </xsd:element>
2341         <xsd:element name="weightPercent" type="witsml:measure" minOccurs="0" maxOccurs="1">
2342            <xsd:annotation>
2343               <xsd:documentation>The weight fraction of the product.</xsd:documentation>
2344               <xsd:appinfo>constraints:@type="witsml:massConcentrationMeasurePercent"</xsd:appinfo>
2345            </xsd:annotation>
2346         </xsd:element>
2347         <xsd:element name="molePercent" type="witsml:measure" minOccurs="0" maxOccurs="1">
2348            <xsd:annotation>
2349               <xsd:documentation>The mole fraction of the product.</xsd:documentation>
2350               <xsd:appinfo>constraints:@type="witsml:molarFractionMeasurePercent"</xsd:appinfo>
2351            </xsd:annotation>
2352         </xsd:element>
2353         <xsd:element name="moleAmt" type="witsml:measure" minOccurs="0" maxOccurs="1">
2354            <xsd:annotation>
2355               <xsd:documentation>The molar amount.</xsd:documentation>
2356               <xsd:appinfo>constraints:@type="witsml:amountOfSubstanceMeasure"</xsd:appinfo>
2357            </xsd:annotation>
2358         </xsd:element>
2359         <xsd:element name="sg" type="witsml:measure" minOccurs="0" maxOccurs="1">
2360            <xsd:annotation>
2361               <xsd:documentation>The specific gravity of the product.</xsd:documentation>
2362               <xsd:appinfo>constraints:@type="witsml:dimensionlessMeasure"</xsd:appinfo>
2363            </xsd:annotation>
2364         </xsd:element>
2365         <xsd:element name="hcDewpoint" type="witsml:measure" minOccurs="0" maxOccurs="1">
2366            <xsd:annotation>
2367               <xsd:documentation>The temperature at which the heavier hydrocarbons come out of solution.</xsd:documentation>
2368               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
2369            </xsd:annotation>
2370         </xsd:element>
2371         <xsd:element name="waterDewpoint" type="witsml:measure" minOccurs="0" maxOccurs="1">
2372            <xsd:annotation>
2373               <xsd:documentation>The temperature at which the first water comes out of solution.</xsd:documentation>
2374               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
2375            </xsd:annotation>
2376         </xsd:element>
2377         <xsd:element name="wobbeIndex" type="witsml:measure" minOccurs="0" maxOccurs="1">
2378            <xsd:annotation>
2379               <xsd:documentation>Wobbe Index. A number which indicates interchangeability of fuel gasses and is obtained by dividing the heating value of a gas by the square root
2380               of its specific gravity.</xsd:documentation>
2381               <xsd:appinfo>constraints:@type="witsml:modulusOfCompressionMeasure"</xsd:appinfo>
2382            </xsd:annotation>
2383         </xsd:element>
2384         <xsd:element name="grossCalorificValueStd" type="witsml:measure" minOccurs="0" maxOccurs="1">
2385            <xsd:annotation>
2386               <xsd:documentation>The amount of heat which would be released by the complete combustion in air of a specific quantity of product at standard temperature and
2387               pressure.</xsd:documentation>
2388               <xsd:appinfo>constraints:@type="witsml:modulusOfCompressionMeasure"</xsd:appinfo>
2389            </xsd:annotation>
2390         </xsd:element>
2391         <xsd:element name="rvpStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
2392            <xsd:annotation>
2393               <xsd:documentation>Reid vapor pressure of stabilized crude.</xsd:documentation>
2394               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
2395            </xsd:annotation>
2396         </xsd:element>
2397         <xsd:element name="bswStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
2398            <xsd:annotation>
2399               <xsd:documentation>Basic sediment and water content in stabilized crude.</xsd:documentation>
2400               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasure"</xsd:appinfo>
2401            </xsd:annotation>
2402         </xsd:element>
2403         <xsd:element name="densityStabilizedCrude" type="witsml:measure" minOccurs="0" maxOccurs="1">
2404            <xsd:annotation>
2405               <xsd:documentation>The density of stabilized crude.</xsd:documentation>
2406               <xsd:appinfo>constraints:@type="witsml:densityMeasure"</xsd:appinfo>
2407            </xsd:annotation>
2408         </xsd:element>
2409         <xsd:element name="componentContent" type="witsml:cs_productVolumeComponentContent" minOccurs="0" maxOccurs="unbounded">
2410            <xsd:annotation>
2411               <xsd:documentation>The relative amount of a component product in the product stream.</xsd:documentation>
2412            </xsd:annotation>
2413         </xsd:element>
2414         <xsd:element name="period" type="witsml:cs_productVolumePeriod" minOccurs="0" maxOccurs="unbounded">
2415            <xsd:annotation>
2416               <xsd:documentation>Product amounts for a specific period.</xsd:documentation>
2417               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
2418            </xsd:annotation>
2419         </xsd:element>
2420         <xsd:element name="comment" type="witsml:cs_datedComment" minOccurs="0" maxOccurs="unbounded">
2421            <xsd:annotation>
2422               <xsd:documentation>A (possibly timstamped) remark about the product.</xsd:documentation>
2423            </xsd:annotation>
2424         </xsd:element>
2425      </xsd:sequence>
2426      <xsd:attribute name="uid" type="xsd:string" use="optional">
2427         <xsd:annotation>
2428            <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
2429            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
2430            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
2431            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2432         </xsd:annotation>
2433      </xsd:attribute>
2434   </xsd:complexType>
2435   <xsd:complexType name="cs_productVolumeRelatedFacility">
2436      <xsd:annotation>
2437         <xsd:documentation>WITSML - Report Facility Component Schema.</xsd:documentation>
2438      </xsd:annotation>
2439      <xsd:sequence>
2440         <xsd:element name="name" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
2441            <xsd:annotation>
2442               <xsd:documentation>The name of the facility. The name can be qualified by a naming system. This can also define the kind of facility.</xsd:documentation>
2443               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
2444            </xsd:annotation>
2445         </xsd:element>
2446         <xsd:element name="facilityParent1" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
2447            <xsd:annotation>
2448               <xsd:documentation>For facilities whose name is unique within the context of another facility, the name of the parent facility. The name can be qualified by a
2449               naming system. This also defines the kind of facility.</xsd:documentation>
2450            </xsd:annotation>
2451         </xsd:element>
2452         <xsd:element name="facilityParent2" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
2453            <xsd:annotation>
2454               <xsd:documentation>For facilities whose name is unique within the context of another facility, the name of the parent facility of parent1. The name can be qualified
2455               by a naming system. This also defines the kind of facility.</xsd:documentation>
2456            </xsd:annotation>
2457         </xsd:element>
2458         <xsd:element name="kind" type="xsd:string" minOccurs="0" maxOccurs="1">
2459            <xsd:annotation>
2460               <xsd:documentation>A kind of facility where the specific name is not relevant.</xsd:documentation>
2461               <xsd:appinfo>constraints:@type="witsml:ReportingFacility",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2462            </xsd:annotation>
2463         </xsd:element>
2464         <xsd:element name="port" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
2465            <xsd:annotation>
2466               <xsd:documentation>The Product Flow Port associated with the Product Flow Unit.</xsd:documentation>
2467               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
2468            </xsd:annotation>
2469         </xsd:element>
2470         <xsd:element name="unit" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
2471            <xsd:annotation>
2472               <xsd:documentation>The Product Flow Unit representing the facility.</xsd:documentation>
2473               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
2474            </xsd:annotation>
2475         </xsd:element>
2476         <xsd:element name="network" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
2477            <xsd:annotation>
2478               <xsd:documentation>The Product Flow Network representing the facility. This is only required if the network is not the same as the primary network that represents
2479               the Product Flow Model. This must be unique within the context of the Product Flow Model represented by this report.</xsd:documentation>
2480            </xsd:annotation>
2481         </xsd:element>
2482      </xsd:sequence>
2483   </xsd:complexType>
2484   <xsd:complexType name="cs_productVolumeSalesSet">
2485      <xsd:annotation>
2486         <xsd:documentation>WITSML - Product Flow Sales Set Schema.</xsd:documentation>
2487      </xsd:annotation>
2488      <xsd:sequence>
2489         <xsd:element name="kind" type="xsd:string" minOccurs="0" maxOccurs="1">
2490            <xsd:annotation>
2491               <xsd:documentation>Defines the aspect being described.</xsd:documentation>
2492               <xsd:appinfo>constraints:@type="witsml:SalesFlowPart",xsd:enumeration="opening balance",xsd:enumeration="closing balance",xsd:enumeration="input to
2493               storage",xsd:enumeration="lifting entitlement",xsd:enumeration="lifting entitlement remaining",xsd:enumeration="gain/loss",xsd:enumeration="adjusted
2494               closing",xsd:enumeration="lifted",xsd:enumeration="production -- value adjustment",xsd:enumeration="transaction",xsd:enumeration="completed
2495               lifting",xsd:enumeration="production imbalance",xsd:enumeration="partial lifting",xsd:enumeration="closing storage inventory",xsd:enumeration="tanker
2496               lifting",xsd:enumeration="pipeline lifting",xsd:enumeration="opflex",xsd:enumeration="linepack",xsd:enumeration="transfer",xsd:enumeration="production - mass
2497               adjustment",xsd:enumeration="swap",xsd:enumeration="unknown",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2498            </xsd:annotation>
2499         </xsd:element>
2500         <xsd:element name="cargoNumber" type="xsd:string" minOccurs="0" maxOccurs="1">
2501            <xsd:annotation>
2502               <xsd:documentation>A cargo identifier for the product.</xsd:documentation>
2503               <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2504            </xsd:annotation>
2505         </xsd:element>
2506         <xsd:element name="cargoBatchNumber" type="xsd:short" minOccurs="0" maxOccurs="1">
2507            <xsd:annotation>
2508               <xsd:documentation>A cargo batch number. Used if the vessel needs to temporarily disconnect for some reason (e.g., weather).</xsd:documentation>
2509               <xsd:appinfo>constraints:@type="witsml:nonNegativeCount",xsd:minInclusive="0",xsd:pattern=".+"</xsd:appinfo>
2510            </xsd:annotation>
2511         </xsd:element>
2512         <xsd:element name="shipper" type="xsd:string" minOccurs="0" maxOccurs="1">
2513            <xsd:annotation>
2514               <xsd:documentation>The name of the shipper</xsd:documentation>
2515               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2516            </xsd:annotation>
2517         </xsd:element>
2518         <xsd:element name="destination" type="witsml:cs_productVolumeDestination" minOccurs="0" maxOccurs="1">
2519            <xsd:annotation>
2520               <xsd:documentation>Defines the destination of the sale.</xsd:documentation>
2521            </xsd:annotation>
2522         </xsd:element>
2523         <xsd:element name="salesDetail" type="witsml:cs_productVolumeSalesDetail" minOccurs="0" maxOccurs="unbounded">
2524            <xsd:annotation>
2525               <xsd:documentation>Provides details on the sale.</xsd:documentation>
2526            </xsd:annotation>
2527         </xsd:element>
2528      </xsd:sequence>
2529      <xsd:attribute name="uid" type="xsd:string" use="optional">
2530         <xsd:annotation>
2531            <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
2532            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
2533            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
2534            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2535         </xsd:annotation>
2536      </xsd:attribute>
2537   </xsd:complexType>
2538   <xsd:complexType name="cs_productVolumeSalesDetail">
2539      <xsd:annotation>
2540         <xsd:documentation>WITSML - Product Flow Sales Context Schema.</xsd:documentation>
2541      </xsd:annotation>
2542      <xsd:sequence>
2543         <xsd:element name="owner" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
2544            <xsd:annotation>
2545               <xsd:documentation>A pointer to the business unit which owns the product.</xsd:documentation>
2546               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
2547            </xsd:annotation>
2548         </xsd:element>
2549         <xsd:element name="sourceUnit" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
2550            <xsd:annotation>
2551               <xsd:documentation>Points to the business unit from which the product originated.</xsd:documentation>
2552            </xsd:annotation>
2553         </xsd:element>
2554         <xsd:element name="share" type="witsml:measure" minOccurs="0" maxOccurs="1">
2555            <xsd:annotation>
2556               <xsd:documentation>The owner's share of the product.</xsd:documentation>
2557               <xsd:appinfo>constraints:@type="witsml:volumePerVolumeMeasurePercent"</xsd:appinfo>
2558            </xsd:annotation>
2559         </xsd:element>
2560         <xsd:element name="accountNumber" type="xsd:string" minOccurs="0" maxOccurs="1">
2561            <xsd:annotation>
2562               <xsd:documentation>An account identifier for the sale.</xsd:documentation>
2563               <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2564            </xsd:annotation>
2565         </xsd:element>
2566         <xsd:element name="event" type="witsml:cs_productVolumeSaleEvent" minOccurs="0" maxOccurs="1">
2567            <xsd:annotation>
2568               <xsd:documentation>A dated event related to the sale.</xsd:documentation>
2569            </xsd:annotation>
2570         </xsd:element>
2571         <xsd:element name="volumeValue" type="witsml:cs_volumeValue" minOccurs="0" maxOccurs="unbounded">
2572            <xsd:annotation>
2573               <xsd:documentation>The volume of the fluid, possibly corrected to specific conditions of temperature and pressure. Different volumes may be defined at different
2574               conditions but they should all represent the same mass of material.</xsd:documentation>
2575            </xsd:annotation>
2576         </xsd:element>
2577         <xsd:element name="sampleAnalysisResult" type="witsml:refNameString" minOccurs="0" maxOccurs="unbounded">
2578            <xsd:annotation>
2579               <xsd:documentation>A pointer to a fluid sample analysis result object that is relevant to the sale. This sample may have been acquired previous to or after this
2580               period and is used for determining the allocated characteristics.</xsd:documentation>
2581            </xsd:annotation>
2582         </xsd:element>
2583         <xsd:element name="componentContent" type="witsml:cs_productVolumeComponentContent" minOccurs="0" maxOccurs="unbounded">
2584            <xsd:annotation>
2585               <xsd:documentation>The relative amount of a component product in the product.</xsd:documentation>
2586            </xsd:annotation>
2587         </xsd:element>
2588      </xsd:sequence>
2589   </xsd:complexType>
2590   <xsd:complexType name="cs_productVolumeDestination">
2591      <xsd:annotation>
2592         <xsd:documentation>WITSML - Product Flow Sales Destination Schema.</xsd:documentation>
2593      </xsd:annotation>
2594      <xsd:sequence>
2595         <xsd:element name="name" type="xsd:string" minOccurs="0" maxOccurs="1">
2596            <xsd:annotation>
2597               <xsd:documentation>The name of the destination.</xsd:documentation>
2598               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2599            </xsd:annotation>
2600         </xsd:element>
2601         <xsd:element name="type" type="xsd:string" minOccurs="0" maxOccurs="1">
2602            <xsd:annotation>
2603               <xsd:documentation>The type of destination.</xsd:documentation>
2604               <xsd:appinfo>
2605               constraints:@type="witsml:SaleDestinationType",xsd:enumeration="harbor",xsd:enumeration="terminal",xsd:enumeration="unknown",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2606            </xsd:annotation>
2607         </xsd:element>
2608         <xsd:element name="country" type="xsd:string" minOccurs="0" maxOccurs="1">
2609            <xsd:annotation>
2610               <xsd:documentation>The country of the destination.</xsd:documentation>
2611               <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2612            </xsd:annotation>
2613         </xsd:element>
2614      </xsd:sequence>
2615   </xsd:complexType>
2616   <xsd:complexType name="cs_productVolumeSaleEvent">
2617      <xsd:annotation>
2618         <xsd:documentation>WITSML - Product Volume Sale Event Schema.</xsd:documentation>
2619      </xsd:annotation>
2620      <xsd:sequence>
2621         <xsd:element name="date" type="xsd:date" minOccurs="0" maxOccurs="1">
2622            <xsd:annotation>
2623               <xsd:documentation>The date of the event.</xsd:documentation>
2624               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:date",xsd:pattern=".+"</xsd:appinfo>
2625            </xsd:annotation>
2626         </xsd:element>
2627         <xsd:element name="kind" type="xsd:string" minOccurs="0" maxOccurs="1">
2628            <xsd:annotation>
2629               <xsd:documentation>The kind of event.</xsd:documentation>
2630               <xsd:appinfo>
2631               constraints:@minOccurs="1",@minOccurs="1",@type="witsml:SaleEventKind",xsd:enumeration="xxxxxxxxxx",xsd:enumeration="unknown",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2632            </xsd:annotation>
2633         </xsd:element>
2634      </xsd:sequence>
2635      <xsd:attribute name="uid" type="xsd:string" use="optional">
2636         <xsd:annotation>
2637            <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
2638            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
2639            required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
2640            <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2641         </xsd:annotation>
2642      </xsd:attribute>
2643   </xsd:complexType>
2644   <!--UNUSED: Deleted type SaleEventKind.-->
2645   <!--UNUSED: Deleted type SalesFlowPart.-->
2646   <!--UNUSED: Deleted type SaleDestinationType.-->
2647   <xsd:complexType name="cs_refProductFlow">
2648      <xsd:annotation>
2649         <xsd:documentation>A reference to a Flow within the current product volume report. This represents a foreign key from one element to another.</xsd:documentation>
2650      </xsd:annotation>
2651      <xsd:sequence>
2652         <xsd:element name="referencedFlow" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
2653            <xsd:annotation>
2654               <xsd:documentation>A pointer to the flow within the facility.</xsd:documentation>
2655               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
2656            </xsd:annotation>
2657         </xsd:element>
2658         <xsd:element name="parentfacility" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
2659            <xsd:annotation>
2660               <xsd:documentation>A pointer to the facility that contains the flow.</xsd:documentation>
2661               <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
2662            </xsd:annotation>
2663         </xsd:element>
2664      </xsd:sequence>
2665   </xsd:complexType>
2666   <!--UNUSED: Deleted type cs_refWellWellbore.-->
2667   <!--UNUSED: Deleted type cs_refWellWellboreRig.-->
2668   <!--UNUSED: Deleted type cs_relativeCoordinate.-->
2669   <xsd:complexType name="cs_volumeValue">
2670      <xsd:annotation>
2671         <xsd:documentation>A possibly temperature and pressure corrected volume value.</xsd:documentation>
2672      </xsd:annotation>
2673      <xsd:sequence>
2674         <xsd:element name="volume" type="witsml:measureWithQualifier" minOccurs="0" maxOccurs="1">
2675            <xsd:annotation>
2676               <xsd:documentation>The volume of the product. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be good with no
2677               restrictions. A value of "NaN" should be interpreted as null and should be not be given unless a status is also specified to explain why it is
2678               null.</xsd:documentation>
2679               <xsd:appinfo>constraints:@minOccurs="1",@minOccurs="1",@type="witsml:volumeQualifiedMeasure"</xsd:appinfo>
2680            </xsd:annotation>
2681         </xsd:element>
2682         <xsd:element name="grossCalorificValue" type="witsml:measure" minOccurs="0" maxOccurs="1">
2683            <xsd:annotation>
2684               <xsd:documentation>The amount of heat which would be released by the complete combustion in air of the above volume of product.</xsd:documentation>
2685               <xsd:appinfo>constraints:@type="witsml:modulusOfCompressionMeasure"</xsd:appinfo>
2686            </xsd:annotation>
2687         </xsd:element>
2688         <xsd:element name="temp" type="witsml:measure" minOccurs="0" maxOccurs="1">
2689            <xsd:annotation>
2690               <xsd:documentation>The temperature to which the volume has been corrected. If not given then the ambient temperature is assumed. If given, then a pressure should
2691               also be given. Common standard temperatures are: 0 degC, 15 degC, 60 degF.</xsd:documentation>
2692               <xsd:appinfo>constraints:@type="witsml:thermodynamicTemperatureMeasure"</xsd:appinfo>
2693            </xsd:annotation>
2694         </xsd:element>
2695         <xsd:element name="pres" type="witsml:measure" minOccurs="0" maxOccurs="1">
2696            <xsd:annotation>
2697               <xsd:documentation>The pressure to which the volume has been corrected. If not given then the ambient pressure is assumed. If given, then a temperature should also
2698               be given. Common standard pressures are: 1 atm and 14.696 psi (which are equivalent).</xsd:documentation>
2699               <xsd:appinfo>constraints:@type="witsml:pressureMeasure"</xsd:appinfo>
2700            </xsd:annotation>
2701         </xsd:element>
2702      </xsd:sequence>
2703   </xsd:complexType>
2704   <!--UNUSED: Deleted type cs_wellContext.-->
2705   <!--UNUSED: Deleted type cs_wellDatum.-->
2706   <!--UNUSED: Deleted type cs_wellTestBottomholeData.-->
2707   <!--UNUSED: Deleted type cs_wellTestCumulative.-->
2708   <!--UNUSED: Deleted type cs_wellTestFluidLevelTest.-->
2709   <!--UNUSED: Deleted type cs_wellTestFluidRate.-->
2710   <!--UNUSED: Deleted type cs_wellTestInjectionTestData.-->
2711   <!--UNUSED: Deleted type cs_wellTestInjectionTestResults.-->
2712   <!--UNUSED: Deleted type cs_wellTestInterval.-->
2713   <!--UNUSED: Deleted type cs_wellTestPointData.-->
2714   <!--UNUSED: Deleted type cs_wellTestProductionTestData.-->
2715   <!--UNUSED: Deleted type cs_wellTestProductionTestResults.-->
2716   <!--UNUSED: Deleted type cs_wellTestSeparatorData.-->
2717   <!--UNUSED: Deleted type cs_wellTestTestVolume.-->
2718   <!--UNUSED: Deleted type cs_wellTestWellheadData.-->
2719   <!--UNUSED: Deleted type grp_dtsInstalledSystem.-->
2720   <!--UNUSED: Deleted type grp_dtsMeasurement.-->
2721   <!--UNUSED: Deleted type grp_fluidAnalysis.-->
2722   <!--UNUSED: Deleted type grp_fluidAnalysisResult.-->
2723   <!--UNUSED: Deleted type grp_fluidResultCommonTestGroup.-->
2724   <!--UNUSED: Deleted type grp_fluidSample.-->
2725   <!--UNUSED: Deleted type grp_productFlowModel.-->
2726   <!--UNUSED: Deleted type grp_productionOperation.-->
2727   <!--UNUSED: Deleted type grp_wellTest.-->
2728   <xsd:element name="productVolumes" type="witsml:obj_productVolumes">
2729      <xsd:annotation>
2730         <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
2731         singular name.</xsd:documentation>
2732      </xsd:annotation>
2733   </xsd:element>
2734   <xsd:complexType name="obj_productVolumes">
2735      <xsd:sequence>
2736         <xsd:element name="documentInfo" type="witsml:cs_documentInfo" minOccurs="0" maxOccurs="1">
2737            <xsd:annotation>
2738               <xsd:documentation>Information about the XML message instance.</xsd:documentation>
2739            </xsd:annotation>
2740         </xsd:element>
2741         <xsd:element name="productVolume" type="witsml:obj_productVolume" minOccurs="0" maxOccurs="unbounded">
2742            <xsd:annotation>
2743               <xsd:documentation>Information about a single productVolume.</xsd:documentation>
2744            </xsd:annotation>
2745         </xsd:element>
2746      </xsd:sequence>
2747      <xsd:attribute name="version" type="xsd:string" use="optional">
2748         <xsd:annotation>
2749            <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
2750            by the document instance.</xsd:documentation>
2751            <xsd:appinfo>
2752            constraints:@use="required",xsd:use="required",@type="witsml:schemaVersionString",xsd:maxLength="16",xsd:pattern="1\.0\.0\.[1-9]?[0-9]\(PRODML\)",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2753         </xsd:annotation>
2754      </xsd:attribute>
2755   </xsd:complexType>
2756   <xsd:complexType name="obj_productVolume">
2757      <xsd:complexContent>
2758         <xsd:extension base="witsml:abstractSingularDataObject">
2759            <xsd:sequence>
2760               <xsd:element name="name" type="witsml:nameStruct" minOccurs="0" maxOccurs="1">
2761                  <xsd:annotation>
2762                     <xsd:documentation>Human recognizable context for the Product Volume Report.</xsd:documentation>
2763                     <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
2764                  </xsd:annotation>
2765               </xsd:element>
2766               <xsd:element name="installation" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="1">
2767                  <xsd:annotation>
2768                     <xsd:documentation>The name of the facility which is represented by this report. The name can be qualified by a naming system. This also defines the kind of
2769                     facility.</xsd:documentation>
2770                  </xsd:annotation>
2771               </xsd:element>
2772               <xsd:element name="contextFacility" type="witsml:facilityIdentifierStruct" minOccurs="0" maxOccurs="unbounded">
2773                  <xsd:annotation>
2774                     <xsd:documentation>The name and type of a facility whose context is relevant to the represented installation.</xsd:documentation>
2775                  </xsd:annotation>
2776               </xsd:element>
2777               <xsd:element name="kind" type="xsd:string" minOccurs="0" maxOccurs="1">
2778                  <xsd:annotation>
2779                     <xsd:documentation>The type of report.</xsd:documentation>
2780                     <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2781                  </xsd:annotation>
2782               </xsd:element>
2783               <xsd:element name="periodKind" type="xsd:string" minOccurs="0" maxOccurs="1">
2784                  <xsd:annotation>
2785                     <xsd:documentation>The type of period that is being reported. This value must be consistent with the reporting start and end values.</xsd:documentation>
2786                     <xsd:appinfo>constraints:@type="witsml:ReportingPeriod",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2787                  </xsd:annotation>
2788               </xsd:element>
2789               <xsd:element name="dTimStart" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
2790                  <xsd:annotation>
2791                     <xsd:documentation>The beginning date and time that the report represents.</xsd:documentation>
2792                     <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
2793                  </xsd:annotation>
2794               </xsd:element>
2795               <xsd:element name="dTimEnd" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
2796                  <xsd:annotation>
2797                     <xsd:documentation>The ending date and time that the report represents.</xsd:documentation>
2798                     <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
2799                  </xsd:annotation>
2800               </xsd:element>
2801               <xsd:element name="dateStart" type="xsd:date" minOccurs="0" maxOccurs="1">
2802                  <xsd:annotation>
2803                     <xsd:documentation>The beginning date that the report represents.</xsd:documentation>
2804                     <xsd:appinfo>constraints:@type="witsml:date",xsd:pattern=".+"</xsd:appinfo>
2805                  </xsd:annotation>
2806               </xsd:element>
2807               <xsd:element name="dateEnd" type="xsd:date" minOccurs="0" maxOccurs="1">
2808                  <xsd:annotation>
2809                     <xsd:documentation>The ending date that the report represents.</xsd:documentation>
2810                     <xsd:appinfo>constraints:@type="witsml:date",xsd:pattern=".+"</xsd:appinfo>
2811                  </xsd:annotation>
2812               </xsd:element>
2813               <xsd:element name="month" type="xsd:gYearMonth" minOccurs="0" maxOccurs="1">
2814                  <xsd:annotation>
2815                     <xsd:documentation>The ending date that the report represents.</xsd:documentation>
2816                     <xsd:appinfo>constraints:@type="witsml:month"</xsd:appinfo>
2817                  </xsd:annotation>
2818               </xsd:element>
2819               <xsd:element name="dTimMin" type="witsml:endpointQualifiedDateTime" minOccurs="0" maxOccurs="1">
2820                  <xsd:annotation>
2821                     <xsd:documentation>The minimum time index contained within the report. For the purposes of this parameter, a "period" or "facility parameter" without any time
2822                     data should be assumed to have the time associated with the overall report. The minimum and maximum indexes are server query parameters and will be populated
2823                     with valid values in a "get" result. See the WITSML API Specification appendix on "Special Handling" of growing objects for a description of the behavior
2824                     related to this parameter.</xsd:documentation>
2825                  </xsd:annotation>
2826               </xsd:element>
2827               <xsd:element name="dTimMax" type="witsml:endpointQualifiedDateTime" minOccurs="0" maxOccurs="1">
2828                  <xsd:annotation>
2829                     <xsd:documentation>The maximum time index contained within the report. For the purposes of this parameter, a "period" or "facility parameter" without any time
2830                     data should be assumed to have the time associated with the overall report. The minimum and maximum indexes are server query parameters and will be populated
2831                     with valid values in a "get" result. See the WITSML API Specification appendix on "Special Handling" of growing objects for a description of the behavior
2832                     related to this parameter.</xsd:documentation>
2833                  </xsd:annotation>
2834               </xsd:element>
2835               <xsd:element name="dTimCurrent" type="xsd:dateTime" minOccurs="0" maxOccurs="1">
2836                  <xsd:annotation>
2837                     <xsd:documentation>The definition of the "current time" index for this report. The current time index is a server query parameter which requests the selection
2838                     of a single node from a recurring "period" set (e.g., the data related to one point in a time series). For the purposes of this parameter, a "period" without
2839                     any time data should be assumed to have the time associated with the overall report. See the WITSML API Specification appendix on "Special Handling" of
2840                     growing objects for a description of the behavior related to this parameter.</xsd:documentation>
2841                     <xsd:appinfo>constraints:@type="witsml:timestamp",xsd:pattern=".+"</xsd:appinfo>
2842                  </xsd:annotation>
2843               </xsd:element>
2844               <xsd:element name="calculationMethod" type="xsd:string" minOccurs="0" maxOccurs="1">
2845                  <xsd:annotation>
2846                     <xsd:documentation>The calculation method for for "filling in" values in an indexed set. If not given, the default is that no calculations are performed to
2847                     create data where none exists within an existing set. This is not to be construed as to prevent concepts such as simulation and forcasting from being applied
2848                     in order to create a new set. This is a server query parameter.</xsd:documentation>
2849                     <xsd:appinfo>constraints:@type="witsml:CalculationMethod",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2850                  </xsd:annotation>
2851               </xsd:element>
2852               <xsd:element name="operator" type="witsml:cs_businessAssociate" minOccurs="0" maxOccurs="1">
2853                  <xsd:annotation>
2854                     <xsd:documentation>The operator of the facilities in the report.</xsd:documentation>
2855                  </xsd:annotation>
2856               </xsd:element>
2857               <xsd:element name="title" type="witsml:nameStruct" minOccurs="0" maxOccurs="1">
2858                  <xsd:annotation>
2859                     <xsd:documentation>The tile of the report if different from the name of the report.</xsd:documentation>
2860                  </xsd:annotation>
2861               </xsd:element>
2862               <xsd:element name="geographicContext" type="witsml:cs_geographicContext" minOccurs="0" maxOccurs="1">
2863                  <xsd:annotation>
2864                     <xsd:documentation>The geographic context of the report.</xsd:documentation>
2865                  </xsd:annotation>
2866               </xsd:element>
2867               <xsd:element name="issueDate" type="xsd:date" minOccurs="0" maxOccurs="1">
2868                  <xsd:annotation>
2869                     <xsd:documentation>The date that the report was issued.</xsd:documentation>
2870                     <xsd:appinfo>constraints:@type="witsml:date",xsd:pattern=".+"</xsd:appinfo>
2871                  </xsd:annotation>
2872               </xsd:element>
2873               <xsd:element name="issuedBy" type="witsml:cs_businessAssociate" minOccurs="0" maxOccurs="1">
2874                  <xsd:annotation>
2875                     <xsd:documentation>The person or company that issued the report. This may contain the role of the person or company within the context of the
2876                     report.</xsd:documentation>
2877                  </xsd:annotation>
2878               </xsd:element>
2879               <xsd:element name="approvalDate" type="xsd:date" minOccurs="0" maxOccurs="1">
2880                  <xsd:annotation>
2881                     <xsd:documentation>The date that the report was approved.</xsd:documentation>
2882                     <xsd:appinfo>constraints:@type="witsml:date",xsd:pattern=".+"</xsd:appinfo>
2883                  </xsd:annotation>
2884               </xsd:element>
2885               <xsd:element name="approver" type="witsml:cs_businessAssociate" minOccurs="0" maxOccurs="1">
2886                  <xsd:annotation>
2887                     <xsd:documentation>The person or company that approved the report. This may contain the role of the person or company within the context of the
2888                     report.</xsd:documentation>
2889                  </xsd:annotation>
2890               </xsd:element>
2891               <xsd:element name="productFlowModel" type="witsml:refNameString" minOccurs="0" maxOccurs="1">
2892                  <xsd:annotation>
2893                     <xsd:documentation>The Product Flow Model for the overall installation. This model represents all Product Flow Units referenced within this
2894                     report.</xsd:documentation>
2895                  </xsd:annotation>
2896               </xsd:element>
2897               <xsd:element name="standardTempPres" type="xsd:string" minOccurs="0" maxOccurs="1">
2898                  <xsd:annotation>
2899                     <xsd:documentation>DEPRECATED. The elements which reference this have been DEPRECATED. Defines the standard temperature and pressure to which all standard
2900                     volumes in this report have been corrected. This applies to all elements whose name is suffixed by Std and documented to be corrected to conditions of
2901                     standard temperature and pressure.</xsd:documentation>
2902                     <xsd:appinfo>constraints:@type="witsml:StandardTempPress",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2903                  </xsd:annotation>
2904               </xsd:element>
2905               <xsd:element name="businessUnit" type="witsml:cs_productVolumeBusinessUnit" minOccurs="0" maxOccurs="unbounded">
2906                  <xsd:annotation>
2907                     <xsd:documentation>A business unit and related account or ownership share information.</xsd:documentation>
2908                  </xsd:annotation>
2909               </xsd:element>
2910               <xsd:element name="facility" type="witsml:cs_productVolumeFacility" minOccurs="0" maxOccurs="unbounded">
2911                  <xsd:annotation>
2912                     <xsd:documentation>A facility for which product information is being reported.</xsd:documentation>
2913                     <xsd:appinfo>constraints:@minOccurs="1"</xsd:appinfo>
2914                  </xsd:annotation>
2915               </xsd:element>
2916               <xsd:element name="commonData" type="witsml:cs_commonData" minOccurs="0" maxOccurs="1">
2917                  <xsd:annotation>
2918                     <xsd:documentation>A container element that contains elements that are common to all data objects.</xsd:documentation>
2919                  </xsd:annotation>
2920               </xsd:element>
2921               <xsd:element name="customData" type="witsml:cs_customData" minOccurs="0" maxOccurs="1">
2922                  <xsd:annotation>
2923                     <xsd:documentation>A container element that can contain custom or user defined data elements.</xsd:documentation>
2924                  </xsd:annotation>
2925               </xsd:element>
2926            </xsd:sequence>
2927            <xsd:attribute name="uid" type="xsd:string" use="optional">
2928               <xsd:annotation>
2929                  <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
2930                  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
2931                  only required to be unique within the context of the nearest recurring parent element.</xsd:documentation>
2932                  <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
2933               </xsd:annotation>
2934            </xsd:attribute>
2935         </xsd:extension>
2936      </xsd:complexContent>
2937   </xsd:complexType>
2938   <!--UNUSED: Deleted type abstractBoolean.-->
2939   <!--UNUSED: Deleted type abstractDateTime.-->
2940   <!--UNUSED: Deleted type abstractDate.-->
2941   <!--UNUSED: Deleted type abstractYear.-->
2942   <!--UNUSED: Deleted type abstractDouble.-->
2943   <!--UNUSED: Deleted type abstractShort.-->
2944   <!--UNUSED: Deleted type abstractInt.-->
2945   <!--UNUSED: Deleted type abstractString.-->
2946   <!--UNUSED: Deleted type abstractMeasure.-->
2947   <!--UNUSED: Deleted type abstractMaximumLengthString.-->
2948   <!--UNUSED: Deleted type abstractUncollapsedString.-->
2949   <!--UNUSED: Deleted type abstractContextualObject.-->
2950   <xsd:complexType name="abstractSingularDataObject">
2951      <xsd:annotation>
2952         <xsd:documentation>The intended abstract supertype of all singular data objects.</xsd:documentation>
2953      </xsd:annotation>
2954      <xsd:sequence />
2955   </xsd:complexType>
2956   <!--UNUSED: Deleted type abstractPositiveCount.-->
2957   <!--UNUSED: Deleted type abstractNameString.-->
2958   <!--UNUSED: Deleted type abstractUidString.-->
2959   <!--UNUSED: Deleted type abstractCommentString.-->
2960   <!--UNUSED: Deleted type abstractTypeEnum.-->
2961   <!--UNUSED: Deleted type abstractUomEnum.-->
2962   <!--UNUSED: Deleted type abstractNonNegativeCount.-->
2963   <!--UNUSED: Deleted type ActivityClassType.-->
2964   <!--UNUSED: Deleted type ActivityCode.-->
2965   <!--UNUSED: Deleted type AddressKindEnum.-->
2966   <!--UNUSED: Deleted type AddressQualifier.-->
2967   <!--UNUSED: Deleted type AziRef.-->
2968   <!--UNUSED: Deleted type ArrayElementDataType.-->
2969   <!--UNUSED: Deleted type BearingType.-->
2970   <!--UNUSED: Deleted type BitDullCode.-->
2971   <!--UNUSED: Deleted type BitReasonPulled.-->
2972   <!--UNUSED: Deleted type BitType.-->
2973   <!--UNUSED: Deleted type BhaStatus.-->
2974   <!--UNUSED: Deleted type BladeShapeType.-->
2975   <!--UNUSED: Deleted type BladeType.-->
2976   <!--UNUSED: Deleted type BopType.-->
2977   <!--UNUSED: Deleted type BoxPinConfig.-->
2978   <!--UNUSED: Deleted type CalculationMethod.-->
2979   <!--UNUSED: Deleted type CementJobType.-->
2980   <!--UNUSED: Deleted type ConnectionPosition.-->
2981   <!--UNUSED: Deleted type ContactPreference.-->
2982   <!--UNUSED: Deleted type DeflectionMethod.-->
2983   <!--UNUSED: Deleted type DerrickType.-->
2984   <!--UNUSED: Deleted type DrawWorksType.-->
2985   <!--UNUSED: Deleted type DriveType.-->
2986   <!--UNUSED: Deleted type ElevCodeEnum.-->
2987   <!--UNUSED: Deleted type Ellipsoid.-->
2988   <!--UNUSED: Deleted type EndpointQualifier.-->
2989   <!--UNUSED: Deleted type FacilityParameter.-->
2990   <!--UNUSED: Deleted type FiberMode.-->
2991   <!--UNUSED: Deleted type FlowQualifier.-->
2992   <!--UNUSED: Deleted type FlowSubQualifier.-->
2993   <!--UNUSED: Deleted type GasPeakType.-->
2994   <!--UNUSED: Deleted type GeodeticDatum.-->
2995   <!--UNUSED: Deleted type Hemispheres.-->
2996   <!--UNUSED: Deleted type HoleCasingType.-->
2997   <!--UNUSED: Deleted type HoleOpenerType.-->
2998   <!--UNUSED: Deleted type InjectionFluid.-->
2999   <!--UNUSED: Deleted type IntervalMethod.-->
3000   <!--UNUSED: Deleted type IntervalType.-->
3001   <!--UNUSED: Deleted type ItemState.-->
3002   <!--UNUSED: Deleted type InstalledFiberPoint.-->
3003   <!--UNUSED: Deleted type JarType.-->
3004   <!--UNUSED: Deleted type JarAction.-->
3005   <!--UNUSED: Deleted type LithologySource.-->
3006   <!--UNUSED: Deleted type LithologyType.-->
3007   <!--UNUSED: Deleted type LogDataType.-->
3008   <!--UNUSED: Deleted type LogIndexDirection.-->
3009   <!--UNUSED: Deleted type LogIndexType.-->
3010   <!--UNUSED: Deleted type LogTraceOrigin.-->
3011   <!--UNUSED: Deleted type LogTraceState.-->
3012   <!--UNUSED: Deleted type MaterialType.-->
3013   <!--UNUSED: Deleted type MeasureClass.-->
3014   <!--UNUSED: Deleted type MeasurementType.-->
3015   <!--UNUSED: Deleted type MessageProbability.-->
3016   <!--UNUSED: Deleted type MessageSeverity.-->
3017   <!--UNUSED: Deleted type MessageType.-->
3018   <!--UNUSED: Deleted type MudLogParameterType.-->
3019   <!--UNUSED: Deleted type NADTypes.-->
3020   <!--UNUSED: Deleted type NameTagLocation.-->
3021   <!--UNUSED: Deleted type NameTagNumberingScheme.-->
3022   <!--UNUSED: Deleted type NameTagTechnology.-->
3023   <!--UNUSED: Deleted type NozzleType.-->
3024   <!--UNUSED: Deleted type OTDRReason.-->
3025   <!--UNUSED: Deleted type PhoneType.-->
3026   <!--UNUSED: Deleted type PitType.-->
3027   <!--UNUSED: Deleted type ProductFlowPortType.-->
3028   <!--UNUSED: Deleted type Projection.-->
3029   <!--UNUSED: Deleted type ProjectionVariantsObliqueMercator.-->
3030   <!--UNUSED: Deleted type PumpType.-->
3031   <!--UNUSED: Deleted type PumpOpType.-->
3032   <!--UNUSED: Deleted type QualifierType.-->
3033   <!--UNUSED: Deleted type RealtimeData.-->
3034   <!--UNUSED: Deleted type ReportingFacility.-->
3035   <!--UNUSED: Deleted type ReportingFlow.-->
3036   <!--UNUSED: Deleted type ReportingPeriod.-->
3037   <!--UNUSED: Deleted type ReportingProduct.-->
3038   <!--UNUSED: Deleted type ReportingProperty.-->
3039   <!--UNUSED: Deleted type RigType.-->
3040   <!--UNUSED: Deleted type RiskAffectedPersonnel.-->
3041   <!--UNUSED: Deleted type RiskCategory.-->
3042   <!--UNUSED: Deleted type RiskSubCategory.-->
3043   <!--UNUSED: Deleted type RiskType.-->
3044   <!--UNUSED: Deleted type ScrType.-->
3045   <!--UNUSED: Deleted type ShowFluorescence.-->
3046   <!--UNUSED: Deleted type ShowLevel.-->
3047   <!--UNUSED: Deleted type ShowRating.-->
3048   <!--UNUSED: Deleted type ShowSpeed.-->
3049   <!--UNUSED: Deleted type StandardTempPress.-->
3050   <!--UNUSED: Deleted type SupportCraft.-->
3051   <!--UNUSED: Deleted type SurfEquipType.-->
3052   <!--UNUSED: Deleted type TargetCategory.-->
3053   <!--UNUSED: Deleted type TargetScope.-->
3054   <!--UNUSED: Deleted type TargetSectionScope.-->
3055   <!--UNUSED: Deleted type TestReason.-->
3056   <!--UNUSED: Deleted type TrajStationStatus.-->
3057   <!--UNUSED: Deleted type TrajStationType.-->
3058   <!--UNUSED: Deleted type TubularAssembly.-->
3059   <!--UNUSED: Deleted type TubularComponent.-->
3060   <!--UNUSED: Deleted type TypeSurveyTool.-->
3061   <!--UNUSED: Deleted type ValueStatus.-->
3062   <!--UNUSED: Deleted type WellDirection.-->
3063   <!--UNUSED: Deleted type WellFluid.-->
3064   <!--UNUSED: Deleted type WellboreShape.-->
3065   <!--UNUSED: Deleted type WellboreType.-->
3066   <!--UNUSED: Deleted type WellPurpose.-->
3067   <!--UNUSED: Deleted type WellStatus.-->
3068   <!--UNUSED: Deleted type CrewType.-->
3069   <!--UNUSED: Deleted type OperationKind.-->
3070   <!--UNUSED: Deleted type ReasonLost.-->
3071   <!--UNUSED: Deleted type SafetyType.-->
3072   <!--UNUSED: Deleted type VolumeReferenceKind.-->
3073   <!--UNUSED: Deleted type DataQuality.-->
3074   <!--UNUSED: Deleted type FluidAnalysisKind.-->
3075   <!--UNUSED: Deleted type FluidComponent.-->
3076   <!--UNUSED: Deleted type FluidSampleTestAcquisition.-->
3077   <!--UNUSED: Deleted type FluidComponentKind.-->
3078   <!--UNUSED: Deleted type FluidContaminant.-->
3079   <!--UNUSED: Deleted type FluidSampleKind.-->
3080   <!--UNUSED: Deleted type ReservoirFluidKind.-->
3081   <!--UNUSED: Deleted type EosModelKind.-->
3082   <!--UNUSED: Deleted type generalMeasureType.-->
3083   <!--UNUSED: Deleted type temperatureSlopeMeasure.-->
3084   <!--UNUSED: Deleted type typeOptionalClassString.-->
3085   <xsd:complexType name="endpointQualifiedDateTime">
3086      <xsd:annotation>
3087         <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
3088         endpoint attribute.</xsd:documentation>
3089         <xsd:appinfo>constraints:@base="witsml:abstractDateTime",xsd:pattern=".+"</xsd:appinfo>
3090      </xsd:annotation>
3091      <xsd:simpleContent>
3092         <xsd:extension base="xsd:dateTime">
3093            <xsd:attribute name="endpoint" type="xsd:string" use="optional">
3094               <xsd:annotation>
3095                  <xsd:documentation>The default is "inclusive".</xsd:documentation>
3096                  <xsd:appinfo>constraints:@type="witsml:EndpointQualifier",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3097               </xsd:annotation>
3098            </xsd:attribute>
3099         </xsd:extension>
3100      </xsd:simpleContent>
3101   </xsd:complexType>
3102   <!--UNUSED: Deleted type endpointQualifiedDate.-->
3103   <xsd:complexType name="emailQualifierStruct">
3104      <xsd:annotation>
3105         <xsd:documentation>An email address with an attribute, used to "qualify" an email as personal, work, or permanent.</xsd:documentation>
3106         <xsd:appinfo>constraints:@base="witsml:abstractTypeEnum",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3107      </xsd:annotation>
3108      <xsd:simpleContent>
3109         <xsd:extension base="xsd:string">
3110            <xsd:attribute name="qualifier" type="xsd:string" use="optional">
3111               <xsd:annotation>
3112                  <xsd:appinfo>constraints:@type="witsml:AddressQualifier",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3113               </xsd:annotation>
3114            </xsd:attribute>
3115         </xsd:extension>
3116      </xsd:simpleContent>
3117   </xsd:complexType>
3118   <xsd:complexType name="facilityIdentifierStruct">
3119      <xsd:annotation>
3120         <xsd:documentation>Identifies a facility.</xsd:documentation>
3121         <xsd:appinfo>constraints:@base="witsml:abstractNameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3122      </xsd:annotation>
3123      <xsd:simpleContent>
3124         <xsd:extension base="xsd:string">
3125            <xsd:attribute name="kind" type="xsd:string" use="optional">
3126               <xsd:annotation>
3127                  <xsd:documentation>The kind of facility.</xsd:documentation>
3128                  <xsd:appinfo>constraints:@type="witsml:ReportingFacility",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3129               </xsd:annotation>
3130            </xsd:attribute>
3131            <xsd:attribute name="namingSystem" type="xsd:string" use="optional">
3132               <xsd:annotation>
3133                  <xsd:documentation>The naming system within which the name is unique. For example, API or NPD.</xsd:documentation>
3134                  <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3135               </xsd:annotation>
3136            </xsd:attribute>
3137            <xsd:attribute name="uidRef" type="xsd:string" use="optional">
3138               <xsd:annotation>
3139                  <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
3140                  instance.</xsd:documentation>
3141                  <xsd:appinfo>constraints:@type="witsml:uidString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3142               </xsd:annotation>
3143            </xsd:attribute>
3144         </xsd:extension>
3145      </xsd:simpleContent>
3146   </xsd:complexType>
3147   <xsd:complexType name="phoneNumberStruct">
3148      <xsd:annotation>
3149         <xsd:documentation>A phone number with two attributes, used to "type" and "qualify" a phone number. The type would carry information such as fax, modem, voice, and the
3150         qualifier would carry information such as home or office.</xsd:documentation>
3151         <xsd:appinfo>constraints:@base="witsml:abstractTypeEnum",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3152      </xsd:annotation>
3153      <xsd:simpleContent>
3154         <xsd:extension base="xsd:string">
3155            <xsd:attribute name="type" type="xsd:string" use="optional">
3156               <xsd:annotation>
3157                  <xsd:documentation>The kind of phone such as voice or fax.</xsd:documentation>
3158                  <xsd:appinfo>constraints:@use="required",xsd:use="required",@type="witsml:PhoneType",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3159               </xsd:annotation>
3160            </xsd:attribute>
3161            <xsd:attribute name="qualifier" type="xsd:string" use="optional">
3162               <xsd:annotation>
3163                  <xsd:documentation>Indicates whether the number is personal, business or both.</xsd:documentation>
3164                  <xsd:appinfo>constraints:@type="witsml:AddressQualifier",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3165               </xsd:annotation>
3166            </xsd:attribute>
3167            <xsd:attribute name="extension" type="xsd:string" use="optional">
3168               <xsd:annotation>
3169                  <xsd:documentation>The phone number extension.</xsd:documentation>
3170                  <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3171               </xsd:annotation>
3172            </xsd:attribute>
3173         </xsd:extension>
3174      </xsd:simpleContent>
3175   </xsd:complexType>
3176   <!--UNUSED: Deleted type logicalBoolean.-->
3177   <xsd:simpleType name="date">
3178      <xsd:annotation>
3179         <xsd:documentation>A julian date.</xsd:documentation>
3180      </xsd:annotation>
3181      <xsd:restriction base="xsd:date" />
3182   </xsd:simpleType>
3183   <!--UNUSED: Deleted type month.-->
3184   <!--UNUSED: Deleted type year.-->
3185   <!--UNUSED: Deleted type timestamp.-->
3186   <!--UNUSED: Deleted type timeZone.-->
3187   <!--UNUSED: Deleted type calendarYear.-->
3188   <!--UNUSED: Deleted type yAxisAzimuth.-->
3189   <!--UNUSED: Deleted type nonNegativeFraction.-->
3190   <!--UNUSED: Deleted type unitlessQuantity.-->
3191   <!--UNUSED: Deleted type genericMeasure.-->
3192   <!--UNUSED: Deleted type indexCurve.-->
3193   <!--UNUSED: Deleted type ratioGenericMeasure.-->
3194   <!--UNUSED: Deleted type listOfString.-->
3195   <!--UNUSED: Deleted type listOfDouble.-->
3196   <xsd:complexType name="refNameString">
3197      <xsd:annotation>
3198         <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>
3199         <xsd:appinfo>constraints:@base="witsml:abstractNameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3200      </xsd:annotation>
3201      <xsd:simpleContent>
3202         <xsd:extension base="xsd:string">
3203            <xsd:attribute name="uidRef" type="xsd:string" use="optional">
3204               <xsd:annotation>
3205                  <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
3206                  of a WITSML server.</xsd:documentation>
3207                  <xsd:appinfo>constraints:@type="witsml:refString",xsd:maxLength="64",xsd:pattern="[^ ]*",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3208               </xsd:annotation>
3209            </xsd:attribute>
3210         </xsd:extension>
3211      </xsd:simpleContent>
3212   </xsd:complexType>
3213   <!--UNUSED: Deleted type refObjectString.-->
3214   <!--UNUSED: Deleted type refPositiveCount.-->
3215   <!--UNUSED: Deleted type refWellDatum.-->
3216   <!--UNUSED: Deleted type nameString.-->
3217   <!--UNUSED: Deleted type commentString.-->
3218   <!--UNUSED: Deleted type descriptionString.-->
3219   <!--UNUSED: Deleted type shortDescriptionString.-->
3220   <!--UNUSED: Deleted type encodedArrayString.-->
3221   <!--UNUSED: Deleted type encodedValueString.-->
3222   <!--UNUSED: Deleted type kindString.-->
3223   <!--UNUSED: Deleted type uomString.-->
3224   <!--UNUSED: Deleted type uidString.-->
3225   <!--UNUSED: Deleted type refString.-->
3226   <!--UNUSED: Deleted type schemaVersionString.-->
3227   <xsd:complexType name="nameStruct">
3228      <xsd:annotation>
3229         <xsd:documentation>The name of something within a naming system.</xsd:documentation>
3230         <xsd:appinfo>constraints:@base="witsml:abstractNameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3231      </xsd:annotation>
3232      <xsd:simpleContent>
3233         <xsd:extension base="xsd:string">
3234            <xsd:attribute name="namingSystem" type="xsd:string" use="optional">
3235               <xsd:annotation>
3236                  <xsd:documentation>The naming system within the name is (hopefully) unique.</xsd:documentation>
3237                  <xsd:appinfo>constraints:@type="witsml:nameString",xsd:maxLength="64",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3238               </xsd:annotation>
3239            </xsd:attribute>
3240         </xsd:extension>
3241      </xsd:simpleContent>
3242   </xsd:complexType>
3243   <!--UNUSED: Deleted type wellKnownNameStruct.-->
3244   <!--UNUSED: Deleted type uncollapsedString.-->
3245   <!--UNUSED: Deleted type iadcBearingWearCode.-->
3246   <!--UNUSED: Deleted type geodeticZoneString.-->
3247   <xsd:complexType name="generalQualifiedMeasure">
3248      <xsd:annotation>
3249         <xsd:documentation>A measure which may have a quality status. The measure class (e.g., length) must be defined within the context of the usage of this type (e.g., in
3250         another element). This should not be used if the measure class will always be the same thing. If the 'status' attribute is absent and the value is not "NaN", the data
3251         value can be assumed to be good with no restrictions.</xsd:documentation>
3252         <xsd:appinfo>constraints:@base="witsml:abstractMeasure"</xsd:appinfo>
3253      </xsd:annotation>
3254      <xsd:simpleContent>
3255         <xsd:extension base="xsd:double">
3256            <xsd:attribute name="status" type="xsd:string" use="optional">
3257               <xsd:annotation>
3258                  <xsd:documentation>An indicator of the quality of the value.</xsd:documentation>
3259                  <xsd:appinfo>constraints:@type="witsml:ValueStatus",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3260               </xsd:annotation>
3261            </xsd:attribute>
3262            <xsd:attribute name="component" type="xsd:string" use="optional">
3263               <xsd:annotation>
3264                  <xsd:documentation>The kind of the value component. For example, "X" in a tuple of X and Y.</xsd:documentation>
3265                  <xsd:appinfo>constraints:@type="witsml:kindString",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3266               </xsd:annotation>
3267            </xsd:attribute>
3268            <xsd:attribute name="uom" type="xsd:string" use="optional">
3269               <xsd:annotation>
3270                  <xsd:documentation>The unit of measure for the value. This value must conform to the values allowed by the measure class.</xsd:documentation>
3271                  <xsd:appinfo>constraints:@use="required",xsd:use="required",@type="witsml:uomString",xsd:maxLength="24",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3272               </xsd:annotation>
3273            </xsd:attribute>
3274         </xsd:extension>
3275      </xsd:simpleContent>
3276   </xsd:complexType>
3277   <xsd:complexType name="integerQualifiedCount">
3278      <xsd:annotation>
3279         <xsd:documentation>An integer which may have a quality status. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be good
3280         with no restrictions.</xsd:documentation>
3281         <xsd:appinfo>constraints:@base="witsml:abstractInt",xsd:pattern=".+"</xsd:appinfo>
3282      </xsd:annotation>
3283      <xsd:simpleContent>
3284         <xsd:extension base="xsd:int">
3285            <xsd:attribute name="status" type="xsd:string" use="optional">
3286               <xsd:annotation>
3287                  <xsd:documentation>An indicator of the quality of the value.</xsd:documentation>
3288                  <xsd:appinfo>constraints:@type="witsml:ValueStatus",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3289               </xsd:annotation>
3290            </xsd:attribute>
3291         </xsd:extension>
3292      </xsd:simpleContent>
3293   </xsd:complexType>
3294   <xsd:complexType name="kindQualifiedString">
3295      <xsd:annotation>
3296         <xsd:documentation>A kind which may have a quality status. If the 'status' attribute is absent and the value is not "NaN", the data value can be assumed to be good with
3297         no restrictions.</xsd:documentation>
3298         <xsd:appinfo>constraints:@base="witsml:abstractTypeEnum",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3299      </xsd:annotation>
3300      <xsd:simpleContent>
3301         <xsd:extension base="xsd:string">
3302            <xsd:attribute name="status" type="xsd:string" use="optional">
3303               <xsd:annotation>
3304                  <xsd:documentation>An indicator of the quality of the value.</xsd:documentation>
3305                  <xsd:appinfo>constraints:@type="witsml:ValueStatus",xsd:maxLength="40",xsd:whiteSpace="collapse",xsd:minLength="1"</xsd:appinfo>
3306               </xsd:annotation>
3307            </xsd:attribute>
3308         </xsd:extension>
3309      </xsd:simpleContent>
3310   </xsd:complexType>
3311   <!--UNUSED: Deleted type areaQualifiedMeasure.-->
3312   <!--UNUSED: Deleted type areaPerAreaQualifiedMeasure.-->
3313   <!--UNUSED: Deleted type anglePerTimeQualifiedMeasure.-->
3314   <!--UNUSED: Deleted type lengthPerLengthQualifiedMeasure.-->
3315   <!--UNUSED: Deleted type pressureQualifiedMeasure.-->
3316   <!--UNUSED: Deleted type thermodynamicTemperatureQualifiedMeasure.-->
3317   <!--UNUSED: Deleted type volumeQualifiedMeasure.-->
3318   <!--UNUSED: Deleted type volumeFlowRateQualifiedMeasure.-->
3319   <!--UNUSED: Deleted type measuredDepthCoord.-->
3320   <!--UNUSED: Deleted type MeasuredDepthUom.-->
3321   <!--UNUSED: Deleted type wellVerticalDepthCoord.-->
3322   <!--UNUSED: Deleted type wellElevationCoord.-->
3323   <!--UNUSED: Deleted type WellVerticalCoordinateUom.-->
3324   <!--UNUSED: Deleted type nonNegativeCount.-->
3325   <!--UNUSED: Deleted type positiveCount.-->
3326   <!--UNUSED: Deleted type positiveBigCount.-->
3327   <!--UNUSED: Deleted type integerCount.-->
3328   <!--UNUSED: Deleted type beaufortScaleIntegerCode.-->
3329   <!--UNUSED: Deleted type pumpActionIntegerCode.-->
3330   <!--UNUSED: Deleted type iadcIntegerCode.-->
3331   <!--UNUSED: Deleted type levelIntegerCode.-->
3332   <!--UNUSED: Deleted type cost.-->
3333   <!--UNUSED: Deleted type indexedObject.-->
3334   <!--UNUSED: Deleted type str2.-->
3335   <!--UNUSED: Deleted type str16.-->
3336   <!--UNUSED: Deleted type str32.-->
3337   <!--UNUSED: Deleted type crewCount.-->
3338   <!--UNUSED: Deleted type lostVolumeAndReason.-->
3339   <!--UNUSED: Deleted type safetyCount.-->
3340   <!--UNUSED: Deleted type binaryInteractionCoefficient.-->
3341   <!--UNUSED: Deleted type massConcentrationMeasurePercent.-->
3342   <!--UNUSED: Deleted type molarFractionMeasurePercent.-->
3343   <!--UNUSED: Deleted type volumePerVolumeMeasurePercent.-->
3344   <!--UNUSED: Deleted type PercentUom.-->
3345   <!--UNUSED: Deleted type accelerationLinearMeasure.-->
3346   <!--UNUSED: Deleted type amountOfSubstanceMeasure.-->
3347   <!--UNUSED: Deleted type anglePerLengthMeasure.-->
3348   <!--UNUSED: Deleted type anglePerTimeMeasure.-->
3349   <!--UNUSED: Deleted type areaMeasure.-->
3350   <!--UNUSED: Deleted type areaPerAreaMeasure.-->
3351   <!--UNUSED: Deleted type densityMeasure.-->
3352   <!--UNUSED: Deleted type dimensionlessMeasure.-->
3353   <!--UNUSED: Deleted type dynamicViscosityMeasure.-->
3354   <!--UNUSED: Deleted type electricPotentialMeasure.-->
3355   <!--UNUSED: Deleted type energyPerAreaMeasure.-->
3356   <!--UNUSED: Deleted type equivalentPerMassMeasure.-->
3357   <!--UNUSED: Deleted type forceMeasure.-->
3358   <!--UNUSED: Deleted type forcePerVolumeMeasure.-->
3359   <!--UNUSED: Deleted type frequencyMeasure.-->
3360   <!--UNUSED: Deleted type illuminanceMeasure.-->
3361   <!--UNUSED: Deleted type lengthMeasure.-->
3362   <!--UNUSED: Deleted type lengthPerLengthMeasure.-->
3363   <!--UNUSED: Deleted type magneticFieldStrengthMeasure.-->
3364   <!--UNUSED: Deleted type massConcentrationMeasure.-->
3365   <!--UNUSED: Deleted type massFlowRateMeasure.-->
3366   <!--UNUSED: Deleted type massMeasure.-->
3367   <!--UNUSED: Deleted type massPerLengthMeasure.-->
3368   <!--UNUSED: Deleted type modulusOfCompressionMeasure.-->
3369   <!--UNUSED: Deleted type momentOfForceMeasure.-->
3370   <!--UNUSED: Deleted type perLengthMeasure.-->
3371   <!--UNUSED: Deleted type planeAngleMeasure.-->
3372   <!--UNUSED: Deleted type powerMeasure.-->
3373   <!--UNUSED: Deleted type pressureMeasure.-->
3374   <!--UNUSED: Deleted type relativePowerMeasure.-->
3375   <!--UNUSED: Deleted type specificVolumeMeasure.-->
3376   <!--UNUSED: Deleted type thermodynamicTemperatureMeasure.-->
3377   <!--UNUSED: Deleted type timeMeasure.-->
3378   <!--UNUSED: Deleted type velocityMeasure.-->
3379   <!--UNUSED: Deleted type volumeMeasure.-->
3380   <!--UNUSED: Deleted type volumeFlowRateMeasure.-->
3381   <!--UNUSED: Deleted type volumePerVolumeMeasure.-->
3382   <!--UNUSED: Deleted type workMeasure.-->
3383   <!--UNUSED: Deleted type compressibilityMeasure.-->
3384   <!--UNUSED: Deleted type molarVolumeMeasure.-->
3385   <!--UNUSED: Deleted type standardVolumeMeasure.-->
3386   <!--UNUSED: Deleted type thermalConductivityMeasure.-->
3387   <!--UNUSED: Deleted type volumePerStandardVolumeMeasure.-->
3388   <!--UNUSED: Deleted type standardVolumePerStandardVolumeMeasure.-->
3389   <!--UNUSED: Deleted type standardVolumePerVolumeMeasure.-->
3390   <!--UNUSED: Deleted type accelerationLinearUom.-->
3391   <!--UNUSED: Deleted type amountOfSubstanceUom.-->
3392   <!--UNUSED: Deleted type anglePerLengthUom.-->
3393   <!--UNUSED: Deleted type anglePerTimeUom.-->
3394   <!--UNUSED: Deleted type areaUom.-->
3395   <!--UNUSED: Deleted type areaPerAreaUom.-->
3396   <!--UNUSED: Deleted type densityUom.-->
3397   <!--UNUSED: Deleted type dimensionlessUom.-->
3398   <!--UNUSED: Deleted type dynamicViscosityUom.-->
3399   <!--UNUSED: Deleted type electricPotentialUom.-->
3400   <!--UNUSED: Deleted type energyPerAreaUom.-->
3401   <!--UNUSED: Deleted type equivalentPerMassUom.-->
3402   <!--UNUSED: Deleted type forceUom.-->
3403   <!--UNUSED: Deleted type forcePerVolumeUom.-->
3404   <!--UNUSED: Deleted type frequencyUom.-->
3405   <!--UNUSED: Deleted type illuminanceUom.-->
3406   <!--UNUSED: Deleted type lengthUom.-->
3407   <!--UNUSED: Deleted type lengthPerLengthUom.-->
3408   <!--UNUSED: Deleted type magneticFieldStrengthUom.-->
3409   <!--UNUSED: Deleted type massConcentrationUom.-->
3410   <!--UNUSED: Deleted type massFlowRateUom.-->
3411   <!--UNUSED: Deleted type massUom.-->
3412   <!--UNUSED: Deleted type massPerLengthUom.-->
3413   <!--UNUSED: Deleted type modulusOfCompressionUom.-->
3414   <!--UNUSED: Deleted type momentOfForceUom.-->
3415   <!--UNUSED: Deleted type perLengthUom.-->
3416   <!--UNUSED: Deleted type planeAngleUom.-->
3417   <!--UNUSED: Deleted type powerUom.-->
3418   <!--UNUSED: Deleted type pressureUom.-->
3419   <!--UNUSED: Deleted type relativePowerUom.-->
3420   <!--UNUSED: Deleted type specificVolumeUom.-->
3421   <!--UNUSED: Deleted type thermodynamicTemperatureUom.-->
3422   <!--UNUSED: Deleted type timeUom.-->
3423   <!--UNUSED: Deleted type velocityUom.-->
3424   <!--UNUSED: Deleted type volumeUom.-->
3425   <!--UNUSED: Deleted type volumeFlowRateUom.-->
3426   <!--UNUSED: Deleted type volumePerVolumeUom.-->
3427   <!--UNUSED: Deleted type workUom.-->
3428   <!--UNUSED: Deleted type compressibilityUom.-->
3429   <!--UNUSED: Deleted type molarVolumeUom.-->
3430   <!--UNUSED: Deleted type thermalConductivityUom.-->
3431   <xsd:complexType name="measure">
3432      <xsd:simpleContent>
3433         <xsd:extension base="xsd:double">
3434            <xsd:attribute name="uom" type="xsd:string">
3435               <xsd:annotation>
3436                  <xsd:documentation>The unit of measure for the value.</xsd:documentation>
3437               </xsd:annotation>
3438            </xsd:attribute>
3439         </xsd:extension>
3440      </xsd:simpleContent>
3441   </xsd:complexType>
3442   <xsd:complexType name="measureWithQualifier">
3443      <xsd:simpleContent>
3444         <xsd:extension base="xsd:double">
3445            <xsd:attribute name="uom" type="xsd:string">
3446               <xsd:annotation>
3447                  <xsd:documentation>The unit of measure for the value.</xsd:documentation>
3448               </xsd:annotation>
3449            </xsd:attribute>
3450            <xsd:attribute name="status" type="xsd:string">
3451               <xsd:annotation>
3452                  <xsd:documentation>An indicator of the quality of the value.</xsd:documentation>
3453               </xsd:annotation>
3454            </xsd:attribute>
3455         </xsd:extension>
3456      </xsd:simpleContent>
3457   </xsd:complexType>
3458   <!--UNUSED: Deleted type verticalCoord.-->
3459</xsd:schema>
Note: See TracBrowser for help on using the browser.