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/addendum/combo" |
---|
6 | xmlns:witsml="http://www.witsml.org/schemas/131/addendum/combo" |
---|
7 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
---|
8 | version="1.3.1(NPD)"> |
---|
9 | |
---|
10 | <!-- --> |
---|
11 | <!-- Energistics License Agreement --> |
---|
12 | <!-- This file is distributed under the Energistics License Agreement at --> |
---|
13 | <!-- http://www.posc.org/about/license.shtml. --> |
---|
14 | <!-- Use of this file constitutes agreement with the Energistics License Agreement. --> |
---|
15 | <!-- --> |
---|
16 | <xsd:annotation> |
---|
17 | <xsd:documentation>WITSML - Monthly Production Report - NPD Profile</xsd:documentation> |
---|
18 | </xsd:annotation> |
---|
19 | |
---|
20 | <xsd:attributeGroup name="attgrp_uid"> |
---|
21 | <!--PROFILE: Deleted attribute uid.--> |
---|
22 | </xsd:attributeGroup> |
---|
23 | |
---|
24 | <xsd:element name="WITSMLComposite" type="witsml:allObjects"> |
---|
25 | <xsd:annotation> |
---|
26 | <xsd:documentation>The root container for all WITSML data. |
---|
27 | This schema is not designed for use with the WITSML API. |
---|
28 | Rather it captures the logical model represented by the API queriable objects. |
---|
29 | As such it can represent all data in a server or it can represent data outside the context of a server. |
---|
30 | The data in the API objects have been incorporated into a normal XML hierarchy of well/wellbore. |
---|
31 | The plural API root elements have essentially been renamed to "xxxSet". |
---|
32 | The content of the well and wellbore API objects has been captured in "generalInformation" elements. |
---|
33 | The realtime object is not included because it is considered to be a transient server concept. |
---|
34 | The trajectoryStation object is not included because it is redundant to the data in trajectory. |
---|
35 | </xsd:documentation> |
---|
36 | </xsd:annotation> |
---|
37 | </xsd:element> |
---|
38 | |
---|
39 | <xsd:complexType name="allObjects"> |
---|
40 | <xsd:sequence> |
---|
41 | |
---|
42 | <xsd:element name="documentInfo" type="witsml:cs_documentInfo" minOccurs="0"> |
---|
43 | <xsd:annotation> |
---|
44 | <xsd:documentation>Information about the XML message instance. </xsd:documentation> |
---|
45 | </xsd:annotation> |
---|
46 | </xsd:element> |
---|
47 | |
---|
48 | <xsd:element name="productVolumeSet" minOccurs="1"> |
---|
49 | <xsd:annotation> |
---|
50 | <xsd:documentation>A collector for product volume reports.</xsd:documentation> |
---|
51 | </xsd:annotation> |
---|
52 | <xsd:complexType> |
---|
53 | <xsd:sequence> |
---|
54 | <xsd:element name="productVolume" type="witsml:co_productVolume" maxOccurs="unbounded"> |
---|
55 | <xsd:annotation> |
---|
56 | <xsd:documentation>A single product volume report.</xsd:documentation> |
---|
57 | </xsd:annotation> |
---|
58 | </xsd:element> |
---|
59 | </xsd:sequence> |
---|
60 | </xsd:complexType> |
---|
61 | </xsd:element> |
---|
62 | |
---|
63 | </xsd:sequence> |
---|
64 | <xsd:attribute name="version" type="witsml:schemaVersionString" use="required"> |
---|
65 | <xsd:annotation> |
---|
66 | <xsd:documentation>Data object schema version. The fourth level must match the |
---|
67 | version of the schema constraints (enumerations and XML loader files) that are assumed |
---|
68 | by the document instance.</xsd:documentation> |
---|
69 | </xsd:annotation> |
---|
70 | </xsd:attribute> |
---|
71 | </xsd:complexType> |
---|
72 | |
---|
73 | <xsd:complexType name="cs_documentInfo"> |
---|
74 | <xsd:annotation> |
---|
75 | <xsd:documentation>A schema to capture a set of data that is |
---|
76 | relevant for many exchange documents. It includes information about the |
---|
77 | file that was created, and high-level information about the data that is |
---|
78 | being exchanged within the file.</xsd:documentation> |
---|
79 | </xsd:annotation> |
---|
80 | |
---|
81 | <xsd:sequence> |
---|
82 | <xsd:element name="DocumentName" type="witsml:nameStruct" minOccurs="1" maxOccurs="1"> |
---|
83 | <xsd:annotation> |
---|
84 | <xsd:documentation>An identifier for the document. This is |
---|
85 | intended to be unique within the context of the NamingSystem.</xsd:documentation> |
---|
86 | </xsd:annotation> |
---|
87 | </xsd:element> |
---|
88 | <xsd:element name="DocumentDate" type="witsml:timestamp" minOccurs="0"> |
---|
89 | <xsd:annotation> |
---|
90 | <xsd:documentation>The date of the creation of the document. |
---|
91 | This is not the same as the date that the file was created. |
---|
92 | For this date, the document is considered to be the set of |
---|
93 | information associated with this document information. |
---|
94 | for example, the document may be a seismic binset. |
---|
95 | this represents the date that the binset was created. |
---|
96 | the FileCreation information would capture the date that |
---|
97 | the XML file was created to send or exchange the binset.</xsd:documentation> |
---|
98 | </xsd:annotation> |
---|
99 | </xsd:element> |
---|
100 | <xsd:element name="AuditTrail" type="witsml:auditType" minOccurs="0"> |
---|
101 | <xsd:annotation> |
---|
102 | <xsd:documentation>A collection of events that can document the |
---|
103 | history of the data.</xsd:documentation> |
---|
104 | </xsd:annotation> |
---|
105 | </xsd:element> |
---|
106 | <xsd:element name="Owner" type="witsml:nameString" minOccurs="0"> |
---|
107 | <xsd:annotation> |
---|
108 | <xsd:documentation>The owner of the data.</xsd:documentation> |
---|
109 | </xsd:annotation> |
---|
110 | </xsd:element> |
---|
111 | </xsd:sequence> |
---|
112 | </xsd:complexType> |
---|
113 | |
---|
114 | <xsd:complexType name="auditType"> |
---|
115 | <xsd:annotation> |
---|
116 | <xsd:documentation>The audit records what happened to the data, to produce |
---|
117 | the data that is in this file. It consists of one or more events.</xsd:documentation> |
---|
118 | </xsd:annotation> |
---|
119 | <xsd:sequence> |
---|
120 | <xsd:element name="Event" type="witsml:eventType" maxOccurs="unbounded"/> |
---|
121 | </xsd:sequence> |
---|
122 | </xsd:complexType> |
---|
123 | |
---|
124 | <xsd:complexType name="eventType"> |
---|
125 | <xsd:annotation> |
---|
126 | <xsd:documentation>An event type captures the basic information about an |
---|
127 | event that has affected the data.</xsd:documentation> |
---|
128 | </xsd:annotation> |
---|
129 | <xsd:sequence> |
---|
130 | <xsd:element name="EventDate" type="witsml:timestamp"> |
---|
131 | <xsd:annotation> |
---|
132 | <xsd:documentation>The date on which the event took place.</xsd:documentation> |
---|
133 | </xsd:annotation> |
---|
134 | </xsd:element> |
---|
135 | <xsd:element name="ResponsibleParty" type="witsml:nameString" minOccurs="0"> |
---|
136 | <xsd:annotation> |
---|
137 | <xsd:documentation>The party responsible for the event.</xsd:documentation> |
---|
138 | </xsd:annotation> |
---|
139 | </xsd:element> |
---|
140 | <xsd:element name="Comment" type="witsml:commentString" minOccurs="0"> |
---|
141 | <xsd:annotation> |
---|
142 | <xsd:documentation>A free form comment that can further |
---|
143 | define the event that occurred.</xsd:documentation> |
---|
144 | </xsd:annotation> |
---|
145 | </xsd:element> |
---|
146 | <xsd:element name="Version" type="witsml:commentString" minOccurs="0"> |
---|
147 | <xsd:annotation> |
---|
148 | <xsd:documentation>The current document version.</xsd:documentation> |
---|
149 | </xsd:annotation> |
---|
150 | </xsd:element> |
---|
151 | </xsd:sequence> |
---|
152 | </xsd:complexType> |
---|
153 | |
---|
154 | <xsd:complexType name="co_productVolume"> |
---|
155 | <xsd:sequence> |
---|
156 | <xsd:group ref="witsml:grp_productVolume" minOccurs="1"> |
---|
157 | <xsd:annotation> |
---|
158 | <xsd:documentation>The non-contextual content for a product volume report.</xsd:documentation> |
---|
159 | </xsd:annotation> |
---|
160 | </xsd:group> |
---|
161 | </xsd:sequence> |
---|
162 | <xsd:attributeGroup ref="witsml:attgrp_uid"> |
---|
163 | <xsd:annotation> |
---|
164 | <xsd:documentation>Unique identifier for the product volume report.</xsd:documentation> |
---|
165 | </xsd:annotation> |
---|
166 | </xsd:attributeGroup> |
---|
167 | </xsd:complexType> |
---|
168 | |
---|
169 | <xsd:group name="grp_productVolume"> |
---|
170 | <xsd:annotation> |
---|
171 | <xsd:documentation>The non-contextual content of a WITSML Product Volume object.</xsd:documentation> |
---|
172 | </xsd:annotation> |
---|
173 | <xsd:sequence> |
---|
174 | <xsd:element name="kind" type="witsml:kindString" minOccurs="0" maxOccurs="1"> |
---|
175 | <xsd:annotation> |
---|
176 | <xsd:documentation>The type of report.</xsd:documentation> |
---|
177 | </xsd:annotation> |
---|
178 | </xsd:element> |
---|
179 | <xsd:element name="periodKind" type="witsml:ReportingPeriod" minOccurs="1" maxOccurs="1"> |
---|
180 | <xsd:annotation> |
---|
181 | <xsd:documentation>The type of period that is being reported. |
---|
182 | This value must be consistent with the reporting start and end values.</xsd:documentation> |
---|
183 | </xsd:annotation> |
---|
184 | </xsd:element> |
---|
185 | <xsd:element name="month" type="witsml:YearMonthType" minOccurs="1" maxOccurs="1"> |
---|
186 | <xsd:annotation> |
---|
187 | <xsd:documentation>The month that the report represents.</xsd:documentation> |
---|
188 | </xsd:annotation> |
---|
189 | </xsd:element> |
---|
190 | <xsd:element name="issuedBy" type="witsml:cs_businessAssociate" minOccurs="0" maxOccurs="1"> |
---|
191 | <xsd:annotation> |
---|
192 | <xsd:documentation>The person or company that issued the report. This may |
---|
193 | contain the role of the person or company within the context of the report.</xsd:documentation> |
---|
194 | </xsd:annotation> |
---|
195 | </xsd:element> |
---|
196 | <xsd:element name="facility" type="witsml:cs_productVolumeFacility" minOccurs="1" maxOccurs="unbounded"> |
---|
197 | <xsd:annotation> |
---|
198 | <xsd:documentation>A facility for which product information is being reported.</xsd:documentation> |
---|
199 | </xsd:annotation> |
---|
200 | </xsd:element> |
---|
201 | </xsd:sequence> |
---|
202 | </xsd:group> |
---|
203 | |
---|
204 | <xsd:complexType name="cs_productVolumeFacility"> |
---|
205 | <xsd:annotation> |
---|
206 | <xsd:documentation>WITSML - Report Facility Component Schema.</xsd:documentation> |
---|
207 | </xsd:annotation> |
---|
208 | <xsd:sequence> |
---|
209 | <xsd:element name="name" type="witsml:facilityIdentifierStruct" minOccurs="1" maxOccurs="1"> |
---|
210 | <xsd:annotation> |
---|
211 | <xsd:documentation>The name of the facility. The name can be qualified by a naming system. |
---|
212 | This also defines the kind of facility.</xsd:documentation> |
---|
213 | </xsd:annotation> |
---|
214 | </xsd:element> |
---|
215 | <xsd:element name="flow" type="witsml:cs_productVolumeFlowMPR" minOccurs="1" maxOccurs="unbounded"> |
---|
216 | <xsd:annotation> |
---|
217 | <xsd:documentation>Reports a flow of a product.</xsd:documentation> |
---|
218 | </xsd:annotation> |
---|
219 | </xsd:element> |
---|
220 | </xsd:sequence> |
---|
221 | <xsd:attributeGroup ref="witsml:attgrp_uid"> |
---|
222 | <xsd:annotation> |
---|
223 | <xsd:documentation>Unique identifier for the Product Volume Facility. </xsd:documentation> |
---|
224 | </xsd:annotation> |
---|
225 | </xsd:attributeGroup> |
---|
226 | </xsd:complexType> |
---|
227 | |
---|
228 | <xsd:complexType name="cs_productVolumeFlow"> |
---|
229 | <xsd:annotation> |
---|
230 | <xsd:documentation>WITSML - Product Volume Flow Component Schema.</xsd:documentation> |
---|
231 | </xsd:annotation> |
---|
232 | <xsd:sequence> |
---|
233 | <xsd:element name="kind" type="witsml:ReportingFlow" minOccurs="1" maxOccurs="1"> |
---|
234 | <xsd:annotation> |
---|
235 | <xsd:documentation>Indicates the type of flow that is being reported. |
---|
236 | The type of flow is an indication of the overall source or target of the flow. |
---|
237 | A production flow has one or more wells as the originating source. |
---|
238 | An injection flow has one or more wells as the ultimate target. |
---|
239 | An import flow has an offsite source. |
---|
240 | An export flow has an offiste target. |
---|
241 | A consumption flow generally has a kind of equipment as a target.</xsd:documentation> |
---|
242 | </xsd:annotation> |
---|
243 | </xsd:element> |
---|
244 | <xsd:element name="qualifier" type="witsml:FlowQualifier" minOccurs="0" maxOccurs="1"> |
---|
245 | <xsd:annotation> |
---|
246 | <xsd:documentation>Qualifies the type of flow that is being reported.</xsd:documentation> |
---|
247 | </xsd:annotation> |
---|
248 | </xsd:element> |
---|
249 | </xsd:sequence> |
---|
250 | <xsd:attributeGroup ref="witsml:attgrp_uid"> |
---|
251 | <xsd:annotation> |
---|
252 | <xsd:documentation>Unique identifier for the Product Volume Flow. </xsd:documentation> |
---|
253 | </xsd:annotation> |
---|
254 | </xsd:attributeGroup> |
---|
255 | </xsd:complexType> |
---|
256 | |
---|
257 | <xsd:complexType name="cs_productVolumeFlowMPR"> |
---|
258 | <xsd:complexContent> |
---|
259 | <xsd:extension base="witsml:cs_productVolumeFlow"> |
---|
260 | <xsd:sequence> |
---|
261 | <xsd:element name="identifier" type="witsml:identifierStruct" minOccurs="0" maxOccurs="1" /> |
---|
262 | <xsd:element name="flowDate" type="witsml:flowDateStruct" minOccurs="0" maxOccurs="1" /> |
---|
263 | |
---|
264 | <xsd:element name="product" type="witsml:cs_productVolumeProductMPR" minOccurs="1" maxOccurs="unbounded"> |
---|
265 | <xsd:annotation> |
---|
266 | <xsd:documentation>Reports a product flow stream.</xsd:documentation> |
---|
267 | </xsd:annotation> |
---|
268 | </xsd:element> |
---|
269 | </xsd:sequence> |
---|
270 | </xsd:extension> |
---|
271 | </xsd:complexContent> |
---|
272 | </xsd:complexType> |
---|
273 | |
---|
274 | <xsd:complexType name="cs_productVolumeProduct"> |
---|
275 | <xsd:annotation> |
---|
276 | <xsd:documentation>WITSML - Product Volume Product Component Schema.</xsd:documentation> |
---|
277 | </xsd:annotation> |
---|
278 | <xsd:sequence> |
---|
279 | <xsd:element name="kind" type="witsml:ReportingProduct" minOccurs="1" maxOccurs="1"> |
---|
280 | <xsd:annotation> |
---|
281 | <xsd:documentation>The type of product that is being reported.</xsd:documentation> |
---|
282 | </xsd:annotation> |
---|
283 | </xsd:element> |
---|
284 | </xsd:sequence> |
---|
285 | |
---|
286 | <xsd:attributeGroup ref="witsml:attgrp_uid"> |
---|
287 | <xsd:annotation> |
---|
288 | <xsd:documentation>Unique identifier for the Product Volume Product. </xsd:documentation> |
---|
289 | </xsd:annotation> |
---|
290 | </xsd:attributeGroup> |
---|
291 | |
---|
292 | </xsd:complexType> |
---|
293 | |
---|
294 | <xsd:complexType name="cs_productVolumeProductMPR"> |
---|
295 | <xsd:complexContent> |
---|
296 | <xsd:extension base="witsml:cs_productVolumeProduct"> |
---|
297 | <xsd:sequence> |
---|
298 | |
---|
299 | <xsd:choice> |
---|
300 | <xsd:annotation> |
---|
301 | <xsd:documentation>The density of the product.</xsd:documentation> |
---|
302 | </xsd:annotation> |
---|
303 | |
---|
304 | <xsd:element name="density" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1"> |
---|
305 | <xsd:annotation> |
---|
306 | <xsd:documentation>The density of the product.</xsd:documentation> |
---|
307 | </xsd:annotation> |
---|
308 | </xsd:element> |
---|
309 | <xsd:element name="densityStd" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1"> |
---|
310 | <xsd:annotation> |
---|
311 | <xsd:documentation>The density of the product after it has been |
---|
312 | corrected to standard temperature and pressure.</xsd:documentation> |
---|
313 | </xsd:annotation> |
---|
314 | </xsd:element> |
---|
315 | </xsd:choice> |
---|
316 | |
---|
317 | <xsd:choice> |
---|
318 | <xsd:annotation> |
---|
319 | <xsd:documentation>The volume of the product.</xsd:documentation> |
---|
320 | </xsd:annotation> |
---|
321 | |
---|
322 | <xsd:element name="volume" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1"> |
---|
323 | <xsd:annotation> |
---|
324 | <xsd:documentation>The uncorrected volume of the product. |
---|
325 | A positive value for an inlet port indicates flow into the port. |
---|
326 | A negative value for an inlet port indicates flow out of the port. |
---|
327 | A positive value for an outlet port indicates flow out of the port. |
---|
328 | A negative value for an outlet port indicates flow into of the port. |
---|
329 | This convention is designed such that a positive sign indicates |
---|
330 | an expected condition based on the intended port direction |
---|
331 | while a negative sign indicates an anomolous condition.</xsd:documentation> |
---|
332 | </xsd:annotation> |
---|
333 | </xsd:element> |
---|
334 | <xsd:element name="volumeStd" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1"> |
---|
335 | <xsd:annotation> |
---|
336 | <xsd:documentation>The volume of the fluid, corrected to standard |
---|
337 | conditions of temperature and pressure. The sign of the value |
---|
338 | should conform to the above description of volume.</xsd:documentation> |
---|
339 | </xsd:annotation> |
---|
340 | </xsd:element> |
---|
341 | </xsd:choice> |
---|
342 | |
---|
343 | <xsd:element name="mass" type="witsml:massMeasure" minOccurs="0" maxOccurs="1"> |
---|
344 | <xsd:annotation> |
---|
345 | <xsd:documentation>The mass of the product.</xsd:documentation> |
---|
346 | </xsd:annotation> |
---|
347 | </xsd:element> |
---|
348 | |
---|
349 | <xsd:element name="energy" type="witsml:workMeasure" minOccurs="0" maxOccurs="1"> |
---|
350 | <xsd:annotation> |
---|
351 | <xsd:documentation>The company share of the energy of the product.</xsd:documentation> |
---|
352 | </xsd:annotation> |
---|
353 | </xsd:element> |
---|
354 | |
---|
355 | <xsd:element name="contractPart" type="witsml:cs_shareVolumeContractPart" minOccurs="0" maxOccurs="unbounded"/> |
---|
356 | </xsd:sequence> |
---|
357 | </xsd:extension> |
---|
358 | </xsd:complexContent> |
---|
359 | </xsd:complexType> |
---|
360 | |
---|
361 | <xsd:complexType name="cs_shareVolumeContractPart"> |
---|
362 | <xsd:sequence> |
---|
363 | <xsd:element name="kind" type="witsml:ContractPartTypes"> |
---|
364 | <xsd:annotation> |
---|
365 | <xsd:documentation>The side of the contract this is a part of.</xsd:documentation> |
---|
366 | </xsd:annotation> |
---|
367 | </xsd:element> |
---|
368 | |
---|
369 | <xsd:element name="destination" type="witsml:destinationType" minOccurs="0" maxOccurs="1"/> |
---|
370 | <xsd:element name="companyShare" type="witsml:cs_shareVolumeProduct" minOccurs="0" maxOccurs="unbounded"/> |
---|
371 | |
---|
372 | </xsd:sequence> |
---|
373 | </xsd:complexType> |
---|
374 | |
---|
375 | <xsd:complexType name="cs_shareVolumeProduct"> |
---|
376 | <xsd:sequence> |
---|
377 | <xsd:element name="company" type="witsml:nameStruct" minOccurs="0"/> |
---|
378 | <xsd:choice> |
---|
379 | <xsd:element name="share" type="witsml:companyShareType" minOccurs="0" maxOccurs="1"/> |
---|
380 | <xsd:element name="splitFraction" type="witsml:nonNegativeFraction" minOccurs="0" maxOccurs="1"/> |
---|
381 | </xsd:choice> |
---|
382 | </xsd:sequence> |
---|
383 | </xsd:complexType> |
---|
384 | |
---|
385 | |
---|
386 | <xsd:complexType name="companyShareType"> |
---|
387 | <xsd:sequence> |
---|
388 | <xsd:choice> |
---|
389 | <xsd:annotation> |
---|
390 | <xsd:documentation>The company share of the density of the product.</xsd:documentation> |
---|
391 | </xsd:annotation> |
---|
392 | <xsd:element name="density" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1"> |
---|
393 | <xsd:annotation> |
---|
394 | <xsd:documentation>The company share of the density of the product.</xsd:documentation> |
---|
395 | </xsd:annotation> |
---|
396 | </xsd:element> |
---|
397 | <xsd:element name="densityStd" type="witsml:densityMeasure" minOccurs="0" maxOccurs="1"> |
---|
398 | <xsd:annotation> |
---|
399 | <xsd:documentation>The company share of the density of the product after it has been |
---|
400 | corrected to standard temperature and pressure.</xsd:documentation> |
---|
401 | </xsd:annotation> |
---|
402 | </xsd:element> |
---|
403 | </xsd:choice> |
---|
404 | <xsd:choice> |
---|
405 | <xsd:annotation> |
---|
406 | <xsd:documentation>The company share of the volume of the product.</xsd:documentation> |
---|
407 | </xsd:annotation> |
---|
408 | <xsd:element name="volume" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1"> |
---|
409 | <xsd:annotation> |
---|
410 | <xsd:documentation>The company share of the volume of the product.</xsd:documentation> |
---|
411 | </xsd:annotation> |
---|
412 | </xsd:element> |
---|
413 | <xsd:element name="volumeStd" type="witsml:volumeMeasure" minOccurs="0" maxOccurs="1"> |
---|
414 | <xsd:annotation> |
---|
415 | <xsd:documentation>The company share of the volume of the product after it has been |
---|
416 | corrected to standard temperature and pressure.</xsd:documentation> |
---|
417 | </xsd:annotation> |
---|
418 | </xsd:element> |
---|
419 | </xsd:choice> |
---|
420 | <xsd:element name="mass" type="witsml:massMeasure" minOccurs="0" maxOccurs="1"> |
---|
421 | <xsd:annotation> |
---|
422 | <xsd:documentation>The company share of the mass of the product.</xsd:documentation> |
---|
423 | </xsd:annotation> |
---|
424 | </xsd:element> |
---|
425 | <xsd:element name="energy" type="witsml:workMeasure" minOccurs="0" maxOccurs="1"> |
---|
426 | <xsd:annotation> |
---|
427 | <xsd:documentation>The company share of the energy of the product.</xsd:documentation> |
---|
428 | </xsd:annotation> |
---|
429 | </xsd:element> |
---|
430 | </xsd:sequence> |
---|
431 | </xsd:complexType> |
---|
432 | |
---|
433 | <xsd:complexType name="destinationType"> |
---|
434 | <xsd:annotation> |
---|
435 | <xsd:documentation>The destination... .</xsd:documentation> |
---|
436 | </xsd:annotation> |
---|
437 | <xsd:sequence> |
---|
438 | <xsd:element name="name" type="witsml:nameString" minOccurs="0" maxOccurs="1" /> |
---|
439 | <xsd:element name="country" type="witsml:nameString" minOccurs="1" maxOccurs="1" /> |
---|
440 | <xsd:element name="kind" type="witsml:DestinationTypes" minOccurs="1" maxOccurs="1" /> |
---|
441 | </xsd:sequence> |
---|
442 | </xsd:complexType> |
---|
443 | |
---|
444 | <xsd:complexType name="identifierStruct"> |
---|
445 | <xsd:simpleContent> |
---|
446 | <xsd:extension base="witsml:abstractNameString"> |
---|
447 | <xsd:attribute name="kind" type="witsml:IdentifierTypes" use="required"/> |
---|
448 | </xsd:extension> |
---|
449 | </xsd:simpleContent> |
---|
450 | </xsd:complexType> |
---|
451 | |
---|
452 | <xsd:complexType name="flowDateStruct"> |
---|
453 | <xsd:simpleContent> |
---|
454 | <xsd:extension base="witsml:abstractDate"> |
---|
455 | <xsd:attribute name="kind" type="witsml:FlowDateTypes" use="required"/> |
---|
456 | </xsd:extension> |
---|
457 | </xsd:simpleContent> |
---|
458 | </xsd:complexType> |
---|
459 | |
---|
460 | <xsd:simpleType name="ContractPartTypes"> |
---|
461 | <xsd:restriction base="witsml:abstractTypeEnum"> |
---|
462 | <xsd:enumeration value="owner"/> |
---|
463 | <xsd:enumeration value="seller"/> |
---|
464 | <xsd:enumeration value="buyer"/> |
---|
465 | </xsd:restriction> |
---|
466 | </xsd:simpleType> |
---|
467 | |
---|
468 | <xsd:simpleType name="DestinationTypes"> |
---|
469 | <xsd:restriction base="witsml:abstractTypeEnum"> |
---|
470 | <xsd:enumeration value="unknown"/> |
---|
471 | <xsd:enumeration value="town"/> |
---|
472 | <xsd:enumeration value="harbor"/> |
---|
473 | </xsd:restriction> |
---|
474 | </xsd:simpleType> |
---|
475 | |
---|
476 | <xsd:simpleType name="FlowQualifier"> |
---|
477 | <xsd:annotation> |
---|
478 | <xsd:documentation>Defines qualifiers for type of flow.</xsd:documentation> |
---|
479 | </xsd:annotation> |
---|
480 | <xsd:restriction base="witsml:abstractTypeEnum"> |
---|
481 | <xsd:enumeration value="allocated"> |
---|
482 | <xsd:annotation> |
---|
483 | <xsd:documentation>Indicates product characteristics that were allocated back to |
---|
484 | a well as opposed to being measured at the well.</xsd:documentation> |
---|
485 | </xsd:annotation> |
---|
486 | </xsd:enumeration> |
---|
487 | <xsd:enumeration value="measured"> |
---|
488 | <xsd:annotation> |
---|
489 | <xsd:documentation>Indicates product volumes that were actually |
---|
490 | measured at the port.</xsd:documentation> |
---|
491 | </xsd:annotation> |
---|
492 | </xsd:enumeration> |
---|
493 | |
---|
494 | <!-- TODO Documentation --> |
---|
495 | <xsd:enumeration value="value adjusted"/> |
---|
496 | </xsd:restriction> |
---|
497 | </xsd:simpleType> |
---|
498 | |
---|
499 | <xsd:simpleType name="ReportingFacility"> |
---|
500 | <xsd:restriction base="witsml:abstractTypeEnum"> |
---|
501 | |
---|
502 | <xsd:enumeration value="field"> |
---|
503 | <xsd:annotation> |
---|
504 | <xsd:documentation>A single field.</xsd:documentation> |
---|
505 | </xsd:annotation> |
---|
506 | </xsd:enumeration> |
---|
507 | |
---|
508 | <xsd:enumeration value="installation"/> |
---|
509 | <xsd:enumeration value="terminal"/> |
---|
510 | </xsd:restriction> |
---|
511 | </xsd:simpleType> |
---|
512 | |
---|
513 | <xsd:simpleType name="ReportingFlow"> |
---|
514 | <xsd:annotation> |
---|
515 | <xsd:documentation>Defines the types of flows for volume reports.</xsd:documentation> |
---|
516 | </xsd:annotation> |
---|
517 | <xsd:restriction base="witsml:abstractTypeEnum"> |
---|
518 | <xsd:enumeration value="consume"> |
---|
519 | <xsd:annotation> |
---|
520 | <xsd:documentation>Consumed (all methods) by the facility.</xsd:documentation> |
---|
521 | </xsd:annotation> |
---|
522 | </xsd:enumeration> |
---|
523 | <xsd:enumeration value="consume - flare"> |
---|
524 | <xsd:annotation> |
---|
525 | <xsd:documentation>Burned in a flare.</xsd:documentation> |
---|
526 | </xsd:annotation> |
---|
527 | </xsd:enumeration> |
---|
528 | <xsd:enumeration value="import"> |
---|
529 | <xsd:annotation> |
---|
530 | <xsd:documentation>Entering the facility for commercialized purposes.</xsd:documentation> |
---|
531 | </xsd:annotation> |
---|
532 | </xsd:enumeration> |
---|
533 | <xsd:enumeration value="injection"> |
---|
534 | <xsd:annotation> |
---|
535 | <xsd:documentation>Inject into a well.</xsd:documentation> |
---|
536 | </xsd:annotation> |
---|
537 | </xsd:enumeration> |
---|
538 | <xsd:enumeration value="inventory"> |
---|
539 | <xsd:annotation> |
---|
540 | <xsd:documentation>Stock at a facility. For a period that represents |
---|
541 | an event, the amount would represent the current amount of inventory. |
---|
542 | For other periods, the amount would represent the addition (positive value) |
---|
543 | or drawdown (negative value) over that period. |
---|
544 | For an individual storage facility (e.g., a tank), the amounts would represent that tank. |
---|
545 | For an overall facility, the amounts would represent all tanks.</xsd:documentation> |
---|
546 | </xsd:annotation> |
---|
547 | </xsd:enumeration> |
---|
548 | <xsd:enumeration value="consume - venting"> |
---|
549 | <xsd:annotation> |
---|
550 | <xsd:documentation>Released into the atmosphere.</xsd:documentation> |
---|
551 | </xsd:annotation> |
---|
552 | </xsd:enumeration> |
---|
553 | <xsd:enumeration value="production"> |
---|
554 | <xsd:annotation> |
---|
555 | <xsd:documentation>Exploited from a reservoir. This is independent of any disposition.</xsd:documentation> |
---|
556 | </xsd:annotation> |
---|
557 | </xsd:enumeration> |
---|
558 | |
---|
559 | <!-- TODO Documentation --> |
---|
560 | <xsd:enumeration value="sale - cargo"/> |
---|
561 | <xsd:enumeration value="sale - fiscal"/> |
---|
562 | <xsd:enumeration value="sale - gas external"/> |
---|
563 | <xsd:enumeration value="sale - gas internal"/> |
---|
564 | |
---|
565 | </xsd:restriction> |
---|
566 | </xsd:simpleType> |
---|
567 | |
---|
568 | <xsd:simpleType name="ReportingPeriod"> |
---|
569 | <xsd:restriction base="witsml:abstractTypeEnum"> |
---|
570 | <xsd:enumeration value="month"> |
---|
571 | <xsd:annotation> |
---|
572 | <xsd:documentation>A period of one calendar month.</xsd:documentation> |
---|
573 | </xsd:annotation> |
---|
574 | </xsd:enumeration> |
---|
575 | </xsd:restriction> |
---|
576 | </xsd:simpleType> |
---|
577 | |
---|
578 | <xsd:simpleType name="ReportingProduct"> |
---|
579 | <xsd:restriction base="witsml:abstractTypeEnum"> |
---|
580 | <xsd:enumeration value="carbon dioxide gas"> |
---|
581 | <xsd:annotation> |
---|
582 | <xsd:documentation>Carbon dioxide in a gaseous state.</xsd:documentation> |
---|
583 | </xsd:annotation> |
---|
584 | </xsd:enumeration> |
---|
585 | <xsd:enumeration value="cuttings"> |
---|
586 | <xsd:annotation> |
---|
587 | <xsd:documentation>Drill cuttings.</xsd:documentation> |
---|
588 | </xsd:annotation> |
---|
589 | </xsd:enumeration> |
---|
590 | <xsd:enumeration value="diesel"> |
---|
591 | <xsd:annotation> |
---|
592 | <xsd:documentation>Diesel fuel.</xsd:documentation> |
---|
593 | </xsd:annotation> |
---|
594 | </xsd:enumeration> |
---|
595 | <xsd:enumeration value="gas"> |
---|
596 | <xsd:annotation> |
---|
597 | <xsd:documentation>Gas mixture of hydrocarbons.</xsd:documentation> |
---|
598 | </xsd:annotation> |
---|
599 | </xsd:enumeration> |
---|
600 | <xsd:enumeration value="gas - rich"> |
---|
601 | <xsd:annotation> |
---|
602 | <xsd:documentation>Gas mixture of light and heavier hydrocarbons than a lean gas.</xsd:documentation> |
---|
603 | </xsd:annotation> |
---|
604 | </xsd:enumeration> |
---|
605 | <xsd:enumeration value="natural gas liquid"> |
---|
606 | <xsd:annotation> |
---|
607 | <xsd:documentation>Mixture of ethane, propane and butane with small quantities |
---|
608 | of heaver hydrocarbons. Partially liquid at atmospheric pressure.</xsd:documentation> |
---|
609 | </xsd:annotation> |
---|
610 | </xsd:enumeration> |
---|
611 | <xsd:enumeration value="oil" > |
---|
612 | <xsd:annotation> |
---|
613 | <xsd:documentation>Crude oil including water. A mixture of hydrocargons, |
---|
614 | that existed in liquid phase in underground reservoirs and remains liquid at |
---|
615 | atmospheric pressure after passing through separating facilities.</xsd:documentation> |
---|
616 | </xsd:annotation> |
---|
617 | </xsd:enumeration> |
---|
618 | <xsd:enumeration value="oil - net"> |
---|
619 | <xsd:annotation> |
---|
620 | <xsd:documentation>Oil with water removed.</xsd:documentation> |
---|
621 | </xsd:annotation> |
---|
622 | </xsd:enumeration> |
---|
623 | <xsd:enumeration value="oil - component in water"> |
---|
624 | <xsd:annotation> |
---|
625 | <xsd:documentation>Oil as a component in water.</xsd:documentation> |
---|
626 | </xsd:annotation> |
---|
627 | </xsd:enumeration> |
---|
628 | <xsd:enumeration value="water"> |
---|
629 | <xsd:annotation> |
---|
630 | <xsd:documentation>Water in a liquid state.</xsd:documentation> |
---|
631 | </xsd:annotation> |
---|
632 | </xsd:enumeration> |
---|
633 | <xsd:enumeration value="condensate"> |
---|
634 | <xsd:annotation> |
---|
635 | <xsd:documentation>Mixture of light and heavier hydrocarbons in a liguid state.</xsd:documentation> |
---|
636 | </xsd:annotation> |
---|
637 | </xsd:enumeration> |
---|
638 | |
---|
639 | <!-- TODO Documentation --> |
---|
640 | <xsd:enumeration value="dry gas"/> |
---|
641 | <xsd:enumeration value="wet gas"/> |
---|
642 | <xsd:enumeration value="oil - gross"/> |
---|
643 | <xsd:enumeration value="liquified petroleum gas"/> |
---|
644 | <xsd:enumeration value="liquid natural gas"/> |
---|
645 | <xsd:enumeration value="naphta"/> |
---|
646 | <xsd:enumeration value="ethane"/> |
---|
647 | <xsd:enumeration value="i-butane"/> |
---|
648 | <xsd:enumeration value="butane"/> |
---|
649 | <xsd:enumeration value="propane"/> |
---|
650 | <xsd:enumeration value="condensate - net"/> |
---|
651 | <xsd:enumeration value="condensate - gross"/> |
---|
652 | </xsd:restriction> |
---|
653 | </xsd:simpleType> |
---|
654 | |
---|
655 | <xsd:simpleType name="IdentifierTypes"> |
---|
656 | <xsd:restriction base="witsml:abstractTypeEnum"> |
---|
657 | <xsd:enumeration value="cargo number"/> |
---|
658 | </xsd:restriction> |
---|
659 | </xsd:simpleType> |
---|
660 | |
---|
661 | <xsd:simpleType name="FlowDateTypes"> |
---|
662 | <xsd:restriction base="witsml:abstractTypeEnum"> |
---|
663 | <xsd:enumeration value="bill of lading date"/> |
---|
664 | </xsd:restriction> |
---|
665 | </xsd:simpleType> |
---|
666 | |
---|
667 | <xsd:complexType name="cs_businessAssociate"> |
---|
668 | <xsd:annotation> |
---|
669 | <xsd:documentation>The business associate describes any company, person, |
---|
670 | group, consultant, etc, which is associated within a context (e.g., a well). |
---|
671 | The information contained in this module is: |
---|
672 | (1) contact information, such as address, phone numbers, email, |
---|
673 | (2) alternate name, or aliases, and |
---|
674 | (3) associations, such as the business associate that this one is associated |
---|
675 | with, or a contact who is associated with this business associate. </xsd:documentation> |
---|
676 | </xsd:annotation> |
---|
677 | <xsd:sequence> |
---|
678 | <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1"> |
---|
679 | <xsd:annotation> |
---|
680 | <xsd:documentation>The name of the business associate. |
---|
681 | This can be the name of a person, business, group, etc.</xsd:documentation> |
---|
682 | </xsd:annotation> |
---|
683 | </xsd:element> |
---|
684 | <xsd:element name="role" type="witsml:nameStruct" minOccurs="1" maxOccurs="unbounded"> |
---|
685 | <xsd:annotation> |
---|
686 | <xsd:documentation>The role of the business associate within the |
---|
687 | context. For example, "driller" or "operator", |
---|
688 | "lead agency - CEQA compliance" "regulatory contact", "safety contact". |
---|
689 | A business associate will generally have one role |
---|
690 | but the role may be called different things in different naming systems.</xsd:documentation> |
---|
691 | </xsd:annotation> |
---|
692 | </xsd:element> |
---|
693 | </xsd:sequence> |
---|
694 | <xsd:attributeGroup ref="witsml:attgrp_uid"> |
---|
695 | <xsd:annotation> |
---|
696 | <xsd:documentation>Unique identifier for the business associate. </xsd:documentation> |
---|
697 | </xsd:annotation> |
---|
698 | </xsd:attributeGroup> |
---|
699 | </xsd:complexType> |
---|
700 | |
---|
701 | <xsd:complexType name="facilityIdentifierStruct" final=""> |
---|
702 | <xsd:annotation> |
---|
703 | <xsd:documentation>Identifies a facility.</xsd:documentation> |
---|
704 | </xsd:annotation> |
---|
705 | <xsd:simpleContent> |
---|
706 | <xsd:extension base="witsml:abstractNameString"> |
---|
707 | <xsd:attribute name="kind" type="witsml:ReportingFacility" use="required"> |
---|
708 | <xsd:annotation> |
---|
709 | <xsd:documentation>The kind of facility.</xsd:documentation> |
---|
710 | </xsd:annotation> |
---|
711 | </xsd:attribute> |
---|
712 | <xsd:attribute name="namingSystem" type="witsml:nameString" use="required"> |
---|
713 | <xsd:annotation> |
---|
714 | <xsd:documentation>The naming system within which the name is unique. |
---|
715 | For example, API or NPD.</xsd:documentation> |
---|
716 | </xsd:annotation> |
---|
717 | </xsd:attribute> |
---|
718 | <xsd:attribute name="uidRef" type="witsml:uidString" use="optional"> |
---|
719 | <xsd:annotation> |
---|
720 | <xsd:documentation>If the facility is defined and instantiated |
---|
721 | within the context of a WITSML server, this is a pointer |
---|
722 | to the uid value of that object instance.</xsd:documentation> |
---|
723 | </xsd:annotation> |
---|
724 | </xsd:attribute> |
---|
725 | </xsd:extension> |
---|
726 | </xsd:simpleContent> |
---|
727 | </xsd:complexType> |
---|
728 | |
---|
729 | <xsd:simpleType name="nonNegativeFraction"> |
---|
730 | <xsd:annotation> |
---|
731 | <xsd:documentation>A floating point value between zero (inclusive) and one (inclusive)</xsd:documentation> |
---|
732 | </xsd:annotation> |
---|
733 | <xsd:restriction base="witsml:abstractDouble"> |
---|
734 | <xsd:minInclusive value="0"> |
---|
735 | <xsd:annotation> |
---|
736 | <xsd:documentation>This value can be zero but cannot be negative.</xsd:documentation> |
---|
737 | </xsd:annotation> |
---|
738 | </xsd:minInclusive> |
---|
739 | <xsd:maxInclusive value="1"> |
---|
740 | <xsd:annotation> |
---|
741 | <xsd:documentation>This value can not be greater than one.</xsd:documentation> |
---|
742 | </xsd:annotation> |
---|
743 | </xsd:maxInclusive> |
---|
744 | </xsd:restriction> |
---|
745 | </xsd:simpleType> |
---|
746 | |
---|
747 | <xsd:complexType name="densityMeasure"> |
---|
748 | <xsd:simpleContent> |
---|
749 | <xsd:extension base="witsml:abstractMeasure"> |
---|
750 | <xsd:attribute name="uom" type="witsml:densityUom" use="required" /> |
---|
751 | </xsd:extension> |
---|
752 | </xsd:simpleContent> |
---|
753 | </xsd:complexType> |
---|
754 | |
---|
755 | <xsd:simpleType name="densityUom"> |
---|
756 | <xsd:restriction base="witsml:abstractUomEnum"> |
---|
757 | <xsd:enumeration value="kg/m3" /> |
---|
758 | <xsd:enumeration value="mg/L"/> |
---|
759 | </xsd:restriction> |
---|
760 | </xsd:simpleType> |
---|
761 | |
---|
762 | <xsd:complexType name="workMeasure"> |
---|
763 | <xsd:simpleContent> |
---|
764 | <xsd:extension base="witsml:abstractMeasure"> |
---|
765 | <xsd:attribute name="uom" type="witsml:workUom" use="required"/> |
---|
766 | </xsd:extension> |
---|
767 | </xsd:simpleContent> |
---|
768 | </xsd:complexType> |
---|
769 | |
---|
770 | <xsd:simpleType name="workUom"> |
---|
771 | <xsd:restriction base="witsml:abstractUomEnum"> |
---|
772 | <xsd:enumeration value="MJ"/> |
---|
773 | <xsd:enumeration value="kW.h"/> |
---|
774 | </xsd:restriction> |
---|
775 | </xsd:simpleType> |
---|
776 | |
---|
777 | <xsd:complexType name="massMeasure"> |
---|
778 | <xsd:simpleContent> |
---|
779 | <xsd:extension base="witsml:abstractMeasure"> |
---|
780 | <xsd:attribute name="uom" type="witsml:massUom" use="required"/> |
---|
781 | </xsd:extension> |
---|
782 | </xsd:simpleContent> |
---|
783 | </xsd:complexType> |
---|
784 | |
---|
785 | <xsd:simpleType name="massUom"> |
---|
786 | <xsd:restriction base="witsml:abstractUomEnum"> |
---|
787 | <xsd:enumeration value="kg"/> |
---|
788 | <xsd:enumeration value="t"/> |
---|
789 | </xsd:restriction> |
---|
790 | </xsd:simpleType> |
---|
791 | |
---|
792 | <xsd:complexType name="volumeMeasure"> |
---|
793 | <xsd:simpleContent> |
---|
794 | <xsd:extension base="witsml:abstractMeasure"> |
---|
795 | <xsd:attribute name="uom" type="witsml:volumeUom" use="required"/> |
---|
796 | </xsd:extension> |
---|
797 | </xsd:simpleContent> |
---|
798 | </xsd:complexType> |
---|
799 | |
---|
800 | <xsd:simpleType name="volumeUom"> |
---|
801 | <xsd:restriction base="witsml:abstractUomEnum"> |
---|
802 | <xsd:enumeration value="m3"/> |
---|
803 | <xsd:enumeration value="bbl"/> |
---|
804 | <xsd:enumeration value="L"/> |
---|
805 | <xsd:enumeration value="Nm3"/> |
---|
806 | </xsd:restriction> |
---|
807 | </xsd:simpleType> |
---|
808 | |
---|
809 | <xsd:simpleType name="commentString"> |
---|
810 | <xsd:annotation> |
---|
811 | <xsd:documentation>A comment or remark intended for human consumption. There should be no assumption that semantics can be extracted from this field by a computer. |
---|
812 | Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be interoperable).</xsd:documentation> |
---|
813 | </xsd:annotation> |
---|
814 | <xsd:restriction base="witsml:abstractCommentString" /> |
---|
815 | </xsd:simpleType> |
---|
816 | |
---|
817 | <xsd:simpleType name="kindString"> |
---|
818 | <xsd:annotation> |
---|
819 | <xsd:documentation>A community assigned human recognizable name. This type of value is intended to be unique and is generally a candidate to be constrained to an |
---|
820 | enumerated list.</xsd:documentation> |
---|
821 | </xsd:annotation> |
---|
822 | <xsd:restriction base="witsml:abstractTypeEnum" /> |
---|
823 | </xsd:simpleType> |
---|
824 | |
---|
825 | <xsd:simpleType name="nameString"> |
---|
826 | <xsd:annotation> |
---|
827 | <xsd:documentation>A user assigned human recognizable contextual name of something. There should be no assumption that (interoperable) semantic information will be |
---|
828 | extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced by an |
---|
829 | enumeration.</xsd:documentation> |
---|
830 | </xsd:annotation> |
---|
831 | <xsd:restriction base="witsml:abstractNameString" /> |
---|
832 | </xsd:simpleType> |
---|
833 | |
---|
834 | <xsd:complexType name="nameStruct"> |
---|
835 | <xsd:annotation> |
---|
836 | <xsd:documentation>The name of something within a naming system.</xsd:documentation> |
---|
837 | </xsd:annotation> |
---|
838 | <xsd:simpleContent> |
---|
839 | <xsd:extension base="witsml:abstractNameString"> |
---|
840 | <xsd:attribute name="namingSystem" type="witsml:nameString" use="optional"> |
---|
841 | <xsd:annotation> |
---|
842 | <xsd:documentation>The naming system within the name is (hopefully) unique.</xsd:documentation> |
---|
843 | </xsd:annotation> |
---|
844 | </xsd:attribute> |
---|
845 | </xsd:extension> |
---|
846 | </xsd:simpleContent> |
---|
847 | </xsd:complexType> |
---|
848 | |
---|
849 | <xsd:simpleType name="schemaVersionString" final="#all"> |
---|
850 | <xsd:annotation> |
---|
851 | <xsd:documentation>The version of the schema. |
---|
852 | The first three levels are fixed. The fourth level can vary |
---|
853 | to represent on the constraints defined in enumerations and |
---|
854 | XML loader files. </xsd:documentation> |
---|
855 | </xsd:annotation> |
---|
856 | <xsd:restriction base="witsml:abstractString"> |
---|
857 | <xsd:maxLength value="16"/> |
---|
858 | <xsd:pattern value="1\.3\.1\.[1-9]?[0-9]"/> |
---|
859 | </xsd:restriction> |
---|
860 | </xsd:simpleType> |
---|
861 | |
---|
862 | <xsd:simpleType name="timestamp"> |
---|
863 | <xsd:annotation> |
---|
864 | <xsd:documentation>A date with the time of day and an optional time zone. While the time zone is optional, it is strongly advised that the zone always be specified in |
---|
865 | each date time value.</xsd:documentation> |
---|
866 | </xsd:annotation> |
---|
867 | <xsd:restriction base="witsml:abstractDateTime" /> |
---|
868 | </xsd:simpleType> |
---|
869 | |
---|
870 | <xsd:simpleType name="uidString"> |
---|
871 | <xsd:annotation> |
---|
872 | <xsd:documentation>A locally unique identifier. The value is not intended to convey any semantic content (e.g., it may be computer generated). The value is only required |
---|
873 | to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in multiple documents will utilize the same uid |
---|
874 | value unless enforced by the source of the document (e.g., a document server).</xsd:documentation> |
---|
875 | </xsd:annotation> |
---|
876 | <xsd:restriction base="witsml:abstractUidString" /> |
---|
877 | </xsd:simpleType> |
---|
878 | |
---|
879 | <xsd:simpleType name="YearMonthType"> |
---|
880 | <xsd:annotation> |
---|
881 | <xsd:documentation>Year and month type in the format of YYYY-MM</xsd:documentation> |
---|
882 | </xsd:annotation> |
---|
883 | <xsd:restriction base="xsd:gYearMonth"> |
---|
884 | <xsd:pattern value="[1-9][0-9]{3}\-.*" /> |
---|
885 | </xsd:restriction> |
---|
886 | </xsd:simpleType> |
---|
887 | |
---|
888 | <xsd:simpleType name="abstractCommentString"> |
---|
889 | <xsd:annotation> |
---|
890 | <xsd:documentation>The intended abstract supertype of all comments or remarks intended for human consumption. There should be no assumption that semantics can be |
---|
891 | extracted from the field by a computer. Neither should there be an assumption that any two humans will interpret the information in the same way (i.e., it may not be |
---|
892 | interoperable).</xsd:documentation> |
---|
893 | </xsd:annotation> |
---|
894 | <xsd:restriction base="witsml:abstractMaximumLengthString" /> |
---|
895 | </xsd:simpleType> |
---|
896 | |
---|
897 | <xsd:simpleType name="abstractDateTime"> |
---|
898 | <xsd:annotation> |
---|
899 | <xsd:documentation>This type disallows an "empty" dateTime value. This type should not be used directly except to derive another type. All dateTime types should be |
---|
900 | derived from this type rather than using xsd:dateTime.</xsd:documentation> |
---|
901 | </xsd:annotation> |
---|
902 | <xsd:restriction base="xsd:dateTime"> |
---|
903 | <xsd:pattern value=".+" /> |
---|
904 | </xsd:restriction> |
---|
905 | </xsd:simpleType> |
---|
906 | |
---|
907 | <xsd:simpleType name="abstractDate"> |
---|
908 | <xsd:annotation> |
---|
909 | <xsd:documentation>This type disallows an "empty" date value. This type should not be used directly except to derive another type. All dateTime types should be derived |
---|
910 | from this type rather than using xsd:dateTime.</xsd:documentation> |
---|
911 | </xsd:annotation> |
---|
912 | <xsd:restriction base="xsd:date"> |
---|
913 | <xsd:pattern value=".+" /> |
---|
914 | </xsd:restriction> |
---|
915 | </xsd:simpleType> |
---|
916 | |
---|
917 | <xsd:simpleType name="abstractTypeEnum"> |
---|
918 | <xsd:annotation> |
---|
919 | <xsd:documentation>The intended abstract supertype of all enumerated "types". This abstract type allows the maximum length of a type enumeration to be centrally defined. |
---|
920 | This type should not be used directly except to derive another type. It should also be used for uncontrolled strings which are candidates to become enumerations at a |
---|
921 | future date.</xsd:documentation> |
---|
922 | </xsd:annotation> |
---|
923 | <xsd:restriction base="witsml:abstractString"> |
---|
924 | <xsd:maxLength value="40" /> |
---|
925 | </xsd:restriction> |
---|
926 | </xsd:simpleType> |
---|
927 | |
---|
928 | <xsd:simpleType name="abstractDouble"> |
---|
929 | <xsd:annotation> |
---|
930 | <xsd:documentation>This type disallows an "empty" double value. This type should not be used directly except to derive another type.</xsd:documentation> |
---|
931 | </xsd:annotation> |
---|
932 | <xsd:restriction base="xsd:double"> |
---|
933 | <xsd:pattern value=".+" /> |
---|
934 | </xsd:restriction> |
---|
935 | </xsd:simpleType> |
---|
936 | |
---|
937 | <xsd:simpleType name="abstractMaximumLengthString"> |
---|
938 | <xsd:annotation> |
---|
939 | <xsd:documentation>This defines the maximum acceptable length of a string that can be stored in a data base.</xsd:documentation> |
---|
940 | </xsd:annotation> |
---|
941 | <xsd:restriction base="witsml:abstractString"> |
---|
942 | <xsd:maxLength value="4000"> |
---|
943 | <xsd:annotation> |
---|
944 | <xsd:documentation>This value should be the smallest "maximum size of a variable length character type" in commonly used DBMSs. This is the maximum size of a |
---|
945 | VARCHAR2 in Oracle 8.</xsd:documentation> |
---|
946 | </xsd:annotation> |
---|
947 | </xsd:maxLength> |
---|
948 | </xsd:restriction> |
---|
949 | </xsd:simpleType> |
---|
950 | |
---|
951 | <xsd:complexType name="abstractMeasure"> |
---|
952 | <xsd:annotation> |
---|
953 | <xsd:documentation>The intended abstract supertype of all quantities that have a value with a unit of measure. The unit of measure is in the uom attribute of the |
---|
954 | subtypes. This type allows all quantities to be profiled to be a 'float' instead of a 'double'.</xsd:documentation> |
---|
955 | </xsd:annotation> |
---|
956 | <xsd:simpleContent> |
---|
957 | <xsd:extension base="witsml:abstractDouble" /> |
---|
958 | </xsd:simpleContent> |
---|
959 | </xsd:complexType> |
---|
960 | |
---|
961 | <xsd:simpleType name="abstractNameString"> |
---|
962 | <xsd:annotation> |
---|
963 | <xsd:documentation>The intended abstract supertype of all user assigned human recognizable contextual name types. There should be no assumption that (interoperable) |
---|
964 | semantic information will be extracted from the name by a third party. This type of value is generally not guaranteed to be unique and is not a candidate to be replaced |
---|
965 | by an enumeration.</xsd:documentation> |
---|
966 | </xsd:annotation> |
---|
967 | <xsd:restriction base="witsml:abstractString"> |
---|
968 | <xsd:maxLength value="64" /> |
---|
969 | </xsd:restriction> |
---|
970 | </xsd:simpleType> |
---|
971 | |
---|
972 | <xsd:simpleType name="abstractString"> |
---|
973 | <xsd:annotation> |
---|
974 | <xsd:documentation>The intended abstract supertype of all strings. This abstract type allows the control over whitespace for all strings to be defined at a high level. |
---|
975 | This type should not be used directly except to derive another type.</xsd:documentation> |
---|
976 | </xsd:annotation> |
---|
977 | <xsd:restriction base="xsd:string"> |
---|
978 | <xsd:whiteSpace value="collapse"> |
---|
979 | <xsd:annotation> |
---|
980 | <xsd:documentation>Replace tab, line feed and carriage return with a space, collapse contiguous sequences of spaces to a single space and then remove leading and |
---|
981 | trailing spaces.</xsd:documentation> |
---|
982 | </xsd:annotation> |
---|
983 | </xsd:whiteSpace> |
---|
984 | <xsd:minLength value="1"> |
---|
985 | <xsd:annotation> |
---|
986 | <xsd:documentation>The empty string is not allowed. This constraint conbined with the whiteSpace collapse constraint means that a blank value is not |
---|
987 | allowed.</xsd:documentation> |
---|
988 | </xsd:annotation> |
---|
989 | </xsd:minLength> |
---|
990 | </xsd:restriction> |
---|
991 | </xsd:simpleType> |
---|
992 | |
---|
993 | <xsd:simpleType name="abstractUidString"> |
---|
994 | <xsd:annotation> |
---|
995 | <xsd:documentation>The intended abstract supertype of all locally unique identifiers. The value is not intended to convey any semantic content (e.g., it may be computer |
---|
996 | generated). The value is only required to be unique within a context in a document (e.g., defined via key and keyref). There is no guarantee that the same data in |
---|
997 | multiple documents will utilize the same uid value unless enforced by the source of the document (e.g., a document server). Spaces are not allowed.</xsd:documentation> |
---|
998 | </xsd:annotation> |
---|
999 | <xsd:restriction base="witsml:abstractString"> |
---|
1000 | <xsd:maxLength value="64" /> |
---|
1001 | <xsd:pattern value="[^ ]*" /> |
---|
1002 | </xsd:restriction> |
---|
1003 | </xsd:simpleType> |
---|
1004 | |
---|
1005 | <xsd:simpleType name="abstractUomEnum"> |
---|
1006 | <xsd:annotation> |
---|
1007 | <xsd:documentation>The intended abstract supertype of all "units of measure". This abstract type allows the maximum length of a UOM enumeration to be centrally defined. |
---|
1008 | This type is abstract in the sense that it should not be used directly except to derive another type.</xsd:documentation> |
---|
1009 | </xsd:annotation> |
---|
1010 | <xsd:restriction base="witsml:abstractString"> |
---|
1011 | <xsd:maxLength value="24" /> |
---|
1012 | </xsd:restriction> |
---|
1013 | </xsd:simpleType> |
---|
1014 | |
---|
1015 | </xsd:schema> |
---|