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