What the example contains

Files and directories included in this example are as follows:

  • Maps:

    The maps directory contains the following map sources to use when running under Design Studio.

    • cbpr_mx_camt_validation_enh.mms

      Utility map called by main map for all the camt CBPR xml message MX validation.

    • cbpr_mx_pacs_validation_enh.mms

      Utility map called by main map for all the pacs CBPR xml message MX validation.

    • cbpr_mx_pain_validation_enh.mms

      Utility map called by main map for all the pain CBPR xml message MX validation.

    • cbpr_mx_validation_frmwrk_map_enh.mms

      The Main map used to apply MX validation to CBPR xml messages.

  • MX validation:
    • BIC verification
    • Currency code verification
    • Country code verification
    • Maximum allowed fractional digit verification against currency
    • IBAN format verification
  • 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.

    • camt.029.001.09.xsd
    • camt.052.001.08.xsd
    • camt.053.001.08.xsd
    • camt.054.001.08.xsd
    • camt.055.001.08.xsd
    • camt.056.001.08.xsd
    • camt.057.001.06.xsd
    • camt.058.001.08.xsd
    • camt.107.001.01.xsd
    • camt.108.001.01.xsd
    • camt.109.001.01.xsd
    • camt.060.001.05.xsd
    • pacs.002.001.10.xsd
    • pacs.003.001.08.xsd
    • pacs.004.001.09.xsd
    • pacs.008.001.08.xsd
    • pacs.008.001.08_stp.xsd
    • pacs.009.001.08.xsd
    • pacs.009.001.08_cov.xsd
    • pacs.009.001.08_adv.xsd
    • pacs.010.001.03.xsd
    • pacs.010.001.03_mgn.xsd
    • pain.001.001.09.xsd
    • pain.002.001.10.xsd
    • pain.008.001.08.xsd
    • head.001.001.02.camt.029.xsd
    • head.001.001.02.camt.052.xsd
    • head.001.001.02.camt.053.xsd
    • head.001.001.02.camt.054.xsd
    • head.001.001.02.camt.055.xsd
    • head.001.001.02.camt.056.xsd
    • head.001.001.02.camt.057.xsd
    • head.001.001.02.camt.058.xsd
    • head.001.001.02.camt.060.xsd
    • head.001.001.02.pacs.002.xsd
    • head.001.001.02.pacs.003.xsd
    • head.001.001.02.pacs.004.xsd
    • head.001.001.02.pacs.008.xsd
    • head.001.001.02_pacs_008_stp.xsd
    • head.001.001.02.pacs.009.xsd
    • head.001.001.02_pacs_009_cov.xsd
    • head.001.001.02_pacs_009_adv.xsd
    • head.001.001.02.pacs.010.xsd
    • head.001.001.02.pacs.010_mgn.xsd
    • head.001.001.02.pain.001.xsd
    • head.001.001.02.pain.002.xsd
    • head.001.001.02.pain.008.xsd
    Note: XML schemas were downloaded from SWIFT MyStandards Readiness CBPRplus Portal.
  • Trees:

    The trees directory contains the following files:

    • swiftroute_funds.mtt

      Metadata that is used as internal element placeholder.

    • cbprErrorReport.mtt

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

  • 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.

    • Sample valid files for test purpose:
      • bah_pacs_002_001_10_valid.xml
      • bah_pacs_003_001_08_valid.xml
      • bah_pacs_004_001_09_valid.xml
      • bah_pacs_008_001_08_valid.xml
      • bah_pacs_008_001_08_stp_valid.xml
      • bah_pacs_009_001_08_valid.xml
      • bah_pacs_009_001_08_cov_valid.xml
      • bah_pacs_009_001_08_adv_valid.xml
      • bah_pacs_010_001_03_valid.xml
      • bah_pacs_010_001_03_mgn_valid.xml
      • bah_camt_029_001_09_valid.xml
      • bah_camt_052_001_08_valid.xml
      • bah_camt_053_001_08_valid.xml
      • bah_camt_054_001_08_valid.xml
      • bah_camt_055_001_08_valid.xml
      • bah_camt_056_001_08_valid.xml
      • bah_camt_057_001_06_valid.xml
      • bah_camt_058_001_08_valid.xml
      • bah_camt_060_001_05_valid.xml
      • bah_camt_107_001_01_valid.xml
      • bah_camt_108_001_01_valid.xml
      • bah_camt_109_001_01_valid.xml
      • bah_pain_001_001_09_valid.xml
      • bah_pain_002_001_10_valid.xml
      • bah_pain_008_001_08_valid.xml