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

Revision 16, 5.0 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_realtimeHeader.xsd"/>
17        <xsd:include schemaLocation="cs_channel.xsd"/>
18        <xsd:include schemaLocation="cs_record.xsd"/>
19        <!--                                                         -->
20        <xsd:group name="grp_realtime">
21                <xsd:annotation>
22                        <xsd:documentation>The non-contextual content of a WITSML Realtime object.
23                        Realtime data is not persistent data.</xsd:documentation>
24                </xsd:annotation>
25                <xsd:sequence>
26                        <xsd:sequence minOccurs="1" maxOccurs="1">
27                                <xsd:annotation>
28                                        <xsd:documentation>At least one of dTim and md must be given.</xsd:documentation>
29                                </xsd:annotation>
30                                <xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
31                                        <xsd:annotation>
32                                                <xsd:documentation>The time index for the realtime object if the interval type is time-based. 
33                                                It is the default time index for all data in the realtime object.
34                                                Both dTim and md can be overridden at the channel level.
35                                                This value should be given when "dTim" is given with any channel.</xsd:documentation>
36                                        </xsd:annotation>
37                                </xsd:element>
38                                <xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
39                                        <xsd:annotation>
40                                                <xsd:documentation>Along hole measured depth of measurement from the drill datum. 
41                                                It is the default depth index for all data in the realtime object.
42                                                Both dTim and md can be overridden at the channel level.
43                                                This value should be given when "md" is given with any channel.</xsd:documentation>
44                                        </xsd:annotation>
45                                </xsd:element>
46                        </xsd:sequence>
47                        <xsd:element name="sequence" type="witsml:positiveBigCount" minOccurs="1" maxOccurs="1">
48                                <xsd:annotation>
49                                        <xsd:documentation>The one-based sequence of realtime messages for one subscription.
50                                        The first message for a subscription should have a sequence number of one and each
51                                        subsequent message for that subscription should increment by one.</xsd:documentation>
52                                </xsd:annotation>
53                        </xsd:element>
54                        <xsd:element name="activityCode" type="witsml:ActivityCode" minOccurs="0" maxOccurs="1">
55                                <xsd:annotation>
56                                        <xsd:documentation>A code used to define rig activity.</xsd:documentation>
57                                </xsd:annotation>
58                        </xsd:element>
59                        <xsd:element name="detailActivity" type="witsml:str32" minOccurs="0" maxOccurs="1">
60                                <xsd:annotation>
61                                        <xsd:documentation>Custom string to further define an activity.  </xsd:documentation>
62                                </xsd:annotation>
63                        </xsd:element>
64                        <xsd:element name="dataGroup" type="witsml:nameString" minOccurs="0" maxOccurs="1">
65                                <xsd:annotation>
66                                        <xsd:documentation>The group name of the channels in this realtime.
67                                        For example, a publisher can publish data from the mudlogger, drilling and MWD systems
68                                        at the same time. The drilling and mudlogger systems could have channels with the
69                                        same mnemonic. The group name is used to distinguish between curves from these
70                                        different source systems.</xsd:documentation>
71                                </xsd:annotation>
72                        </xsd:element>
73                        <xsd:sequence minOccurs="1" maxOccurs="1">
74                                <xsd:annotation>
75                                        <xsd:documentation>At least one of realtimeHeader and channel must be given.
76                                        A channel must always be given unless only the header is being returned
77                                        because a retransmit was requested or because the header was updated.</xsd:documentation>
78                                </xsd:annotation>
79                                <xsd:element name="realtimeHeader" type="witsml:cs_realtimeHeader" minOccurs="0" maxOccurs="1">
80                                        <xsd:annotation>
81                                                <xsd:documentation>The information which is constant for all realtimes.
82                                                This will only be sent with the first realtime for a subscription, when
83                                                a retransmit is requested or when the header is updated (e.g., when
84                                                more channels are added).</xsd:documentation>
85                                        </xsd:annotation>
86                                </xsd:element>
87                                <xsd:element name="channel" type="witsml:cs_channel" minOccurs="0" maxOccurs="unbounded">
88                                        <xsd:annotation>
89                                                <xsd:documentation>The data associated with a (de-multiplexed) channel.</xsd:documentation>
90                                        </xsd:annotation>
91                                </xsd:element>
92                                <xsd:element name="record" type="witsml:cs_record" minOccurs="0" maxOccurs="unbounded">
93                                        <xsd:annotation>
94                                                <xsd:documentation>The multiplexed data associated with a channel.</xsd:documentation>
95                                        </xsd:annotation>
96                                </xsd:element>
97                        </xsd:sequence>
98                </xsd:sequence>
99        </xsd:group>
100</xsd:schema>
Note: See TracBrowser for help on using the browser.