2026-06-22 15:05:15 +02:00
|
|
|
{
|
|
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
2026-06-22 15:19:18 +02:00
|
|
|
"$id": "https://santeriloitomaa.eu/SanteriLoitomaa/schemas/raw/branch/main/ewn-schema.json",
|
2026-07-08 23:12:08 +03:00
|
|
|
"title": "Note/Warning/Error list",
|
|
|
|
|
"description": "A list of Notes, Warnings, and Errors",
|
2026-06-22 15:05:15 +02:00
|
|
|
"type": "object",
|
|
|
|
|
"patternProperties": {
|
|
|
|
|
"": {
|
|
|
|
|
"type": "object",
|
2026-07-08 23:12:08 +03:00
|
|
|
"description": "A Note/Warning/Error. The name of the object is used as the unique code for this specific Note/Warning/Error.",
|
2026-06-22 15:05:15 +02:00
|
|
|
"properties": {
|
|
|
|
|
"type" : {
|
|
|
|
|
"type": "string",
|
2026-07-08 23:12:08 +03:00
|
|
|
"description": "The type this Note/Warning/Error is",
|
|
|
|
|
"enum": ["Note", "Warning", "Error", "Deprecated"]
|
2026-06-22 15:05:15 +02:00
|
|
|
},
|
|
|
|
|
"desc": {
|
|
|
|
|
"type": "string",
|
2026-07-08 23:12:08 +03:00
|
|
|
"description": "Description of the Note/Warning/Error given to the user. Why is this here? What needs to be fixed?"
|
2026-06-22 15:05:15 +02:00
|
|
|
},
|
|
|
|
|
"weight": {
|
|
|
|
|
"type": "integer",
|
2026-07-08 23:12:08 +03:00
|
|
|
"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."
|
|
|
|
|
}
|
2026-06-22 15:05:15 +02:00
|
|
|
},
|
|
|
|
|
"required": [
|
|
|
|
|
"type",
|
|
|
|
|
"desc",
|
|
|
|
|
"weight"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-06-22 11:34:02 +02:00
|
|
|
}
|