Update ewn-schema.json
This commit is contained in:
+15
-7
@@ -1,26 +1,34 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://santeriloitomaa.eu/SanteriLoitomaa/schemas/raw/branch/main/ewn-schema.json",
|
||||
"title": "Error/Warning/Note list",
|
||||
"description": "A list of Errors, Warnings, and Notes",
|
||||
"title": "Note/Warning/Error list",
|
||||
"description": "A list of Notes, Warnings, and Errors",
|
||||
"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.",
|
||||
"description": "A Note/Warning/Error. The name of the object is used as the unique code for this specific Note/Warning/Error.",
|
||||
"properties": {
|
||||
"type" : {
|
||||
"type": "string",
|
||||
"description": "The type this Error/Warning/Note is",
|
||||
"enum": ["Error", "Warning", "Note", "Deprecated"]
|
||||
"description": "The type this Note/Warning/Error is",
|
||||
"enum": ["Note", "Warning", "Error", "Deprecated"]
|
||||
},
|
||||
"desc": {
|
||||
"type": "string",
|
||||
"description": "Description of the error/warning/note given to the user. Why is this here? What needs to be fixed?"
|
||||
"description": "Description of the Note/Warning/Error 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."
|
||||
"description": "The \"weight\" of the Note/Warning/Error. How heavy is its impact on the validity of the output."
|
||||
},
|
||||
"hgl name": {
|
||||
"type": "string",
|
||||
"description": "Name of the column of which's cell should be highlighted if this Note/Warning/Error is found."
|
||||
},
|
||||
"hgl hex": {
|
||||
"type": "string",
|
||||
"description": "Hex value of the color the highlight should be."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
Reference in New Issue
Block a user