@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.
Files changed (143) hide show
  1. package/.pre-commit-config.yaml +3 -6
  2. package/dist/js/example/core/abstract/vector_boolean_3d.json +5 -0
  3. package/dist/js/example/material.json +11 -11
  4. package/dist/js/example/properties_directory/structural/basis/atomic_coordinates.json +18 -21
  5. package/dist/js/example/properties_directory/structural/basis/atomic_elements.json +10 -0
  6. package/dist/js/example/properties_directory/structural/basis/atomic_label.json +4 -0
  7. package/dist/js/example/properties_directory/structural/basis/atomic_labels.json +10 -0
  8. package/dist/js/example/properties_directory/structural/lattice.json +11 -11
  9. package/dist/js/schema/{3pse → apse}/db/nist_jarvis/2024.3.13/atoms.json +1 -1
  10. package/dist/js/schema/{3pse → apse}/db/nist_jarvis/2024.3.13/db_entry.json +1 -1
  11. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/atomic_positions.json +1 -1
  12. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/atomic_species.json +1 -1
  13. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/cell.json +1 -1
  14. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/cell_parameters.json +1 -1
  15. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/control.json +1 -1
  16. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/electrons.json +1 -1
  17. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/hubbard.json +1 -1
  18. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/ions.json +1 -1
  19. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/k_points.json +1 -1
  20. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/system.json +1 -1
  21. package/dist/js/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x.json +1 -1
  22. package/dist/js/schema/core/abstract/coordinate_3d.json +11 -0
  23. package/dist/js/schema/core/abstract/kpoint.json +12 -0
  24. package/dist/js/schema/core/abstract/{3d_tensor.json → matrix_3x3.json} +2 -2
  25. package/dist/js/schema/core/abstract/{point.json → vector_3d.json} +2 -2
  26. package/dist/js/schema/core/abstract/{vector.json → vector_boolean_3d.json} +2 -12
  27. package/dist/js/schema/core/primitive/array_of_ids.json +7 -1
  28. package/dist/js/schema/core/primitive/object_with_id.json +16 -0
  29. package/dist/js/schema/core/primitive/object_with_id_and_value.json +20 -0
  30. package/dist/js/schema/core/reusable/atomic_scalars.json +6 -0
  31. package/dist/js/schema/core/reusable/atomic_string.json +21 -0
  32. package/dist/js/schema/core/reusable/atomic_vector.json +28 -0
  33. package/dist/js/schema/core/reusable/atomic_vectors.json +15 -24
  34. package/dist/js/schema/core/reusable/band_gap.json +4 -2
  35. package/dist/js/schema/material.json +113 -96
  36. package/dist/js/schema/properties_directory/non_scalar/band_gaps.json +6 -3
  37. package/dist/js/schema/properties_directory/non_scalar/stress_tensor.json +1 -1
  38. package/dist/js/schema/properties_directory/structural/atomic_forces.json +15 -24
  39. package/dist/js/schema/properties_directory/structural/basis/atomic_constraint.json +34 -0
  40. package/dist/js/schema/properties_directory/structural/basis/atomic_constraints.json +30 -45
  41. package/dist/js/schema/properties_directory/structural/basis/atomic_constraints_property.json +53 -0
  42. package/dist/js/schema/properties_directory/structural/basis/atomic_coordinate.json +18 -28
  43. package/dist/js/schema/properties_directory/structural/basis/atomic_coordinates.json +26 -59
  44. package/dist/js/schema/properties_directory/structural/basis/atomic_element.json +7 -12
  45. package/dist/js/schema/properties_directory/structural/basis/atomic_elements.json +27 -0
  46. package/dist/js/schema/properties_directory/structural/basis/atomic_label.json +27 -10
  47. package/dist/js/schema/properties_directory/structural/basis/atomic_labels.json +42 -0
  48. package/dist/js/schema/properties_directory/structural/basis/bonds.json +7 -1
  49. package/dist/js/schema/properties_directory/structural/basis/units_enum.json +10 -0
  50. package/dist/js/schema/properties_directory/structural/basis.json +63 -52
  51. package/dist/js/schema/properties_directory/structural/lattice/lattice_vectors.json +15 -40
  52. package/dist/js/schema/properties_directory/structural/lattice/units/angle_enum.json +10 -0
  53. package/dist/js/schema/properties_directory/structural/lattice/units/length_enum.json +10 -0
  54. package/dist/js/schema/properties_directory/structural/lattice/vectors/units_enum.json +10 -0
  55. package/dist/js/schema/{core/abstract/3d_vector_basis.json → properties_directory/structural/lattice/vectors.json} +19 -5
  56. package/dist/js/schema/properties_directory/structural/lattice.json +50 -44
  57. package/dist/js/schema/properties_directory/structural/magnetic_moments.json +15 -24
  58. package/dist/js/schema/properties_directory/structural/molecular_pattern.json +21 -3
  59. package/dist/js/schema/properties_directory/structural/patterns/functional_group.json +7 -1
  60. package/dist/js/schema/properties_directory/structural/patterns/ring.json +7 -1
  61. package/dist/js/schema/properties_directory/structural/patterns/special_bond.json +7 -1
  62. package/dist/js/schemas.json +1 -1
  63. package/dist/js/types.d.ts +445 -322
  64. package/dist/js/types.js +1 -1
  65. package/example/core/abstract/vector_boolean_3d.json +5 -0
  66. package/example/properties_directory/structural/basis/atomic_coordinates.json +18 -21
  67. package/example/properties_directory/structural/basis/atomic_elements.json +10 -0
  68. package/example/properties_directory/structural/basis/atomic_label.json +4 -0
  69. package/example/properties_directory/structural/basis/atomic_labels.json +10 -0
  70. package/example/properties_directory/structural/lattice.json +12 -2
  71. package/package.json +3 -3
  72. package/schema/{3pse → apse}/db/nist_jarvis/2024.3.13/atoms.json +1 -1
  73. package/schema/{3pse → apse}/db/nist_jarvis/2024.3.13/db_entry.json +1 -1
  74. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/atomic_positions.json +1 -1
  75. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/atomic_species.json +1 -1
  76. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/cell.json +1 -1
  77. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/cell_parameters.json +1 -1
  78. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/control.json +1 -1
  79. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/electrons.json +1 -1
  80. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/hubbard.json +1 -1
  81. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/ions.json +1 -1
  82. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/k_points.json +1 -1
  83. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x/system.json +1 -1
  84. package/schema/{3pse → apse}/file/applications/espresso/7.2/pw.x.json +1 -1
  85. package/schema/core/abstract/coordinate_3d.json +10 -0
  86. package/schema/core/abstract/{3d_tensor.json → matrix_3x3.json} +2 -2
  87. package/schema/core/abstract/{point.json → vector_3d.json} +2 -2
  88. package/schema/core/abstract/{vector.json → vector_boolean_3d.json} +2 -5
  89. package/schema/core/primitive/array_of_ids.json +2 -8
  90. package/schema/core/primitive/object_with_id.json +17 -0
  91. package/schema/core/primitive/object_with_id_and_value.json +22 -0
  92. package/schema/core/reusable/atomic_string.json +15 -0
  93. package/schema/core/reusable/atomic_vector.json +15 -0
  94. package/schema/core/reusable/atomic_vectors.json +1 -11
  95. package/schema/core/reusable/band_gap.json +2 -2
  96. package/schema/core/reusable/kpoint.json +11 -0
  97. package/schema/properties_directory/non-scalar/band_gaps.json +1 -1
  98. package/schema/properties_directory/non-scalar/stress_tensor.json +1 -1
  99. package/schema/properties_directory/structural/basis/atomic_constraint.json +17 -0
  100. package/schema/properties_directory/structural/basis/atomic_constraints.json +4 -11
  101. package/schema/properties_directory/structural/basis/atomic_constraints_property.json +17 -0
  102. package/schema/properties_directory/structural/basis/atomic_coordinate.json +8 -6
  103. package/schema/properties_directory/structural/basis/atomic_coordinates.json +6 -18
  104. package/schema/properties_directory/structural/basis/atomic_element.json +5 -20
  105. package/schema/properties_directory/structural/basis/atomic_elements.json +10 -0
  106. package/schema/properties_directory/structural/basis/atomic_label.json +20 -6
  107. package/schema/properties_directory/structural/basis/atomic_labels.json +10 -0
  108. package/schema/properties_directory/structural/basis/units_enum.json +10 -0
  109. package/schema/properties_directory/structural/basis.json +4 -19
  110. package/schema/properties_directory/structural/lattice/units/angle_enum.json +10 -0
  111. package/schema/properties_directory/structural/lattice/units/length_enum.json +10 -0
  112. package/schema/properties_directory/structural/lattice/units.json +18 -0
  113. package/schema/properties_directory/structural/lattice/vectors/units_enum.json +10 -0
  114. package/schema/properties_directory/structural/lattice/vectors.json +33 -0
  115. package/schema/properties_directory/structural/lattice.json +41 -10
  116. package/dist/js/example/core/abstract/3d_vector_basis.json +0 -17
  117. package/dist/js/example/core/primitive/3d_lattice.json +0 -8
  118. package/dist/js/example/properties_directory/structural/lattice/lattice_bravais.json +0 -13
  119. package/dist/js/schema/core/primitive/3d_lattice.json +0 -40
  120. package/dist/js/schema/core/reusable/atomic_strings.json +0 -19
  121. package/dist/js/schema/properties_directory/structural/lattice/lattice_bravais.json +0 -87
  122. package/example/core/abstract/3d_vector_basis.json +0 -17
  123. package/example/core/primitive/3d_lattice.json +0 -8
  124. package/example/properties_directory/structural/lattice/lattice_bravais.json +0 -13
  125. package/schema/core/abstract/3d_vector_basis.json +0 -25
  126. package/schema/core/primitive/3d_lattice.json +0 -40
  127. package/schema/core/reusable/atomic_strings.json +0 -17
  128. package/schema/properties_directory/structural/lattice/lattice_bravais.json +0 -36
  129. package/schema/properties_directory/structural/lattice/lattice_vectors.json +0 -21
  130. /package/dist/js/example/{3pse → apse}/db/nist_jarvis/2024.3.13/db_entry.json +0 -0
  131. /package/dist/js/example/{3pse → apse}/file/applications/espresso/7.2/pw.x.json +0 -0
  132. /package/dist/js/example/core/abstract/{point.json → coordinate_3d.json} +0 -0
  133. /package/dist/js/example/core/abstract/{3d_tensor.json → matrix_3x3.json} +0 -0
  134. /package/dist/js/example/core/abstract/{vector.json → vector_3d.json} +0 -0
  135. /package/dist/js/example/properties_directory/structural/basis/{atomic_constraints.json → atomic_constraints_property.json} +0 -0
  136. /package/dist/js/example/properties_directory/structural/lattice/{lattice_vectors.json → vectors.json} +0 -0
  137. /package/example/{3pse → apse}/db/nist_jarvis/2024.3.13/db_entry.json +0 -0
  138. /package/example/{3pse → apse}/file/applications/espresso/7.2/pw.x.json +0 -0
  139. /package/example/core/abstract/{point.json → coordinate_3d.json} +0 -0
  140. /package/example/core/abstract/{3d_tensor.json → matrix_3x3.json} +0 -0
  141. /package/example/core/abstract/{vector.json → vector_3d.json} +0 -0
  142. /package/example/properties_directory/structural/basis/{atomic_constraints.json → atomic_constraints_property.json} +0 -0
  143. /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 numeric label (e.g., 1, 2, as in Fe1, Fe2) to distinguish same atomic species to attach different spin magnetic moment.",
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
- "$ref": "../../../core/primitive/integer_positive_single_digit.json"
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
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$id": "properties-directory/structural/basis/units-enum",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "basis units enum",
5
+ "allOf": [
6
+ {
7
+ "$ref": "../../../definitions/units.json#/coordinates_basis"
8
+ }
9
+ ]
10
+ }
@@ -5,31 +5,16 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "elements": {
8
- "type": "array",
9
- "items": {
10
- "$ref": "basis/atomic_element.json"
11
- }
8
+ "$ref": "./basis/atomic_elements.json"
12
9
  },
13
10
  "coordinates": {
14
- "type": "array",
15
- "items": {
16
- "$ref": "basis/atomic_coordinate.json"
17
- }
11
+ "$ref": "./basis/atomic_coordinates.json"
18
12
  },
19
13
  "units": {
20
- "type": "string",
21
- "enum": [
22
- "crystal",
23
- "cartesian"
24
- ],
25
- "default": "crystal"
14
+ "$ref": "basis/units_enum.json"
26
15
  },
27
16
  "labels": {
28
- "type": "array",
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,10 @@
1
+ {
2
+ "$id": "properties-directory/structural/lattice/units/angle-enum",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "lattice units angle enum",
5
+ "allOf": [
6
+ {
7
+ "$ref": "../../../../definitions/units.json#/angle"
8
+ }
9
+ ]
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "$id": "properties-directory/structural/lattice/units/length-enum",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "lattice units length enum",
5
+ "allOf": [
6
+ {
7
+ "$ref": "../../../../definitions/units.json#/length_atomic"
8
+ }
9
+ ]
10
+ }
@@ -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
- "allOf": [
7
- {
8
- "properties": {
9
- "vectors": {
10
- "$ref": "lattice/lattice_vectors.json"
11
- }
12
- }
13
- },
14
- {
15
- "$ref": "lattice/lattice_bravais.json"
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,17 +0,0 @@
1
- {
2
- "a": [
3
- 5,
4
- 0,
5
- 0
6
- ],
7
- "b": [
8
- 0,
9
- 5,
10
- 0
11
- ],
12
- "c": [
13
- 0,
14
- 0,
15
- 5
16
- ]
17
- }
@@ -1,8 +0,0 @@
1
- {
2
- "a": 5.14,
3
- "alpha": 90,
4
- "b": 5.14,
5
- "beta": 90,
6
- "c": 5.14,
7
- "gamma": 90
8
- }
@@ -1,13 +0,0 @@
1
- {
2
- "a": 5.14,
3
- "alpha": 90,
4
- "b": 5.14,
5
- "beta": 90,
6
- "c": 5.14,
7
- "gamma": 90,
8
- "type": "CUB",
9
- "units": {
10
- "angle": "degree",
11
- "length": "angstrom"
12
- }
13
- }
@@ -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,17 +0,0 @@
1
- {
2
- "a": [
3
- 5.0,
4
- 0.0,
5
- 0.0
6
- ],
7
- "b": [
8
- 0.0,
9
- 5.0,
10
- 0.0
11
- ],
12
- "c": [
13
- 0.0,
14
- 0.0,
15
- 5.0
16
- ]
17
- }
@@ -1,8 +0,0 @@
1
- {
2
- "a": 5.14,
3
- "alpha": 90.0,
4
- "b": 5.14,
5
- "beta": 90.0,
6
- "c": 5.14,
7
- "gamma": 90.0
8
- }
@@ -1,13 +0,0 @@
1
- {
2
- "a": 5.14,
3
- "alpha": 90.0,
4
- "b": 5.14,
5
- "beta": 90.0,
6
- "c": 5.14,
7
- "gamma": 90.0,
8
- "type": "CUB",
9
- "units": {
10
- "angle": "degree",
11
- "length": "angstrom"
12
- }
13
- }
@@ -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
- }