Definition Type: ComplexType
Name: IRWorkOrderGenType
Namespace: http://www.iredes.org/xml
Type: IR:IREDESType
Containing Schema: IRappBaseClasses.xsd
Abstract False
Documentation:
IREDES work order general type. This schema is for work assignment to machine. IRWorkOrderReplyGenType is for reply to this work order.
Collapse XSD Schema Diagram:
Drilldown into PossibleReplies Drilldown into Comment Drilldown into WorkOrderContent Drilldown into operatorId Drilldown into machineId Drilldown into Issuer Drilldown into WorkOrderId Drilldown into PriorityLevel Drilldown into WorkOrderType Drilldown into ExpectedDuration Drilldown into ExpectedFinishTime Drilldown into AssignmentTime Drilldown into IRDownwCompat Drilldown into IRVersion Drilldown into SiteHead Drilldown into GenHead Drilldown into IREDESTypeXSD Diagram of IRWorkOrderGenType
Collapse XSD Schema Code:
<?xml version="1.0" encoding="utf-16"?>
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
GenHead IR:GenHead (1) (1)
SiteHead IR:SiteHead 0 (1)
AssignmentTime IR:AssignmentTime (1) (1)
ExpectedFinishTime IR:ExpectedFinishTime (1) (1)
ExpectedDuration IR:ExpectedDuration (1) (1)
WorkOrderType IR:WorkOrderType 0 (1)
PriorityLevel IR:PriorityLevel (1) (1)
WorkOrderId IR:WorkOrderId (1) (1)
Issuer IR:Issuer (1) (1)
machineId IR:machineId 0 10
operatorId IR:operatorId 0 10
WorkOrderContent IR:WorkOrderContent (1) (1)
Comment IR:Comment 0 5
PossibleReplies IR:PossibleReplies (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
IRVersion IR:IRVersion Required
IRDownwCompat IR:IRDownwCompat Required
Collapse Derivation Tree: