Skip to main content

required-custom-rule-target-json-path

Overview

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

When defining a custom rule target, the property JsonPath must be specified which helps identify the specific component(s) that need to be validated. The JsonPath property must use valid JSON Path expression syntax.

PropertyValue
EnabledYes
Maximum SeverityError
MessageRequired property JsonPath is empty or missing in the rule target definition.
CodeCUSTOMRULESET_V104
TypeValidation
Rule SystemSemantic
Broad CategoryCustom Rules
Tagscustom ruleset semantic validation json path target rule

Suggested Fixes

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

For More Information