Bitcoin / TransmissionRs_x.xsd
charlestonX's picture
Upload 6 files
3c15ce8
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:us:gov:treasury" targetNamespace="urn:us:gov:treasury" elementFormDefault="qualified" attributeFormDefault="unqualified" version="5.0.2">
<xsd:include schemaLocation="../core/Common_ComplexTypes.xsd"/>
<xsd:element name="Err" type="Error_ComplexType_x">
<xsd:annotation>
<xsd:documentation>Contains the error metadata fields.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Errs" type="Errors_ComplexType_x">
<xsd:annotation>
<xsd:documentation>Container for each Error item</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Suc" type="Success_ComplexType_x">
<xsd:annotation>
<xsd:documentation>Conveys the successful receipt or validation of the inbound Transmission.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Sucses" type="Successes_ComplexType_x">
<xsd:annotation>
<xsd:documentation>Container for each Success item</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TrnsmRsp" type="TransmissionRs_ComplexType_x">
<xsd:annotation>
<xsd:documentation>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.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Wrn" type="Warning_ComplexType_x">
<xsd:annotation>
<xsd:documentation>Contains the warning metadata fields.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Wrns" type="Warnings_ComplexType_x">
<xsd:annotation>
<xsd:documentation>Container for each Warning item</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="Error_Baseline_ComplexType_x">
<xsd:attributeGroup ref="ErrorWarningAttributeGroup_x"/>
</xsd:complexType>
<xsd:complexType name="Error_ComplexType_x">
<xsd:complexContent>
<xsd:restriction base="Error_Baseline_ComplexType_x">
<xsd:attribute name="ErrCd" type="StringLength_0to4_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>If present, this refers to a table of coded values exchanged between applications to identify errors or warnings.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ErrTxt" type="StringLength_0to150_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>Provides a short text description of the error or warning.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="DocLnkTxt" type="URI_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>This URI refers to an online description of the error or warning that occurred.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="SevrtyLvlCd" type="SeverityLevel_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>This value represents the degree of error where the lowest number "1" is the highest degree of error (i.e. a fatal error) and "9" is the lowest degree of error. </xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ErrNod" type="String_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>The XPath notation to identify the location of the error/warning present in the instance document referenced by the EchoID attribute.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Errors_Baseline_ComplexType_x">
<xsd:sequence>
<xsd:element ref="Err" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Errors_ComplexType_x">
<xsd:complexContent>
<xsd:restriction base="Errors_Baseline_ComplexType_x">
<xsd:sequence>
<xsd:element ref="Err" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Success_Baseline_ComplexType_x">
<xsd:sequence>
<xsd:element ref="TrdgPartnExts" minOccurs="0"/>
</xsd:sequence>
<xsd:attributeGroup ref="SuccessType_AttributeGroup_x"/>
</xsd:complexType>
<xsd:complexType name="Success_ComplexType_x">
<xsd:complexContent>
<xsd:restriction base="Success_Baseline_ComplexType_x">
<xsd:sequence>
<xsd:element ref="TrdgPartnExts" minOccurs="0"/>
</xsd:sequence>
<xsd:attribute name="SucTypCd" type="Success_SimpleType" use="required">
<xsd:annotation>
<xsd:documentation>Indicates whether the successful result of the inbound document was received or was validated. The server relays a successful business-rules validation by the absence of Warning items or Error items. </xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Successes_Baseline_ComplexType_x">
<xsd:sequence>
<xsd:element ref="Suc" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Successes_ComplexType_x">
<xsd:complexContent>
<xsd:restriction base="Successes_Baseline_ComplexType_x">
<xsd:sequence>
<xsd:element ref="Suc" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="TransmissionRs_Baseline_ComplexType_x">
<xsd:sequence>
<xsd:element ref="Sucses" minOccurs="0"/>
<xsd:element ref="Wrns" minOccurs="0"/>
<xsd:element ref="Errs" minOccurs="0"/>
<xsd:element ref="Tot" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attributeGroup ref="TransmissionRs_AttributeGroup_x"/>
</xsd:complexType>
<xsd:complexType name="TransmissionRs_ComplexType_x">
<xsd:complexContent>
<xsd:restriction base="TransmissionRs_Baseline_ComplexType_x">
<xsd:sequence>
<xsd:element ref="Sucses" minOccurs="0"/>
<xsd:element ref="Wrns" minOccurs="0"/>
<xsd:element ref="Errs" minOccurs="0"/>
<xsd:element ref="Tot" minOccurs="0" maxOccurs="2"/>
</xsd:sequence>
<xsd:attribute name="EchoID" type="Identifier_SimpleType" use="required">
<xsd:annotation>
<xsd:documentation>Identifies the unique original Transmission message level identifier.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ID" type="Identifier_SimpleType" use="required">
<xsd:annotation>
<xsd:documentation>An identifier for the record. For a receiving system, this value can be used to reconcile updates to an existing record and qualify new records. For a sending system, this value can be used to reconcile acknowledgements for the submitted records.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="TrnsmTs" type="TimeStamp_SimpleType" use="required">
<xsd:annotation>
<xsd:documentation>Indicates the date and time of a transmission.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="AcctbBusLnCd" type="BusinessTransmissionCategory_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>The business line of a transaction's content (as opposed to the business line of the program that processes the transaction, which is not always the same).</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="IptSysTxt" type="StringLength_0to40_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>Identifies the sending trading partner.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="SeqNr" type="SequenceNumber_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>Provides a sequential order of items.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Warning_Baseline_ComplexType_x">
<xsd:attributeGroup ref="ErrorWarningAttributeGroup_x"/>
</xsd:complexType>
<xsd:complexType name="Warning_ComplexType_x">
<xsd:complexContent>
<xsd:restriction base="Warning_Baseline_ComplexType_x">
<xsd:attribute name="ErrCd" type="StringLength_0to4_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>If present, this refers to a table of coded values exchanged between applications to identify errors or warnings.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ErrTxt" type="StringLength_0to150_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>Provides a short text description of the error or warning.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="DocLnkTxt" type="URI_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>This URI refers to an online description of the error or warning that occurred.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="SevrtyLvlCd" type="SeverityLevel_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>This value represents the degree of error where the lowest number "1" is the highest degree of error (i.e. a fatal error) and "9" is the lowest degree of error. </xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ErrNod" type="String_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>The XPath notation to identify the location of the error/warning present in the instance document referenced by the EchoID attribute.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Warnings_ComplexType_x">
<xsd:sequence>
<xsd:element ref="Wrn" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:attributeGroup name="ErrorWarningAttributeGroup_x">
<xsd:attribute name="ErrCd" type="StringLength_0to4_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>If present, this refers to a table of coded values exchanged between applications to identify errors or warnings.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ErrTxt" type="StringLength_0to150_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>Provides a short text description of the error or warning.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="DocLnkTxt" type="URI_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>This URI refers to an online description of the error or warning that occurred.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="SevrtyLvlCd" type="SeverityLevel_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>This value represents the degree of error where the lowest number "1" is the highest degree of error (i.e. a fatal error) and "9" is the lowest degree of error. </xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="ErrNod" type="String_SimpleType" use="optional">
<xsd:annotation>
<xsd:documentation>The XPath notation to identify the location of the error/warning present in the instance document referenced by the EchoID attribute.</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:attributeGroup>
<xsd:attributeGroup name="SuccessType_AttributeGroup_x">
<xsd:attribute name="SucTypCd" type="Success_SimpleType" use="required">
<xsd:annotation>
<xsd:documentation>Indicates whether the successful result of the inbound document was received or was validated. The server relays a successful business-rules validation by the absence of Warning items or Error items. </xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attributeGroup ref="ReferenceIdentifier_AttributeGroup_x"/>
<xsd:attributeGroup ref="ReferenceNumber_AttributeGroup_x"/>
</xsd:attributeGroup>
<xsd:simpleType name="SeverityLevel_SimpleType">
<xsd:restriction base="String_SimpleType">
<xsd:pattern value="[1-9]"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="Success_SimpleType">
<xsd:restriction base="xsd:token">
<xsd:enumeration value="Received">
<xsd:annotation>
<xsd:documentation>Indicates that the server received the inbound document (no schema-validation or business-rules validation).</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Validated">
<xsd:annotation>
<xsd:documentation>Indicates that the server received the inbound document and that it passed schema-validation.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Processed">
<xsd:annotation>
<xsd:documentation>Indicates that the server received the inbound document and that it passed schema-validation and business-rules validation.</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>