@mat3ra/esse 2026.5.30-0 → 2026.6.12-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 (38) hide show
  1. package/dist/js/example/core/reusable/formation_energy_contribution.json +9 -0
  2. package/dist/js/example/properties_directory/non_scalar/formation_energy_contributions.json +32 -0
  3. package/dist/js/schema/core/reusable/formation_energy_contribution.json +53 -0
  4. package/dist/js/schema/job.json +15 -28
  5. package/dist/js/schema/properties_directory/enum_options.json +8 -1
  6. package/dist/js/schema/properties_directory/non_scalar/formation_energy_contributions.json +73 -0
  7. package/dist/js/schema/properties_directory/non_scalar/workflow.json +15 -28
  8. package/dist/js/schema/property/holder.json +87 -28
  9. package/dist/js/schema/software_directory/modeling/unit/execution.json +15 -28
  10. package/dist/js/schema/software_directory/scripting/unit/execution.json +15 -28
  11. package/dist/js/schema/workflow/base.json +15 -28
  12. package/dist/js/schema/workflow/subworkflow/mixin.json +15 -28
  13. package/dist/js/schema/workflow/subworkflow/unit.json +15 -28
  14. package/dist/js/schema/workflow/subworkflow.json +15 -28
  15. package/dist/js/schema/workflow/unit/context/_extra_data_material_hash.json +2 -4
  16. package/dist/js/schema/workflow/unit/context/item/boundaryConditions.json +2 -4
  17. package/dist/js/schema/workflow/unit/context/item/collinearMagnetization.json +2 -4
  18. package/dist/js/schema/workflow/unit/context/item/grid.json +2 -4
  19. package/dist/js/schema/workflow/unit/context/item/hubbard_u.json +2 -4
  20. package/dist/js/schema/workflow/unit/context/item/input.json +2 -4
  21. package/dist/js/schema/workflow/unit/context/item/nonCollinearMagnetization.json +2 -4
  22. package/dist/js/schema/workflow/unit/context/item/path.json +2 -4
  23. package/dist/js/schema/workflow/unit/context/item.json +14 -28
  24. package/dist/js/schema/workflow/unit/execution.json +15 -28
  25. package/dist/js/schema/workflow/unit/mixins/execution.json +15 -28
  26. package/dist/js/schema/workflow.json +15 -28
  27. package/dist/js/schemas.json +1 -1
  28. package/dist/js/types.d.ts +505 -100
  29. package/example/core/reusable/formation_energy_contribution.json +9 -0
  30. package/example/properties_directory/non-scalar/formation_energy_contributions.json +32 -0
  31. package/manifest/properties.yaml +5 -0
  32. package/package.json +1 -1
  33. package/schema/core/reusable/formation_energy_contribution.json +53 -0
  34. package/schema/properties_directory/enum_options.json +8 -1
  35. package/schema/properties_directory/non-scalar/formation_energy_contributions.json +24 -0
  36. package/schema/property/holder.json +3 -0
  37. package/schema/workflow/unit/context/_extra_data_material_hash.json +3 -5
  38. package/schema/workflow/unit/mixins/execution.json +1 -0
@@ -0,0 +1,9 @@
1
+ {
2
+ "formula": "SiC",
3
+ "n_atoms": 4,
4
+ "is_elemental": false,
5
+ "total_energy": -520.004,
6
+ "total_energy_per_atom": -130.001,
7
+ "precision_value": 8192,
8
+ "precision_metric": "KPPRA"
9
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "formation_energy_contributions",
3
+ "values": [
4
+ {
5
+ "formula": "SiC",
6
+ "n_atoms": 4,
7
+ "is_elemental": false,
8
+ "total_energy": -520.003969643439,
9
+ "total_energy_per_atom": -130.00099241085975,
10
+ "precision_value": 8192,
11
+ "precision_metric": "KPPRA"
12
+ },
13
+ {
14
+ "formula": "Si",
15
+ "n_atoms": 2,
16
+ "is_elemental": true,
17
+ "total_energy": -261.003969643439,
18
+ "total_energy_per_atom": -130.5019848217195,
19
+ "precision_value": 8192,
20
+ "precision_metric": "KPPRA"
21
+ },
22
+ {
23
+ "formula": "C",
24
+ "n_atoms": 2,
25
+ "is_elemental": true,
26
+ "total_energy": -321.003969643439,
27
+ "total_energy_per_atom": -160.5019848217195,
28
+ "precision_value": 8000,
29
+ "precision_metric": "KPPRA"
30
+ }
31
+ ]
32
+ }
@@ -129,6 +129,11 @@ total_energy_contributions:
129
129
  schemaId: properties-directory/non-scalar/total-energy-contributions
130
130
  isResult: true
131
131
 
132
+ formation_energy_contributions:
133
+ defaults:
134
+ schemaId: properties-directory/non-scalar/formation-energy-contributions
135
+ isResult: true
136
+
132
137
  band_gaps:
133
138
  types:
134
139
  - direct
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mat3ra/esse",
3
- "version": "2026.5.30-0",
3
+ "version": "2026.6.12-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",
@@ -0,0 +1,53 @@
1
+ {
2
+ "$id": "core/reusable/formation-energy-contribution",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Formation energy contribution schema",
5
+ "description": "Total energy contribution of one material used in formation energy calculation.",
6
+ "type": "object",
7
+ "properties": {
8
+ "formula": {
9
+ "description": "formula or label for the material used in the formation energy calculation",
10
+ "type": "string"
11
+ },
12
+ "n_atoms": {
13
+ "description": "number of atoms in the material",
14
+ "type": "integer"
15
+ },
16
+ "is_elemental": {
17
+ "description": "whether the material is an elemental reference",
18
+ "type": "boolean"
19
+ },
20
+ "total_energy": {
21
+ "description": "total energy of the material",
22
+ "type": "number"
23
+ },
24
+ "total_energy_per_atom": {
25
+ "description": "total energy per atom of the material",
26
+ "type": "number"
27
+ },
28
+ "precision_value": {
29
+ "description": "precision value for the total energy property",
30
+ "type": "number",
31
+ "default": -1
32
+ },
33
+ "precision_metric": {
34
+ "description": "metric used to report total energy precision",
35
+ "type": "string",
36
+ "enum": [
37
+ "unknown",
38
+ "KPPRA",
39
+ "spacing"
40
+ ],
41
+ "default": "unknown"
42
+ }
43
+ },
44
+ "required": [
45
+ "formula",
46
+ "n_atoms",
47
+ "is_elemental",
48
+ "total_energy",
49
+ "total_energy_per_atom",
50
+ "precision_metric",
51
+ "precision_value"
52
+ ]
53
+ }
@@ -15,7 +15,8 @@
15
15
  "scalar",
16
16
  "non-scalar",
17
17
  "tensor",
18
- "object"
18
+ "object",
19
+ "array-of-objects"
19
20
  ]
20
21
  },
21
22
  "ScalarPropertyEnum": {
@@ -77,6 +78,12 @@
77
78
  "total_energy_contributions"
78
79
  ]
79
80
  },
81
+ "ArrayOfObjectsPropertyEnum": {
82
+ "type": "string",
83
+ "enum": [
84
+ "formation_energy_contributions"
85
+ ]
86
+ },
80
87
  "ProtoPropertyEnum": {
81
88
  "type": "string",
82
89
  "enum": [
@@ -0,0 +1,24 @@
1
+ {
2
+ "$id": "properties-directory/non-scalar/formation-energy-contributions",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Formation energy contributions property schema",
5
+ "description": "Elemental reference total energies used to calculate formation energy.",
6
+ "type": "object",
7
+ "properties": {
8
+ "name": {
9
+ "enum": [
10
+ "formation_energy_contributions"
11
+ ]
12
+ },
13
+ "values": {
14
+ "type": "array",
15
+ "items": {
16
+ "$ref": "../../core/reusable/formation_energy_contribution.json"
17
+ }
18
+ }
19
+ },
20
+ "required": [
21
+ "name",
22
+ "values"
23
+ ]
24
+ }
@@ -75,6 +75,9 @@
75
75
  {
76
76
  "$ref": "../properties_directory/non-scalar/total_energy_contributions.json"
77
77
  },
78
+ {
79
+ "$ref": "../properties_directory/non-scalar/formation_energy_contributions.json"
80
+ },
78
81
  {
79
82
  "$ref": "../properties_directory/non-scalar/phonon_dos.json"
80
83
  },
@@ -5,10 +5,8 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "materialHash": {
8
- "type": "string"
8
+ "type": "string",
9
+ "description": "UI only property used to track material change for re-render"
9
10
  }
10
- },
11
- "required": [
12
- "materialHash"
13
- ]
11
+ }
14
12
  }
@@ -33,6 +33,7 @@
33
33
  },
34
34
  "context": {
35
35
  "type": "array",
36
+ "default": [],
36
37
  "items": {
37
38
  "$ref": "../context/item.json"
38
39
  }