<xs:attributeGroup name="ErrorWarningAttributeGroup">
<xs:annotation>
<xs:documentation xml:lang="en">Used to identify an application error by either text, code, or by an online description and also to give the status, tag, and/or identification of the record that may have caused the error.</xs:documentation>
</xs:annotation>
<xs:attribute name="ShortText" type="StringLength1to64" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">An abbreviated version of the error in textual format.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Code" type="OTA_CodeType" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to OTA Code List Error Codes (ERR).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="DocURL" type="xs:anyURI" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">If present, this URL refers to an online description of the error that occurred.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Status" type="StringLength1to64" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">If present, recommended values are those enumerated in the OTA_ErrorRS, (NotProcessed | Incomplete | Complete | Unknown) however, the data type is designated as string data, recognizing that trading partners may identify additional status conditions not included in the enumeration.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Tag" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">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].</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RecordID" type="StringLength1to64" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">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.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:attributeGroup>
|