From 6ac308fbc9178c0e56afbe8c81ba3675cceee653 Mon Sep 17 00:00:00 2001 From: Adam Parker Date: Mon, 18 Nov 2024 12:48:36 +0000 Subject: [PATCH] Update toplevel schema to include comments --- schemas/toplevel.schema.json | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/schemas/toplevel.schema.json b/schemas/toplevel.schema.json index df2875a..7f79206 100644 --- a/schemas/toplevel.schema.json +++ b/schemas/toplevel.schema.json @@ -32,19 +32,20 @@ "COMMENT": { "type": "string" } }, "required": [ - "MAP_TYPE", - "DIM_PROBE" + "MAP_TYPE", + "DIM_PROBE" ], "additionalProperties": false }, "VALUE": { "properties": { "MAP_TYPE": { "const": "VALUE" }, - "VALUE": { "type": ["number", "string", "array", "object"] } + "VALUE": { "type": ["number", "string", "array", "object"] }, + "COMMENT": { "type": "string" } }, "required": [ - "MAP_TYPE", - "VALUE" + "MAP_TYPE", + "VALUE" ], "additionalProperties": false }, @@ -73,9 +74,9 @@ "COMMENT": { "type": "string" } }, "required": [ - "MAP_TYPE", - "ARGS", - "PLUGIN" + "MAP_TYPE", + "ARGS", + "PLUGIN" ], "additionalProperties": false }, @@ -95,9 +96,9 @@ "COMMENT": { "type": "string" } }, "required": [ - "MAP_TYPE", - "PARAMETERS", - "EXPR" + "MAP_TYPE", + "PARAMETERS", + "EXPR" ], "additionalProperties": false }, @@ -108,8 +109,8 @@ "COMMENT": { "type": "string" } }, "required": [ - "MAP_TYPE", - "CUSTOM_TYPE" + "MAP_TYPE", + "CUSTOM_TYPE" ], "additionalProperties": false }