root / projects / DailyProductionReport_1.0 / XML / Version1.0 / WITSML131 / cs_blockInfo.xsd @ 16

Revision 16, 7.9 kB (checked in by ryland, 15 years ago)
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        <!-- 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="cs_blockCurveInfo.xsd"/>
17        <!--                                                         -->
18        <xsd:complexType name="cs_blockInfo">
19                <xsd:annotation>
20                        <xsd:documentation>Describes a well log data block.     </xsd:documentation>
21                </xsd:annotation>
22                <xsd:sequence>
23                        <xsd:element name="dataRowCount" type="witsml:positiveBigCount" minOccurs="0" maxOccurs="1">
24                                <xsd:annotation>
25                                        <xsd:documentation>The number of data rows in the persistent block.
26                                        If a value is specified for this element in a query then the
27                                        server will limit the number of data rows in the result
28                                        but the return value will still be the number of data rows in
29                                        the persistent block.</xsd:documentation>
30                                </xsd:annotation>
31                        </xsd:element>
32                        <xsd:element name="pass" type="witsml:str16" minOccurs="0" maxOccurs="1">
33                                <xsd:annotation>
34                                        <xsd:documentation>Identifies the pass within the run.</xsd:documentation>
35                                </xsd:annotation>
36                        </xsd:element>
37                        <xsd:element name="description" type="witsml:descriptionString" minOccurs="0" maxOccurs="1">
38                                <xsd:annotation>
39                                        <xsd:documentation>A description of the block. For example, 'main log section',
40                                        'repeat section', 'logged going in hole' 'main log section, curve group 1',
41                                        'composite'.</xsd:documentation>
42                                </xsd:annotation>
43                        </xsd:element>
44                        <xsd:element name="indexType" type="witsml:LogIndexType" minOccurs="1" maxOccurs="1">
45                                <xsd:annotation>
46                                        <xsd:documentation>Primary index type.
47                                        The index may be a quantity type or it may be a dateTime type.
48                                        At least one of the index sets must be given. If both are given then "indexType" and
49                                        "indexCurve" must represent an elapsed time from "startDateTimeIndex".
50                                        The start and end indexes are server query parameters and will be
51                                        populated with valid values in a GetFromStore result.</xsd:documentation>
52                                </xsd:annotation>
53                        </xsd:element>
54                        <xsd:element name="startIndex" type="witsml:genericMeasure" minOccurs="0" maxOccurs="1">
55                                <xsd:annotation>
56                                        <xsd:documentation>When the direction is defined as "Increasing",
57                                        the startIndex is the starting (minimum) index value at which the first data point
58                                        is located.  When the log header defines the direction as "Decreasing", the startIndex
59                                        is the starting (maximum) index value at which the first data point is located. </xsd:documentation>
60                                </xsd:annotation>
61                        </xsd:element>
62                        <xsd:element name="endIndex" type="witsml:genericMeasure" minOccurs="0" maxOccurs="1">
63                                <xsd:annotation>
64                                        <xsd:documentation>When the direction is defined as "Increasing", the endIndex
65                                        is the ending (maximum) index value at which the last data point is located. 
66                                        When the log header defines the direction as Decreasing, the endIndex is the ending
67                                        (minimum) index value at which the last data point is located.</xsd:documentation>
68                                </xsd:annotation>
69                        </xsd:element>
70                        <xsd:element name="stepIncrement" type="witsml:ratioGenericMeasure" minOccurs="0" maxOccurs="1">
71                                <xsd:annotation>
72                                        <xsd:documentation>The sampling increment. Set to zero for unequal sampling.
73                                        For curves that are originally sampled at a constant increment, this value should
74                                        be retained because calculated values may have cumulative errors.</xsd:documentation>
75                                </xsd:annotation>
76                        </xsd:element>
77                        <xsd:element name="startDateTimeIndex" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
78                                <xsd:annotation>
79                                        <xsd:documentation>When the direction is defined as "Increasing",
80                                        the startIndex is the starting (minimum) index value at which the first data point
81                                        is located.  When the log header defines the direction as "Decreasing", the startIndex
82                                        is the starting (maximum) index value at which the first data point is located.  </xsd:documentation>
83                                </xsd:annotation>
84                        </xsd:element>
85                        <xsd:element name="endDateTimeIndex" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
86                                <xsd:annotation>
87                                        <xsd:documentation>When the direction is defined as "Increasing", the endIndex
88                                        is the ending (maximum) index value at which the last data point is located. 
89                                        When the log header defines the direction as Decreasing, the endIndex is the ending
90                                        (minimum) index value at which the last data point is located.
91                                        This value is optional when startDateTimeIndex represents a reference for elapsed times.
92                                        Otherwise, it should be defined when startDateTimeIndex is defined. </xsd:documentation>
93                                </xsd:annotation>
94                        </xsd:element>
95                        <xsd:element name="direction" type="witsml:LogIndexDirection" minOccurs="0" maxOccurs="1">
96                                <xsd:annotation>
97                                        <xsd:documentation>The polarity of change in index values associated with successive data records.
98                                        Increasing or Decreasing. Mixed is not a valid value.</xsd:documentation>
99                                </xsd:annotation>
100                        </xsd:element>
101                        <xsd:element name="indexCurve" type="witsml:indexCurve" minOccurs="0" maxOccurs="1">
102                                <xsd:annotation>
103                                        <xsd:documentation>The mnemonic of the index curve plus the column index.
104                                        A column index of zero indicates an implied trace whose values start at startIndex
105                                        and increment by stepIncrement for each row.</xsd:documentation>
106                                </xsd:annotation>
107                        </xsd:element>
108                        <xsd:element name="nullValue" type="witsml:str32" minOccurs="0" maxOccurs="1">
109                                <xsd:annotation>
110                                        <xsd:documentation>An empty string is the default representation of a null value for a
111                                        curve (i.e. when the null value representation is not explicitly defined).
112                                        If a null value representation is defined for a log, this becomes the default for all curves
113                                        in that log (but can be overridden at the block or curve level).
114                                        An empty string is always a valid null value representation in the comma delimited list.
115                                        An empty string is not a valid null value representation within a space delimited or base64 encoded array.
116                                        Specifying a null value also makes it easier to transform data back to a
117                                        legacy format without having to scan the data to insure that the null pattern
118                                        does not exist in the data.
119                                        </xsd:documentation>
120                                </xsd:annotation>
121                        </xsd:element>
122                        <xsd:element name="logParam" type="witsml:indexedObject" minOccurs="0" maxOccurs="unbounded">
123                                <xsd:annotation>
124                                        <xsd:documentation>Log parameters that apply to this block.</xsd:documentation>
125                                </xsd:annotation>
126                        </xsd:element>
127                        <xsd:element name="blockCurveInfo" type="witsml:cs_blockCurveInfo" minOccurs="1" maxOccurs="unbounded">
128                                <xsd:annotation>
129                                        <xsd:documentation>A curve occurring in data records defined by this block,
130                                        and its position within the data record.
131                                        Each curve in the block must have a different mnemonic.</xsd:documentation>
132                                </xsd:annotation>
133                        </xsd:element>
134                </xsd:sequence>
135                <xsd:attribute name="uid" type="witsml:uidString" use="required">
136                        <xsd:annotation>
137                                <xsd:documentation>Unique identifier for the block.
138                                This value must be unique within the context of the wellLog.
139                                This value will be pointed to by data levels that are associated with this block.</xsd:documentation>
140                        </xsd:annotation>
141                </xsd:attribute>
142        </xsd:complexType>
143        <!--                                                         -->
144</xsd:schema>
Note: See TracBrowser for help on using the browser.