<?xml version="1.0" encoding="utf-16"?>
<xsd:element name="DRMaint">
    <xsd:annotation>
        <xsd:documentation>IREDES Drill Rig Maintenance Reporting</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:extension base="IR:IRMaintGenType">
                <xsd:choice maxOccurs="unbounded">
                    <xsd:annotation>
                        <xsd:documentation>Note that at least one of the following optional objects has to be used for a data set to make sense!</xsd:documentation>
                    </xsd:annotation>
                    <xsd:element name="EventLog" maxOccurs="1000">
                        <xsd:annotation>
                            <xsd:documentation>A list of reported and logged events</xsd:documentation>
                        </xsd:annotation>
                        <xsd:complexType>
                            <xsd:sequence>
                                <xsd:element name="TimeTag" type="xsd:dateTime">
                                    <xsd:annotation>
                                        <xsd:documentation>Time tag for reported event</xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                                <xsd:element name="Event" type="IR:IRtextLong">
                                    <xsd:annotation>
                                        <xsd:documentation>Event description</xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:element>
                    <xsd:element name="Options" type="IR:IRoptionType" maxOccurs="1000">
                        <xsd:annotation>
                            <xsd:documentation>Machine Type specific options....</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element ref="IR:GenTrailer" />
                </xsd:choice>
                <xsd:attribute name="DRMaintVersion" type="IR:IRversion" fixed="V 1.3" use="required" />
                <xsd:attribute name="DRMaintDownwCompat" type="IR:IRversion" fixed="V 1.3" use="required" />
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:element>
  |