required_fields¶
Checks that fields are present and not empty on every object in scope. A value counts as empty if it is null, a string with only whitespace, an empty list or an empty mapping.
Options¶
| Option | Default | Description |
|---|---|---|
scope |
contract |
contract, schema (each schema object) or property (each property, nested ones included). |
fields |
required | Dotted paths relative to each object, for example description.purpose. |