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_axisDefinition.xsd"/> |
---|
18 | <!-- --> |
---|
19 | <xsd:complexType name="cs_wellLogCurveInfo"> |
---|
20 | <xsd:annotation> |
---|
21 | <xsd:documentation>WITSML Well Log - Curve Information</xsd:documentation> |
---|
22 | </xsd:annotation> |
---|
23 | <xsd:sequence> |
---|
24 | <xsd:element name="mnemonic" type="witsml:str32" minOccurs="1" maxOccurs="1"> |
---|
25 | <xsd:annotation> |
---|
26 | <xsd:documentation>The curve name. More than one curve can have |
---|
27 | the same mnemonic but something like the array definition should be |
---|
28 | different between them.</xsd:documentation> |
---|
29 | </xsd:annotation> |
---|
30 | </xsd:element> |
---|
31 | <xsd:element name="classWitsml" type="witsml:RealtimeData" minOccurs="0" maxOccurs="1"> |
---|
32 | <xsd:annotation> |
---|
33 | <xsd:documentation>The curve classification obtained from a lookup in the vendors |
---|
34 | mnemonic catalog. </xsd:documentation> |
---|
35 | </xsd:annotation> |
---|
36 | </xsd:element> |
---|
37 | <xsd:element name="unit" type="witsml:uomString" minOccurs="0" maxOccurs="1"> |
---|
38 | <xsd:annotation> |
---|
39 | <xsd:documentation>Unit of measurement for the data values. </xsd:documentation> |
---|
40 | </xsd:annotation> |
---|
41 | </xsd:element> |
---|
42 | <xsd:element name="mnemAlias" type="witsml:str32" minOccurs="0" maxOccurs="1"> |
---|
43 | <xsd:annotation> |
---|
44 | <xsd:documentation>Name alias for this trace. </xsd:documentation> |
---|
45 | </xsd:annotation> |
---|
46 | </xsd:element> |
---|
47 | <xsd:element name="nullValue" type="witsml:encodedValueString" minOccurs="0" maxOccurs="1"> |
---|
48 | <xsd:annotation> |
---|
49 | <xsd:documentation>An empty string is the default representation of a null value for a |
---|
50 | curve (i.e., when the null value representation is not explicitly defined). |
---|
51 | If a null value is defined in the logCurveInfo, it overrides any null value specified at the |
---|
52 | logHeader level. An empty string is always a valid null value representation in the comma delimited list. |
---|
53 | An empty string is not a valid null value representation within a space delimited or base64 encoded array. |
---|
54 | Specifying a null value also makes it easier to transform data back to a |
---|
55 | legacy format without having to scan the data to insure that the null pattern |
---|
56 | does not exist in the data.</xsd:documentation> |
---|
57 | </xsd:annotation> |
---|
58 | </xsd:element> |
---|
59 | <xsd:element name="alternateIndex" type="witsml:logicalBoolean" minOccurs="0" maxOccurs="1"> |
---|
60 | <xsd:annotation> |
---|
61 | <xsd:documentation>True (true or 1) if this curve is a candidate to be a primary index. |
---|
62 | False (false or 0) or not given, indicates otherwise. |
---|
63 | An index curve should monotonically change when sorted on its own values (i.e., no duplicates). </xsd:documentation> |
---|
64 | </xsd:annotation> |
---|
65 | </xsd:element> |
---|
66 | <xsd:element name="wellDatum" type="witsml:refNameString" minOccurs="0" maxOccurs="1"> |
---|
67 | <xsd:annotation> |
---|
68 | <xsd:documentation>A pointer to the wellDatum that represents the values of this trace. |
---|
69 | This is only relevant for measured depths, vertical depths or elevations.</xsd:documentation> |
---|
70 | </xsd:annotation> |
---|
71 | </xsd:element> |
---|
72 | <xsd:element name="curveDescription" type="witsml:descriptionString" minOccurs="0" maxOccurs="1"> |
---|
73 | <xsd:annotation> |
---|
74 | <xsd:documentation>Description of the curve. </xsd:documentation> |
---|
75 | </xsd:annotation> |
---|
76 | </xsd:element> |
---|
77 | <xsd:element name="sensorOffset" type="witsml:lengthMeasure" minOccurs="0" maxOccurs="1"> |
---|
78 | <xsd:annotation> |
---|
79 | <xsd:documentation>Offset of sensor from a downhole equipment vertical reference (the |
---|
80 | drill bit, for MWD logs; the tool zero reference for wireline |
---|
81 | logs). This element is only informative (log values are presented |
---|
82 | at actual depth, not requiring subtraction of an offset).</xsd:documentation> |
---|
83 | </xsd:annotation> |
---|
84 | </xsd:element> |
---|
85 | <xsd:element name="dataSource" type="witsml:str32" minOccurs="0" maxOccurs="1"> |
---|
86 | <xsd:annotation> |
---|
87 | <xsd:documentation>Data source, could be tool name/id. </xsd:documentation> |
---|
88 | </xsd:annotation> |
---|
89 | </xsd:element> |
---|
90 | <xsd:element name="densData" type="witsml:perLengthMeasure" minOccurs="0" maxOccurs="1"> |
---|
91 | <xsd:annotation> |
---|
92 | <xsd:documentation>Data density of sample in samples per length unit. </xsd:documentation> |
---|
93 | </xsd:annotation> |
---|
94 | </xsd:element> |
---|
95 | <xsd:element name="traceState" type="witsml:LogTraceState" minOccurs="0" maxOccurs="1"> |
---|
96 | <xsd:annotation> |
---|
97 | <xsd:documentation>State of trace data. </xsd:documentation> |
---|
98 | </xsd:annotation> |
---|
99 | </xsd:element> |
---|
100 | <xsd:element name="traceOrigin" type="witsml:LogTraceOrigin" minOccurs="0" maxOccurs="1"> |
---|
101 | <xsd:annotation> |
---|
102 | <xsd:documentation>Origin of trace data. </xsd:documentation> |
---|
103 | </xsd:annotation> |
---|
104 | </xsd:element> |
---|
105 | <xsd:choice minOccurs="0" maxOccurs="1"> |
---|
106 | <xsd:element name="typeLogData" type="witsml:LogDataType" minOccurs="0" maxOccurs="1"> |
---|
107 | <xsd:annotation> |
---|
108 | <xsd:documentation>Curve data type. For simple (non-array) traces, the data type |
---|
109 | of the curve data. For array curves (except Base64-encoded array curves), the |
---|
110 | data type of curve array element. For Base64-encoded arrays, the element data type |
---|
111 | is defined by encodingDef. If neither typeLogData nor encodingDef are given |
---|
112 | then 'Double' is assumed.</xsd:documentation> |
---|
113 | </xsd:annotation> |
---|
114 | </xsd:element> |
---|
115 | <xsd:element name="encodingDef" type="witsml:ArrayElementDataType" minOccurs="0" maxOccurs="1"> |
---|
116 | <xsd:annotation> |
---|
117 | <xsd:documentation>Indicates that the channel is encoded using a Base64 |
---|
118 | representation of binary values, and defines the binary type of elements |
---|
119 | of the array. If absent and axisDefinition is given, implies space delimited values, |
---|
120 | whose elemental data type is given by typeLogData.</xsd:documentation> |
---|
121 | </xsd:annotation> |
---|
122 | </xsd:element> |
---|
123 | </xsd:choice> |
---|
124 | <xsd:element name="axisDefinition" type="witsml:cs_axisDefinition" minOccurs="0" maxOccurs="unbounded"> |
---|
125 | <xsd:annotation> |
---|
126 | <xsd:documentation>Indicates that the curve is an array curve (i.e., multi-valued samples), |
---|
127 | and provides meta data by which an axis of the array can be understood. |
---|
128 | A separate definition is required for each axis of an N-dimensional array.</xsd:documentation> |
---|
129 | </xsd:annotation> |
---|
130 | </xsd:element> |
---|
131 | </xsd:sequence> |
---|
132 | <xsd:attribute name="uid" type="witsml:uidString" use="required"> |
---|
133 | <xsd:annotation> |
---|
134 | <xsd:documentation>Unique identifier for the curve. |
---|
135 | This value must be unique within the context of the wellLog. |
---|
136 | This value will be referenced by block curve descriptors.</xsd:documentation> |
---|
137 | </xsd:annotation> |
---|
138 | </xsd:attribute> |
---|
139 | </xsd:complexType> |
---|
140 | </xsd:schema> |
---|