Definition Type: ComplexType
Name: WarningType
Type: FreeTextType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
Used when a message has been successfully processed to report any warnings or business errors that occurred.
Collapse XSD Schema Diagram:
Drilldown into Language in schema ota_commontypes_xsd1 Drilldown into LanguageGroup in schema ota_commontypes_xsd Drilldown into FreeTextType in schema ota_commontypes_xsd Drilldown into RPH in schema ota_commontypes_xsd1 Drilldown into RecordID in schema ota_commontypes_xsd1 Drilldown into Tag in schema ota_commontypes_xsd1 Drilldown into Status in schema ota_commontypes_xsd1 Drilldown into DocURL in schema ota_commontypes_xsd1 Drilldown into Code in schema ota_commontypes_xsd1 Drilldown into ShortText in schema ota_commontypes_xsd1 Drilldown into ErrorWarningAttributeGroup in schema ota_commontypes_xsd Drilldown into Type in schema ota_commontypes_xsd1XSD Diagram of WarningType in schema ota_commontypes_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="WarningType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Used when a message has been successfully processed to report any warnings or business errors that occurred.</xs:documentation>
    </xs:annotation>
    <xs:simpleContent>
        <xs:extension base="FreeTextType">
            <xs:attribute name="Type" type="OTA_CodeType" use="required">
                <xs:annotation>
                    <xs:documentation xml:lang="en">The Warning element MUST contain the Type attribute that uses a recommended set of values to indicate the warning type. The validating XSD can expect to accept values that it has NOT been explicitly coded for and process them by using Type ="Unknown".  Refer to OTA Code List Error Warning Type (EWT).</xs:documentation>
                </xs:annotation>
            </xs:attribute>
            <xs:attributeGroup ref="ErrorWarningAttributeGroup">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Details of the warning.</xs:documentation>
                </xs:annotation>
            </xs:attributeGroup>
            <xs:attribute name="RPH" type="RPH_Type" use="optional">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Reference Place Holder used as an index for this warning.</xs:documentation>
                </xs:annotation>
            </xs:attribute>
        </xs:extension>
    </xs:simpleContent>
</xs:complexType>
Collapse Child Attributes:
Name Type Default Value Use
Language Language Optional
Type Type Required
ShortText ShortText Optional
Code Code Optional
DocURL DocURL Optional
Status Status Optional
Tag Tag Optional
RecordID RecordID Optional
RPH RPH Optional
Collapse Derivation Tree:
Collapse References:
Warning