Skip to content

Commit

Permalink
update: change schema as per discussion with TB
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Sep 1, 2023
1 parent 2b3357c commit ec448b0
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions schema/system/consistency_checks.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,37 @@
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the consistency check which comes from an exported enum."
},
"description": {
"type": "string",
"description": "Description of the consistency check provided for developers."
},
"keys": {
"type": "array",
"items": {}
"items": {
"type": "string"
}
},
"arguments": {
"messages": {
"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"
"type": "object",
"properties": {
"key": {
"type": "string"
},
"checkName": {
"type": "string",
"description": "Name of the consistency check which comes from an exported enum."
},
"severity": {
"enum": ["info", "warning", "error"]
},
"message": {
"type": "string"
}
}
}
}
},
"required": [
"name",
"keys",
"arguments",
"severity",
"message"
"messages"
]
}
}
Expand Down

0 comments on commit ec448b0

Please sign in to comment.