Update error-schema.json

This commit is contained in:
2026-06-22 14:50:48 +03:00
parent 8f2546a446
commit cef6bbe28d
+18 -11
View File
@@ -3,17 +3,24 @@
"$id": "https://santeriloitomaa.eu/Santtinen/schemas/raw/branch/main/error-schema.json", "$id": "https://santeriloitomaa.eu/Santtinen/schemas/raw/branch/main/error-schema.json",
"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" : "array", "type" : "object",
"items": { "properties": {
"type" : "object", "errors": {
"properties": { "type":"object",
"type" : { "patternProperties": {
"description": "The type this Error/Warning/Note is", "": {
"enum": ["Error", "Warning", "Note"] "type" : "object",
"properties": {
"type" : {
"description": "The type this Error/Warning/Note is",
"enum": ["Error", "Warning", "Note"]
}
},
"required": [
"type"
]
}
} }
}, }
"required": [
"type"
]
} }
} }