Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
bgColorlightyellow
titleInventories.xsd
Code Block
languagexml
themeRDark
titleVersion 2.1
linenumberstrue
					<xs:element name="BANK_DISTRIB_ID" minOccurs="0">
						<xs:annotation>
							<xs:documentation xml:lang="en">Unique identifier of the CBB distributing the CBU: : The value comprises the EMDIS hub code + id allocated by the associated EMDIS hub, where the cord registry is an EMDIS member, otherwise the two digit ISO country code of the associated cord registry + id identification allocated by the associated cord registry. For example: AUCBB1, SB890</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="10"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>


  • Both elements BANK_MANUF_ID and BANK_DISTRIB_ID may not hold content anymore
  • Added 2 optional attributes to provide EMDIS id or WMDA id.
  • Providing both attributes is recommended
  • Suggested fieldname handling : BANK_MANUF_ID_WMDA, BANK_MANUF_ID_EMDIS, BANK_DISTRIB_ID_WMDA  and BANK_DISTRIB_ID_EMDIS


Code Block
languagexml
titleVersion 2.2
linenumberstrue
<xs:element name="BANK_DISTRIB_ID" minOccurs="0">
	<xs:annotation>
	<xs:documentation xml:lang="en">Unique identifier of the CBB distributing the CBU: : In the EMDIS context the value comprises the EMDIS hub code + id allocated by the associated EMDIS hub, where the cord registry is an EMDIS member, otherwise the two digit ISO country code of the associated cord registry + id identification allocated by the associated cord registry. For example: AUCBB1, SB890. In the WMDA context this is the WO-number as assigned by WMDA.</xs:documentation>
	</xs:annotation>
	<!--  @v2.2 : added 2 optional attributes to provide EMDIS and/or WMDA identifiers.-->
	<xs:complexType>
		<xs:attribute name="EMDIS" type="cbBankIdType" use="optional"/>
		<xs:attribute name="WMDA" type="cbBankIdType" use="optional"/>
	</xs:complexType>
</xs:element>


Additionally a new simpleType bareBankIdType has been defined in basicTypes


Code Block
<xs:simpleType name="cbBankIdType">
		<!-- @v2.2 added -->
		<xs:annotation>
			<xs:documentation xml:lang="en">Bank ID type (CBB)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="10"/>
		</xs:restriction>
	</xs:simpleType>


Examples that are valid using new XSD 2.2 schema. Any line below is valid:

Code Block
languagexml
<BANK_MANUF_ID WMDA="3847" EMDIS="EN-38" />
<BANK_MANUF_ID EMDIS="EN-38" />
<BANK_MANUF_ID WMDA="3847" />
<BANK_MANUF_ID WMDA="3847" EMDIS="EN-38"></BANK_MANUF_ID>
<BANK_MANUF_ID></BANK_MANUF_ID>
<BANK_MANUF_ID />



...