required-custom-rule-verification-method-arguments
Overview
This rule belongs to the custom-ruleset-validation
ruleset and states that:
The method that needs to be applied on the target entity as part of the custom validation, specified using VerificationMethod
, may require one or more arguments that need to be provided alongside the rule definition using the VerificationMethodArgs
property. For such methods, the VerificationMethodArgs
property must be set and required arguments must be provided as key-value pairs.
Property | Value |
---|---|
Enabled | Yes |
Severity | Error |
Message | One or more required arguments for rule verification method are missing. |
Code | CUSTOMRULESET_V106 |
Type | Validation |
Rule System | Semantic |
Broad Category | Custom Rules |
Tags | custom ruleset semantic validation argument method verification rule |
Suggested Fixes
- Make sure that you have added the
VerificationMethodArgs
property in the rule definition object. - Ensure that the value of property
VerificationMethodArgs
is not null. - Name of property
VerificationMethodArgs
is compared in a case-sensitive manner. - Ensure that the missing arguments are added in the
VerificationMethodArgs
map as key-value pairs. - Add an entry for the missing argument as a key-value pair where the key represents the name of the argument (compared in a case-sensitive manner). The type of the argument value may vary.