From 8f2546a44600532c74d07e5f33509a04fcc1ca81 Mon Sep 17 00:00:00 2001 From: SanteriLoitomaa <25318539+SanteriLoitomaa@users.noreply.github.com> Date: Mon, 22 Jun 2026 13:17:28 +0300 Subject: [PATCH] Update error-schema.json --- error-schema.json | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/error-schema.json b/error-schema.json index 8547fab..f99a10c 100644 --- a/error-schema.json +++ b/error-schema.json @@ -3,14 +3,17 @@ "$id": "https://santeriloitomaa.eu/Santtinen/schemas/raw/branch/main/error-schema.json", "title": "Error/Warning/Note list", "description": "A list of Errors, Warnings, and Notes", - "type" : "object", - "properties": { - "type" : { - "description": "The type this Error/Warning/Note is", - "enum": ["Error", "Warning", "Note"] - } - }, - "required": [ - "type" - ] + "type" : "array", + "items": { + "type" : "object", + "properties": { + "type" : { + "description": "The type this Error/Warning/Note is", + "enum": ["Error", "Warning", "Note"] + } + }, + "required": [ + "type" + ] + } } \ No newline at end of file