<xsd:complexType name="ErrorWarning">
<xsd:annotation>
<xsd:documentation source="Description">The error in textual format.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
<xsd:appinfo>
<otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ErrorWarning</otm:OTA2Entity>
<otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ErrorWarningAttributeGroup</otm:Equivalent>
</xsd:appinfo>
</xsd:annotation>
<xsd:simpleContent>
<xsd:extension base="ota2-0400:String">
<xsd:attribute name="language" type="ota2-0400:LanguageCode" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The language in which the error is returned.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="type" type="ota2-0300:ErrorWarningType_Enum_Base" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">The category of error or warning.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="typeExtension" type="ota2:String_EnumExtension" />
<xsd:attribute name="shortText" type="ota2-0400:StringShort" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">An abbreviated version of the error in textual format.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="code" type="ota2-0400:OTA_Code" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OpenTravel Code List Error Codes (ERR).</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}OTA_CodeType</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Code</otm:Equivalent>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="docURL" type="xsd:anyURI" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">If present, this URL refers to an online description of the error that occurred.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}anyURI</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">DocURL</otm:Equivalent>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="tag" type="ota2-0400:String" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">If present, this attribute may identify an unknown or misspelled tag that caused an error in processing. It is recommended that the Tag attribute use XPath notation to identify the location of a tag in the event that more than one tag of the same name is present in the document. Alternatively, the tag name alone can be used to identify missing data [Type=ReqFieldMissing].</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}string</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Tag</otm:Equivalent>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="recordID" type="ota2-0400:StringShort" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">If present, this attribute allows for batch processing and the identification of the record that failed amongst a group of records. This value may contain a concatenation of a unique failed transaction ID with specific record(s) associated with that transaction.</xsd:documentation>
<xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
<xsd:appinfo>
<otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RecordID</otm:Equivalent>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="nodeList" type="ota2-0400:String" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">An XPath expression that selects all the nodes whose data caused this error. Further, this expression should have an additional contraint which contains the data of the node. This will provide the offending data back to systems that cannot maintain the original message.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="status" type="ota2-0300:Status_Enum_Base" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Identfies the status condition.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="statusExtension" type="ota2:String_EnumExtension" />
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
|