validation_library¶
Required: No
Type: List of validation libraries
Condition: Yes
A validation library is a Python module containing logic to validate the component and configuration state of a project, for use in a validation helper script.
Validation libraries are made available to validation helper scripts as Python modules with the name validation.<library_name>
.
See the page on component validation for details on the contents of the module.
Key | Required | Type | Description |
---|---|---|---|
path |
Yes | String | Path to validation Python module |
name |
Yes | String | Name of the library for use in Python import statements |
condition |
No | List of features | The script is added if all the given features are present |
unless |
No | List of features | The script is added unless any of the given features are present |
1 2 3 |
|