Update error-schema.json

This commit is contained in:
2026-06-22 13:17:28 +03:00
parent feca199c2c
commit 8f2546a446
+13 -10
View File
@@ -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"
]
}
}