Skip to content

Commit

Permalink
fix: error with reference
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Oct 21, 2023
1 parent 21fc9b7 commit 0ff6045
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 32 deletions.
1 change: 0 additions & 1 deletion schema/in_memory_entity/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"consistency_checks": {
"type": "array",
"items": {
"type": "object",
"$ref": "../system/consistency_check.json"
}
}
Expand Down
60 changes: 29 additions & 31 deletions schema/system/consistency_check.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,34 @@
"$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"
}
"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'"
},
"required": [
"key",
"name",
"severity",
"message"
]
}
"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 0ff6045

Please sign in to comment.