Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/SOF-6588 feat: add ConsistencyChecks schema #264

Merged
merged 15 commits into from
Nov 1, 2023
Merged

Conversation

VsevolodX
Copy link
Member

No description provided.

"type": "array",
"items": {
"type": "object",
"properties": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isolate to consistency_check.json

"key": {
"type": "string"
},
"checkName": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name

"$ref": "base.json"
},
{
"$ref": "../system/consistency_checks.json"
Copy link
Member

@timurbazhirov timurbazhirov Oct 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just add into the in-memory entity itself as optional key

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That means to the in_memory_entity/base.json

"title": "consistency checks",
"properties": {
"keys": {
"type": "array",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to describe what these are

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might look cumbersome, but outlines the idea: "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI."

@@ -19,6 +19,12 @@
},
"systemName": {
"type": "string"
},
"consistency_checks": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be camelCase

@VsevolodX VsevolodX marked this pull request as ready for review November 1, 2023 02:05
@VsevolodX VsevolodX merged commit ae03944 into dev Nov 1, 2023
9 checks passed
@VsevolodX VsevolodX deleted the feature/SOF-6588 branch November 1, 2023 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants