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.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Required property Id is empty or missing in the rule definition. |
| Code | CUSTOMRULESET_V100 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Custom Rules |
| Tags | custom ruleset semantic validation id rule |
Suggested Fixes
- Make sure that you have added the
Idproperty in the rule definition object. - Ensure that the value of property
Idis not empty or null. - Name of property
Idis compared in a case-sensitive manner.