Definition Type: ComplexType
Name: TimePeriod
Namespace: http://www.openapplications.org/oagis
Containing Schema: Invoice.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into To in schema invoice_xsd Drilldown into Duration in schema invoice_xsd Drilldown into From in schema invoice_xsd Drilldown into inclusive in schema invoice_xsdXSD Diagram of TimePeriod in schema invoice_xsd (HR-XML - Human Resources XML)
Collapse XSD Schema Code:
<xs:complexType name="TimePeriod">
    <xs:sequence>
        <xs:element name="From" type="DateTime" minOccurs="0">
            <xs:annotation>
                <xs:documentation source="http://www.openapplications.org/oagis">Start timestamp indicating the starting point of the event.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:choice>
            <xs:element name="Duration" type="Duration" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="http://www.openapplications.org/oagis">Indicates the duration of a time period.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="To" type="DateTime" minOccurs="0">
                <xs:annotation>
                    <xs:documentation source="http://www.openapplications.org/oagis">Is the ending timestamp of the event.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
    </xs:sequence>
    <xs:attribute name="inclusive" type="xs:boolean" use="optional" default="true" />
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
From nsC:From 0 (1)
Duration nsC:Duration 0 (1)
To nsC:To 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
inclusive nsC:inclusive true Optional
Collapse Derivation Tree:
Collapse References:
nsC:EffectivePeriod, nsC:EffectivePeriod