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_schema_validation_xsd.mms

      Contains maps for Schema validation of any CBPR message.

    • cbpr_mx_schema_validation_frmwrk_map_xsd.mms

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

  • Schemas:

    The schemas directory contains the following files:

    • 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.060.001.05.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.COV.xsd
    • pacs.009.001.08.ADV.xsd
    • pacs.010.001.03.xsd
    • pain.001.001.09.xsd
    • pain.002.001.10.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.060.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_cov.xsd
    • head.001.001.02_pacs_009_adv.xsd
    • head.001.001.02.pacs.010.xsd
    • head.001.001.02.pain.001.xsd
    • head.001.001.02.pain.002.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.

    • mxvalErrorReport.mtt

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

    • mxval_error_codes.mtt

      Metadata that represents the validation error codes and rules with their descriptions.

  • Data:

    The data directory contains the following file:

    • cbpr_error_codes.txt

      Contains error messages and rule descriptions.

    • Sample valid files for test purpose:
      • bah_pacs_002_001_10_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_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_056_001_08_valid.xml
      • bah_camt_057_001_06_valid.xml
      • bah_camt_060_001_05_valid.xml
      • bah_pain_001_001_09_valid.xml
      • bah_pain_002_001_10_valid.xml