cs_wellDatum.xsd
7.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
elementFormDefault="qualified"
attributeFormDefault="unqualified"
targetNamespace="http://www.witsml.org/schemas/131/addendum/combo"
xmlns:witsml="http://www.witsml.org/schemas/131/addendum/combo"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
version="1.3.1">
<!-- -->
<!--POSC License Agreement
This file is distributed under the POSC License Agreement at
http://www.posc.org/about/license.shtml.
Use of this file constitutes agreement with the POSC License Agreement.
-->
<!-- -->
<xsd:include schemaLocation="typ_dataTypes.xsd"/>
<xsd:include schemaLocation="cs_refWellWellbore.xsd"/>
<xsd:include schemaLocation="cs_refWellWellboreRig.xsd"/>
<xsd:include schemaLocation="attgrp_uid.xsd"/>
<!-- -->
<xsd:complexType name="cs_wellDatum">
<xsd:annotation>
<xsd:documentation>Defines the datums associated with elevation, vertical depth
and measured depth coordinates within the context of a well. </xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="name" type="witsml:nameString" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The human understandable contextual name of the reference datum.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="code" type="witsml:ElevCodeEnum" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The code value that represents the type of reference datum.
This may represent a point on a device (e.g., kelly bushing) or it may represent
a vertical reference datum (e.g., mean sea level).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="datumName" type="witsml:wellKnownNameStruct" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The name of the vertical reference datum in a particular naming system.
This should only be specified if the above 'code' represents some variation of sea level.
An optional short name (code) can also be specified. Specifying a well known datum is highly desired
if the above code is a variant of sea level because sea level varies over time and space.
An example would be to specify a name of 'Caspian Sea' with a code of '5106' in
the 'EPSG' naming system.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="kind" type="witsml:kindString" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>Since various activities may use different points as
measurement datums, it is useful to characterize the point based on its usage.
A well reference datum may have more than one such characterization.
For example, it may be the datum used by the driller and logger for measuring
their depths. Example usage values would be 'permanent','driller', 'logger'
'WRP' (well reference point) and 'SRP' (site reference point).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="wellbore" type="witsml:cs_refWellWellbore" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>A pointer to the wellbore that contains the reference datum.
This should be specified if a measured depth is given.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="rig" type="witsml:cs_refWellWellboreRig" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>A pointer to the rig that contains the device used
as a reference datum. The rig may be associated with a wellbore in another well
(e.g., pattern drilling using a rig on a track).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="elevation" type="witsml:wellElevationCoord" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The gravity based elevation coordinate of this reference datum
as measured from another datum. Positive moving upward from the elevation datum.
An elevation should be given unless this is a vertical reference datum (e.g., sea level). </xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="measuredDepth" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>The measured depth coordinate of this reference datum
as measured from another datum. The measured depth datum should either be the same as
the elevation datum or it should be relatable to the elevation datum through other datums.
Positive moving toward the bottomhole from the measured depth datum.
This should be given when a local reference is "downhole",
such as a kickoff point or ocean bottom template, and the borehole may not be vertical.
If a Depth is given then an Elevation should also be given.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="comment" type="witsml:commentString" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>A contextual description of the well reference datum.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="defaultMeasuredDepth" type="witsml:logicalBoolean" use="optional">
<xsd:annotation>
<xsd:documentation>True indicates that this is the default reference datum
for measured depth coordinates.
False or not given indicates that this is not the default reference datum.
Measured depth coordinates that do not specify a datum reference should be
assumed to be measured relative to this default reference datum.
Only one reference datum may be designated as the default measured depth datum for each well.
Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="defaultVerticalDepth" type="witsml:logicalBoolean" use="optional">
<xsd:annotation>
<xsd:documentation>True indicates that this is the default reference datum
for vertical depth coordinates.
False or not given indicates that this is not the default reference datum.
Vertical depth coordinates that do not specify a datum reference should be
assumed to be measured relative to the default reference datum.
Only one reference datum may be designated as the default vertical depth datum for each well.
Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="defaultElevation" type="witsml:logicalBoolean" use="optional">
<xsd:annotation>
<xsd:documentation>True indicates that this is the default reference datum
for elevation coordinates.
False or not given indicates that this is not the default reference datum.
Elevation coordinates that do not specify a datum reference should be assumed to be
measured relative to the default reference datum.
Only one reference datum may be designated as the default elevation datum for each well.
Values are "true" (or "1") and "false" ( or "0").</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup ref="witsml:attgrp_uid">
<xsd:annotation>
<xsd:documentation>The unique identifier of the reference datum.</xsd:documentation>
</xsd:annotation>
</xsd:attributeGroup>
</xsd:complexType>
<!-- -->
</xsd:schema>