Update ewn-schema.json
This commit is contained in:
+9
-7
@@ -4,6 +4,12 @@
|
|||||||
"title": "Note/Warning/Error list",
|
"title": "Note/Warning/Error list",
|
||||||
"description": "A list of Notes, Warnings, and Errors",
|
"description": "A list of Notes, Warnings, and Errors",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"$schema": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "The schema to verify this document against."
|
||||||
|
}
|
||||||
|
},
|
||||||
"patternProperties": {
|
"patternProperties": {
|
||||||
"$schema": {
|
"$schema": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@@ -12,9 +18,9 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "A Note/Warning/Error. The name of the object is used as the unique code for this specific Note/Warning/Error.",
|
"description": "A Note/Warning/Error. The name of the object is used as the unique code for this specific Note/Warning/Error.",
|
||||||
"properties": {
|
"properties": {
|
||||||
"type" : {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The type this Note/Warning/Error is",
|
"description": "The type this Note/Warning/Error is.",
|
||||||
"enum": ["Note", "Warning", "Error", "Deprecated"]
|
"enum": ["Note", "Warning", "Error", "Deprecated"]
|
||||||
},
|
},
|
||||||
"desc": {
|
"desc": {
|
||||||
@@ -34,11 +40,7 @@
|
|||||||
"description": "Hex value of the color the highlight should be."
|
"description": "Hex value of the color the highlight should be."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": ["type", "desc", "weight"]
|
||||||
"type",
|
|
||||||
"desc",
|
|
||||||
"weight"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user