Skip to content

Commit

Permalink
update: add lattice type extended
Browse files Browse the repository at this point in the history
  • Loading branch information
k0stik committed Nov 30, 2023
1 parent a4702e1 commit 481554c
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 17 deletions.
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"
]
}

0 comments on commit 481554c

Please sign in to comment.