Definition Type: Attribute
Name: ToFrom
Type: NMTOKEN:http://www.w3.org/2001/XMLSchema
Containing Schema: OTA_CommonTypes.xsd
ContentType Restriction
Use Optional
Documentation:
Used to indicate whether the context is to a facility or from a facility.
Collapse XSD Schema Diagram:
XSD Diagram of ToFrom in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:attribute name="ToFrom" use="optional">
    <xs:annotation>
        <xs:documentation xml:lang="en">Used to indicate whether the context is to a facility or from a facility.</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="ToFacility">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Indicates the direction is to the facility based on use (e.g., hotel, car rental location, airport).</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
            <xs:enumeration value="FromFacility">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Indicates the direction is from the facility based on use (e.g., hotel, car rental location, airport).</xs:documentation>
                </xs:annotation>
            </xs:enumeration>
        </xs:restriction>
    </xs:simpleType>
</xs:attribute>
Collapse Facets:
Facet Value
Enumeration ToFacility
Enumeration FromFacility