Skip to content

Commit

Permalink
update: add consistecny check schema
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Oct 21, 2023
1 parent 0ae1c42 commit 21fc9b7
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions schema/system/consistency_check.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$id": "system/consistency-check",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "consistency check",
"consistency_check": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "Key of the property of the entity on which the consistency check is performed, e.g. 'basis.coordinates.1'"
},
"name": {
"enum": [
"default",
"atomsTooClose"
],
"description": "Name of the consistency check which is exported as an enum"
},
"severity": {
"enum": [
"info",
"warning",
"error"
]
},
"message": {
"type": "string"
}
},
"required": [
"key",
"name",
"severity",
"message"
]
}
}

0 comments on commit 21fc9b7

Please sign in to comment.