Definition Type: ComplexType
Name: Reason
Namespace: http://www.fpml.org/2003/FpML-4-0
Containing Schema: fpml-msg-4-0.xsd
Abstract
Documentation:
A type defining a content model for describing the nature and possible location of a error within a previous message.
Collapse XSD Schema Diagram:
Drilldown into additionalData in schema fpml-msg-4-0_xsd Drilldown into validationRuleId in schema fpml-msg-4-0_xsd Drilldown into description in schema fpml-msg-4-0_xsd Drilldown into location in schema fpml-msg-4-0_xsd Drilldown into reasonCode in schema fpml-msg-4-0_xsdXSD Diagram of Reason in schema fpml-msg-4-0_xsd (Financial products Markup Language (FpML®))
Collapse XSD Schema Code:
<xsd:complexType name="Reason">
    <xsd:annotation>
        <xsd:documentation xml:lang="en">A type defining a content model for describing the nature and possible location of a error within a previous message.</xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element name="reasonCode" type="xsd:token">
            <xsd:annotation>
                <xsd:documentation xml:lang="en">A machine interpretable error code.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="location" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>An value indicating the location of the problem within the subject message.</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
                <xsd:simpleContent>
                    <xsd:extension base="xsd:string">
                        <xsd:attribute name="locationType" type="xsd:normalizedString" />
                    </xsd:extension>
                </xsd:simpleContent>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="description" type="xsd:string" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>Plain English text describing the associated error condition</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element name="validationRuleId" minOccurs="0">
            <xsd:annotation>
                <xsd:documentation>A reference identifying a rule within a validation scheme</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
                <xsd:simpleContent>
                    <xsd:extension base="ValidationRuleId">
                        <xsd:attribute name="validationScheme" type="xsd:anyURI" />
                    </xsd:extension>
                </xsd:simpleContent>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="additionalData" minOccurs="0" maxOccurs="unbounded">
            <xsd:annotation>
                <xsd:documentation>Any string of additional data that may help the message processor, for example in a rejection message this might contain the text of the original request (within a CDATA section).</xsd:documentation>
            </xsd:annotation>
            <xsd:complexType>
                <xsd:simpleContent>
                    <xsd:extension base="xsd:string">
                        <xsd:attribute name="additionalDataType" type="xsd:normalizedString" />
                    </xsd:extension>
                </xsd:simpleContent>
            </xsd:complexType>
        </xsd:element>
    </xsd:sequence>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
reasonCode nsA:reasonCode (1) (1)
location nsA:location 0 (1)
description nsA:description 0 (1)
validationRuleId nsA:validationRuleId 0 (1)
additionalData nsA:additionalData 0 unbounded
Collapse Derivation Tree:
Collapse References:
nsA:reason