diff --git a/error-schema.json b/error-schema.json index 319f299..8547fab 100644 --- a/error-schema.json +++ b/error-schema.json @@ -2,9 +2,15 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "$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" + ] } \ No newline at end of file