summaryrefslogtreecommitdiffstats
path: root/py/schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'py/schema.json')
-rw-r--r--py/schema.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/py/schema.json b/py/schema.json
new file mode 100644
index 00000000..460e2156
--- /dev/null
+++ b/py/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" ]
+}