diff --git a/error-schema.json b/ewn-schema.json similarity index 95% rename from error-schema.json rename to ewn-schema.json index e8f616f..53fc254 100644 --- a/error-schema.json +++ b/ewn-schema.json @@ -1,33 +1,33 @@ -{ - "$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", - "patternProperties": { - "": { - "type": "object", - "description": "An error/warning/note. The name of the object is used as the unique code for this specific error/warning/note.", - "properties": { - "type" : { - "type": "string", - "description": "The type this Error/Warning/Note is", - "enum": ["Error", "Warning", "Note"] - }, - "desc": { - "type": "string", - "description": "Description of the error/warning/note given to the user. Why is this here? What needs to be fixed?" - }, - "weight": { - "type": "integer", - "description": "The \"weight\" of the error/warning/note. How heavy is its impact on the validity of the output." - } - }, - "required": [ - "type", - "desc", - "weight" - ] - } - } +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://santeriloitomaa.eu/Santtinen/schemas/raw/branch/main/ewn-schema.json", + "title": "Error/Warning/Note list", + "description": "A list of Errors, Warnings, and Notes", + "type": "object", + "patternProperties": { + "": { + "type": "object", + "description": "An error/warning/note. The name of the object is used as the unique code for this specific error/warning/note.", + "properties": { + "type" : { + "type": "string", + "description": "The type this Error/Warning/Note is", + "enum": ["Error", "Warning", "Note"] + }, + "desc": { + "type": "string", + "description": "Description of the error/warning/note given to the user. Why is this here? What needs to be fixed?" + }, + "weight": { + "type": "integer", + "description": "The \"weight\" of the error/warning/note. How heavy is its impact on the validity of the output." + } + }, + "required": [ + "type", + "desc", + "weight" + ] + } + } } \ No newline at end of file