@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.00099241085974,
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
+ }
@@ -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
+ "required": [
8
+ "formula",
9
+ "n_atoms",
10
+ "is_elemental",
11
+ "total_energy",
12
+ "total_energy_per_atom",
13
+ "precision_metric",
14
+ "precision_value"
15
+ ],
16
+ "properties": {
17
+ "formula": {
18
+ "description": "formula or label for the material used in the formation energy calculation",
19
+ "type": "string"
20
+ },
21
+ "n_atoms": {
22
+ "description": "number of atoms in the material",
23
+ "type": "integer"
24
+ },
25
+ "is_elemental": {
26
+ "description": "whether the material is an elemental reference",
27
+ "type": "boolean"
28
+ },
29
+ "total_energy": {
30
+ "description": "total energy of the material",
31
+ "type": "number"
32
+ },
33
+ "total_energy_per_atom": {
34
+ "description": "total energy per atom of the material",
35
+ "type": "number"
36
+ },
37
+ "precision_value": {
38
+ "description": "precision value for the total energy property",
39
+ "type": "number",
40
+ "default": -1
41
+ },
42
+ "precision_metric": {
43
+ "description": "metric used to report total energy precision",
44
+ "type": "string",
45
+ "enum": [
46
+ "unknown",
47
+ "KPPRA",
48
+ "spacing"
49
+ ],
50
+ "default": "unknown"
51
+ }
52
+ }
53
+ }
@@ -1761,6 +1761,7 @@
1761
1761
  },
1762
1762
  "context": {
1763
1763
  "type": "array",
1764
+ "default": [],
1764
1765
  "items": {
1765
1766
  "$schema": "http://json-schema.org/draft-07/schema#",
1766
1767
  "title": "context item schema",
@@ -2462,12 +2463,10 @@
2462
2463
  "$schema": "http://json-schema.org/draft-07/schema#",
2463
2464
  "title": "extraData with materialHash schema",
2464
2465
  "type": "object",
2465
- "required": [
2466
- "materialHash"
2467
- ],
2468
2466
  "properties": {
2469
2467
  "materialHash": {
2470
- "type": "string"
2468
+ "type": "string",
2469
+ "description": "UI only property used to track material change for re-render"
2471
2470
  }
2472
2471
  }
2473
2472
  },
@@ -2598,12 +2597,10 @@
2598
2597
  "$schema": "http://json-schema.org/draft-07/schema#",
2599
2598
  "title": "extraData with materialHash schema",
2600
2599
  "type": "object",
2601
- "required": [
2602
- "materialHash"
2603
- ],
2604
2600
  "properties": {
2605
2601
  "materialHash": {
2606
- "type": "string"
2602
+ "type": "string",
2603
+ "description": "UI only property used to track material change for re-render"
2607
2604
  }
2608
2605
  }
2609
2606
  },
@@ -2659,12 +2656,10 @@
2659
2656
  "$schema": "http://json-schema.org/draft-07/schema#",
2660
2657
  "title": "extraData with materialHash schema",
2661
2658
  "type": "object",
2662
- "required": [
2663
- "materialHash"
2664
- ],
2665
2659
  "properties": {
2666
2660
  "materialHash": {
2667
- "type": "string"
2661
+ "type": "string",
2662
+ "description": "UI only property used to track material change for re-render"
2668
2663
  }
2669
2664
  }
2670
2665
  },
@@ -2773,12 +2768,10 @@
2773
2768
  "$schema": "http://json-schema.org/draft-07/schema#",
2774
2769
  "title": "extraData with materialHash schema",
2775
2770
  "type": "object",
2776
- "required": [
2777
- "materialHash"
2778
- ],
2779
2771
  "properties": {
2780
2772
  "materialHash": {
2781
- "type": "string"
2773
+ "type": "string",
2774
+ "description": "UI only property used to track material change for re-render"
2782
2775
  }
2783
2776
  }
2784
2777
  },
@@ -2980,12 +2973,10 @@
2980
2973
  "$schema": "http://json-schema.org/draft-07/schema#",
2981
2974
  "title": "extraData with materialHash schema",
2982
2975
  "type": "object",
2983
- "required": [
2984
- "materialHash"
2985
- ],
2986
2976
  "properties": {
2987
2977
  "materialHash": {
2988
- "type": "string"
2978
+ "type": "string",
2979
+ "description": "UI only property used to track material change for re-render"
2989
2980
  }
2990
2981
  }
2991
2982
  },
@@ -3186,12 +3177,10 @@
3186
3177
  "$schema": "http://json-schema.org/draft-07/schema#",
3187
3178
  "title": "extraData with materialHash schema",
3188
3179
  "type": "object",
3189
- "required": [
3190
- "materialHash"
3191
- ],
3192
3180
  "properties": {
3193
3181
  "materialHash": {
3194
- "type": "string"
3182
+ "type": "string",
3183
+ "description": "UI only property used to track material change for re-render"
3195
3184
  }
3196
3185
  }
3197
3186
  },
@@ -3335,12 +3324,10 @@
3335
3324
  "$schema": "http://json-schema.org/draft-07/schema#",
3336
3325
  "title": "extraData with materialHash schema",
3337
3326
  "type": "object",
3338
- "required": [
3339
- "materialHash"
3340
- ],
3341
3327
  "properties": {
3342
3328
  "materialHash": {
3343
- "type": "string"
3329
+ "type": "string",
3330
+ "description": "UI only property used to track material change for re-render"
3344
3331
  }
3345
3332
  }
3346
3333
  },
@@ -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,73 @@
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
+ "required": [
8
+ "name",
9
+ "values"
10
+ ],
11
+ "properties": {
12
+ "name": {
13
+ "enum": [
14
+ "formation_energy_contributions"
15
+ ]
16
+ },
17
+ "values": {
18
+ "type": "array",
19
+ "items": {
20
+ "$schema": "http://json-schema.org/draft-07/schema#",
21
+ "title": "Formation energy contribution schema",
22
+ "description": "Total energy contribution of one material used in formation energy calculation.",
23
+ "type": "object",
24
+ "required": [
25
+ "formula",
26
+ "n_atoms",
27
+ "is_elemental",
28
+ "total_energy",
29
+ "total_energy_per_atom",
30
+ "precision_metric",
31
+ "precision_value"
32
+ ],
33
+ "properties": {
34
+ "formula": {
35
+ "description": "formula or label for the material used in the formation energy calculation",
36
+ "type": "string"
37
+ },
38
+ "n_atoms": {
39
+ "description": "number of atoms in the material",
40
+ "type": "integer"
41
+ },
42
+ "is_elemental": {
43
+ "description": "whether the material is an elemental reference",
44
+ "type": "boolean"
45
+ },
46
+ "total_energy": {
47
+ "description": "total energy of the material",
48
+ "type": "number"
49
+ },
50
+ "total_energy_per_atom": {
51
+ "description": "total energy per atom of the material",
52
+ "type": "number"
53
+ },
54
+ "precision_value": {
55
+ "description": "precision value for the total energy property",
56
+ "type": "number",
57
+ "default": -1
58
+ },
59
+ "precision_metric": {
60
+ "description": "metric used to report total energy precision",
61
+ "type": "string",
62
+ "enum": [
63
+ "unknown",
64
+ "KPPRA",
65
+ "spacing"
66
+ ],
67
+ "default": "unknown"
68
+ }
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
@@ -1752,6 +1752,7 @@
1752
1752
  },
1753
1753
  "context": {
1754
1754
  "type": "array",
1755
+ "default": [],
1755
1756
  "items": {
1756
1757
  "$schema": "http://json-schema.org/draft-07/schema#",
1757
1758
  "title": "context item schema",
@@ -2453,12 +2454,10 @@
2453
2454
  "$schema": "http://json-schema.org/draft-07/schema#",
2454
2455
  "title": "extraData with materialHash schema",
2455
2456
  "type": "object",
2456
- "required": [
2457
- "materialHash"
2458
- ],
2459
2457
  "properties": {
2460
2458
  "materialHash": {
2461
- "type": "string"
2459
+ "type": "string",
2460
+ "description": "UI only property used to track material change for re-render"
2462
2461
  }
2463
2462
  }
2464
2463
  },
@@ -2589,12 +2588,10 @@
2589
2588
  "$schema": "http://json-schema.org/draft-07/schema#",
2590
2589
  "title": "extraData with materialHash schema",
2591
2590
  "type": "object",
2592
- "required": [
2593
- "materialHash"
2594
- ],
2595
2591
  "properties": {
2596
2592
  "materialHash": {
2597
- "type": "string"
2593
+ "type": "string",
2594
+ "description": "UI only property used to track material change for re-render"
2598
2595
  }
2599
2596
  }
2600
2597
  },
@@ -2650,12 +2647,10 @@
2650
2647
  "$schema": "http://json-schema.org/draft-07/schema#",
2651
2648
  "title": "extraData with materialHash schema",
2652
2649
  "type": "object",
2653
- "required": [
2654
- "materialHash"
2655
- ],
2656
2650
  "properties": {
2657
2651
  "materialHash": {
2658
- "type": "string"
2652
+ "type": "string",
2653
+ "description": "UI only property used to track material change for re-render"
2659
2654
  }
2660
2655
  }
2661
2656
  },
@@ -2764,12 +2759,10 @@
2764
2759
  "$schema": "http://json-schema.org/draft-07/schema#",
2765
2760
  "title": "extraData with materialHash schema",
2766
2761
  "type": "object",
2767
- "required": [
2768
- "materialHash"
2769
- ],
2770
2762
  "properties": {
2771
2763
  "materialHash": {
2772
- "type": "string"
2764
+ "type": "string",
2765
+ "description": "UI only property used to track material change for re-render"
2773
2766
  }
2774
2767
  }
2775
2768
  },
@@ -2971,12 +2964,10 @@
2971
2964
  "$schema": "http://json-schema.org/draft-07/schema#",
2972
2965
  "title": "extraData with materialHash schema",
2973
2966
  "type": "object",
2974
- "required": [
2975
- "materialHash"
2976
- ],
2977
2967
  "properties": {
2978
2968
  "materialHash": {
2979
- "type": "string"
2969
+ "type": "string",
2970
+ "description": "UI only property used to track material change for re-render"
2980
2971
  }
2981
2972
  }
2982
2973
  },
@@ -3177,12 +3168,10 @@
3177
3168
  "$schema": "http://json-schema.org/draft-07/schema#",
3178
3169
  "title": "extraData with materialHash schema",
3179
3170
  "type": "object",
3180
- "required": [
3181
- "materialHash"
3182
- ],
3183
3171
  "properties": {
3184
3172
  "materialHash": {
3185
- "type": "string"
3173
+ "type": "string",
3174
+ "description": "UI only property used to track material change for re-render"
3186
3175
  }
3187
3176
  }
3188
3177
  },
@@ -3326,12 +3315,10 @@
3326
3315
  "$schema": "http://json-schema.org/draft-07/schema#",
3327
3316
  "title": "extraData with materialHash schema",
3328
3317
  "type": "object",
3329
- "required": [
3330
- "materialHash"
3331
- ],
3332
3318
  "properties": {
3333
3319
  "materialHash": {
3334
- "type": "string"
3320
+ "type": "string",
3321
+ "description": "UI only property used to track material change for re-render"
3335
3322
  }
3336
3323
  }
3337
3324
  },
@@ -1254,6 +1254,78 @@
1254
1254
  "name"
1255
1255
  ]
1256
1256
  },
1257
+ {
1258
+ "$schema": "http://json-schema.org/draft-07/schema#",
1259
+ "title": "Formation energy contributions property schema",
1260
+ "description": "Elemental reference total energies used to calculate formation energy.",
1261
+ "type": "object",
1262
+ "properties": {
1263
+ "name": {
1264
+ "enum": [
1265
+ "formation_energy_contributions"
1266
+ ]
1267
+ },
1268
+ "values": {
1269
+ "type": "array",
1270
+ "items": {
1271
+ "$schema": "http://json-schema.org/draft-07/schema#",
1272
+ "title": "Formation energy contribution schema",
1273
+ "description": "Total energy contribution of one material used in formation energy calculation.",
1274
+ "type": "object",
1275
+ "required": [
1276
+ "formula",
1277
+ "n_atoms",
1278
+ "is_elemental",
1279
+ "total_energy",
1280
+ "total_energy_per_atom",
1281
+ "precision_metric",
1282
+ "precision_value"
1283
+ ],
1284
+ "properties": {
1285
+ "formula": {
1286
+ "description": "formula or label for the material used in the formation energy calculation",
1287
+ "type": "string"
1288
+ },
1289
+ "n_atoms": {
1290
+ "description": "number of atoms in the material",
1291
+ "type": "integer"
1292
+ },
1293
+ "is_elemental": {
1294
+ "description": "whether the material is an elemental reference",
1295
+ "type": "boolean"
1296
+ },
1297
+ "total_energy": {
1298
+ "description": "total energy of the material",
1299
+ "type": "number"
1300
+ },
1301
+ "total_energy_per_atom": {
1302
+ "description": "total energy per atom of the material",
1303
+ "type": "number"
1304
+ },
1305
+ "precision_value": {
1306
+ "description": "precision value for the total energy property",
1307
+ "type": "number",
1308
+ "default": -1
1309
+ },
1310
+ "precision_metric": {
1311
+ "description": "metric used to report total energy precision",
1312
+ "type": "string",
1313
+ "enum": [
1314
+ "unknown",
1315
+ "KPPRA",
1316
+ "spacing"
1317
+ ],
1318
+ "default": "unknown"
1319
+ }
1320
+ }
1321
+ }
1322
+ }
1323
+ },
1324
+ "required": [
1325
+ "name",
1326
+ "values"
1327
+ ]
1328
+ },
1257
1329
  {
1258
1330
  "$schema": "http://json-schema.org/draft-07/schema#",
1259
1331
  "title": "Phonon density of states property schema",
@@ -4074,6 +4146,7 @@
4074
4146
  },
4075
4147
  "context": {
4076
4148
  "type": "array",
4149
+ "default": [],
4077
4150
  "items": {
4078
4151
  "$schema": "http://json-schema.org/draft-07/schema#",
4079
4152
  "title": "context item schema",
@@ -4775,12 +4848,10 @@
4775
4848
  "$schema": "http://json-schema.org/draft-07/schema#",
4776
4849
  "title": "extraData with materialHash schema",
4777
4850
  "type": "object",
4778
- "required": [
4779
- "materialHash"
4780
- ],
4781
4851
  "properties": {
4782
4852
  "materialHash": {
4783
- "type": "string"
4853
+ "type": "string",
4854
+ "description": "UI only property used to track material change for re-render"
4784
4855
  }
4785
4856
  }
4786
4857
  },
@@ -4911,12 +4982,10 @@
4911
4982
  "$schema": "http://json-schema.org/draft-07/schema#",
4912
4983
  "title": "extraData with materialHash schema",
4913
4984
  "type": "object",
4914
- "required": [
4915
- "materialHash"
4916
- ],
4917
4985
  "properties": {
4918
4986
  "materialHash": {
4919
- "type": "string"
4987
+ "type": "string",
4988
+ "description": "UI only property used to track material change for re-render"
4920
4989
  }
4921
4990
  }
4922
4991
  },
@@ -4972,12 +5041,10 @@
4972
5041
  "$schema": "http://json-schema.org/draft-07/schema#",
4973
5042
  "title": "extraData with materialHash schema",
4974
5043
  "type": "object",
4975
- "required": [
4976
- "materialHash"
4977
- ],
4978
5044
  "properties": {
4979
5045
  "materialHash": {
4980
- "type": "string"
5046
+ "type": "string",
5047
+ "description": "UI only property used to track material change for re-render"
4981
5048
  }
4982
5049
  }
4983
5050
  },
@@ -5086,12 +5153,10 @@
5086
5153
  "$schema": "http://json-schema.org/draft-07/schema#",
5087
5154
  "title": "extraData with materialHash schema",
5088
5155
  "type": "object",
5089
- "required": [
5090
- "materialHash"
5091
- ],
5092
5156
  "properties": {
5093
5157
  "materialHash": {
5094
- "type": "string"
5158
+ "type": "string",
5159
+ "description": "UI only property used to track material change for re-render"
5095
5160
  }
5096
5161
  }
5097
5162
  },
@@ -5293,12 +5358,10 @@
5293
5358
  "$schema": "http://json-schema.org/draft-07/schema#",
5294
5359
  "title": "extraData with materialHash schema",
5295
5360
  "type": "object",
5296
- "required": [
5297
- "materialHash"
5298
- ],
5299
5361
  "properties": {
5300
5362
  "materialHash": {
5301
- "type": "string"
5363
+ "type": "string",
5364
+ "description": "UI only property used to track material change for re-render"
5302
5365
  }
5303
5366
  }
5304
5367
  },
@@ -5499,12 +5562,10 @@
5499
5562
  "$schema": "http://json-schema.org/draft-07/schema#",
5500
5563
  "title": "extraData with materialHash schema",
5501
5564
  "type": "object",
5502
- "required": [
5503
- "materialHash"
5504
- ],
5505
5565
  "properties": {
5506
5566
  "materialHash": {
5507
- "type": "string"
5567
+ "type": "string",
5568
+ "description": "UI only property used to track material change for re-render"
5508
5569
  }
5509
5570
  }
5510
5571
  },
@@ -5648,12 +5709,10 @@
5648
5709
  "$schema": "http://json-schema.org/draft-07/schema#",
5649
5710
  "title": "extraData with materialHash schema",
5650
5711
  "type": "object",
5651
- "required": [
5652
- "materialHash"
5653
- ],
5654
5712
  "properties": {
5655
5713
  "materialHash": {
5656
- "type": "string"
5714
+ "type": "string",
5715
+ "description": "UI only property used to track material change for re-render"
5657
5716
  }
5658
5717
  }
5659
5718
  },