root / projects / DailyProductionReport_1.0 / XML / Version1.0 / WITSML131 / obj_wellbore.xsd

Revision 16, 4.5 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        <!--                                                         -->
9        <!-- POSC License Agreement
10        This file is distributed under the POSC License Agreement at
11        http://www.posc.org/about/license.shtml.
12        Use of this file constitutes agreement with the POSC License Agreement.
13        -->
14        <!--                                                         -->
15        <xsd:include schemaLocation="cs_documentInfo.xsd"/>
16        <xsd:include schemaLocation="grp_wellbore.xsd"/>
17        <xsd:include schemaLocation="cs_commonData.xsd"/>
18        <xsd:include schemaLocation="cs_customData.xsd"/>
19        <xsd:include schemaLocation="attgrp_uid.xsd"/>
20        <!--                                                         -->
21        <xsd:annotation>
22                <xsd:documentation> WITSML - wellbore schema </xsd:documentation>
23        </xsd:annotation>
24        <!--                                                         -->
25        <xsd:element name="wellbores" type="witsml:obj_wellbores">
26                <xsd:annotation>
27                        <xsd:documentation>The WITSML API mandated plural root element which allows
28                        multiple singular objects to be sent. The plural name is formed by adding
29                        an "s" to the singular name.</xsd:documentation>
30                </xsd:annotation>
31        </xsd:element>
32        <!--                                                         -->
33        <xsd:complexType name="obj_wellbores">
34                <xsd:sequence>
35                        <xsd:element name="documentInfo" type="witsml:cs_documentInfo" minOccurs="0" maxOccurs="1">
36                                <xsd:annotation>
37                                        <xsd:documentation>Information about the XML message instance.  </xsd:documentation>
38                                </xsd:annotation>
39                        </xsd:element>
40                        <xsd:element name="wellbore" type="witsml:obj_wellbore" minOccurs="1" maxOccurs="unbounded">
41                                <xsd:annotation>
42                                        <xsd:documentation>Information about a single wellbore.
43                                        A wellbore is a unique, oriented path from the bottom of a drilled
44                                        borehole to the surface of the Earth. The path must not overlap or cross itself.  </xsd:documentation>
45                                </xsd:annotation>
46                        </xsd:element>
47                </xsd:sequence>
48                <xsd:attribute name="version" type="witsml:schemaVersionString" use="required">
49                        <xsd:annotation>
50                                <xsd:documentation>Data object schema version.  The fourth level must match the
51                                version of the schema constraints (enumerations and XML loader files) that are assumed
52                                by the document instance.</xsd:documentation>
53                        </xsd:annotation>
54                </xsd:attribute>
55        </xsd:complexType>
56        <!--                                                         -->
57        <xsd:complexType name="obj_wellbore">
58                <xsd:sequence>
59                        <xsd:element name="nameWell" type="witsml:nameString" minOccurs="1" maxOccurs="1">
60                                <xsd:annotation>
61                                        <xsd:documentation>Human recognizable context for the well that contains the wellbore.  </xsd:documentation>
62                                </xsd:annotation>
63                        </xsd:element>
64                        <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
65                                <xsd:annotation>
66                                        <xsd:documentation>Human recognizable context for the wellbore.  </xsd:documentation>
67                                </xsd:annotation>
68                        </xsd:element>
69                        <xsd:group ref="witsml:grp_wellbore" minOccurs="0" maxOccurs="1">
70                                <xsd:annotation>
71                                        <xsd:documentation>The non-contextual elements for general wellbore information.</xsd:documentation>
72                                </xsd:annotation>
73                        </xsd:group>
74                        <xsd:element name="commonData" type="witsml:cs_commonData" minOccurs="0" maxOccurs="1">
75                                <xsd:annotation>
76                                        <xsd:documentation>A container element that contains elements that are common to all data
77                                        objects.  </xsd:documentation>
78                                </xsd:annotation>
79                        </xsd:element>
80                        <xsd:element name="customData" type="witsml:cs_customData" minOccurs="0" maxOccurs="1">
81                                <xsd:annotation>
82                                        <xsd:documentation>A container element that can contain custom or user defined
83                                        data elements.</xsd:documentation>
84                                </xsd:annotation>
85                        </xsd:element>
86                </xsd:sequence>
87                <xsd:attribute name="uidWell" type="witsml:uidString" use="optional">
88                        <xsd:annotation>
89                                <xsd:documentation>Unique identifier for the well. This uniquely represents
90                                the well referenced by the (possibly non-unique) nameWell. </xsd:documentation>
91                        </xsd:annotation>
92                </xsd:attribute>
93                <xsd:attributeGroup ref="witsml:attgrp_uid">
94                        <xsd:annotation>
95                                <xsd:documentation>Unique identifier for the wellbore.  </xsd:documentation>
96                        </xsd:annotation>
97                </xsd:attributeGroup>
98        </xsd:complexType>
99</xsd:schema>
Note: See TracBrowser for help on using the browser.