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