Update error-schema.json

This commit is contained in:
2026-06-22 15:11:09 +03:00
parent cef6bbe28d
commit ed4f138e51
+22 -16
View File
@@ -4,23 +4,29 @@
"title": "Error/Warning/Note list", "title": "Error/Warning/Note list",
"description": "A list of Errors, Warnings, and Notes", "description": "A list of Errors, Warnings, and Notes",
"type" : "object", "type" : "object",
"properties": { "patternProperties": {
"errors": { "": {
"type":"object", "type" : "object",
"patternProperties": { "properties": {
"": { "type" : {
"type" : "object", "type": "string",
"properties": { "description": "The type this Error/Warning/Note is",
"type" : { "enum": ["Error", "Warning", "Note"]
"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?"
"required": [ },
"type" "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"
]
} }
} }
} }