@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
@@ -210,8 +210,7 @@
210
210
  "preProcessors",
211
211
  "results",
212
212
  "source",
213
- "subtype",
214
- "type"
213
+ "subtype"
215
214
  ],
216
215
  "properties": {
217
216
  "_id": {
@@ -326,17 +325,6 @@
326
325
  "type": "string"
327
326
  }
328
327
  },
329
- "status": {
330
- "type": "string",
331
- "description": "Status of the unit.",
332
- "enum": [
333
- "idle",
334
- "active",
335
- "warning",
336
- "error",
337
- "finished"
338
- ]
339
- },
340
328
  "statusTrack": {
341
329
  "type": "array",
342
330
  "items": {
@@ -361,11 +349,6 @@
361
349
  "isDraft": {
362
350
  "type": "boolean"
363
351
  },
364
- "type": {
365
- "description": "type of the unit",
366
- "type": "string",
367
- "const": "io"
368
- },
369
352
  "head": {
370
353
  "description": "Whether this unit is the first one to be executed.",
371
354
  "type": "boolean"
@@ -382,6 +365,20 @@
382
365
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
383
366
  "type": "boolean"
384
367
  },
368
+ "status": {
369
+ "description": "Status of the unit.",
370
+ "type": "string",
371
+ "enum": [
372
+ "idle",
373
+ "active",
374
+ "warning",
375
+ "error",
376
+ "finished"
377
+ ]
378
+ },
379
+ "type": {
380
+ "const": "io"
381
+ },
385
382
  "subtype": {
386
383
  "enum": [
387
384
  "input",
@@ -514,8 +511,7 @@
514
511
  "preProcessors",
515
512
  "results",
516
513
  "statement",
517
- "then",
518
- "type"
514
+ "then"
519
515
  ],
520
516
  "properties": {
521
517
  "_id": {
@@ -630,17 +626,6 @@
630
626
  "type": "string"
631
627
  }
632
628
  },
633
- "status": {
634
- "type": "string",
635
- "description": "Status of the unit.",
636
- "enum": [
637
- "idle",
638
- "active",
639
- "warning",
640
- "error",
641
- "finished"
642
- ]
643
- },
644
629
  "statusTrack": {
645
630
  "type": "array",
646
631
  "items": {
@@ -665,11 +650,6 @@
665
650
  "isDraft": {
666
651
  "type": "boolean"
667
652
  },
668
- "type": {
669
- "description": "type of the unit",
670
- "type": "string",
671
- "const": "condition"
672
- },
673
653
  "head": {
674
654
  "description": "Whether this unit is the first one to be executed.",
675
655
  "type": "boolean"
@@ -686,6 +666,20 @@
686
666
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
687
667
  "type": "boolean"
688
668
  },
669
+ "status": {
670
+ "description": "Status of the unit.",
671
+ "type": "string",
672
+ "enum": [
673
+ "idle",
674
+ "active",
675
+ "warning",
676
+ "error",
677
+ "finished"
678
+ ]
679
+ },
680
+ "type": {
681
+ "const": "condition"
682
+ },
689
683
  "input": {
690
684
  "description": "Input information for condition.",
691
685
  "type": "array",
@@ -742,8 +736,7 @@
742
736
  "postProcessors",
743
737
  "preProcessors",
744
738
  "results",
745
- "statement",
746
- "type"
739
+ "statement"
747
740
  ],
748
741
  "properties": {
749
742
  "_id": {
@@ -858,17 +851,6 @@
858
851
  "type": "string"
859
852
  }
860
853
  },
861
- "status": {
862
- "type": "string",
863
- "description": "Status of the unit.",
864
- "enum": [
865
- "idle",
866
- "active",
867
- "warning",
868
- "error",
869
- "finished"
870
- ]
871
- },
872
854
  "statusTrack": {
873
855
  "type": "array",
874
856
  "items": {
@@ -893,11 +875,6 @@
893
875
  "isDraft": {
894
876
  "type": "boolean"
895
877
  },
896
- "type": {
897
- "description": "type of the unit",
898
- "type": "string",
899
- "const": "assertion"
900
- },
901
878
  "head": {
902
879
  "description": "Whether this unit is the first one to be executed.",
903
880
  "type": "boolean"
@@ -914,6 +891,20 @@
914
891
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
915
892
  "type": "boolean"
916
893
  },
894
+ "status": {
895
+ "description": "Status of the unit.",
896
+ "type": "string",
897
+ "enum": [
898
+ "idle",
899
+ "active",
900
+ "warning",
901
+ "error",
902
+ "finished"
903
+ ]
904
+ },
905
+ "type": {
906
+ "const": "assertion"
907
+ },
917
908
  "statement": {
918
909
  "type": "string",
919
910
  "description": "The statement to be evaluated"
@@ -1055,17 +1046,6 @@
1055
1046
  "type": "string"
1056
1047
  }
1057
1048
  },
1058
- "status": {
1059
- "type": "string",
1060
- "description": "Status of the unit.",
1061
- "enum": [
1062
- "idle",
1063
- "active",
1064
- "warning",
1065
- "error",
1066
- "finished"
1067
- ]
1068
- },
1069
1049
  "statusTrack": {
1070
1050
  "type": "array",
1071
1051
  "items": {
@@ -1090,11 +1070,6 @@
1090
1070
  "isDraft": {
1091
1071
  "type": "boolean"
1092
1072
  },
1093
- "type": {
1094
- "description": "type of the unit",
1095
- "type": "string",
1096
- "const": "execution"
1097
- },
1098
1073
  "head": {
1099
1074
  "description": "Whether this unit is the first one to be executed.",
1100
1075
  "type": "boolean"
@@ -1111,6 +1086,20 @@
1111
1086
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
1112
1087
  "type": "boolean"
1113
1088
  },
1089
+ "status": {
1090
+ "description": "Status of the unit.",
1091
+ "type": "string",
1092
+ "enum": [
1093
+ "idle",
1094
+ "active",
1095
+ "warning",
1096
+ "error",
1097
+ "finished"
1098
+ ]
1099
+ },
1100
+ "type": {
1101
+ "const": "execution"
1102
+ },
1114
1103
  "application": {
1115
1104
  "$schema": "http://json-schema.org/draft-07/schema#",
1116
1105
  "title": "application schema",
@@ -3091,7 +3080,6 @@
3091
3080
  "postProcessors",
3092
3081
  "preProcessors",
3093
3082
  "results",
3094
- "type",
3095
3083
  "value"
3096
3084
  ],
3097
3085
  "properties": {
@@ -3207,17 +3195,6 @@
3207
3195
  "type": "string"
3208
3196
  }
3209
3197
  },
3210
- "status": {
3211
- "type": "string",
3212
- "description": "Status of the unit.",
3213
- "enum": [
3214
- "idle",
3215
- "active",
3216
- "warning",
3217
- "error",
3218
- "finished"
3219
- ]
3220
- },
3221
3198
  "statusTrack": {
3222
3199
  "type": "array",
3223
3200
  "items": {
@@ -3242,11 +3219,6 @@
3242
3219
  "isDraft": {
3243
3220
  "type": "boolean"
3244
3221
  },
3245
- "type": {
3246
- "description": "type of the unit",
3247
- "type": "string",
3248
- "const": "assignment"
3249
- },
3250
3222
  "head": {
3251
3223
  "description": "Whether this unit is the first one to be executed.",
3252
3224
  "type": "boolean"
@@ -3263,9 +3235,23 @@
3263
3235
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
3264
3236
  "type": "boolean"
3265
3237
  },
3238
+ "status": {
3239
+ "description": "Status of the unit.",
3240
+ "type": "string",
3241
+ "enum": [
3242
+ "idle",
3243
+ "active",
3244
+ "warning",
3245
+ "error",
3246
+ "finished"
3247
+ ]
3248
+ },
3266
3249
  "scope": {
3267
3250
  "type": "string"
3268
3251
  },
3252
+ "type": {
3253
+ "const": "assignment"
3254
+ },
3269
3255
  "input": {
3270
3256
  "description": "Input information for assignment. if omitted, means that it is an initialization unit, otherwise it is an assignment.",
3271
3257
  "type": "array",
@@ -3320,8 +3306,7 @@
3320
3306
  "postProcessors",
3321
3307
  "preProcessors",
3322
3308
  "reason",
3323
- "results",
3324
- "type"
3309
+ "results"
3325
3310
  ],
3326
3311
  "properties": {
3327
3312
  "_id": {
@@ -3436,17 +3421,6 @@
3436
3421
  "type": "string"
3437
3422
  }
3438
3423
  },
3439
- "status": {
3440
- "type": "string",
3441
- "description": "Status of the unit.",
3442
- "enum": [
3443
- "idle",
3444
- "active",
3445
- "warning",
3446
- "error",
3447
- "finished"
3448
- ]
3449
- },
3450
3424
  "statusTrack": {
3451
3425
  "type": "array",
3452
3426
  "items": {
@@ -3471,11 +3445,6 @@
3471
3445
  "isDraft": {
3472
3446
  "type": "boolean"
3473
3447
  },
3474
- "type": {
3475
- "description": "type of the unit",
3476
- "type": "string",
3477
- "const": "error"
3478
- },
3479
3448
  "head": {
3480
3449
  "description": "Whether this unit is the first one to be executed.",
3481
3450
  "type": "boolean"
@@ -3492,6 +3461,20 @@
3492
3461
  "description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
3493
3462
  "type": "boolean"
3494
3463
  },
3464
+ "status": {
3465
+ "description": "Status of the unit.",
3466
+ "type": "string",
3467
+ "enum": [
3468
+ "idle",
3469
+ "active",
3470
+ "warning",
3471
+ "error",
3472
+ "finished"
3473
+ ]
3474
+ },
3475
+ "type": {
3476
+ "const": "error"
3477
+ },
3495
3478
  "reason": {
3496
3479
  "type": "string",
3497
3480
  "description": "JSON string with validation/hydration details: { error, json, schema }"