-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #322 from Exabyte-io/chore/SOF-7506
SOF-7506: Core entity schemas
- Loading branch information
Showing
156 changed files
with
6,116 additions
and
17,037 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,7 @@ jobs: | |
matrix: | ||
node-version: | ||
- 20.x | ||
- 22.x | ||
|
||
steps: | ||
- name: Checkout this repository | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
dist/js/schema/in_memory_entity/has_consistency_check_has_metadata_named_defaultable.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ | ||
"$id": "in-memory-entity/has-consistency-check-has-metadata-named-defaultable", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "has consistency check has metadata named defaultable in-memory entity schema", | ||
"type": "object", | ||
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.", | ||
"properties": { | ||
"_id": { | ||
"description": "entity identity", | ||
"type": "string" | ||
}, | ||
"slug": { | ||
"description": "entity slug", | ||
"type": "string" | ||
}, | ||
"systemName": { | ||
"type": "string" | ||
}, | ||
"schemaVersion": { | ||
"description": "entity's schema version. Used to distinct between different schemas.", | ||
"type": "string", | ||
"default": "2022.8.16" | ||
}, | ||
"name": { | ||
"description": "entity name", | ||
"type": "string" | ||
}, | ||
"isDefault": { | ||
"description": "Identifies that entity is defaultable", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"metadata": { | ||
"type": "object" | ||
}, | ||
"consistencyChecks": { | ||
"type": "array", | ||
"items": { | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "consistency check", | ||
"type": "object", | ||
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.", | ||
"required": [ | ||
"key", | ||
"name", | ||
"severity", | ||
"message" | ||
], | ||
"properties": { | ||
"key": { | ||
"type": "string", | ||
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Name of the consistency check that is performed, which is listed in an enum." | ||
}, | ||
"severity": { | ||
"enum": [ | ||
"info", | ||
"warning", | ||
"error" | ||
], | ||
"description": "Severity level of the problem, which is used in UI to differentiate." | ||
}, | ||
"message": { | ||
"type": "string", | ||
"description": "Message generated by the consistency check describing the problem." | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.