summaryrefslogtreecommitdiffstats
path: root/py/src/schema.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--py/src/schema.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/py/src/schema.json b/py/src/schema.json
new file mode 100644
index 0000000..460e215
--- /dev/null
+++ b/py/src/schema.json
@@ -0,0 +1,16 @@
+{
+ "$schema": "http://json-schema.org/schema#",
+ "description": "libnftables JSON API schema",
+
+ "type": "object",
+ "properties": {
+ "nftables": {
+ "type": "array",
+ "minitems": 0,
+ "items": {
+ "type": "object"
+ }
+ }
+ },
+ "required": [ "nftables" ]
+}