From b53842cbb758a9cc796c6d44a0a161a20bfdc526 Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 9 Mar 2023 15:14:54 +0100 Subject: [PATCH] feat(spec,uci): set 'options' as non required --- internal/spec/uci/schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/spec/uci/schema.json b/internal/spec/uci/schema.json index 7512dc1..9119cbd 100644 --- a/internal/spec/uci/schema.json +++ b/internal/spec/uci/schema.json @@ -69,7 +69,7 @@ "options": { "anyOf": [ { - "type": ["array"], + "type": "array", "items": { "$ref": "#/$defs/option" } @@ -78,7 +78,7 @@ ] } }, - "required": ["name", "options"], + "required": ["name"], "additionalProperties": false }, "option": {