@mat3ra/esse 2026.7.14-0 → 2026.8.13-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 (100) hide show
  1. package/.cursor/rules/resolve-generated-merge-conflicts.mdc +36 -0
  2. package/dist/js/esse/JSONSchemasInterface.d.ts +4 -0
  3. package/dist/js/esse/JSONSchemasInterface.js +10 -0
  4. package/dist/js/example/properties_directory/scalar/defect_formation_energy.json +5 -0
  5. package/dist/js/schema/job.json +147 -176
  6. package/dist/js/schema/material/material_properties.json +0 -4
  7. package/dist/js/schema/material.json +0 -4
  8. package/dist/js/schema/material_enhanced.json +889 -0
  9. package/dist/js/schema/material_enhanced_hashed.json +898 -0
  10. package/dist/js/schema/material_hashed.json +858 -0
  11. package/dist/js/schema/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +0 -36
  12. package/dist/js/schema/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +0 -36
  13. package/dist/js/schema/materials_category/defective_structures/three_dimensional/solid_solution/configuration.json +0 -12
  14. package/dist/js/schema/materials_category/defective_structures/two_dimensional/adatom/configuration.json +0 -16
  15. package/dist/js/schema/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +0 -36
  16. package/dist/js/schema/materials_category/defective_structures/two_dimensional/island/configuration.json +0 -24
  17. package/dist/js/schema/materials_category/defective_structures/two_dimensional/terrace/configuration.json +0 -24
  18. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/base_configuration.json +0 -4
  19. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/interstitial.json +0 -8
  20. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/substitutional.json +0 -8
  21. package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/vacancy.json +0 -4
  22. package/dist/js/schema/materials_category/pristine_structures/three_dimensional/ideal_crystal.json +0 -4
  23. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanoribbon.json +0 -12
  24. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanotape.json +0 -8
  25. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab.json +0 -8
  26. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +0 -8
  27. package/dist/js/schema/materials_category/processed_structures/two_dimensional/passivation/configuration.json +0 -8
  28. package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/crystal_site.json +0 -4
  29. package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/point_defect_site.json +0 -4
  30. package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/void_region.json +0 -4
  31. package/dist/js/schema/materials_category_components/entities/core/three_dimensional/crystal.json +0 -4
  32. package/dist/js/schema/materials_category_components/entities/core/two_dimensional/vacuum.json +0 -4
  33. package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines.json +0 -4
  34. package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated.json +0 -4
  35. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/crystal_lattice_base.json +0 -4
  36. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/strained_non_uniform.json +0 -4
  37. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/strained_uniform.json +0 -4
  38. package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/supercell.json +0 -4
  39. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers.json +0 -4
  40. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique.json +0 -4
  41. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated.json +0 -4
  42. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/crystal_lattice_planes.json +0 -4
  43. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +0 -12
  44. package/dist/js/schema/materials_category_components/operations/core/modifications/perturb.json +0 -4
  45. package/dist/js/schema/properties_directory/enum_options.json +1 -0
  46. package/dist/js/schema/properties_directory/non_scalar/workflow.json +147 -176
  47. package/dist/js/schema/properties_directory/scalar/defect_formation_energy.json +43 -0
  48. package/dist/js/schema/properties_directory/structural/basis_constrained.json +292 -0
  49. package/dist/js/schema/property/holder.json +189 -176
  50. package/dist/js/schema/software_directory/modeling/unit/execution.json +14 -16
  51. package/dist/js/schema/software_directory/scripting/unit/execution.json +14 -16
  52. package/dist/js/schema/system/bankable.json +1 -6
  53. package/dist/js/schema/system/hashed.json +15 -0
  54. package/dist/js/schema/system/status_track.json +29 -0
  55. package/dist/js/schema/workflow/base.json +147 -176
  56. package/dist/js/schema/workflow/subworkflow/mixin.json +88 -105
  57. package/dist/js/schema/workflow/subworkflow/unit.json +88 -105
  58. package/dist/js/schema/workflow/subworkflow.json +88 -105
  59. package/dist/js/schema/workflow/unit/assertion.json +15 -18
  60. package/dist/js/schema/workflow/unit/assignment.json +14 -17
  61. package/dist/js/schema/workflow/unit/base.json +12 -17
  62. package/dist/js/schema/workflow/unit/condition.json +15 -18
  63. package/dist/js/schema/workflow/unit/error.json +15 -18
  64. package/dist/js/schema/workflow/unit/execution.json +14 -16
  65. package/dist/js/schema/workflow/unit/io.json +15 -18
  66. package/dist/js/schema/workflow/unit/map.json +14 -17
  67. package/dist/js/schema/workflow/unit/mixins/base.json +11 -20
  68. package/dist/js/schema/workflow/unit/reduce.json +15 -18
  69. package/dist/js/schema/workflow/unit/subworkflow.json +15 -18
  70. package/dist/js/schema/workflow/unit.json +59 -71
  71. package/dist/js/schema/workflow.json +147 -176
  72. package/dist/js/schemas.json +1 -1
  73. package/dist/js/types.d.ts +1603 -1247
  74. package/dist/js/utils/ajv.d.ts +6 -5
  75. package/dist/js/utils/ajv.js +22 -9
  76. package/dist/js/utils/ajvKeywords/jsonSchemaToTypescriptKeywords.d.ts +7 -0
  77. package/dist/js/utils/ajvKeywords/jsonSchemaToTypescriptKeywords.js +21 -0
  78. package/dist/js/utils/removeEmptyAndNullProperties.d.ts +9 -0
  79. package/dist/js/utils/removeEmptyAndNullProperties.js +29 -0
  80. package/example/properties_directory/scalar/defect_formation_energy.json +5 -0
  81. package/manifest/properties.yaml +6 -0
  82. package/package.json +1 -1
  83. package/schema/material/material_properties.json +0 -4
  84. package/schema/material_enhanced.json +18 -0
  85. package/schema/material_enhanced_hashed.json +14 -0
  86. package/schema/material_hashed.json +22 -0
  87. package/schema/properties_directory/enum_options.json +1 -0
  88. package/schema/properties_directory/scalar/defect_formation_energy.json +21 -0
  89. package/schema/properties_directory/structural/basis_constrained.json +19 -0
  90. package/schema/property/holder.json +3 -0
  91. package/schema/system/bankable.json +1 -6
  92. package/schema/system/hashed.json +15 -0
  93. package/schema/system/status.json +5 -21
  94. package/schema/system/status_track.json +29 -0
  95. package/schema/workflow/unit/base.json +1 -1
  96. package/schema/workflow/unit/mixins/base.json +11 -20
  97. package/src/js/esse/JSONSchemasInterface.ts +11 -0
  98. package/src/js/utils/ajv.ts +22 -9
  99. package/src/js/utils/ajvKeywords/jsonSchemaToTypescriptKeywords.ts +22 -0
  100. package/src/js/utils/removeEmptyAndNullProperties.ts +32 -0
@@ -0,0 +1,292 @@
1
+ {
2
+ "$id": "properties-directory/structural/basis-constrained",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "basis constrained schema",
5
+ "type": "object",
6
+ "required": [
7
+ "constraints",
8
+ "coordinates",
9
+ "elements"
10
+ ],
11
+ "properties": {
12
+ "elements": {
13
+ "$schema": "http://json-schema.org/draft-07/schema#",
14
+ "title": "atomic elements schema",
15
+ "description": "atomic elements schema",
16
+ "type": "array",
17
+ "items": {
18
+ "$schema": "http://json-schema.org/draft-07/schema#",
19
+ "title": "atomic element schema",
20
+ "description": "chemical element of an atom according to the periodic table",
21
+ "type": "object",
22
+ "required": [
23
+ "id",
24
+ "value"
25
+ ],
26
+ "properties": {
27
+ "value": {
28
+ "description": "All elements, including extra elements",
29
+ "anyOf": [
30
+ {
31
+ "enum": [
32
+ "H",
33
+ "He",
34
+ "Li",
35
+ "Be",
36
+ "B",
37
+ "C",
38
+ "N",
39
+ "O",
40
+ "F",
41
+ "Ne",
42
+ "Na",
43
+ "Mg",
44
+ "Al",
45
+ "Si",
46
+ "P",
47
+ "S",
48
+ "Cl",
49
+ "Ar",
50
+ "K",
51
+ "Ca",
52
+ "Sc",
53
+ "Ti",
54
+ "V",
55
+ "Cr",
56
+ "Mn",
57
+ "Fe",
58
+ "Co",
59
+ "Ni",
60
+ "Cu",
61
+ "Zn",
62
+ "Ga",
63
+ "Ge",
64
+ "As",
65
+ "Se",
66
+ "Br",
67
+ "Kr",
68
+ "Rb",
69
+ "Sr",
70
+ "Y",
71
+ "Zr",
72
+ "Nb",
73
+ "Mo",
74
+ "Tc",
75
+ "Ru",
76
+ "Rh",
77
+ "Pd",
78
+ "Ag",
79
+ "Cd",
80
+ "In",
81
+ "Sn",
82
+ "Sb",
83
+ "Te",
84
+ "I",
85
+ "Xe",
86
+ "Cs",
87
+ "Ba",
88
+ "La",
89
+ "Ce",
90
+ "Pr",
91
+ "Nd",
92
+ "Pm",
93
+ "Sm",
94
+ "Eu",
95
+ "Gd",
96
+ "Tb",
97
+ "Dy",
98
+ "Ho",
99
+ "Er",
100
+ "Tm",
101
+ "Yb",
102
+ "Lu",
103
+ "Hf",
104
+ "Ta",
105
+ "W",
106
+ "Re",
107
+ "Os",
108
+ "Ir",
109
+ "Pt",
110
+ "Au",
111
+ "Hg",
112
+ "Tl",
113
+ "Pb",
114
+ "Bi",
115
+ "Po",
116
+ "At",
117
+ "Rn",
118
+ "Fr",
119
+ "Ra",
120
+ "Ac",
121
+ "Th",
122
+ "Pa",
123
+ "U",
124
+ "Np",
125
+ "Pu",
126
+ "Am",
127
+ "Cm",
128
+ "Bk",
129
+ "Cf",
130
+ "Es",
131
+ "Fm",
132
+ "Md",
133
+ "No",
134
+ "Lr",
135
+ "Rf",
136
+ "Db",
137
+ "Sg",
138
+ "Bh",
139
+ "Hs",
140
+ "Mt",
141
+ "Ds",
142
+ "Rg",
143
+ "Cn",
144
+ "Nh",
145
+ "Fl",
146
+ "Mc",
147
+ "Lv",
148
+ "Ts",
149
+ "Og"
150
+ ]
151
+ },
152
+ {
153
+ "description": "Extra elements, used for convenience purposed",
154
+ "enum": [
155
+ "X",
156
+ "Vac"
157
+ ]
158
+ }
159
+ ],
160
+ "type": "string"
161
+ },
162
+ "id": {
163
+ "description": "integer id of this entry",
164
+ "type": "integer"
165
+ }
166
+ }
167
+ }
168
+ },
169
+ "coordinates": {
170
+ "$schema": "http://json-schema.org/draft-07/schema#",
171
+ "title": "atomic coordinates schema",
172
+ "description": "atomic coordinates schema",
173
+ "type": "array",
174
+ "items": {
175
+ "$schema": "http://json-schema.org/draft-07/schema#",
176
+ "title": "atomic coordinate schema",
177
+ "description": "coordinate of an atom",
178
+ "type": "object",
179
+ "required": [
180
+ "id",
181
+ "value"
182
+ ],
183
+ "properties": {
184
+ "value": {
185
+ "$schema": "http://json-schema.org/draft-07/schema#",
186
+ "title": "coordinate 3d schema",
187
+ "type": "array",
188
+ "minItems": 3,
189
+ "maxItems": 3,
190
+ "description": "value of this entry",
191
+ "items": {
192
+ "type": "number"
193
+ }
194
+ },
195
+ "id": {
196
+ "description": "integer id of this entry",
197
+ "type": "integer"
198
+ }
199
+ }
200
+ }
201
+ },
202
+ "units": {
203
+ "$schema": "http://json-schema.org/draft-07/schema#",
204
+ "title": "basis units enum",
205
+ "enum": [
206
+ "crystal",
207
+ "cartesian"
208
+ ],
209
+ "default": "crystal"
210
+ },
211
+ "labels": {
212
+ "$schema": "http://json-schema.org/draft-07/schema#",
213
+ "title": "atomic labels schema",
214
+ "description": "atomic labels schema",
215
+ "type": "array",
216
+ "items": {
217
+ "$schema": "http://json-schema.org/draft-07/schema#",
218
+ "title": "atomic label schema",
219
+ "description": "Optional label (e.g., 1, 2, as in Fe1, Fe2) to distinguish species, e.g. to have magnetic moment.",
220
+ "type": "object",
221
+ "required": [
222
+ "id",
223
+ "value"
224
+ ],
225
+ "properties": {
226
+ "value": {
227
+ "anyOf": [
228
+ {
229
+ "type": [
230
+ "integer",
231
+ "string",
232
+ "number"
233
+ ]
234
+ },
235
+ {
236
+ "$schema": "http://json-schema.org/draft-07/schema#",
237
+ "title": "integer positive single digit",
238
+ "type": "integer",
239
+ "minimum": 1,
240
+ "maximum": 9
241
+ }
242
+ ],
243
+ "description": "value of this entry"
244
+ },
245
+ "id": {
246
+ "description": "integer id of this entry",
247
+ "type": "integer"
248
+ }
249
+ }
250
+ }
251
+ },
252
+ "constraints": {
253
+ "$schema": "http://json-schema.org/draft-07/schema#",
254
+ "title": "atomic constraints schema",
255
+ "description": "atomic constraints schema",
256
+ "type": "array",
257
+ "items": {
258
+ "$schema": "http://json-schema.org/draft-07/schema#",
259
+ "title": "atomic constraint schema",
260
+ "description": "constraint of atoms by ids, used to constraint the position etc.",
261
+ "type": "object",
262
+ "required": [
263
+ "id",
264
+ "value"
265
+ ],
266
+ "properties": {
267
+ "value": {
268
+ "$schema": "http://json-schema.org/draft-07/schema#",
269
+ "title": "vector boolean 3d schema",
270
+ "oneOf": [
271
+ {
272
+ "$schema": "http://json-schema.org/draft-07/schema#",
273
+ "title": "array of 3 boolean elements schema",
274
+ "type": "array",
275
+ "items": {
276
+ "type": "boolean"
277
+ },
278
+ "minItems": 3,
279
+ "maxItems": 3
280
+ }
281
+ ],
282
+ "description": "value of this entry"
283
+ },
284
+ "id": {
285
+ "description": "integer id of this entry",
286
+ "type": "integer"
287
+ }
288
+ }
289
+ }
290
+ }
291
+ }
292
+ }