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

Revision 16, 4.7 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_realtime.xsd"/>
17        <xsd:include schemaLocation="cs_commonData.xsd"/>
18        <xsd:include schemaLocation="cs_customData.xsd"/>
19        <!--                                                         -->
20        <xsd:annotation>
21                <xsd:documentation> Realtime information that supports the WITSML standard. </xsd:documentation>
22        </xsd:annotation>
23        <!--                                                         -->
24        <xsd:element name="realtimes" type="witsml:obj_realtimes">
25                <xsd:annotation>
26                        <xsd:documentation>The WITSML API mandated plural root element which allows
27                        multiple singular objects to be sent. The plural name is formed by adding
28                        an "s" to the singular name.</xsd:documentation>
29                </xsd:annotation>
30        </xsd:element>
31        <!--                                                         -->
32        <xsd:complexType name="obj_realtimes">
33                <xsd:sequence>
34                        <xsd:element name="documentInfo" type="witsml:cs_documentInfo" minOccurs="0" maxOccurs="1">
35                                <xsd:annotation>
36                                <xsd:documentation>Information about the XML message instance.  </xsd:documentation>
37                                </xsd:annotation>
38                        </xsd:element>
39                        <xsd:element name="realtime" type="witsml:obj_realtime" minOccurs="1" maxOccurs="unbounded">
40                                <xsd:annotation>
41                                <xsd:documentation>A single realtime.  </xsd:documentation>
42                                </xsd:annotation>
43                        </xsd:element>
44                </xsd:sequence>
45                <xsd:attribute name="version" type="witsml:schemaVersionString" use="required">
46                        <xsd:annotation>
47                                <xsd:documentation>Data object schema version.  The fourth level must match the
48                                version of the schema constraints (enumerations and XML loader files) that are assumed
49                                by the document instance.</xsd:documentation>
50                        </xsd:annotation>
51                </xsd:attribute>
52        </xsd:complexType>
53        <!--                                                         -->
54        <xsd:complexType name="obj_realtime">
55                <xsd:sequence>
56                        <!--    nameWelll and nameWellbore are not included here because realtime represents the details.
57                                These names are defined in the realtime header.
58                        -->
59                        <xsd:group ref="witsml:grp_realtime" minOccurs="0" maxOccurs="1">
60                                <xsd:annotation>
61                                        <xsd:documentation>The non-contextual elements for a realtime.</xsd:documentation>
62                                </xsd:annotation>
63                        </xsd:group>
64                        <xsd:element name="commonData" type="witsml:cs_commonData" minOccurs="0" maxOccurs="1">
65                                <xsd:annotation>
66                                        <xsd:documentation>A container element that contains elements that are common to all data
67                                        objects.  </xsd:documentation>
68                                </xsd:annotation>
69                        </xsd:element>
70                        <xsd:element name="customData" type="witsml:cs_customData" minOccurs="0" maxOccurs="1">
71                                <xsd:annotation>
72                                        <xsd:documentation>A container element that can contain custom or user defined
73                                        data elements.</xsd:documentation>
74                                </xsd:annotation>
75                        </xsd:element>
76                </xsd:sequence>
77                <xsd:attribute name="uidWell" type="witsml:uidString" use="optional">
78                        <xsd:annotation>
79                                <xsd:documentation>Unique identifier for the well. This uniquely represents
80                                the well referenced by the (possibly non-unique) nameWell. </xsd:documentation>
81                        </xsd:annotation>
82                </xsd:attribute>
83                <xsd:attribute name="uidWellbore" type="witsml:uidString" use="optional">
84                        <xsd:annotation>
85                                <xsd:documentation>Unique identifier for the wellbore. This uniquely represents
86                                the wellbore referenced by the (possibly non-unique) nameWellbore. </xsd:documentation>
87                        </xsd:annotation>
88                </xsd:attribute>
89                <xsd:attribute name="idSub" type="witsml:uidString" use="optional">
90                        <xsd:annotation>
91                                <xsd:documentation>Unique identifier for the Subscription. This matches the
92                                value of the idSub attribute that is returned in the Subscription Request.
93                                The value is only optional so that the a realtime can be retrieved
94                                using the Store interface (possibly after the subscription has retired).
95                                Otherwise, the value must be included when the realtime is returned as
96                                a result of a subscription.</xsd:documentation>
97                        </xsd:annotation>
98                </xsd:attribute>
99        </xsd:complexType>
100</xsd:schema>
Note: See TracBrowser for help on using the browser.