Definition Type: ComplexType
Name: TimeSpan
Namespace: http://www.opentravel.org/OTM/Common/v4
Type: ota2:Empty
Containing Schema: Common_4_0_0.xsd
Abstract
Documentation:
Specifies the arrival date and departure date which covers the whole Reservation.
Collapse XSD Schema Diagram:
Drilldown into end in schema common_4_0_0_xsd Drilldown into start in schema common_4_0_0_xsdXSD Diagram of TimeSpan in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="TimeSpan">
    <xsd:annotation>
        <xsd:documentation source="Description">Specifies the arrival date and departure date which covers the whole Reservation.</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">TimeSpan</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2:Empty">
            <xsd:attribute name="start" type="ota2-0400:DateTime" use="required">
                <xsd:annotation>
                    <xsd:documentation source="Description">Specifies the start date for the booking as a whole.</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2016-08-22T19:32:52Z</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="end" type="ota2-0400:DateTime" use="required">
                <xsd:annotation>
                    <xsd:documentation source="Description">Specifies the end date for the booking as a whole.</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2016-08-28T04:32:52Z</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
        </xsd:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
start ota2-0400:start Required
end ota2-0400:end Required
Collapse Derivation Tree:
Collapse References:
orghs-0300:DateTimeSpan, ota2-0400:EndWindow, ota2-0400:StartWindow, ota2-0400:TimeSpan, prod-0400:TimeSpan, res-0200:TimeSpan, res-0200:TimeSpan