path: root/py/schema.json
Commit message (Collapse)AuthorAgeFilesLines
* py: Implement JSON validation in nftables modulePhil Sutter2019-05-311-0/+16
Using jsonschema it is possible to validate any JSON input to make sure it formally conforms with libnftables JSON API requirements. Implement a simple validator class for use within a new Nftables class method 'json_validate' and ship a minimal schema definition along with the package. Signed-off-by: Phil Sutter <> Signed-off-by: Pablo Neira Ayuso <>