Custom validations code examples#

AMF can be used to validate parsed AML models with custom validation profiles. Before using the custom validation, a Validation Profile valid document instance must be registered using the loadValidationProfile function.

The name of the validation profile must be passed to the validate function for the custom validations to be applied

Example#

Last updated on by arielmirra