File size: 13,254 Bytes
3c15ce8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 |
<?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>
|