Page last modified 12:51, 17 Apr 2014 by juhako

Validation pipe

    Table of contents
    No headers

    Version as of 17:54, 7 Dec 2021

    to this version.

    Return to Version archive.

    View current version

    Validation pipe is a term often used by XMLdation to describe collection of rules for one schema (.xsd). Therefore one validation pipe consists of

    Schema (.xsd)

    Which defines the basic structure for one validation service. Usually the schemas used in XMLdation service are defined by ISO20022, but we are also able to use whatever valid schema file as a basis for pipe.

    Rulesets

    Ruleset is a collection of rules. We have rulesets so we are able to the style and origin of the rules better to the user. For example in Credit Transfer and Direct Debit pipes we often have ISO 20022 Business Rules as one ruleset. This way we are able to separate ISO rules from bank/organisation specific rules.

    Rules

    Rule is the core of the validation service. The amount of rules depends heavily on the pipe, but in total it is usually somewhere between 50 - 200. For example for Credit Transfers ISO 20022 defines the following requrements:

    When element PmtInf/PmtTpInf is present, 
    then PmtInf/CdtTrfTxInf/PmtTpInf is not allowed.
    
    Group Header ControlSum has to match with the arithmetic sum of 
    all InstdAmt and EqvtAmt/Amt elements.

    This means that based on this text we would create two rules for the pipe, into ISO 20022 ruleset

    Menu