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.

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

    • head.001.001.02_trck_001_gCCTINST.xsd
    • head.001.001.02_trck_002_gCCTINST.xsd
    • trck.001.001.02_gCCTINST.xsd
    • trck.002.001.01_gCCTINST.xsd
    • head.001.001.02_trck_001_gFIT.xsd
    • head.001.001.02_trck_002_gFIT.xsd
    • trck.001.001.02_gFIT.xsd
    • trck.002.001.01_gFIT.xsd
    • head.001.001.02_trck_001_gCCT.xsd
    • head.001.001.02_trck_002_gCCT.xsd
    • trck.001.001.02_gCCT.xsd
    • trck.002.001.01_gCCT.xsd
    • head.001.001.02_trck_001_gCOV.xsd
    • head.001.001.02_trck_002_gCOV.xsd
    • trck.001.001.02_gCOV.xsd
    • trck.002.001.01_gCOV.xsd
    • head.001.001.02_trck_003.xsd
    • trck.003.001.02.xsd
    • head.001.001.02_trck_001_Swiftgo.xsd
    • head.001.001.02_trck_002_Swiftgo.xsd
    • trck.001.001.02_Swiftgo.xsd
    • trck.002.001.01_Swiftgo.xsd
    • head.001.001.02_trck_004_g4C.xsd
    • trck.004.001.01_g4C.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 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 SWIFT GPI valid files for test purpose with header envelope:
      • bah_trck_001_001_02_gCCTINST_valid.xml
      • bah_trck_001_001_02_gCCT_valid.xml
      • bah_trck_001_001_02_gCOV_valid.xml
      • bah_trck_001_001_02_gFIT_valid.xml
      • bah_trck_001_001_02_Swiftgo_valid.xml
      • bah_trck_002_001_01_gCCTINST_valid.xml
      • bah_trck_002_001_01_gCCT_valid.xml
      • bah_trck_002_001_01_gCOV_valid.xml
      • bah_trck_002_001_01_gFIT_valid.xml
      • bah_trck_002_001_01_Swiftgo_valid.xml
      • bah_trck_003_001_02_valid.xml
      • bah_trck_004_001_01_g4C_valid.xml