Skip to content

Commit

Permalink
Merge pull request #281 from Exabyte-io/update/SOF-7096
Browse files Browse the repository at this point in the history
SOF-7096: changes for made.js
  • Loading branch information
k0stik authored Dec 1, 2023
2 parents d223c5e + 74689f7 commit 63ab595
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 32 deletions.
8 changes: 3 additions & 5 deletions schema/core/primitive/array_of_3_numbers.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
"$id": "core/primitive/array-of-3-numbers",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "array of 3 number elements schema",
"allOf": [
{
"$ref": "array_of_numbers.json"
}
],
"type": "array",
"items": {
"type": "number"
},
"minItems": 3,
"maxItems": 3
}
9 changes: 0 additions & 9 deletions schema/core/primitive/array_of_numbers.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,7 @@
"properties": {
"type": {
"description": "Bravais lattice type in short notation",
"type": "string",
"enum": [
"CUB",
"BCC",
"FCC",
"TET",
"MCL",
"ORC",
"ORCC",
"ORCF",
"ORCI",
"HEX",
"BCT",
"TRI",
"MCLC",
"RHL"
]
"$ref": "type_enum.json"
},
"units": {
"type": "object",
Expand Down
23 changes: 23 additions & 0 deletions schema/properties_directory/structural/lattice/type_enum.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$id": "properties-directory/structural/lattice/type-enum",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "lattice type schema",

"type": "string",
"enum": [
"CUB",
"BCC",
"FCC",
"TET",
"MCL",
"ORC",
"ORCC",
"ORCF",
"ORCI",
"HEX",
"BCT",
"TRI",
"MCLC",
"RHL"
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"$id": "properties-directory/structural/lattice/type-extended-enum",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "lattice type extended schema",
"type": "string",
"enum": [
"BCC",
"BCT-1",
"BCT-2",
"CUB",
"FCC",
"HEX",
"MCL",
"MCLC-1",
"MCLC-2",
"MCLC-3",
"MCLC-4",
"MCLC-5",
"ORC",
"ORCC",
"ORCF-1",
"ORCF-2",
"ORCF-3",
"ORCI",
"RHL-1",
"RHL-2",
"TET",
"TRI_1a",
"TRI_2a",
"TRI_1b"
]
}
3 changes: 2 additions & 1 deletion schema/system/consistency_check.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"name": {
"enum": [
"default",
"atomsTooClose"
"atomsTooClose",
"atomsOverlap"
],
"description": "Name of the consistency check that is performed, which is listed in an enum."
},
Expand Down

0 comments on commit 63ab595

Please sign in to comment.