Definition Type: ComplexType
Name: ErrorReport
Namespace: http://www.opentravel.org/OTM/Common/v4
Type: ota2:Empty
Containing Schema: Common_4_0_0.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into retransmissionIndicatorInd in schema common_4_0_0_xsd Drilldown into altLangID in schema common_4_0_0_xsd Drilldown into primaryLangID in schema common_4_0_0_xsd Drilldown into correlationID in schema common_4_0_0_xsd Drilldown into transactionStatusCode in schema common_4_0_0_xsd Drilldown into sequenceNmbr in schema common_4_0_0_xsd Drilldown into transactionIdentifier in schema common_4_0_0_xsd Drilldown into version in schema common_4_0_0_xsd Drilldown into targetName in schema common_4_0_0_xsd Drilldown into target in schema common_4_0_0_xsd Drilldown into timeStamp in schema common_4_0_0_xsd Drilldown into echoToken in schema common_4_0_0_xsd Drilldown into docURL in schema common_4_0_0_xsd Drilldown into errorMessageExtension in schema common_4_0_0_xsd Drilldown into errorMessage in schema common_4_0_0_xsd Drilldown into severity in schema common_4_0_0_xsd Drilldown into errorCodeExtension in schema common_4_0_0_xsd Drilldown into errorCode in schema common_4_0_0_xsd Drilldown into status in schema common_4_0_0_xsdXSD Diagram of ErrorReport in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="ErrorReport">
    <xsd:annotation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ErrorReport</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2:Empty">
            <xsd:attribute name="status" type="ota2-0400:ErrorStatus_Enum" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">[LegacyDefaultValue: null]</xsd:documentation>
                    <xsd:documentation source="Implementer">LocalAnonymousType: OTA_ErrorRS_Status</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Status</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="errorCode" type="ota2-0400:ErrorCodes_Enum_Base" use="required">
                <xsd:annotation>
                    <xsd:documentation source="Description">The ErrorCode attribute MUST be present and is defined as free-text with a list of recommended enumerated values, to indicate the error type.</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ErrorCode</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="errorCodeExtension" type="ota2:String_EnumExtension" />
            <xsd:attribute name="severity" type="ota2-0400:StringShort" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">An optional indicator to reflect the severity of this condition.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.opentravel.org/OTA/2003/05}StringLength1to64</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Severity</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="errorMessage" type="ota2-0400:ErrorCodes_Enum_Base" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">A textual description to provide more information about the specific error.</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">ErrorMessage</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="errorMessageExtension" type="ota2:String_EnumExtension" />
            <xsd:attribute name="docURL" type="xsd:anyURI" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">If present, this attribute 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="echoToken" type="ota2-0400:StringShort" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Implementer: A reference for additional message identification, assigned by the requesting host system. When a request message includes an echo token the corresponding response message MUST include an echo token with an identical value.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to128</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">EchoToken</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="timeStamp" type="xsd:dateTime" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">YYYY-MM-DDThh:mm:ssZ with time values using the 24 hour clock:
20 November 2003, 1:59:38 pm UTC becomes 2003-11-20T13:59:38Z</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}dateTime</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">TimeStamp</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="target" type="ota2-0400:TargetEnvironment_Enum" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Test or Production target system indicator.</xsd:documentation>
                    <xsd:documentation source="Implementer">LocalAnonymousType: OTA_PayloadStdAttributes_Target</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Target</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="targetName" type="ota2-0400:StringShort" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The name of the Test or Production system.</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">TargetName</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="version" type="xsd:decimal" use="required">
                <xsd:annotation>
                    <xsd:documentation source="Description">The OpenTravel message version indicated by a decimal value.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}decimal</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">Version</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="transactionIdentifier" type="xsd:string" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Unique identifier to relate all messages within a transaction (e.g. this would be sent in all request and response messages that are part of an on-going transaction).</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">TransactionIdentifier</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="sequenceNmbr" type="xsd:string" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Implementer: Message resynchronization typically is required if a system has been off-line and needs to retrieve messages that were missed.</xsd:documentation>
                    <xsd:documentation source="Implementer">Changed type from {http://www.w3.org/2001/XMLSchema}nonNegativeInteger.</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">SequenceNmbr</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="transactionStatusCode" type="ota2-0400:TransactionStatusCode_Enum" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">This indicates where this message falls within a sequence of messages.</xsd:documentation>
                    <xsd:documentation source="Implementer">LocalAnonymousType: OTA_PayloadStdAttributes_TransactionStatusCode</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">TransactionStatusCode</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="correlationID" type="ota2-0400:StringShort" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Allows end-to-end correlation of log messages with the corresponding Web service message throughout the processing of the Web service message.</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">CorrelationID</otm:Equivalent>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="primaryLangID" type="xsd:language" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">ISO 639 (3) character language codes: http://en.wikipedia.org/wiki/Lists_of_ISO_639_codes</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}language</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">PrimaryLangID</otm:Equivalent>
                        <otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">en</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="altLangID" type="xsd:language" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">ISO 639 (3) character language codes: http://en.wikipedia.org/wiki/Lists_of_ISO_639_codes</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}language</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">AltLangID</otm:Equivalent>
                        <otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">es</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="retransmissionIndicatorInd" type="xsd:boolean" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Implementer: It is recommended that this attribute is used (i.e., set to TRUE) only when a message is retransmitted.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}boolean</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
        </xsd:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
status ota2-0400:status Optional
errorCode ota2-0400:errorCode Required
errorCodeExtension ota2-0400:errorCodeExtension (Optional)
severity ota2-0400:severity Optional
errorMessage ota2-0400:errorMessage Optional
errorMessageExtension ota2-0400:errorMessageExtension (Optional)
docURL ota2-0400:docURL Optional
echoToken ota2-0400:echoToken Optional
timeStamp ota2-0400:timeStamp Optional
target ota2-0400:target Optional
targetName ota2-0400:targetName Optional
version ota2-0400:version Required
transactionIdentifier ota2-0400:transactionIdentifier Optional
sequenceNmbr ota2-0400:sequenceNmbr Optional
transactionStatusCode ota2-0400:transactionStatusCode Optional
correlationID ota2-0400:correlationID Optional
primaryLangID ota2-0400:primaryLangID Optional
altLangID ota2-0400:altLangID Optional
retransmissionIndicatorInd ota2-0400:retransmissionIndicatorInd Optional
Collapse Derivation Tree: