Skip to main content

required-custom-ruleset-id

Overview

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

The ruleset file's root object must specify an Id property which can help uniquely identify the current ruleset. The Id must only use alphanumeric characters or dashes.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequried ruleset property Id is empty or missing.
CodeCUSTOMRULESET_V001
TypeValidation
Rule SystemSemantic
Broad CategoryRuleset
Tagscustom ruleset semantic validation id

Suggested Fixes

  • Make sure that you have added the Id property in the root object of the ruleset file.
  • 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