Definition Type: Element
Name: TimeInterval
Namespace: http://ns.hr-xml.org/2007-04-15
Containing Schema: TimeCard.xsd
MinOccurs (1)
MaxOccurs (1)
Abstract
Collapse XSD Schema Diagram:
Drilldown into Comment in schema timecard_xsd Drilldown into SubmitterInfo in schema timecard_xsd Drilldown into ApprovalInfo in schema timecard_xsd Drilldown into AdditionalData in schema timecard_xsd Drilldown into Allowance in schema timecard_xsd Drilldown into RateOrAmount in schema timecard_xsd Drilldown into PieceWork in schema timecard_xsd Drilldown into Duration in schema timecard_xsd Drilldown into Duration in schema timecard_xsd Drilldown into EndDateTime in schema timecard_xsd Drilldown into StartDateTime in schema timecard_xsd Drilldown into Id in schema timecard_xsd Drilldown into actionCode in schema timecard_xsd Drilldown into billable in schema timecard_xsd Drilldown into dayAssignment in schema timecard_xsd Drilldown into type in schema timecard_xsdXSD Diagram of TimeInterval in schema timecard_xsd (HR-XML - Human Resources XML)
Collapse XSD Schema Code:
<xsd:element name="TimeInterval">
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element name="Id" type="EntityIdType" minOccurs="0" />
            <xsd:element name="StartDateTime" type="AnyDateTimeType" />
            <xsd:choice>
                <xsd:sequence>
                    <xsd:element name="EndDateTime" type="AnyDateTimeType" />
                    <xsd:element name="Duration" type="TimeCardDuration" minOccurs="0" />
                </xsd:sequence>
                <xsd:element name="Duration" type="TimeCardDuration" />
            </xsd:choice>
            <xsd:element name="PieceWork" minOccurs="0" maxOccurs="unbounded">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="Piece">
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element name="Id" type="EntityIdType" minOccurs="0" />
                                    <xsd:element name="PieceValue" type="xsd:string" />
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:element name="Quantity">
                            <xsd:complexType>
                                <xsd:simpleContent>
                                    <xsd:extension base="xsd:double">
                                        <xsd:attribute name="unitOfMeasure" type="xsd:string" />
                                    </xsd:extension>
                                </xsd:simpleContent>
                            </xsd:complexType>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="RateOrAmount" minOccurs="0" maxOccurs="unbounded">
                <xsd:complexType>
                    <xsd:simpleContent>
                        <xsd:extension base="xsd:double">
                            <xsd:attribute name="currency" type="CurrencyCodeType" use="required" />
                            <xsd:attribute name="type" type="xsd:string" use="required" />
                            <xsd:attribute name="period" type="xsd:string" />
                            <xsd:attribute name="multiplier" type="xsd:double" />
                            <xsd:attribute name="toBeBilled" type="xsd:boolean" />
                            <xsd:attribute name="toBePaid" type="xsd:boolean" />
                        </xsd:extension>
                    </xsd:simpleContent>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="Allowance" minOccurs="0" maxOccurs="unbounded">
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="Id" type="EntityIdType" minOccurs="0" />
                        <xsd:element name="StartDate" type="AnyDateTimeType" minOccurs="0" />
                        <xsd:element name="EndDate" type="AnyDateTimeType" minOccurs="0" />
                        <xsd:element name="Amount" minOccurs="0">
                            <xsd:complexType>
                                <xsd:simpleContent>
                                    <xsd:extension base="xsd:double">
                                        <xsd:attribute name="currency" type="CurrencyCodeType" use="required" />
                                    </xsd:extension>
                                </xsd:simpleContent>
                            </xsd:complexType>
                        </xsd:element>
                        <xsd:element name="Quantity" type="xsd:double" minOccurs="0" />
                        <xsd:element name="AdditionalData" type="AdditionalDataType" minOccurs="0" maxOccurs="unbounded" />
                        <xsd:element name="ApprovalInfo" type="ApprovalInfoType" minOccurs="0" maxOccurs="unbounded" />
                        <xsd:element name="SubmitterInfo" type="SubmitterInfoType" minOccurs="0" />
                        <xsd:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded" />
                    </xsd:sequence>
                    <xsd:attribute name="type" type="xsd:string" use="required" />
                    <xsd:attribute name="billable" type="xsd:boolean" />
                    <xsd:attribute name="actionCode" type="ActionCodeType" />
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="AdditionalData" type="AdditionalDataType" minOccurs="0" maxOccurs="unbounded" />
            <xsd:element name="ApprovalInfo" type="ApprovalInfoType" minOccurs="0" maxOccurs="unbounded" />
            <xsd:element name="SubmitterInfo" type="SubmitterInfoType" minOccurs="0" />
            <xsd:element name="Comment" type="CommentType" minOccurs="0" maxOccurs="unbounded" />
        </xsd:sequence>
        <xsd:attribute name="type" type="xsd:string" use="required" />
        <xsd:attribute name="dayAssignment" type="DayAssignmentType" />
        <xsd:attribute name="billable" type="xsd:boolean" />
        <xsd:attribute name="actionCode" type="ActionCodeType" />
    </xsd:complexType>
</xsd:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Id hr:Id 0 (1)
StartDateTime hr:StartDateTime (1) (1)
EndDateTime hr:EndDateTime (1) (1)
Duration hr:Duration 0 (1)
Duration hr:Duration (1) (1)
PieceWork hr:PieceWork 0 unbounded
RateOrAmount hr:RateOrAmount 0 unbounded
Allowance hr:Allowance 0 unbounded
AdditionalData hr:AdditionalData 0 unbounded
ApprovalInfo hr:ApprovalInfo 0 unbounded
SubmitterInfo hr:SubmitterInfo 0 (1)
Comment hr:Comment 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
type hr:type Required
dayAssignment hr:dayAssignment (Optional)
billable hr:billable (Optional)
actionCode hr:actionCode (Optional)