Schema Name: IRappBaseClasses.xsd
Target Namespace: http://www.iredes.org/xml
Documentation:
IREDES Application base classes XML schema version 1.3
Schema created by IREDES special intrestgroup, see www.iredes.org.
Collapse XSD Schema Code:

<xsd:schema xmlns="http://www.iredes.org/xml"
            xmlns:graphml0="http://graphml.graphdrawing.org/xmlns"
            attributeFormDefault="unqualified"
            elementFormDefault="qualified"
            targetNamespace="http://www.iredes.org/xml"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:include schemaLocation="./IRtypes.xsd" />
    <xsd:import schemaLocation="./graphml-structure.xsd"
                namespace="http://graphml.graphdrawing.org/xmlns" />
    <xsd:annotation>
        <xsd:documentation>IREDES Application base classes XML schema version 1.3</xsd:documentation>
    </xsd:annotation>
    <xsd:annotation>
        <xsd:documentation>Schema created by IREDES special intrestgroup, see www.iredes.org.</xsd:documentation>
    </xsd:annotation>
    <xsd:complexType name="IRpPerfGenType">
        <xsd:annotation>
            <xsd:documentation>Production performance generic data type</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="IREDESType">
                <xsd:sequence>
                    <xsd:element name="ReportId"
                                 type="IRtext">
                        <xsd:annotation>
                            <xsd:documentation>Report id code, to uniquely identify this log report.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="StartLogTime"
                                 type="xsd:dateTime">
                        <xsd:annotation>
                            <xsd:documentation>Start of the reporting period. Date and time when the first entry to this xml-set was made.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="EndLogTime"
                                 type="xsd:dateTime">
                        <xsd:annotation>
                            <xsd:documentation>End of the reporting period. Date and time when the last entry to this xml-set was made.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Comment"
                                 type="IRtextLong"
                                 minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Project information, comments etc concerning this log.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="OpPerfLog"
                                 minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Accumulated time of each operation mode  during the  reporting period. Adding all these values up will result in the total duration of the reporting period. See also separate working mode chart!</xsd:documentation>
                        </xsd:annotation>
                        <xsd:complexType>
                            <xsd:sequence>
                                <xsd:element name="Mworking"
                                             type="xsd:duration">
                                    <xsd:annotation>
                                        <xsd:documentation>Machine working. See additional doc elements!</xsd:documentation>
                                        <xsd:documentation>START COUNTING: When machine is entering into working mode, performing a task related to the machine's purpose.</xsd:documentation>
                                        <xsd:documentation>STOP COUNTING: When then machine enters into any other state other than a working mode</xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                                <xsd:element name="WaitProcess"
                                             type="xsd:duration">
                                    <xsd:annotation>
                                        <xsd:documentation>Machine waiting for other partners in the process or for process reasons not caused by the machine itself. This may be an (autonomous) machine waiting for access to a shared tramming zone or waiting for access to a dump shaft, a truck to become available etc.  See "IREDES Drill Rig profile description" document.</xsd:documentation>
                                        <xsd:documentation>START COUNTING: As soon as the working machine stops due to external process related reasons. Or as soon as the machine is for some other reason put back into working state and is unable to continue working due to such reasons</xsd:documentation>
                                        <xsd:documentation>STOP COUNTING: As soon as the machine detects the external reasons for this mode are not valid any longer. Normally the machine then continues in the working mode. However, by operator input it may be put in any other state.</xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                                <xsd:element name="WaitOperator"
                                             type="xsd:duration">
                                    <xsd:annotation>
                                        <xsd:documentation>Time the machine waits for operator assistance during the reporting period.  See "IREDES Drill Rig profile description" document.</xsd:documentation>
                                        <xsd:documentation>START COUNTING: As soon as the machine enters into a situation requiring operator assistance.</xsd:documentation>
                                        <xsd:documentation>STOP COUNTING: As soon as any operator command is given (Either Switch OFF or back to working / wait repair state.</xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                                <xsd:element name="WaitRepair"
                                             type="xsd:duration">
                                    <xsd:annotation>
                                        <xsd:documentation>Waiting time for repair until the repair is finished and the machine manually is switched on again.  See "IREDES Drill Rig profile description" document.</xsd:documentation>
                                        <xsd:documentation>START COUNTING: Automatically by an alarm requiring assistance of qualified service personell or manually by the operator after detecting a situation requiring service assistance.</xsd:documentation>
                                        <xsd:documentation>STOP COUNTING: As soon as the machine put into working mode after being switched on again.</xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                                <xsd:element name="WaitSupplies"
                                             type="xsd:duration">
                                    <xsd:annotation>
                                        <xsd:documentation>Waiting time for external supplies like electric power, network connection for remote control (if not in local operation mode), water, material etc.  See "IREDES Drill Rig profile description" document.</xsd:documentation>
                                        <xsd:documentation>START COUNTING: As soon as external supplies are detected missing.</xsd:documentation>
                                        <xsd:documentation>STOP COUNTING: As soon as the machine is put into working mode again</xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                                <xsd:element name="TurnedOff"
                                             type="xsd:duration">
                                    <xsd:annotation>
                                        <xsd:documentation>Machine intentionally put in "OFF" state. This state is only counted if the machine is intentionally deactivated by an operator. Observe that a "switch off"  while the machine is in "Wait Repair" mode will be counted as "wait repair" until the machine is switched on again.</xsd:documentation>
                                        <xsd:documentation>START COUNTING: As soon as the machine is intentionally turned OFF. Observe that a "switch off"  while the machine is in "Wait Repair" mode will be counted as "wait repair" until the machine is switched on again.</xsd:documentation>
                                        <xsd:documentation>STOP COUNTING: As soon as the machine is turned on again.</xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="IRMaintGenType">
        <xsd:annotation>
            <xsd:documentation>Maintenance reporting generic data type</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="IREDESType">
                <xsd:sequence>
                    <xsd:element name="ReportId"
                                 type="IRtext">
                        <xsd:annotation>
                            <xsd:documentation>Report id code, to uniquely identify this log report.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="StartLogTime"
                                 type="xsd:dateTime">
                        <xsd:annotation>
                            <xsd:documentation>Start of the reporting period. Date and time when the first entry to this xml-set was made.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="EndLogTime"
                                 type="xsd:dateTime">
                        <xsd:annotation>
                            <xsd:documentation>End of the reporting period. Date and time when the last entry to this xml-set was made.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="MaintInfo"
                                 minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Project information</xsd:documentation>
                        </xsd:annotation>
                        <xsd:complexType>
                            <xsd:sequence>
                                <xsd:element name="Comment"
                                             type="IRtextLong"
                                             minOccurs="0" />
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="IRpQualGenType">
        <xsd:annotation>
            <xsd:documentation>Production quality reporting generic data type</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="IREDESType">
                <xsd:sequence>
                    <xsd:element name="ReportId"
                                 type="IRtext">
                        <xsd:annotation>
                            <xsd:documentation>Report id code, to uniquely identify this log report.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="StartLogTime"
                                 type="xsd:dateTime">
                        <xsd:annotation>
                            <xsd:documentation>Start of the reporting period. Date and time when the first entry to this xml-set was made.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="EndLogTime"
                                 type="xsd:dateTime">
                        <xsd:annotation>
                            <xsd:documentation>End of the reporting period. Date and time when the last entry to this xml-set was made.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Comment"
                                 type="IRtextLong"
                                 minOccurs="0"
                                 maxOccurs="8" />
                    <xsd:element name="OperatorId"
                                 type="IRtextShort"
                                 minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Identify the operator of the machine for reference</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="PlanIdRef"
                                 type="IRtext"
                                 minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Reference to plan ID if the quality report relates to a working plan. The value is identical to the ID value stated in the object DRPPlan/DrillPosPlan/PlanID</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="PlanNameRef"
                                 type="IRtext"
                                 minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Reference to plan logical name if the quality report relates to a working plan. The value is identical to the ID value stated in the object DRPPlan/DrillPosPlan/PlaName</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="IRplanGenType">
        <xsd:annotation>
            <xsd:documentation>Production plan generic data type</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="IREDESType">
                <xsd:sequence>
                    <xsd:element name="PlanId"
                                 type="IRtext">
                        <xsd:annotation>
                            <xsd:documentation>IREDES internal production plan ID used for reference e.g. by Production Quality data sets basing on a particular production plan.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="PlanName"
                                 type="IRtext"
                                 minOccurs="0"
                                 default="Default plan id code">
                        <xsd:annotation>
                            <xsd:documentation>Plan logical name to identify this specific plan to the human user. Useful to help the operator of a mashine to logical identify a specific plan.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Comment"
                                 type="IRtextLong"
                                 minOccurs="0"
                                 maxOccurs="8">
                        <xsd:annotation>
                            <xsd:documentation>Comments to the plan for example type of plan, purpose, tools to use...</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Project"
                                 type="IRtext"
                                 minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Project id code. To identify the target project for this plan. </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="WorkOrder"
                                 type="IRtext"
                                 minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Work order id code. To identify the work order associated with this plan. </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="IREventGenType"
                     abstract="true">
        <xsd:annotation>
            <xsd:documentation>Event report generic data type</xsd:documentation>
            <xsd:documentation>Abstract type has to be modified to be machine specific</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="IREDESType">
                <xsd:sequence>
                    <xsd:element name="ReportId"
                                 type="IRtext">
                        <xsd:annotation>
                            <xsd:documentation>Report id code, to uniquely identify this log report.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="StartLogTime"
                                 type="xsd:dateTime">
                        <xsd:annotation>
                            <xsd:documentation>Start of the reporting period. Date and time when the first entry to this xml-set was made.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="EndLogTime"
                                 type="xsd:dateTime">
                        <xsd:annotation>
                            <xsd:documentation>End of the reporting period. Date and time when the last entry to this xml-set was made.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Comment"
                                 type="IRtextLong"
                                 minOccurs="0"
                                 maxOccurs="8" />
                    <xsd:element name="OperatorId"
                                 type="IRtextShort"
                                 minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Identify the operator of the machine for reference</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="IRStatusGenType">
        <xsd:annotation>
            <xsd:documentation>Status report generic data type</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="IREDESType">
                <xsd:sequence>
                    <xsd:element name="ReportId"
                                 type="IRtext">
                        <xsd:annotation>
                            <xsd:documentation>Report id code, to uniquely identify this log report.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="StartLogTime"
                                 type="xsd:dateTime">
                        <xsd:annotation>
                            <xsd:documentation>Start of the reporting period. Date and time when the first entry to this xml-set was made.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="EndLogTime"
                                 type="xsd:dateTime">
                        <xsd:annotation>
                            <xsd:documentation>End of the reporting period. Date and time when the last entry to this xml-set was made.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Comment"
                                 type="IRtextLong"
                                 minOccurs="0"
                                 maxOccurs="8" />
                    <xsd:element name="OperatorId"
                                 type="IRtextShort"
                                 minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Identify the operator of the machine for reference</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="IRcontourBaseType">
        <xsd:annotation>
            <xsd:documentation>Contour Id data type</xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="ContourId"
                         type="IRtextShort">
                <xsd:annotation>
                    <xsd:documentation>A contour Id which points to a IREDES contour definition</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="ContourType"
                         type="IRtextShort"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>Type of contour definition</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="ContourLeftWidth"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>Distance from PointCoord to the left most coordinate of the Contour, regarded from tunnel direction. For graphic presentation purpose</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:float">
                        <xsd:minInclusive value="0.000" />
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:element>
            <xsd:element name="ContourRightWidth"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>Distance from PointCoord to the right most coordinate of the Contour, regarded from tunnel direction. For graphic presentation purpose</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:float">
                        <xsd:minInclusive value="0.000" />
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="IRdrillPlanBaseType">
        <xsd:annotation>
            <xsd:documentation>Drill plan Id data type</xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="DrillPlanId"
                         type="IRtextShort">
                <xsd:annotation>
                    <xsd:documentation>A drill plan Id which points to a DRPPlan(IREDES Drill Rig Production Plan)</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="DrillPlanType"
                         type="IRtextShort"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>Type of drill plan (Bolt, Injection, Cut etc.)</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="DrillPlanLeftWidth"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>Distance from PointCoord to the left most coordinate of the Contour, regarded from tunnel direction. For graphic presentation purpose</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:float">
                        <xsd:minInclusive value="0.000" />
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:element>
            <xsd:element name="DrillPlanRightWidth"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>Distance from PointCoord to the right most coordinate of the Contour, regarded from tunnel direction. For graphic presentation purpose</xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:float">
                        <xsd:minInclusive value="0.000" />
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="IRRealTimeGenType">
        <xsd:complexContent>
            <xsd:extension base="IREDESType">
                <xsd:sequence>
                    <xsd:element name="ReportTimeStamp"
                                 type="xsd:dateTime" />
                    <xsd:element name="Comment"
                                 type="IRtextLong"
                                 minOccurs="0"
                                 maxOccurs="10" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="IRWorkOrderGenType">
        <xsd:annotation>
            <xsd:documentation>
                IREDES work order general type. This schema is for work assignment to machine. IRWorkOrderReplyGenType is for reply to this work order.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="IREDESType">
                <xsd:sequence>
                    <xsd:element name="AssignmentTime"
                                 type="xsd:dateTime" />
                    <xsd:choice>
                        <xsd:element name="ExpectedFinishTime"
                                     type="xsd:dateTime" />
                        <xsd:element name="ExpectedDuration"
                                     type="xsd:duration" />
                    </xsd:choice>
                    <xsd:element name="WorkOrderType"
                                 type="IRtext"
                                 minOccurs="0" />
                    <xsd:element name="PriorityLevel">
                        <xsd:simpleType>
                            <xsd:restriction base="xsd:unsignedInt">
                                <xsd:annotation>
                                    <xsd:documentation>
                                        Priority of the workorder. Level from 1 to 10 as 10 representing top priority.
                                    </xsd:documentation>
                                </xsd:annotation>
                                <xsd:minInclusive value="1" />
                                <xsd:maxInclusive value="10" />
                            </xsd:restriction>
                        </xsd:simpleType>
                    </xsd:element>
                    <xsd:element name="WorkOrderId"
                                 type="IRtext">
                        <xsd:annotation>
                            <xsd:documentation>
                                Identification of this work order. This id has nothing to do with the, for example, work plan id.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="Issuer"
                                 type="IRtext">
                        <xsd:annotation>
                            <xsd:documentation>
                                ID of the person or institute who issued this work order.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="machineId"
                                 type="IRtext"
                                 minOccurs="0"
                                 maxOccurs="10" />
                    <xsd:element name="operatorId"
                                 type="IRtext"
                                 minOccurs="0"
                                 maxOccurs="10">
                        <xsd:annotation>
                            <xsd:documentation>
                                Operators assigned to the work order.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="WorkOrderContent">
                        <xsd:annotation>
                            <xsd:documentation>
                                General work order description.
                            </xsd:documentation>
                        </xsd:annotation>
                        <xsd:complexType>
                            <xsd:sequence>
                                <xsd:element name="Content"
                                             type="IRoptionType">
                                    <xsd:annotation>
                                        <xsd:documentation>
                                            Work order shall be carried out. schema chould be defined separately within the IRoptionType.
                                        </xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                                <xsd:element name="SafetyAdvice"
                                             type="xsd:string"
                                             minOccurs="0"
                                             maxOccurs="10" />
                                <xsd:element name="SpecialCondition"
                                             type="xsd:string"
                                             minOccurs="0"
                                             maxOccurs="10">
                                    <xsd:annotation>
                                        <xsd:documentation>
                                            e.g. electricity will be switched off in some region in mine during operation.
                                        </xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                                <xsd:element name="SpecialTask"
                                             type="xsd:string"
                                             minOccurs="0"
                                             maxOccurs="10">
                                    <xsd:annotation>
                                        <xsd:documentation>
                                            Tasks that are not or hard to describe in workorder.
                                        </xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:element>
                    <xsd:element name="Comment"
                                 type="IRtextLong"
                                 minOccurs="0"
                                 maxOccurs="5" />
                    <xsd:element name="PossibleReplies">
                        <xsd:complexType>
                            <xsd:sequence>
                                <xsd:element name="Reply"
                                             type="IRWorkOrderReplyGenType"
                                             maxOccurs="4" />
                                <xsd:element name="comment"
                                             type="xsd:string"
                                             maxOccurs="5" />
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="IRWorkOrderReplyGenType">
        <xsd:sequence>
            <xsd:element name="Answer">
                <xsd:simpleType>
                    <xsd:restriction base="IRtext">
                        <xsd:enumeration value="Accepted" />
                        <xsd:enumeration value="Delayed" />
                        <xsd:enumeration value="AcceptedWithCondition" />
                        <xsd:enumeration value="Denied" />
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:element>
            <xsd:element name="Duration"
                         type="xsd:duration"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>only for "Delayed" option</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="Condition"
                         minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>only for "AcceptedWithCondition" option. Free text field for condition such as "need cosumable", etc.</xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="condition"
                                     type="IRtextLong" />
                        <xsd:element name="extra"
                                     type="IRtext"
                                     minOccurs="0"
                                     maxOccurs="10" />
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="Reason"
                         type="xsd:string"
                         minOccurs="0"
                         maxOccurs="5">
                <xsd:annotation>
                    <xsd:documentation>place to clarify reasons for delaying or denying the work order</xsd:documentation>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="IRGraphModelBaseType">
        <xsd:complexContent>
            <xsd:extension base="IREDESType">
                <xsd:sequence>
                    <xsd:element ref="graphml0:graphml" />
                    <xsd:element name="GraphVersion"
                                 type="IRversion" />
                    <xsd:element name="ConnectedMine"
                                 type="IRtext" />
                    <xsd:element name="LayerId"
                                 type="xsd:int" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:schema>
Collapse ComplexTypes: