@mat3ra/esse 2025.4.11-0 → 2025.4.17-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 (52) hide show
  1. package/dist/js/example/core/reusable/band_gap.json +1 -1
  2. package/dist/js/example/methods_directory/physical/psp/file.json +20 -1
  3. package/dist/js/example/methods_directory/physical/psp.json +20 -1
  4. package/dist/js/example/properties_directory/non_scalar/band_gaps.json +2 -2
  5. package/dist/js/example/properties_directory/workflow/convergence/electronic.json +1 -1
  6. package/dist/js/schema/core/reusable/band_gap.json +1 -1
  7. package/dist/js/schema/core/reusable/energy.json +1 -1
  8. package/dist/js/schema/core/reusable/energy_accuracy_levels.json +32 -0
  9. package/dist/js/schema/core/reusable/scalar_with_accuracy_levels.json +24 -0
  10. package/dist/js/schema/definitions/units.json +2 -2
  11. package/dist/js/schema/element.json +1 -1
  12. package/dist/js/schema/material.json +3 -10
  13. package/dist/js/schema/methods_directory/physical/psp/file.json +77 -0
  14. package/dist/js/schema/methods_directory/physical/psp/file_data_item.json +77 -0
  15. package/dist/js/schema/methods_directory/physical/psp.json +77 -0
  16. package/dist/js/schema/properties_directory/elemental/ionization_potential.json +1 -1
  17. package/dist/js/schema/properties_directory/non_scalar/average_potential_profile.json +1 -1
  18. package/dist/js/schema/properties_directory/non_scalar/band_gaps.json +1 -1
  19. package/dist/js/schema/properties_directory/non_scalar/band_structure.json +1 -1
  20. package/dist/js/schema/properties_directory/non_scalar/density_of_states.json +1 -1
  21. package/dist/js/schema/properties_directory/non_scalar/potential_profile.json +1 -1
  22. package/dist/js/schema/properties_directory/non_scalar/reaction_energy_profile.json +1 -1
  23. package/dist/js/schema/properties_directory/non_scalar/total_energy_contributions.json +1 -1
  24. package/dist/js/schema/properties_directory/scalar/electron_affinity.json +1 -1
  25. package/dist/js/schema/properties_directory/scalar/fermi_energy.json +1 -1
  26. package/dist/js/schema/properties_directory/scalar/formation_energy.json +1 -1
  27. package/dist/js/schema/properties_directory/scalar/ionization_potential.json +1 -1
  28. package/dist/js/schema/properties_directory/scalar/reaction_energy_barrier.json +1 -1
  29. package/dist/js/schema/properties_directory/scalar/surface_energy.json +1 -1
  30. package/dist/js/schema/properties_directory/scalar/total_energy.json +1 -1
  31. package/dist/js/schema/properties_directory/scalar/total_force.json +1 -1
  32. package/dist/js/schema/properties_directory/scalar/valence_band_offset.json +1 -1
  33. package/dist/js/schema/properties_directory/scalar/zero_point_energy.json +1 -1
  34. package/dist/js/schema/properties_directory/structural/atomic_forces.json +1 -1
  35. package/dist/js/schema/properties_directory/structural/lattice/lattice_vectors.json +3 -10
  36. package/dist/js/schema/properties_directory/structural/lattice.json +3 -10
  37. package/dist/js/schema/properties_directory/workflow/convergence/electronic.json +1 -1
  38. package/dist/js/schema/properties_directory/workflow/convergence/ionic.json +1 -1
  39. package/dist/js/schemas.json +1 -1
  40. package/dist/js/types.d.ts +239 -98
  41. package/example/core/reusable/band_gap.json +1 -1
  42. package/example/methods_directory/physical/psp/file.json +20 -1
  43. package/example/properties_directory/non-scalar/band_gaps.json +2 -2
  44. package/example/properties_directory/workflow/convergence/electronic.json +1 -1
  45. package/package.json +29 -29
  46. package/schema/core/reusable/energy_accuracy_levels.json +23 -0
  47. package/schema/core/reusable/scalar_with_accuracy_levels.json +25 -0
  48. package/schema/definitions/units.json +2 -2
  49. package/schema/methods_directory/physical/psp/file_data_item.json +21 -0
  50. package/schema/properties_directory/structural/lattice/lattice_vectors.json +1 -1
  51. package/schema/properties_directory/workflow/convergence/electronic.json +1 -1
  52. package/schema/properties_directory/workflow/convergence/ionic.json +1 -1
@@ -13,12 +13,12 @@
13
13
  0
14
14
  ],
15
15
  "type": "direct",
16
- "units": "rydberg",
16
+ "units": "Ry",
17
17
  "value": 0.0947
18
18
  },
19
19
  {
20
20
  "type": "indirect",
21
- "units": "rydberg",
21
+ "units": "Ry",
22
22
  "value": 0.0
23
23
  }
24
24
  ]
@@ -11,5 +11,5 @@
11
11
  ]
12
12
  ],
13
13
  "tolerance": 0.001,
14
- "units": "rydberg"
14
+ "units": "Ry"
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mat3ra/esse",
3
- "version": "2025.4.11-0",
3
+ "version": "2025.4.17-0",
4
4
  "description": "Mat3ra's Excellent Source of Schemas and Examples (ESSE) for Digital Materials R&D",
5
5
  "scripts": {
6
6
  "transpile": "tsc -p tsconfig-transpile.json",
@@ -27,50 +27,50 @@
27
27
  },
28
28
  "homepage": "https://github.com/Exabyte-io/esse",
29
29
  "devDependencies": {
30
- "@exabyte-io/eslint-config": "git+https://github.com/Exabyte-io/eslint-config.git#53db65c75453137f1e7f4666371078c7cc7a5366",
30
+ "@exabyte-io/eslint-config": "^2025.1.15-0",
31
31
  "@mat3ra/tsconfig": "^2024.6.3-0",
32
- "@typescript-eslint/eslint-plugin": "^5.9.1",
33
- "@typescript-eslint/parser": "^5.9.1",
34
- "chai": "4.3.4",
32
+ "@typescript-eslint/eslint-plugin": "^5.62.0",
33
+ "@typescript-eslint/parser": "^5.62.0",
34
+ "chai": "4.5.0",
35
35
  "eslint": "^7.32.0",
36
- "eslint-config-airbnb": "^19.0.2",
37
- "eslint-config-prettier": "^8.5.0",
36
+ "eslint-config-airbnb": "^19.0.4",
37
+ "eslint-config-prettier": "^8.10.0",
38
38
  "eslint-import-resolver-exports": "^1.0.0-beta.5",
39
39
  "eslint-import-resolver-meteor": "^0.4.0",
40
40
  "eslint-import-resolver-node": "^0.3.9",
41
- "eslint-plugin-import": "^2.25.3",
42
- "eslint-plugin-jsdoc": "^50.6.0",
43
- "eslint-plugin-jsx-a11y": "^6.5.1",
41
+ "eslint-plugin-import": "^2.31.0",
42
+ "eslint-plugin-jsdoc": "^50.6.9",
43
+ "eslint-plugin-jsx-a11y": "^6.10.2",
44
44
  "eslint-plugin-mui-path-imports": "0.0.15",
45
45
  "eslint-plugin-prettier": "^4.2.1",
46
- "eslint-plugin-react": "^7.30.0",
47
- "eslint-plugin-react-hooks": "^4.3.0",
46
+ "eslint-plugin-react": "^7.37.4",
47
+ "eslint-plugin-react-hooks": "^4.6.2",
48
48
  "eslint-plugin-simple-import-sort": "^7.0.0",
49
49
  "husky": "^7.0.4",
50
- "lint-staged": "^12.1.2",
51
- "mocha": "10.3.0",
50
+ "lint-staged": "^12.5.0",
51
+ "mocha": "10.8.2",
52
52
  "nyc": "15.1.0",
53
- "prettier": "^2.5.1",
54
- "prettyjson": "^1.1.3",
53
+ "prettier": "^2.8.8",
54
+ "prettyjson": "^1.2.5",
55
55
  "ts-node": "^10.9.2",
56
- "typescript": "^4.5.5"
56
+ "typescript": "^4.9.5"
57
57
  },
58
58
  "license": "Apache-2.0",
59
59
  "dependencies": {
60
- "@babel/cli": "7.16.0",
61
- "@babel/core": "7.24.1",
62
- "@babel/eslint-parser": "7.16.3",
63
- "@babel/plugin-proposal-class-properties": "7.16.0",
64
- "@babel/preset-env": "7.16.4",
65
- "@babel/preset-react": "7.16.7",
66
- "@babel/preset-typescript": "^7.22.5",
67
- "@babel/register": "^7.16.0",
68
- "@babel/runtime-corejs3": "7.16.8",
69
- "@types/chai": "^4.3.11",
60
+ "@babel/cli": "^7.27.0",
61
+ "@babel/core": "^7.26.10",
62
+ "@babel/eslint-parser": "^7.27.0",
63
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
64
+ "@babel/preset-env": "^7.26.9",
65
+ "@babel/preset-react": "^7.26.3",
66
+ "@babel/preset-typescript": "^7.27.0",
67
+ "@babel/register": "^7.25.9",
68
+ "@babel/runtime-corejs3": "^7.27.0",
69
+ "@types/chai": "^4.3.20",
70
70
  "@types/js-yaml": "^4.0.9",
71
71
  "@types/json-schema-merge-allof": "^0.6.5",
72
- "@types/mocha": "^10.0.6",
73
- "ajv": "^8.12.0",
72
+ "@types/mocha": "^10.0.10",
73
+ "ajv": "^8.17.1",
74
74
  "ajv-formats": "^2.1.1",
75
75
  "js-yaml": "^4.1.0",
76
76
  "json-schema": "^0.4.0",
@@ -0,0 +1,23 @@
1
+ {
2
+ "$id": "core/reusable/energy-accuracy-levels",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Reusable schema for energy value with unit corresponding to a specific accuracy level, e.g., used for suggested wavefunction and charge density cutoffs",
5
+ "type": "object",
6
+ "allOf": [
7
+ {
8
+ "$ref": "./scalar_with_accuracy_levels.json"
9
+ }
10
+ ],
11
+ "properties": {
12
+ "unit": {
13
+ "description": "Unit of the energy value corresponding to a accuracy_level. The values are expressed in Ry.",
14
+ "type": "string",
15
+ "enum": [
16
+ "Ry"
17
+ ]
18
+ }
19
+ },
20
+ "required": [
21
+ "unit"
22
+ ]
23
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "$id": "core/reusable/scalar-with-accuracy-levels",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Reusable schema for scalar values with accuracy levels",
5
+ "type": "object",
6
+ "allOf": [
7
+ {
8
+ "$ref": "../primitive/scalar.json"
9
+ }
10
+ ],
11
+ "properties": {
12
+ "accuracy_level": {
13
+ "description": "Accuracy level determines suggested scalar value.",
14
+ "type": "string",
15
+ "enum": [
16
+ "standard",
17
+ "low",
18
+ "high"
19
+ ]
20
+ }
21
+ },
22
+ "required": [
23
+ "accuracy_level"
24
+ ]
25
+ }
@@ -50,7 +50,7 @@
50
50
  "J/mol",
51
51
  "hartree",
52
52
  "cm-1",
53
- "rydberg",
53
+ "Ry",
54
54
  "eV/atom"
55
55
  ]
56
56
  },
@@ -71,7 +71,7 @@
71
71
  "enum": [
72
72
  "eV/bohr",
73
73
  "eV/angstrom",
74
- "rydberg/a.u.",
74
+ "Ry/a.u.",
75
75
  "newton",
76
76
  "kg*m/s^2",
77
77
  "eV/a.u."
@@ -70,6 +70,27 @@
70
70
  "enum": [
71
71
  "pseudopotential"
72
72
  ]
73
+ },
74
+ "cutoffs": {
75
+ "type": "object",
76
+ "description": "Suggested cutoff values for wave function and charge density.",
77
+ "additionalProperties": false,
78
+ "properties": {
79
+ "wavefunction": {
80
+ "type": "array",
81
+ "description": "Energy cutoff values for wavefunction plane wave expansion.",
82
+ "items": {
83
+ "$ref": "../../../core/reusable/energy_accuracy_levels.json"
84
+ }
85
+ },
86
+ "density": {
87
+ "type": "array",
88
+ "description": "Energy cutoff values for charge density plane wave expansion.",
89
+ "items": {
90
+ "$ref": "../../../core/reusable/energy_accuracy_levels.json"
91
+ }
92
+ }
93
+ }
73
94
  }
74
95
  },
75
96
  "required": [
@@ -15,7 +15,7 @@
15
15
  "default": 1
16
16
  },
17
17
  "units": {
18
- "$ref": "../../../definitions/units.json#/length"
18
+ "$ref": "../../../definitions/units.json#/length_atomic"
19
19
  }
20
20
  }
21
21
  }
@@ -12,7 +12,7 @@
12
12
  "units": {
13
13
  "enum": [
14
14
  "eV",
15
- "rydberg",
15
+ "Ry",
16
16
  "hartree"
17
17
  ]
18
18
  },
@@ -40,7 +40,7 @@
40
40
  "description": "units for force tolerance",
41
41
  "enum": [
42
42
  "eV",
43
- "rydberg",
43
+ "Ry",
44
44
  "hartree"
45
45
  ]
46
46
  },