What the example contains

Files and directories included in this example are as follows:

  • Maps:

    The maps directory contains the following map sources:

    • swift_gpi_mx_trck_validation_enh.mms

      Utility maps called by main map for all the trck SWIFT GPI xml message MX validation.

    • swift_gpi_mx_validation_frmwrk_map_enh.mms

      The main map used to apply MX validation to SWIFT GPI xml messages.

    Note: When running under Design Server, the main framework map is swift_gpi_mx_validation_frmwrk_map_flw_enh.mms.
  • Schemas:

    The schemas directory contains the following files:

    • bic.xsd

      Metadata that represents the bic.xml repository file structure.

    • ccy.xsd

      Metadata that represents the currencycodedecimals.xml repository file structure.

    • mxconfig.xsd

      Metadata that represents the mxconfig.xml configuration file structure.

      • head.001.001.02_trck_001_gCCT.xsd
      • head.001.001.02_trck_001_gCCTINST.xsd
      • head.001.001.02_trck_001_gCOV.xsd
      • head.001.001.02_trck_001_gFIT.xsd
      • head.001.001.02_trck_001_Swiftgo.xsd
      • head.001.001.02_trck_002_gCCT.xsd
      • head.001.001.02_trck_002_gCCTINST.xsd
      • head.001.001.02_trck_002_gCOV.xsd
      • head.001.001.02_trck_002_gFIT.xsd
      • head.001.001.02_trck_002_Swiftgo.xsd
      • head.001.001.02_trck_003.xsd
      • head.001.001.02_trck_004_g4C.xsd
      • head.001.001.02_trck_005.xsd
      • head.001.001.02_pacs_008_Swiftgo.xsd
      • pacs.008.001.08_Swiftgo.xsd
      • trck.001.001.02_gCCTINST.xsd
      • trck.001.001.03_gCCT.xsd
      • trck.001.001.03_gCOV.xsd
      • trck.001.001.03_gFIT.xsd
      • trck.001.001.03_Swiftgo.xsd
      • trck.002.001.01_gCCTINST.xsd
      • trck.002.001.02_gCCT.xsd
      • trck.002.001.02_gCOV.xsd
      • trck.002.001.02_gFIT.xsd
      • trck.002.001.02_Swiftgo.xsd
      • trck.003.001.02.xsd
      • trck.004.001.02_g4C.xsd
      • trck.005.001.02.xsd
    Note: XML schemas were downloaded from SWIFT MyStandards Readiness SWIFT GPI 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 an internal element placeholder.

  • Data:

    The data directory contains the following files:

    • bic.xml

      Repository file listing all BICs which are used during validation.

    • currencycodedecimals.xml

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

    • mxconfig.xml

      Holds the MX configuration information on how to process the message.

    Sample SWIFT GPI valid files for test purpose with header envelope:

    • bah_trck_001_001_02_gCCTINST_valid.xml
    • bah_trck_001_001_03_gCCT_valid.xml
    • bah_trck_001_001_03_gCOV_valid.xml
    • bah_trck_001_001_03_gFIT_valid.xml
    • bah_trck_001_001_03_Swiftgo_valid.xml
    • bah_trck_002_001_01_gCCTINST_valid.xml
    • bah_trck_002_001_02_gCCT_valid.xml
    • bah_trck_002_001_02_gCOV_valid.xml
    • bah_trck_002_001_02_gFIT_valid.xml
    • bah_trck_002_001_02_Swiftgo_valid.xml
    • bah_trck_003_001_02_valid.xml
    • bah_trck_004_001_02_g4C_valid.xml
    • bah_trck_005_001_02_valid.xml
    • bah_pacs_008_001_08_Swiftgo_valid.xml