Definition Type: ComplexType
Name: SpecialRemarkType
Containing Schema: OTA_AirCommonTypes.xsd
Abstract
Documentation:
Itinerary Remarks, Invoice Remarks, etc.
Collapse XSD Schema Diagram:
Drilldown into AuthorizedViewers in schema ota_aircommontypes_xsd1 Drilldown into Airline in schema ota_aircommontypes_xsd1 Drilldown into Text in schema ota_aircommontypes_xsd1 Drilldown into FlightRefNumber in schema ota_aircommontypes_xsd1 Drilldown into TravelerRefNumber in schema ota_aircommontypes_xsd1 Drilldown into ID in schema ota_aircommontypes_xsd Drilldown into RemarkType in schema ota_aircommontypes_xsdXSD Diagram of SpecialRemarkType in schema ota_aircommontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="SpecialRemarkType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Itinerary Remarks, Invoice Remarks, etc.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="TravelerRefNumber" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation xml:lang="en">One or more travelers to whom this request applies</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:attributeGroup ref="TravelerRefNumberGroup" />
                <xs:attribute name="RangePosition" use="optional">
                    <xs:annotation>
                        <xs:documentation xml:lang="en">Specifies whether this is the first or last traveler reference number in a range.</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                        <xs:restriction base="xs:NMTOKEN">
                            <xs:enumeration value="First">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The first number in a range.</xs:documentation>
                                </xs:annotation>
                            </xs:enumeration>
                            <xs:enumeration value="Last">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The last number in a range.</xs:documentation>
                                </xs:annotation>
                            </xs:enumeration>
                        </xs:restriction>
                    </xs:simpleType>
                </xs:attribute>
            </xs:complexType>
        </xs:element>
        <xs:element name="FlightRefNumber" minOccurs="0" maxOccurs="10">
            <xs:annotation>
                <xs:documentation xml:lang="en">One or more flights to whom this request applies</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:attributeGroup ref="FlightRefNumberGroup" />
            </xs:complexType>
        </xs:element>
        <xs:element name="Text" type="xs:string" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">Text associated with remark</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="Airline" type="CompanyNameType" minOccurs="0" maxOccurs="5">
            <xs:annotation>
                <xs:documentation xml:lang="en">Denotes the receiver (or target) airline(s) for the remark.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="AuthorizedViewers" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">A container for authorized viewers. </xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="AuthorizedViewer" maxOccurs="99">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Specifies those authorized to view a confidential special remark.  </xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:attribute name="ViewerCode" type="StringLength1to16" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Identifies an authorized viewer of a confidential remark. Can be a 3 character ATA/IATA airport/city code, an office ID, pseudo city code, etc.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:attribute name="ViewerCarrierCode" type="StringLength1to8" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">Carrier code that may be used in conjunction with the viewer code to identify those authorized to view the confidential special remark.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
        </xs:element>
    </xs:sequence>
    <xs:attribute name="RemarkType" type="OTA_CodeType" use="required">
        <xs:annotation>
            <xs:documentation xml:lang="en"> Type of special remark used (e.g., itinerary remark, invoice remark). Refer to OTA Code List Special Remark Option Type (SRO).</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="ID" type="AlphaNumericStringLength1to8" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Used to further define the remark type.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
TravelerRefNumber TravelerRefNumber 0 unbounded
FlightRefNumber FlightRefNumber 0 10
Text Text 0 (1)
Airline Airline 0 5
AuthorizedViewers AuthorizedViewers 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
RemarkType RemarkType Required
ID ID Optional