@mat3ra/esse 2025.1.27-0 → 2025.4.3-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 (32) hide show
  1. package/.pre-commit-config.yaml +3 -2
  2. package/dist/js/schema/core/primitive/integer_positive_single_digit.json +8 -0
  3. package/dist/js/schema/definitions/constants.json +52 -0
  4. package/dist/js/schema/definitions/units.json +41 -5
  5. package/dist/js/schema/element.json +4 -5
  6. package/dist/js/schema/material.json +35 -66
  7. package/dist/js/schema/properties_directory/elemental/atomic_radius.json +4 -5
  8. package/dist/js/schema/properties_directory/non_scalar/average_potential_profile.json +4 -5
  9. package/dist/js/schema/properties_directory/non_scalar/band_structure.json +2 -10
  10. package/dist/js/schema/properties_directory/non_scalar/phonon_dispersions.json +2 -10
  11. package/dist/js/schema/properties_directory/structural/basis/atomic_coordinates.json +4 -5
  12. package/dist/js/schema/properties_directory/structural/basis/atomic_label.json +19 -0
  13. package/dist/js/schema/properties_directory/structural/basis.json +19 -50
  14. package/dist/js/schema/properties_directory/structural/lattice/lattice_bravais.json +12 -6
  15. package/dist/js/schema/properties_directory/structural/lattice/lattice_vectors.json +4 -5
  16. package/dist/js/schema/properties_directory/structural/lattice/type_enum.json +3 -2
  17. package/dist/js/schema/properties_directory/structural/lattice/type_extended_enum.json +3 -2
  18. package/dist/js/schema/properties_directory/structural/lattice.json +16 -16
  19. package/dist/js/schemas.json +1 -1
  20. package/dist/js/types.d.ts +66 -110
  21. package/package.json +1 -1
  22. package/schema/core/primitive/integer_positive_single_digit.json +8 -0
  23. package/schema/definitions/constants.json +52 -0
  24. package/schema/definitions/units.json +41 -5
  25. package/schema/properties_directory/non-scalar/band_structure.json +1 -1
  26. package/schema/properties_directory/non-scalar/phonon_dispersions.json +1 -1
  27. package/schema/properties_directory/structural/basis/atomic_label.json +15 -0
  28. package/schema/properties_directory/structural/basis.json +12 -20
  29. package/schema/properties_directory/structural/lattice/lattice_bravais.json +7 -10
  30. package/schema/properties_directory/structural/lattice/type_enum.json +3 -2
  31. package/schema/properties_directory/structural/lattice/type_extended_enum.json +3 -2
  32. package/schema/properties_directory/structural/lattice.json +1 -8
@@ -13,11 +13,6 @@
13
13
  "type"
14
14
  ],
15
15
  "properties": {
16
- "name": {
17
- "enum": [
18
- "lattice"
19
- ]
20
- },
21
16
  "vectors": {
22
17
  "$schema": "http://json-schema.org/draft-07/schema#",
23
18
  "title": "lattice explicit unit",
@@ -37,15 +32,14 @@
37
32
  "enum": [
38
33
  "km",
39
34
  "m",
40
- "pm",
35
+ "cm",
36
+ "mm",
37
+ "um",
41
38
  "nm",
42
39
  "angstrom",
43
40
  "a.u.",
44
41
  "bohr",
45
- "fractional",
46
- "crystal",
47
- "cartesian",
48
- "alat"
42
+ "pm"
49
43
  ]
50
44
  },
51
45
  "a": {
@@ -82,7 +76,7 @@
82
76
  },
83
77
  "type": {
84
78
  "$schema": "http://json-schema.org/draft-07/schema#",
85
- "title": "lattice type schema",
79
+ "title": "lattice type enum",
86
80
  "type": "string",
87
81
  "enum": [
88
82
  "CUB",
@@ -99,24 +93,30 @@
99
93
  "TRI",
100
94
  "MCLC",
101
95
  "RHL"
102
- ]
96
+ ],
97
+ "default": "TRI"
103
98
  },
104
99
  "units": {
100
+ "title": "Lattice units schema",
105
101
  "type": "object",
102
+ "default": {
103
+ "length": "angstrom",
104
+ "angle": "degree"
105
+ },
106
106
  "properties": {
107
107
  "length": {
108
- "type": "string",
109
108
  "enum": [
110
109
  "angstrom",
111
110
  "bohr"
112
- ]
111
+ ],
112
+ "default": "angstrom"
113
113
  },
114
114
  "angle": {
115
- "type": "string",
116
115
  "enum": [
117
116
  "degree",
118
117
  "radian"
119
- ]
118
+ ],
119
+ "default": "degree"
120
120
  }
121
121
  }
122
122
  },