@mat3ra/esse 2025.4.17-0 → 2025.4.26-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.pre-commit-config.yaml +3 -6
- package/dist/js/example/core/abstract/vector_boolean_3d.json +5 -0
- package/dist/js/example/material.json +11 -11
- package/dist/js/example/properties_directory/structural/basis/atomic_coordinates.json +18 -21
- package/dist/js/example/properties_directory/structural/basis/atomic_elements.json +10 -0
- package/dist/js/example/properties_directory/structural/basis/atomic_label.json +4 -0
- package/dist/js/example/properties_directory/structural/basis/atomic_labels.json +10 -0
- package/dist/js/example/properties_directory/structural/lattice.json +11 -11
- package/dist/js/schema/{3pse → apse}/db/nist_jarvis/2024.3.13/atoms.json +1 -1
- package/dist/js/schema/{3pse → apse}/db/nist_jarvis/2024.3.13/db_entry.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/atomic_positions.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/atomic_species.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/cell.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/cell_parameters.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/control.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/electrons.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/hubbard.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/ions.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/k_points.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/system.json +1 -1
- package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x.json +1 -1
- package/dist/js/schema/core/abstract/coordinate_3d.json +11 -0
- package/dist/js/schema/core/abstract/kpoint.json +12 -0
- package/dist/js/schema/core/abstract/{3d_tensor.json → matrix_3x3.json} +2 -2
- package/dist/js/schema/core/abstract/{point.json → vector_3d.json} +2 -2
- package/dist/js/schema/core/abstract/{vector.json → vector_boolean_3d.json} +2 -12
- package/dist/js/schema/core/primitive/array_of_ids.json +7 -1
- package/dist/js/schema/core/primitive/object_with_id.json +16 -0
- package/dist/js/schema/core/primitive/object_with_id_and_value.json +20 -0
- package/dist/js/schema/core/reusable/atomic_scalars.json +6 -0
- package/dist/js/schema/core/reusable/atomic_string.json +21 -0
- package/dist/js/schema/core/reusable/atomic_vector.json +28 -0
- package/dist/js/schema/core/reusable/atomic_vectors.json +15 -24
- package/dist/js/schema/core/reusable/band_gap.json +4 -2
- package/dist/js/schema/material.json +113 -96
- package/dist/js/schema/properties_directory/non_scalar/band_gaps.json +6 -3
- package/dist/js/schema/properties_directory/non_scalar/stress_tensor.json +1 -1
- package/dist/js/schema/properties_directory/structural/atomic_forces.json +15 -24
- package/dist/js/schema/properties_directory/structural/basis/atomic_constraint.json +34 -0
- package/dist/js/schema/properties_directory/structural/basis/atomic_constraints.json +30 -45
- package/dist/js/schema/properties_directory/structural/basis/atomic_constraints_property.json +53 -0
- package/dist/js/schema/properties_directory/structural/basis/atomic_coordinate.json +18 -28
- package/dist/js/schema/properties_directory/structural/basis/atomic_coordinates.json +26 -59
- package/dist/js/schema/properties_directory/structural/basis/atomic_element.json +7 -12
- package/dist/js/schema/properties_directory/structural/basis/atomic_elements.json +27 -0
- package/dist/js/schema/properties_directory/structural/basis/atomic_label.json +27 -10
- package/dist/js/schema/properties_directory/structural/basis/atomic_labels.json +42 -0
- package/dist/js/schema/properties_directory/structural/basis/bonds.json +7 -1
- package/dist/js/schema/properties_directory/structural/basis/units_enum.json +10 -0
- package/dist/js/schema/properties_directory/structural/basis.json +63 -52
- package/dist/js/schema/properties_directory/structural/lattice/lattice_vectors.json +15 -40
- package/dist/js/schema/properties_directory/structural/lattice/units/angle_enum.json +10 -0
- package/dist/js/schema/properties_directory/structural/lattice/units/length_enum.json +10 -0
- package/dist/js/schema/properties_directory/structural/lattice/vectors/units_enum.json +10 -0
- package/dist/js/schema/{core/abstract/3d_vector_basis.json → properties_directory/structural/lattice/vectors.json} +19 -5
- package/dist/js/schema/properties_directory/structural/lattice.json +50 -44
- package/dist/js/schema/properties_directory/structural/magnetic_moments.json +15 -24
- package/dist/js/schema/properties_directory/structural/molecular_pattern.json +21 -3
- package/dist/js/schema/properties_directory/structural/patterns/functional_group.json +7 -1
- package/dist/js/schema/properties_directory/structural/patterns/ring.json +7 -1
- package/dist/js/schema/properties_directory/structural/patterns/special_bond.json +7 -1
- package/dist/js/schemas.json +1 -1
- package/dist/js/types.d.ts +445 -322
- package/dist/js/types.js +1 -1
- package/example/core/abstract/vector_boolean_3d.json +5 -0
- package/example/properties_directory/structural/basis/atomic_coordinates.json +18 -21
- package/example/properties_directory/structural/basis/atomic_elements.json +10 -0
- package/example/properties_directory/structural/basis/atomic_label.json +4 -0
- package/example/properties_directory/structural/basis/atomic_labels.json +10 -0
- package/example/properties_directory/structural/lattice.json +12 -2
- package/package.json +3 -3
- package/schema/{3pse → apse}/db/nist_jarvis/2024.3.13/atoms.json +1 -1
- package/schema/{3pse → apse}/db/nist_jarvis/2024.3.13/db_entry.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/atomic_positions.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/atomic_species.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/cell.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/cell_parameters.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/control.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/electrons.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/hubbard.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/ions.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/k_points.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/system.json +1 -1
- package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x.json +1 -1
- package/schema/core/abstract/coordinate_3d.json +10 -0
- package/schema/core/abstract/{3d_tensor.json → matrix_3x3.json} +2 -2
- package/schema/core/abstract/{point.json → vector_3d.json} +2 -2
- package/schema/core/abstract/{vector.json → vector_boolean_3d.json} +2 -5
- package/schema/core/primitive/array_of_ids.json +2 -8
- package/schema/core/primitive/object_with_id.json +17 -0
- package/schema/core/primitive/object_with_id_and_value.json +22 -0
- package/schema/core/reusable/atomic_string.json +15 -0
- package/schema/core/reusable/atomic_vector.json +15 -0
- package/schema/core/reusable/atomic_vectors.json +1 -11
- package/schema/core/reusable/band_gap.json +2 -2
- package/schema/core/reusable/kpoint.json +11 -0
- package/schema/properties_directory/non-scalar/band_gaps.json +1 -1
- package/schema/properties_directory/non-scalar/stress_tensor.json +1 -1
- package/schema/properties_directory/structural/basis/atomic_constraint.json +17 -0
- package/schema/properties_directory/structural/basis/atomic_constraints.json +4 -11
- package/schema/properties_directory/structural/basis/atomic_constraints_property.json +17 -0
- package/schema/properties_directory/structural/basis/atomic_coordinate.json +8 -6
- package/schema/properties_directory/structural/basis/atomic_coordinates.json +6 -18
- package/schema/properties_directory/structural/basis/atomic_element.json +5 -20
- package/schema/properties_directory/structural/basis/atomic_elements.json +10 -0
- package/schema/properties_directory/structural/basis/atomic_label.json +20 -6
- package/schema/properties_directory/structural/basis/atomic_labels.json +10 -0
- package/schema/properties_directory/structural/basis/units_enum.json +10 -0
- package/schema/properties_directory/structural/basis.json +4 -19
- package/schema/properties_directory/structural/lattice/units/angle_enum.json +10 -0
- package/schema/properties_directory/structural/lattice/units/length_enum.json +10 -0
- package/schema/properties_directory/structural/lattice/units.json +18 -0
- package/schema/properties_directory/structural/lattice/vectors/units_enum.json +10 -0
- package/schema/properties_directory/structural/lattice/vectors.json +33 -0
- package/schema/properties_directory/structural/lattice.json +41 -10
- package/dist/js/example/core/abstract/3d_vector_basis.json +0 -17
- package/dist/js/example/core/primitive/3d_lattice.json +0 -8
- package/dist/js/example/properties_directory/structural/lattice/lattice_bravais.json +0 -13
- package/dist/js/schema/core/primitive/3d_lattice.json +0 -40
- package/dist/js/schema/core/reusable/atomic_strings.json +0 -19
- package/dist/js/schema/properties_directory/structural/lattice/lattice_bravais.json +0 -87
- package/example/core/abstract/3d_vector_basis.json +0 -17
- package/example/core/primitive/3d_lattice.json +0 -8
- package/example/properties_directory/structural/lattice/lattice_bravais.json +0 -13
- package/schema/core/abstract/3d_vector_basis.json +0 -25
- package/schema/core/primitive/3d_lattice.json +0 -40
- package/schema/core/reusable/atomic_strings.json +0 -17
- package/schema/properties_directory/structural/lattice/lattice_bravais.json +0 -36
- package/schema/properties_directory/structural/lattice/lattice_vectors.json +0 -21
- /package/dist/js/example/{3pse → apse}/db/nist_jarvis/2024.3.13/db_entry.json +0 -0
- /package/dist/js/example/{3pse → apse}/file/applications/espresso/7.2/pw.x.json +0 -0
- /package/dist/js/example/core/abstract/{point.json → coordinate_3d.json} +0 -0
- /package/dist/js/example/core/abstract/{3d_tensor.json → matrix_3x3.json} +0 -0
- /package/dist/js/example/core/abstract/{vector.json → vector_3d.json} +0 -0
- /package/dist/js/example/properties_directory/structural/basis/{atomic_constraints.json → atomic_constraints_property.json} +0 -0
- /package/dist/js/example/properties_directory/structural/lattice/{lattice_vectors.json → vectors.json} +0 -0
- /package/example/{3pse → apse}/db/nist_jarvis/2024.3.13/db_entry.json +0 -0
- /package/example/{3pse → apse}/file/applications/espresso/7.2/pw.x.json +0 -0
- /package/example/core/abstract/{point.json → coordinate_3d.json} +0 -0
- /package/example/core/abstract/{3d_tensor.json → matrix_3x3.json} +0 -0
- /package/example/core/abstract/{vector.json → vector_3d.json} +0 -0
- /package/example/properties_directory/structural/basis/{atomic_constraints.json → atomic_constraints_property.json} +0 -0
- /package/example/properties_directory/structural/lattice/{lattice_vectors.json → vectors.json} +0 -0
|
@@ -1,15 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "properties-directory/structural/basis/atomic-label",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "atomic label",
|
|
5
|
-
"description": "Optional
|
|
4
|
+
"title": "atomic label schema",
|
|
5
|
+
"description": "Optional label (e.g., 1, 2, as in Fe1, Fe2) to distinguish species, e.g. to have magnetic moment.",
|
|
6
6
|
"type": "object",
|
|
7
|
+
"allOf": [
|
|
8
|
+
{
|
|
9
|
+
"$ref": "../../../core/primitive/object_with_id_and_value.json"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
7
12
|
"properties": {
|
|
8
|
-
"id": {
|
|
9
|
-
"type": "number"
|
|
10
|
-
},
|
|
11
13
|
"value": {
|
|
12
|
-
"
|
|
14
|
+
"anyOf": [
|
|
15
|
+
{
|
|
16
|
+
"type": [
|
|
17
|
+
"integer",
|
|
18
|
+
"string",
|
|
19
|
+
"number"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"description": "Atomic label according to QE format. TODO: move to workflow context.",
|
|
24
|
+
"$ref": "../../../core/primitive/integer_positive_single_digit.json"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
13
27
|
}
|
|
14
28
|
}
|
|
15
29
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "properties-directory/structural/basis/atomic-labels",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "atomic labels schema",
|
|
5
|
+
"description": "atomic labels schema",
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"$ref": "./atomic_label.json"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -5,31 +5,16 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"elements": {
|
|
8
|
-
"
|
|
9
|
-
"items": {
|
|
10
|
-
"$ref": "basis/atomic_element.json"
|
|
11
|
-
}
|
|
8
|
+
"$ref": "./basis/atomic_elements.json"
|
|
12
9
|
},
|
|
13
10
|
"coordinates": {
|
|
14
|
-
"
|
|
15
|
-
"items": {
|
|
16
|
-
"$ref": "basis/atomic_coordinate.json"
|
|
17
|
-
}
|
|
11
|
+
"$ref": "./basis/atomic_coordinates.json"
|
|
18
12
|
},
|
|
19
13
|
"units": {
|
|
20
|
-
"
|
|
21
|
-
"enum": [
|
|
22
|
-
"crystal",
|
|
23
|
-
"cartesian"
|
|
24
|
-
],
|
|
25
|
-
"default": "crystal"
|
|
14
|
+
"$ref": "basis/units_enum.json"
|
|
26
15
|
},
|
|
27
16
|
"labels": {
|
|
28
|
-
"
|
|
29
|
-
"items": {
|
|
30
|
-
"$ref": "basis/atomic_label.json"
|
|
31
|
-
},
|
|
32
|
-
"default": []
|
|
17
|
+
"$ref": "./basis/atomic_labels.json"
|
|
33
18
|
}
|
|
34
19
|
},
|
|
35
20
|
"required": [
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "properties-directory/structural/lattice/lattice-vectors",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Lattice units schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"length": {
|
|
8
|
+
"$ref": "./units/length_enum.json"
|
|
9
|
+
},
|
|
10
|
+
"angle": {
|
|
11
|
+
"$ref": "./units/angle_enum.json"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"default": {
|
|
15
|
+
"length": "angstrom",
|
|
16
|
+
"angle": "degree"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "properties-directory/structural/lattice/vectors/units-enum",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "lattice vectors units enum",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "../../../../definitions/units.json#/length_atomic"
|
|
8
|
+
}
|
|
9
|
+
]
|
|
10
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "properties-directory/structural/lattice/vectors",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "lattice vectors schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"a": {
|
|
8
|
+
"description": "first vector",
|
|
9
|
+
"$ref": "../../../core/abstract/vector_3d.json"
|
|
10
|
+
},
|
|
11
|
+
"b": {
|
|
12
|
+
"description": "second vector",
|
|
13
|
+
"$ref": "../../../core/abstract/vector_3d.json"
|
|
14
|
+
},
|
|
15
|
+
"c": {
|
|
16
|
+
"description": "third vector",
|
|
17
|
+
"$ref": "../../../core/abstract/vector_3d.json"
|
|
18
|
+
},
|
|
19
|
+
"alat": {
|
|
20
|
+
"description": "lattice parameter for fractional coordinates",
|
|
21
|
+
"type": "number",
|
|
22
|
+
"default": 1
|
|
23
|
+
},
|
|
24
|
+
"units": {
|
|
25
|
+
"$ref": "./vectors/units_enum.json"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"required": [
|
|
29
|
+
"a",
|
|
30
|
+
"b",
|
|
31
|
+
"c"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -3,16 +3,47 @@
|
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "lattice schema",
|
|
5
5
|
"type": "object",
|
|
6
|
-
"
|
|
7
|
-
{
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
"properties": {
|
|
7
|
+
"a": {
|
|
8
|
+
"description": "length of the first lattice vector",
|
|
9
|
+
"type": "number"
|
|
10
|
+
},
|
|
11
|
+
"b": {
|
|
12
|
+
"description": "length of the second lattice vector",
|
|
13
|
+
"type": "number"
|
|
14
|
+
},
|
|
15
|
+
"c": {
|
|
16
|
+
"description": "length of the third lattice vector",
|
|
17
|
+
"type": "number"
|
|
18
|
+
},
|
|
19
|
+
"alpha": {
|
|
20
|
+
"description": "angle between first and second lattice vector",
|
|
21
|
+
"type": "number"
|
|
22
|
+
},
|
|
23
|
+
"beta": {
|
|
24
|
+
"description": "angle between second and third lattice vector",
|
|
25
|
+
"type": "number"
|
|
26
|
+
},
|
|
27
|
+
"gamma": {
|
|
28
|
+
"description": "angle between first and third lattice vector",
|
|
29
|
+
"type": "number"
|
|
30
|
+
},
|
|
31
|
+
"vectors": {
|
|
32
|
+
"$ref": "./lattice/vectors.json"
|
|
33
|
+
},
|
|
34
|
+
"type": {
|
|
35
|
+
"$ref": "./lattice/type_enum.json"
|
|
36
|
+
},
|
|
37
|
+
"units": {
|
|
38
|
+
"$ref": "./lattice/units.json"
|
|
16
39
|
}
|
|
40
|
+
},
|
|
41
|
+
"required": [
|
|
42
|
+
"a",
|
|
43
|
+
"b",
|
|
44
|
+
"c",
|
|
45
|
+
"alpha",
|
|
46
|
+
"beta",
|
|
47
|
+
"gamma"
|
|
17
48
|
]
|
|
18
49
|
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "core/primitive/3d-lattice",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "3 dimensional lattice schema",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": [
|
|
7
|
-
"a",
|
|
8
|
-
"b",
|
|
9
|
-
"c",
|
|
10
|
-
"alpha",
|
|
11
|
-
"beta",
|
|
12
|
-
"gamma"
|
|
13
|
-
],
|
|
14
|
-
"properties": {
|
|
15
|
-
"a": {
|
|
16
|
-
"description": "length of the first lattice vector",
|
|
17
|
-
"type": "number"
|
|
18
|
-
},
|
|
19
|
-
"b": {
|
|
20
|
-
"description": "length of the second lattice vector",
|
|
21
|
-
"type": "number"
|
|
22
|
-
},
|
|
23
|
-
"c": {
|
|
24
|
-
"description": "length of the third lattice vector",
|
|
25
|
-
"type": "number"
|
|
26
|
-
},
|
|
27
|
-
"alpha": {
|
|
28
|
-
"description": "angle between first and second lattice vector",
|
|
29
|
-
"type": "number"
|
|
30
|
-
},
|
|
31
|
-
"beta": {
|
|
32
|
-
"description": "angle between second and third lattice vector",
|
|
33
|
-
"type": "number"
|
|
34
|
-
},
|
|
35
|
-
"gamma": {
|
|
36
|
-
"description": "angle between first and third lattice vector",
|
|
37
|
-
"type": "number"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "core/reusable/atomic-strings",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "atomic strings vectors schema",
|
|
5
|
-
"description": "array of objects containing integer id each",
|
|
6
|
-
"type": "array",
|
|
7
|
-
"items": {
|
|
8
|
-
"type": "object",
|
|
9
|
-
"properties": {
|
|
10
|
-
"value": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"id": {
|
|
14
|
-
"description": "integer id of this entry",
|
|
15
|
-
"type": "integer"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "properties-directory/structural/lattice/lattice-bravais",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "lattice implicit schema",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": [
|
|
7
|
-
"a",
|
|
8
|
-
"alpha",
|
|
9
|
-
"b",
|
|
10
|
-
"beta",
|
|
11
|
-
"c",
|
|
12
|
-
"gamma",
|
|
13
|
-
"type"
|
|
14
|
-
],
|
|
15
|
-
"properties": {
|
|
16
|
-
"type": {
|
|
17
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
18
|
-
"title": "lattice type enum",
|
|
19
|
-
"type": "string",
|
|
20
|
-
"enum": [
|
|
21
|
-
"CUB",
|
|
22
|
-
"BCC",
|
|
23
|
-
"FCC",
|
|
24
|
-
"TET",
|
|
25
|
-
"MCL",
|
|
26
|
-
"ORC",
|
|
27
|
-
"ORCC",
|
|
28
|
-
"ORCF",
|
|
29
|
-
"ORCI",
|
|
30
|
-
"HEX",
|
|
31
|
-
"BCT",
|
|
32
|
-
"TRI",
|
|
33
|
-
"MCLC",
|
|
34
|
-
"RHL"
|
|
35
|
-
],
|
|
36
|
-
"default": "TRI"
|
|
37
|
-
},
|
|
38
|
-
"units": {
|
|
39
|
-
"title": "Lattice units schema",
|
|
40
|
-
"type": "object",
|
|
41
|
-
"default": {
|
|
42
|
-
"length": "angstrom",
|
|
43
|
-
"angle": "degree"
|
|
44
|
-
},
|
|
45
|
-
"properties": {
|
|
46
|
-
"length": {
|
|
47
|
-
"enum": [
|
|
48
|
-
"angstrom",
|
|
49
|
-
"bohr"
|
|
50
|
-
],
|
|
51
|
-
"default": "angstrom"
|
|
52
|
-
},
|
|
53
|
-
"angle": {
|
|
54
|
-
"enum": [
|
|
55
|
-
"degree",
|
|
56
|
-
"radian"
|
|
57
|
-
],
|
|
58
|
-
"default": "degree"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
"a": {
|
|
63
|
-
"description": "length of the first lattice vector",
|
|
64
|
-
"type": "number"
|
|
65
|
-
},
|
|
66
|
-
"b": {
|
|
67
|
-
"description": "length of the second lattice vector",
|
|
68
|
-
"type": "number"
|
|
69
|
-
},
|
|
70
|
-
"c": {
|
|
71
|
-
"description": "length of the third lattice vector",
|
|
72
|
-
"type": "number"
|
|
73
|
-
},
|
|
74
|
-
"alpha": {
|
|
75
|
-
"description": "angle between first and second lattice vector",
|
|
76
|
-
"type": "number"
|
|
77
|
-
},
|
|
78
|
-
"beta": {
|
|
79
|
-
"description": "angle between second and third lattice vector",
|
|
80
|
-
"type": "number"
|
|
81
|
-
},
|
|
82
|
-
"gamma": {
|
|
83
|
-
"description": "angle between first and third lattice vector",
|
|
84
|
-
"type": "number"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "core/abstract/3d-vector-basis",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "3 dimensional vector basis",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"a": {
|
|
8
|
-
"description": "first vector",
|
|
9
|
-
"$ref": "../primitive/array_of_3_numbers.json"
|
|
10
|
-
},
|
|
11
|
-
"b": {
|
|
12
|
-
"description": "second vector",
|
|
13
|
-
"$ref": "../primitive/array_of_3_numbers.json"
|
|
14
|
-
},
|
|
15
|
-
"c": {
|
|
16
|
-
"description": "third vector",
|
|
17
|
-
"$ref": "../primitive/array_of_3_numbers.json"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"required": [
|
|
21
|
-
"a",
|
|
22
|
-
"b",
|
|
23
|
-
"c"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "core/primitive/3d-lattice",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "3 dimensional lattice schema",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"a": {
|
|
8
|
-
"description": "length of the first lattice vector",
|
|
9
|
-
"type": "number"
|
|
10
|
-
},
|
|
11
|
-
"b": {
|
|
12
|
-
"description": "length of the second lattice vector",
|
|
13
|
-
"type": "number"
|
|
14
|
-
},
|
|
15
|
-
"c": {
|
|
16
|
-
"description": "length of the third lattice vector",
|
|
17
|
-
"type": "number"
|
|
18
|
-
},
|
|
19
|
-
"alpha": {
|
|
20
|
-
"description": "angle between first and second lattice vector",
|
|
21
|
-
"type": "number"
|
|
22
|
-
},
|
|
23
|
-
"beta": {
|
|
24
|
-
"description": "angle between second and third lattice vector",
|
|
25
|
-
"type": "number"
|
|
26
|
-
},
|
|
27
|
-
"gamma": {
|
|
28
|
-
"description": "angle between first and third lattice vector",
|
|
29
|
-
"type": "number"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"required": [
|
|
33
|
-
"a",
|
|
34
|
-
"b",
|
|
35
|
-
"c",
|
|
36
|
-
"alpha",
|
|
37
|
-
"beta",
|
|
38
|
-
"gamma"
|
|
39
|
-
]
|
|
40
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "core/reusable/atomic-strings",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "atomic strings vectors schema",
|
|
5
|
-
"allOf": [
|
|
6
|
-
{
|
|
7
|
-
"$ref": "../primitive/array_of_ids.json"
|
|
8
|
-
}
|
|
9
|
-
],
|
|
10
|
-
"items": {
|
|
11
|
-
"properties": {
|
|
12
|
-
"value": {
|
|
13
|
-
"type": "string"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "properties-directory/structural/lattice/lattice-bravais",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "lattice implicit schema",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"allOf": [
|
|
7
|
-
{
|
|
8
|
-
"$ref": "../../../core/primitive/3d_lattice.json"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"type": {
|
|
13
|
-
"description": "Bravais lattice type in short notation",
|
|
14
|
-
"$ref": "type_enum.json"
|
|
15
|
-
},
|
|
16
|
-
"units": {
|
|
17
|
-
"title": "Lattice units schema",
|
|
18
|
-
"type": "object",
|
|
19
|
-
"properties": {
|
|
20
|
-
"length": {
|
|
21
|
-
"$ref": "../../../definitions/units.json#/length_atomic"
|
|
22
|
-
},
|
|
23
|
-
"angle": {
|
|
24
|
-
"$ref": "../../../definitions/units.json#/angle"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"default": {
|
|
28
|
-
"length": "angstrom",
|
|
29
|
-
"angle": "degree"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"required": [
|
|
34
|
-
"type"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "properties-directory/structural/lattice/lattice-vectors",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "lattice explicit unit",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"allOf": [
|
|
7
|
-
{
|
|
8
|
-
"$ref": "../../../core/abstract/3d_vector_basis.json"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"alat": {
|
|
13
|
-
"description": "lattice parameter for fractional coordinates",
|
|
14
|
-
"type": "number",
|
|
15
|
-
"default": 1
|
|
16
|
-
},
|
|
17
|
-
"units": {
|
|
18
|
-
"$ref": "../../../definitions/units.json#/length_atomic"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/example/properties_directory/structural/lattice/{lattice_vectors.json → vectors.json}
RENAMED
|
File without changes
|