What the example contains

Files and directories included in this example are as follows:

  • Maps:

    The maps directory contains the following map sources:

    • t2_clm_mx_admi_validation_enh.mms

      Utility maps called by main map for all the admi TARGET2 CLM xml message MX validation.

    • t2_clm_mx_camt_validation_enh.mms

      Utility maps called by main map for all the camt TARGET2 CLM xml message MX validation.

    • t2_clm_mx_pacs_validation_enh.mms

      Utility maps called by main map for all the pacs TARGET2 CLM xml message MX validation.

    • t2_clm_mx_validation_frmwrk_map_enh.mms

      The main map used to apply MX validation to TARGET2 CLM 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.xsd
    • admi.005.001.01.xsd
    • admi.007.001.01.xsd
    • camt.003.001.07.xsd
    • camt.004.001.08.xsd
    • camt.005.001.08.xsd
    • camt.006.001.08.xsd
    • camt.018.001.05.xsd
    • camt.019.001.07.xsd
    • camt.025.001.05.xsd
    • camt.029.001.09.xsd
    • camt.046.001.05.xsd
    • camt.047.001.06.xsd
    • camt.048.001.05.xsd
    • camt.049.001.05.xsd
    • camt.050.001.05.xsd
    • camt.053.001.08_btcs.xsd
    • camt.053.001.08_tsgl.xsd
    • camt.054.001.08.xsd
    • camt.056.001.08.xsd
    • camt.998.001.03_apmr.xsd
    • camt.998.001.03_gpmr.xsd
    • camt.998.001.03_ibmr.xsd
    • camt.998.001.03_ivrmr.xsd
    • camt.998.001.03_mcl.xsd
    • camt.998.001.03_rpimr.xsd
    • camt.998.001.03_rpmr.xsd
    • pacs.002.001.10.xsd
    • pacs.009.001.08.xsd
    • pacs.010.001.03.xsd
    • head.001.001.01.xsd
    Note: XML schemas were downloaded from SWIFT MyStandards Readiness TARGET2 CLM Portal.
  • Trees:

    The trees directory contains the following files:

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

    • Sample valid files for test purpose with header envelope:
      • bah_admi_004_001_02_valid.xml
      • bah_admi_005_001_01_valid.xml
      • bah_admi_007_001_01_valid.xml
      • bah_camt_003_001_07_valid.xml
      • bah_camt_004_001_08_valid.xml
      • bah_camt_005_001_08_valid.xml
      • bah_camt_006_001_08_valid.xml
      • bah_camt_018_001_05_valid.xml
      • bah_camt_019_001_07_valid.xml
      • bah_camt_025_001_05_valid.xml
      • bah_camt_029_001_09_valid.xml
      • bah_camt_046_001_05_valid.xml
      • bah_camt_047_001_06_valid.xml
      • bah_camt_048_001_05_valid.xml
      • bah_camt_049_001_05_valid.xml
      • bah_camt_050_001_05_valid.xml
      • bah_camt_053_001_08_btcs_valid.xml
      • bah_camt_053_001_08_tsgl_valid.xml
      • bah_camt_054_001_08_valid.xml
      • bah_camt_056_001_08_valid.xml
      • bah_camt_998_001_03_apmr_valid.xml
      • bah_camt_998_001_03_gpmr_valid.xml
      • bah_camt_998_001_03_ibmr_valid.xml
      • bah_camt_998_001_03_ivrmr_valid.xml
      • bah_camt_998_001_03_mcl_valid.xml
      • bah_camt_998_001_03_rpimr_valid.xml
      • bah_camt_998_001_03_rpmr_valid.xml
      • bah_pacs_002_001_10_valid.xml
      • bah_pacs_009_001_08_valid.xml
      • bah_pacs_010_001_03_valid.xml