What the example contains

Files included in this example are as follows:

  • Maps:

    The maps directory contains the following map source:

    • cbpr_t9n_mx_frmwrk_maps.mms
      • cbpr2510_camt054_framework

        Main map to transform camt.054.001.08 into MT900/MT910.

      • cbpr2520_camt029_framework

        Main map to transform camt.029.001.09 into MT196/MT296.

      • cbpr2530_camt053_framework

        Main map to transform camt.053.001.08 into MT940.

      • cbpr2540_camt056_framework

        Main map to transform camt.056.001.08 into MT192/MT292.

      • cbpr2546_camt052_framework

        Main map to transform camt.052.001.08 into MT942.

      • cbpr2600_camt057_framework

        Main map to transform camt.057.001.06 into MT210.

      • cbpr2610_camt058_framework

        Main map to transform camt.058.001.08 into MT292.

      • cbpr2620_camt107_framework

        Main map to transform camt.107.001.01 into MT110.

      • cbpr2630_camt108_framework

        Main map to transform camt.108.001.01 into MT111.

      • cbpr2640_camt109_framework

        Main map to transform camt.109.001.01 into MT112.

      • cbpr2500_pacs002_framework

        Main map to transform pacs.002.001.10 into MT199/MT299.

      • cbpr2700_pacs008_framework

        Main map to transform pacs.008.001.08 COR/SGO into MT103 COR/STP/SGO.

      • cbpr2710_pacs009_mt202_framework

        Main map to transform pacs.009.001.08 ADV/COR/COV into MT202 COR/COV.

      • cbpr2724_pacs009_mt205_framework

        Main map to transform pacs.009.001.08 COR/COV into MT205 COR/COV.

      • cbpr2850_pacs004_mtnnn_RTN_frw

        Main map to transform pacs.004.001.09 into MT103RETN/MT202RETN/MT205RETN.

    • cbpr_t9n_mx_setvarlog.mms

      Utility used to report translation logs.

    • cbpr_t9n_mx_camt029_mtn96.mms

      Utility used to populate MT196/MT296.

    • cbpr_t9n_mx_camt029_translate.mms

      Utility used to normalize camt.029.001.09 into JSON.

    • cbpr_t9n_mx_camt052_mt942.mms

      Utility used to populate MT942.

    • cbpr_t9n_mx_camt052_translate.mms

      Utility used to normalize camt.052.001.08 into JSON.

    • cbpr_t9n_mx_camt053_mt940.mms

      Utility used to populate MT940.

    • cbpr_t9n_mx_camt053_translate.mms

      Utility used to normalize camt.053.001.08 into JSON.

    • cbpr_t9n_mx_camt054_mt900.mms

      Utility used to populate MT900.

    • cbpr_t9n_mx_camt054_mt910.mms

      Utility used to populate MT910.

    • cbpr_t9n_mx_camt054_translate.mms

      Utility used to normalize camt.054.001.08 into JSON.

    • cbpr_t9n_mx_camt056_mtn92.mms

      Utility used to populate MT192/MT292.

    • cbpr_t9n_mx_camt056_translate.mms

      Utility used to normalize camt.056.001.08 into JSON.

    • cbpr_t9n_mx_camt057_mt210.mms

      Utility used to populate MT210.

    • cbpr_t9n_mx_camt057_translate.mms

      Utility used to normalize camt.057.001.06 into JSON.

    • cbpr_t9n_mx_camt058_mt292.mms

      Utility used to populate MT292.

    • cbpr_t9n_mx_camt058_translate.mms

      Utility used to normalize camt.058.001.08 into JSON.

    • cbpr_t9n_mx_camt107_mt110.mms

      Utility used to populate MT110.

    • cbpr_t9n_mx_camt107_translate.mms

      Utility used to normalize camt.107.001.01 into JSON.

    • cbpr_t9n_mx_camt108_mt111.mms

      Utility used to populate MT111.

    • cbpr_t9n_mx_camt108_translate.mms

      Utility used to normalize camt.108.001.01 into JSON.

    • cbpr_t9n_mx_camt109_mt112.mms

      Utility used to populate MT112.

    • cbpr_t9n_mx_camt109_translate.mms

      Utility used to normalize camt.109.001.01 into JSON.

    • cbpr_t9n_mx_pacs002_mtn99.mms

      Utility used to populate MT199/MT299.

    • cbpr_t9n_mx_pacs002_translate.mms

      Utility used to normalize pacs.002.001.10 into JSON.

    • cbpr_t9n_mx_pacs004_mt103RTN.mms

      Utility used to populate MT103RETN.

    • cbpr_t9n_mx_pacs004_mt20nRTN.mms

      Utility used to populate MT202RETN/MT205RETN.

    • cbpr_t9n_mx_pacs004_translate.mms

      Utility used to normalize pacs.004.001.09 into JSON.

    • cbpr_t9n_mx_pacs008_mt103.mms

      Utility used to populate MT103 COR/STP.

    • cbpr_t9n_mx_pacs008_mt103_sgo.mms

      Utility used to populate MT103 SGO.

    • cbpr_t9n_mx_pacs008_stp_translate.mms

      Utility used to normalize pacs.008.001.08 STP into JSON.

    • cbpr_t9n_mx_pacs008_translate.mms

      Utility used to normalize pacs.008.001.08 into JSON.

    • cbpr_t9n_mx_pacs009_adv_translate.mms

      Utility used to normalize pacs.009.001.08 ADV into JSON.

    • cbpr_t9n_mx_pacs009_cov_translate.mms

      Utility used to normalize pacs.009.001.08 COV into JSON.

    • cbpr_t9n_mx_pacs009_mt20n.mms

      Utility used to populate MT202 COR/COV/ADV.

    • cbpr_t9n_mx_pacs009_translate.mms

      Utility used to normalize pacs.009.001.08 into JSON.

  • Schemas:

    The schemas directory contains the following files downloaded from SWIFT MyStandards MT/ISO 20022 Translation portal:

    • camt.029.001.09.xsd
    • camt.052.001.08.xsd
    • camt.053.001.08.xsd
    • camt.054.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
    • 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_056.xsd
    • head.001.001.02_camt_057.xsd
    • head.001.001.02_camt_058.xsd
    • head.001.001.02_camt_107.xsd
    • head.001.001.02_camt_108.xsd
    • head.001.001.02_camt_109.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_008_stp.xsd
    • head.001.001.02_pacs_009.xsd
    • head.001.001.02_pacs_009_adv.xsd
    • head.001.001.02_pacs_009_cov.xsd
    • pacs.002.001.10.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_adv.xsd
    • pacs.009.001.08_cov.xsd
    • trx_config.xsd

      Schema for the translation configuration file.

    Each will have corresponding .mtx files used internally to manage RESTART attributes.

  • Trees:

    The trees directory contains the following files:

    • infoset.mtt

      Metadata used to represent input messages into JSON.

    • swift_iso7775_ccyy.mtt

      Metadata supporting SWIFT MT ISO7775 FIN structures.

    • swiftroute_funds.mtt

      Multi-purpose metadata structures.

  • Data:

    The data directory contains the following file:

    • Sample CBPR+ MX messages:
      • env_camt_029_mt196_valid.xml

      • env_camt_029_mt296_valid.xml

      • env_camt_052_mt942_valid.xml

      • env_camt_052_mt942_bad.xml

      • env_camt_053_mt940_valid.xml

      • env_camt_053_mt940_bad.xml

      • env_camt_054_crdt.xml

      • env_camt_054_dbit.xml

      • env_camt_054_bad.xml

      • env_camt_056_mt192_valid.xml

      • env_camt_056_mt292_valid.xml

      • env_camt_057_valid.xml

      • env_camt_057_bad.xml

      • env_camt_058_valid.xml

      • env_camt_058_bad.xml

      • env_camt_107_valid.xml

      • env_camt_108_valid.xml

      • env_camt_109_valid.xml

      • env_pacs_002_199.xml

      • env_pacs_002_299.xml

      • env_pacs_002_bad.xml

      • env_pacs_004_mt202rtn_valid.xml

      • env_pacs_004_mt205rtn_valid.xml

      • env_pacs_004_mt202rtn_bad.xml

      • env_pacs_004_mt205rtn_bad.xml

      • env_pacs_004_mt103rtn_valid.xml

      • env_pacs_004_mt103rtn_bad.xml

      • env_pacs_008_103.xml

      • env_pacs_008_bad.xml

      • env_pacs_008_STP.xml

      • env_pacs_008_SGO.xml

      • env_pacs_009_adv_bad.xml

      • env_pacs_009_adv_valid.xml

      • env_pacs_009_cor_bad.xml

      • env_pacs_009_mt202cor_valid.xml

      • env_pacs_009_cov_bad.xml

      • env_pacs_009_mt202cov_valid.xml

      • env_pacs_009_mt205cor_valid.xml

      • env_pacs_009_mt205cov_valid.xml

      • trx_config.xml

        Translation configuration file.