Validation Rules

All the configuration options of the structure validation process can be altered on the administration web UI. The parameters that affect the structure (or submission) validation belong to the following DOMAIN values: registration.standardizerConfig, registration.structureCheckerConfig, registration.switchersConfig, registration.validationConfig. This section gives a detailed description on the validation related settings.

Structure Validation Steps

Standardization

Domain

Parameter

Description

registration.standardizerConfig

StandardizerGeneralConfig

A general set of standardizer rules that apply to all the incoming structures.

registration.standardizerConfig

StandardizerParentConfig

A set of rules that are applied to the structure when the parent structure is created

The content of the DATA field is always the xml that can be edited/exported e.g. with the desktop Standardizer application.

Structure Checking

Domain

Parameter

Description

registration.structureCheckerConfig

StructureCheckerConfig

A list of structure checkers and fixers that are applied for all the submissions as 'Quality checks' (if the corresponding system switcher is set to true)

registration.structureCheckerConfig

StructureCheckerConfig.SOURCE

Checkers and fixers that are applied to the submissions that come from the source specified in the parameter name

The value of SOURCE in the parameter name can be e.g. ELNB, BULKLOAD, REGISTRAR. If further sources are necessary those need to have their own definition of StructureCheckerConfig in a similar way in an additional row.

System Switchers

The system switchers are simple true/false options for a couple of operations that can be source dependent. These options include whether salt stripping should be performed, how to handle match situations, if it is allowed to register new versions or lots, etc.

Domain

Parameter

Description

registration.switchersConfig

SwitchersProperties

REJECT_DUPLICATED_IDS.SOURCE,

ANALYZE_SALT_SOLVATE_FRAGMENTS.SOURCE,

REGISTER_NEW_LOTS.SOURCE,

REGISTER_NEW_VERSIONS.SOURCE,

REGISTER_2D_PARENT_MATCHES.SOURCE,

REGISTER_TAUTOMER_PARENT_MATCHES.SOURCE,

REGISTER_2D_TAUTOMER_PARENT_MATCHES.SOURCE,

REGISTER_RESTRICTED_MATCHES.SOURCE,

PERFORM_QUALITY_CHECKS.SOURCE,

REJECT_DUPLICATED_IDS.SOURCE,

REGISTER_DICTIONARY_CST.SOURCE,

PERFORM_QUALITY_CHECKS.SOURCE,

STEREO_COMMENT_CHECK.SOURCE

The above properties should be included for all the available sources in the DATA column.

Further Validation Options

Besides the previously mentioned 3 categories a set of further validation options are available, that also affect the business logic but should be changed much more carefully (typically set only during the deployment).

Domain

Parameter

Description

registration.validationConfig

ValidateSource

Controls whether the source should be validated or not (true/false). Not recommended to switch off, there might be issues later during the registration when the source dependent structure checkers have to be loaded.

registration.validatonConfig

ValidSources

A list of sources used by the previous setting; specified in ["SOURCE1", "SOURCE2"] format

registration.validationConfig

ValidateLNBRef

Boolean option that specifies if the LnbRef should be validated agains regular expressions (true/false)

registration.validationConfig

ValidateLnbRefRegexp

Regular expression(s) for the LnbRef validation step (multiline value in the data column, one regexp per line)

registration.validationConfig

ValidateLotId

Define if LotId should be validated or not (mandatory positive integer number, less than 2147483648) (true/false)

registration.validationConfig

ValidateLotIdUnique

Control if LotId should be checked for uniqueness IF entered (true/false)

registration.validationConfig

RoundMultiplicity

Set whether multiplicities (salt/solvate/parent) should be rounded (true/false)

registration.validationConfig

SaltMultiplicityScale

Number of decimals allowed in salt multiplicities (integer, default value 0)

registration.validationConfig

SolvateMultiplicityScale

Number of decimals allowed in solvate multiplicities (integer, default value 1)

registration.validationConfig

PositiveChargeCheck

Control if positively charged compounds (that could be theoretically neutralized) can be registered (true/false)

registration.validationConfig

UnbalancedChargeCheck

Set if compounds with charge balance issue should fail when trying to register them (true/false)

registration.validationConfig

MaxMixtureComponentCount

Set maximum allowed number of components in a mixture (integer, default value 4)