-<xsd:schema elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://www.witsml.org/schemas/1series" version="1.4.0">
<!--
                                                         
 -->
<!--
 Energistics License Agreement
	This file is distributed under the Energistics License Agreement at
	http://www.energistics.org
	Use of this file constitutes agreement with the Energistics License Agreement.
	Copyright (c) 2008 Energistics. All rights reserved.
	Energistics, WITSML, PRODML and RESQML are trademarks or registered trademarks of Energistics.
	
 -->
<!--
                                                         
 -->
 <xsd:include schemaLocation="cs_realtimeHeader.xsd"/>
 <xsd:include schemaLocation="cs_channel.xsd"/>
 <xsd:include schemaLocation="cs_record.xsd"/>
<!--
                                                         
 -->
-<xsd:group name="grp_realtime">
-<xsd:annotation>
 <xsd:documentation>The non-contextual content of a WITSML Realtime object. Realtime data is not persistent data.</xsd:documentation>
 </xsd:annotation>
-<xsd:sequence>
-<xsd:sequence minOccurs="1" maxOccurs="1">
-<xsd:element name="dTim" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
 <xsd:documentation>The time index for the realtime object if the interval type is time-based. It is the default time index for all data in the realtime object. Both dTim and md can be overridden at the channel level. This value should be given when "dTim" is given with any channel. In a query template, a specified value will be interpreted by the server as a request for dTim values that are greater-than the specified value. At least one of dTim and md must be given.</xsd:documentation>
 <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-105, Change=Modified-description</xsd:appinfo>
 <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
 </xsd:annotation>
 </xsd:element>
-<xsd:element name="md" type="witsml:measuredDepthCoord" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
 <xsd:documentation>Along hole measured depth of measurement from the drill datum. It is the default depth index for all data in the realtime object. Both dTim and md can be overridden at the channel level. This value should be given when "md" is given with any channel. At least one of dTim and md must be given.</xsd:documentation>
 <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
 </xsd:annotation>
 </xsd:element>
 </xsd:sequence>
-<xsd:element name="sequence" type="witsml:positiveBigCount" minOccurs="1" maxOccurs="1">
-<xsd:annotation>
 <xsd:documentation>The one-based sequence of realtime messages for one subscription. The first message for a subscription should have a sequence number of one and each subsequent message for that subscription should increment by one.</xsd:documentation>
 </xsd:annotation>
 </xsd:element>
-<xsd:element name="dTimHeaderLastChanged" type="witsml:timestamp" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
 <xsd:documentation>The date and time of the last (most recent) change to the realtime header.</xsd:documentation>
 <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-37, Change=Added</xsd:appinfo>
 </xsd:annotation>
 </xsd:element>
-<xsd:element name="activityCode" type="witsml:ActivityCode" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
 <xsd:documentation>A code used to define rig activity.</xsd:documentation>
 </xsd:annotation>
 </xsd:element>
-<xsd:element name="detailActivity" type="witsml:str32" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
 <xsd:documentation>Custom string to further define an activity. </xsd:documentation>
 </xsd:annotation>
 </xsd:element>
-<xsd:element name="dataGroup" type="witsml:nameString" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
 <xsd:documentation>DEPRECATED - the semantics of this element has been moved to serviceCategory in commonData. If serviceCategory is specified then this value should be the same. The group name of the channels in this realtime. For example, a publisher can publish data from the mudlogger, drilling and MWD systems at the same time. The drilling and mudlogger systems could have channels with the same mnemonic. The group name is used to distinguish between curves from these different source systems.</xsd:documentation>
 <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-78, Change=Deprecated</xsd:appinfo>
 </xsd:annotation>
 </xsd:element>
-<xsd:sequence minOccurs="1" maxOccurs="1">
-<xsd:element name="realtimeHeader" type="witsml:cs_realtimeHeader" minOccurs="0" maxOccurs="1">
-<xsd:annotation>
 <xsd:documentation>The information which is constant for all realtimes. This will only be sent with the first realtime for a subscription, when a retransmit is requested or when the header is updated (e.g., when more channels are added). A header is unique to one wellbore in one subscription. If there is no subscription, the header is unique to one wellbore. At least one of realtimeHeader and channel must be given. A channel or record must always be given unless only the header is being returned because a retransmit was requested or because the header was updated.</xsd:documentation>
 <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-49, Change=Modified-description</xsd:appinfo>
 <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
 </xsd:annotation>
 </xsd:element>
-<xsd:element name="channel" type="witsml:cs_channel" minOccurs="0" maxOccurs="unbounded">
-<xsd:annotation>
 <xsd:documentation>The data associated with a (de-multiplexed) channel. At least one of realtimeHeader and channel must be given. A channel or record must always be given unless only the header is being returned because a retransmit was requested or because the header was updated.</xsd:documentation>
 <xsd:appinfo>Modified-in-version=1.4.0, By-issue=1.3.1-110, Change=Modified-description</xsd:appinfo>
 </xsd:annotation>
 </xsd:element>
-<xsd:element name="record" type="witsml:cs_record" minOccurs="0" maxOccurs="unbounded">
-<xsd:annotation>
 <xsd:documentation>The multiplexed data associated with a channel.</xsd:documentation>
 </xsd:annotation>
 </xsd:element>
 </xsd:sequence>
 </xsd:sequence>
 </xsd:group>
 </xsd:schema>