From: Jason Ish Date: Mon, 6 Mar 2023 17:48:45 +0000 (-0600) Subject: schema: fix engines section X-Git-Tag: suricata-7.0.0-rc2~528 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49ba378d38e78a8ffebd5b6f65015ed1ae67f6f3;p=thirdparty%2Fsuricata.git schema: fix engines section The definition of items is an object, not an array. --- diff --git a/etc/schema.json b/etc/schema.json index e9ca6f0fe7..d119891928 100644 --- a/etc/schema.json +++ b/etc/schema.json @@ -4842,26 +4842,24 @@ "engines": { "type": "array", "minItems": 1, - "items": [ - { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "last_reload": { - "type": "string" - }, - "rules_loaded": { - "type": "integer" - }, - "rules_failed": { - "type": "integer" - } + "items": { + "type": "object", + "properties": { + "id": { + "type": "integer" }, - "additionalProperties": false - } - ] + "last_reload": { + "type": "string" + }, + "rules_loaded": { + "type": "integer" + }, + "rules_failed": { + "type": "integer" + } + }, + "additionalProperties": false + } } }, "additionalProperties": false