Skip to content

Commit

Permalink
update: refine checks schema
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Sep 1, 2023
1 parent 16c5f48 commit af2beec
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions schema/system/consistency_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,36 @@
"type": "object",
"properties": {
"name": {
"type": "string"
"type": "string",
"description": "Name of the consistency check which comes from an exported enum."
},
"description": {
"type": "string"
"type": "string",
"description": "Description of the consistency check provided for developers."
},
"severity": {
"enum": ["info", "warning", "error"]
"keys": {
"type": "array",
"items": {}
},
"arguments": {
"type": "object"
"type": "array",
"items": {
"type": "object"
},
"description": "Arguments provided by consistency check function for message construction, specific to each check."
},
"severity": {
"enum": ["info", "warning", "error"]
},
"message": {
"type": "string"
},
"enabled": {
"type": "boolean"
}
},
"required": [
"name",
"severity",
"keys",
"arguments",
"severity",
"message"
]
}
Expand Down

0 comments on commit af2beec

Please sign in to comment.