What the example contains

Files and directories included in this example are as follows:

  • Maps:

    The maps directory contains the following map sources:

    • chaps_l4l_mx_admi_validation_enh.mms

      Utility maps called by main map for all the admi CHAPS L4L xml message MX validation.

    • chaps_l4l_mx_camt_validation_enh.mms

      Utility maps called by main map for all the camt CHAPS L4L xml message MX validation.

    • chaps_l4l_mx_mirs_validation_enh.mms

      Utility maps called by main map for all the mirs CHAPS L4L xml message MX validation.

    • chaps_l4l_mx_pacs_validation_enh.mms

      Utility maps called by main map for all the pacs CHAPS L4L xml message MX validation.

    • chaps_l4l_mx_validation_frmwrk_map_enh.mms

      The Main map used to apply MX validation to CHAPS L4L xml messages.

  • Schemas:

    The schemas directory contains the following files:

    • bic.xsd

      Meta data that represents the bic.xml repository file structure.

    • ccy.xsd

      Meta data that represents the currencycodedecimals.xml repository file structure.

    • mxconfig.xsd

      Meta data that represent the mxconfig.xml configuration file structure.

    • admi.004.001.02_fqsm.xsd
    • admi.004.001.02_rsr.xsd
    • camt.052.001.08.xsd
    • camt.053.001.08.xsd
    • camt.054.001.08_ca.xsd
    • camt.054.001.08_cld.xsd
    • camt.054.001.08_cli.xsd
    • camt.054.001.08_lpa.xsd
    • camt.060.001.05.xsd
    • mirs.095.001.01.xsd
    • pacs.002.001.10.xsd
    • pacs.004.001.09.xsd
    • pacs.008.001.08.xsd
    • pacs.009.001.08_core.xsd
    • pacs.009.001.08_cov.xsd
    • head.001.001.02_admi_004_fqsm.xsd
    • head.001.001.02_admi_004_rsr.xsd
    • head.001.001.02_camt_052.xsd
    • head.001.001.02_camt_053.xsd
    • head.001.001.02_camt_054_ca.xsd
    • head.001.001.02_camt_054_cld.xsd
    • head.001.001.02_camt_054_cli.xsd
    • head.001.001.02_camt_054_lpa.xsd
    • head.001.001.02_camt_060.xsd
    • head.001.001.02_mirs_095.xsd
    • head.001.001.02_pacs_002.xsd
    • head.001.001.02_pacs_004.xsd
    • head.001.001.02_pacs_008.xsd
    • head.001.001.02_pacs_009_core.xsd
    • head.001.001.02_pacs_009_cov.xsd
    Note: XML schemas were downloaded from SWIFT MyStandards Readiness Bank of England Portal.
  • Trees:

    The trees directory contains the following files:

    • mxval_error_codes.mtt

      Metadata that represents the validation error codes and rules with their descriptions.

    • mxvalErrorReport.mtt

      Metadata that represents the xml based structure of the validation report.

    • swiftroute_funds.mtt

      Metadata that is used as internal element placeholder.

  • Data:

    The data directory contains the following file:

    • bic.xml

      Repository file listing all BICs which are used during validation.

    • currencycodedecimals.xml

      Repository file list country codes, currency codes and corresponding maximum fractionally digits, used as reference for validation.

    • mxconfig.xml

      Contains rule settings on how to validate a message.

    • chaps_error_codes.txt

      Contains error messages and rule descriptions.

    • Valid XML documents are:
      • bah_admi_004_001_02_fqsm_valid.xml
      • bah_admi_004_001_02_rsr_valid.xml
      • bah_camt_052_001_08_valid.xml
      • bah_camt_053_001_08_valid.xml
      • bah_camt_054_001_08_ca_valid.xml
      • bah_camt_054_001_08_cld_valid.xml
      • bah_camt_054_001_08_cli_valid.xml
      • bah_camt_054_001_08_lpa_valid.xml
      • bah_camt_060_001_05_valid.xml
      • bah_mirs_095_001_01_valid.xml
      • bah_pacs_002_001_10_valid.xml
      • bah_pacs_004_001_09_valid.xml
      • bah_pacs_008_001_08_valid.xml
      • bah_pacs_009_001_08_core_valid.xml
      • bah_pacs_009_001_08_cov_valid.xml