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

Revision 16, 5.1 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_tubular.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> Tubular information that supports the WITSML standard. </xsd:documentation>
23        </xsd:annotation>
24        <!--                                                         -->
25        <xsd:element name="tubulars" type="witsml:obj_tubulars">
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_tubulars">
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="tubular" type="witsml:obj_tubular" minOccurs="1" maxOccurs="unbounded">
41                                <xsd:annotation>
42                                        <xsd:documentation>A single tubular (assembly).
43                                        This represents the "transient" assemblies used in drilling a well as opposed
44                                        to the "fixed" assemblies (see wbGeometry).</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_tubular">
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="nameWellbore" type="witsml:nameString" minOccurs="1" maxOccurs="1">
65                                <xsd:annotation>
66                                        <xsd:documentation>Human recognizable context for the wellbore that contains the tubular.  </xsd:documentation>
67                                </xsd:annotation>
68                        </xsd:element>
69                        <xsd:element name="name" type="witsml:nameString" minOccurs="1" maxOccurs="1">
70                                <xsd:annotation>
71                                        <xsd:documentation>Human recognizable context for the tubular (assembly).  </xsd:documentation>
72                                </xsd:annotation>
73                        </xsd:element>
74                        <xsd:group ref="witsml:grp_tubular" minOccurs="0" maxOccurs="1">
75                                <xsd:annotation>
76                                        <xsd:documentation>The non-contextual elements for a tubular (assembly).</xsd:documentation>
77                                </xsd:annotation>
78                        </xsd:group>
79                        <xsd:element name="commonData" type="witsml:cs_commonData" minOccurs="0" maxOccurs="1">
80                                <xsd:annotation>
81                                        <xsd:documentation>A container element that contains elements that are common to all data
82                                        objects.  </xsd:documentation>
83                                </xsd:annotation>
84                        </xsd:element>
85                        <xsd:element name="customData" type="witsml:cs_customData" minOccurs="0" maxOccurs="1">
86                                <xsd:annotation>
87                                        <xsd:documentation>A container element that can contain custom or user defined
88                                        data elements.</xsd:documentation>
89                                </xsd:annotation>
90                        </xsd:element>
91                </xsd:sequence>
92                <xsd:attribute name="uidWell" type="witsml:uidString" use="optional">
93                        <xsd:annotation>
94                                <xsd:documentation>Unique identifier for the well. This uniquely represents
95                                the well referenced by the (possibly non-unique) nameWell. </xsd:documentation>
96                        </xsd:annotation>
97                </xsd:attribute>
98                <xsd:attribute name="uidWellbore" type="witsml:uidString" use="optional">
99                        <xsd:annotation>
100                                <xsd:documentation>Unique identifier for the wellbore. This uniquely represents
101                                the wellbore referenced by the (possibly non-unique) nameWellbore. </xsd:documentation>
102                        </xsd:annotation>
103                </xsd:attribute>
104                <xsd:attributeGroup ref="witsml:attgrp_uid">
105                        <xsd:annotation>
106                                <xsd:documentation>Unique identifier for the tubular (assembly).  </xsd:documentation>
107                        </xsd:annotation>
108                </xsd:attributeGroup>
109        </xsd:complexType>
110</xsd:schema>
Note: See TracBrowser for help on using the browser.