required-property-exists
Overview
This rule belongs to the custom-rules-linting
ruleset and states that:
This rule ensures that the target object contains all required properties and that each property holds a valid value. If a required property is missing or contains an invalid value, this rule will be triggered.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Required property is missing or invalid in the target object. |
Code | CUSTOMRULES_L004 |
Type | Linting |
Rule System | Semantic |
Broad Category | Custom Rules |
Tags | custom rules semantic linting required property validation |
Suggested Fixes
- Ensure that all required properties are defined in the target object.
- Verify that each required property contains a valid, non-null value.