unique-custom-rule-id
Overview
This rule belongs to the custom-ruleset-validation ruleset and states that:
The id specified in the rule definition using the Id property must be unique among all rules defined in the current ruleset document.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | Duplicate custom rule Id found. |
| Code | CUSTOMRULESET_V101 |
| Type | Validation |
| Rule System | Semantic |
| Broad Category | Custom Rules |
| Tags | custom ruleset semantic validation id rule |
Suggested Fixes
- Ensure that the
Idassigned to the rule is unique among ids of all rules defined in the current ruleset document. - Ids are compared in a case-sensitive manner.
- Make sure that the rule id is not null or empty.