<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="ReasonCode">
<xsd:annotation>
<xsd:documentation xml:lang="en">A machine interpretable error code.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="location" type="ProblemLocation" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">A value indicating the location of the problem within the subject message.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="description" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Plain English text describing the associated error condition</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="validationRuleId" type="Validation" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">A reference identifying a rule within a validation scheme</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="additionalData" type="AdditionalData" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">Any string of additional data that may help the message processor, for example in a rejection message this might contain a code value or the text of any one of the messages (within a CDATA section).</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
|