Skip to main content

required-custom-rule-id

Overview

This rule belongs to the custom-ruleset-validation ruleset and states that:

When defining a custom rule, the property Id must be specified which can help uniquely identify the rule in the current ruleset. The Id must only use alphanumeric characters or dashes.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequired property Id is empty or missing in the rule definition.
CodeCUSTOMRULESET_V100
TypeValidation
Rule SystemSemantic
Broad CategoryCustom Rules
Tagscustom ruleset semantic validation id rule

Suggested Fixes

  • Make sure that you have added the Id property in the rule definition object.
  • Ensure that the value of property Id is not empty or null.
  • Name of property Id is compared in a case-sensitive manner.

For More Information