@mat3ra/esse 2026.5.27-0 → 2026.5.30-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 (36) hide show
  1. package/dist/js/esse/JSONSchemasInterface.js +1 -1
  2. package/dist/js/esse/JSONSchemasInterfaceServer.js +2 -3
  3. package/dist/js/esse/schemaUtils.js +1 -2
  4. package/dist/js/esse/server/utils.js +2 -3
  5. package/dist/js/esse/utils.js +2 -3
  6. package/dist/js/schema/job.json +121 -309
  7. package/dist/js/schema/models_directory/legacy/any.json +121 -309
  8. package/dist/js/schema/models_directory/legacy/dft.json +11 -189
  9. package/dist/js/schema/models_directory/legacy/dft_gga.json +61 -0
  10. package/dist/js/schema/models_directory/legacy/dft_hybrid.json +60 -0
  11. package/dist/js/schema/models_directory/legacy/dft_lda.json +61 -0
  12. package/dist/js/schema/properties_directory/enum_options.json +1 -0
  13. package/dist/js/schema/properties_directory/non_scalar/workflow.json +121 -309
  14. package/dist/js/schema/property/holder.json +163 -309
  15. package/dist/js/schema/workflow/base.json +121 -309
  16. package/dist/js/schema/workflow/subworkflow/mixin.json +121 -309
  17. package/dist/js/schema/workflow/subworkflow.json +121 -309
  18. package/dist/js/schema/workflow.json +121 -309
  19. package/dist/js/schemas.json +1 -1
  20. package/dist/js/scripts/compileTs.js +1 -1
  21. package/dist/js/scripts/setSchemaIds.js +1 -1
  22. package/dist/js/types.d.ts +43 -53
  23. package/dist/js/types.js +5 -5
  24. package/dist/js/utils/ajv.js +4 -5
  25. package/dist/js/utils/common.js +2 -3
  26. package/dist/js/utils/filesystem.js +2 -3
  27. package/manifest/properties.yaml +6 -0
  28. package/package.json +1 -1
  29. package/schema/models_directory/legacy/any.json +8 -2
  30. package/schema/models_directory/legacy/dft.json +8 -113
  31. package/schema/models_directory/legacy/dft_gga.json +31 -0
  32. package/schema/models_directory/legacy/dft_hybrid.json +30 -0
  33. package/schema/models_directory/legacy/dft_lda.json +31 -0
  34. package/schema/properties_directory/enum_options.json +2 -0
  35. package/schema/properties_directory/scalar/formation_energy.json +2 -1
  36. package/schema/property/holder.json +4 -0
@@ -3591,370 +3591,182 @@
3591
3591
  "oneOf": [
3592
3592
  {
3593
3593
  "$schema": "http://json-schema.org/draft-07/schema#",
3594
- "title": "DFT model schema",
3594
+ "title": "DFT LDA model schema",
3595
3595
  "type": "object",
3596
- "definitions": {
3597
- "lda": {
3598
- "required": [
3599
- "type",
3600
- "subtype",
3601
- "functional",
3602
- "method"
3603
- ],
3604
- "properties": {
3605
- "type": {
3606
- "const": "dft"
3607
- },
3608
- "subtype": {
3609
- "const": "lda"
3610
- },
3611
- "functional": {
3612
- "enum": [
3613
- "pz",
3614
- "pw",
3615
- "vwn",
3616
- "other"
3617
- ]
3618
- },
3619
- "method": {
3620
- "$schema": "http://json-schema.org/draft-07/schema#",
3621
- "title": "base method",
3622
- "type": "object",
3623
- "required": [
3624
- "type",
3625
- "subtype"
3626
- ],
3627
- "properties": {
3628
- "type": {
3629
- "description": "general type of this method, eg. `pseudopotential`",
3630
- "type": "string"
3631
- },
3632
- "subtype": {
3633
- "description": "general subtype of this method, eg. `ultra-soft`",
3634
- "type": "string"
3635
- },
3636
- "precision": {
3637
- "description": "Object showing the actual possible precision based on theory and implementation",
3638
- "type": "object"
3639
- },
3640
- "data": {
3641
- "description": "additional data specific to method, eg. array of pseudopotentials",
3642
- "type": "object",
3643
- "additionalProperties": true,
3644
- "properties": {
3645
- "searchText": {
3646
- "type": "string"
3647
- }
3648
- }
3649
- }
3650
- }
3651
- }
3652
- }
3596
+ "properties": {
3597
+ "type": {
3598
+ "const": "dft"
3599
+ },
3600
+ "subtype": {
3601
+ "const": "lda"
3602
+ },
3603
+ "functional": {
3604
+ "enum": [
3605
+ "pz",
3606
+ "pw",
3607
+ "vwn",
3608
+ "other"
3609
+ ]
3653
3610
  },
3654
- "gga": {
3611
+ "method": {
3612
+ "$schema": "http://json-schema.org/draft-07/schema#",
3613
+ "title": "base method",
3614
+ "type": "object",
3655
3615
  "required": [
3656
3616
  "type",
3657
- "subtype",
3658
- "functional",
3659
- "method"
3617
+ "subtype"
3660
3618
  ],
3661
3619
  "properties": {
3662
3620
  "type": {
3663
- "const": "dft"
3621
+ "description": "general type of this method, eg. `pseudopotential`",
3622
+ "type": "string"
3664
3623
  },
3665
3624
  "subtype": {
3666
- "const": "gga"
3625
+ "description": "general subtype of this method, eg. `ultra-soft`",
3626
+ "type": "string"
3667
3627
  },
3668
- "functional": {
3669
- "enum": [
3670
- "pbe",
3671
- "pbesol",
3672
- "pw91",
3673
- "other"
3674
- ]
3628
+ "precision": {
3629
+ "description": "Object showing the actual possible precision based on theory and implementation",
3630
+ "type": "object"
3675
3631
  },
3676
- "method": {
3677
- "$schema": "http://json-schema.org/draft-07/schema#",
3678
- "title": "base method",
3632
+ "data": {
3633
+ "description": "additional data specific to method, eg. array of pseudopotentials",
3679
3634
  "type": "object",
3680
- "required": [
3681
- "type",
3682
- "subtype"
3683
- ],
3635
+ "additionalProperties": true,
3684
3636
  "properties": {
3685
- "type": {
3686
- "description": "general type of this method, eg. `pseudopotential`",
3687
- "type": "string"
3688
- },
3689
- "subtype": {
3690
- "description": "general subtype of this method, eg. `ultra-soft`",
3637
+ "searchText": {
3691
3638
  "type": "string"
3692
- },
3693
- "precision": {
3694
- "description": "Object showing the actual possible precision based on theory and implementation",
3695
- "type": "object"
3696
- },
3697
- "data": {
3698
- "description": "additional data specific to method, eg. array of pseudopotentials",
3699
- "type": "object",
3700
- "additionalProperties": true,
3701
- "properties": {
3702
- "searchText": {
3703
- "type": "string"
3704
- }
3705
- }
3706
3639
  }
3707
3640
  }
3708
3641
  }
3709
3642
  }
3643
+ }
3644
+ },
3645
+ "required": [
3646
+ "type",
3647
+ "subtype",
3648
+ "functional",
3649
+ "method"
3650
+ ]
3651
+ },
3652
+ {
3653
+ "$schema": "http://json-schema.org/draft-07/schema#",
3654
+ "title": "DFT GGA model schema",
3655
+ "type": "object",
3656
+ "properties": {
3657
+ "type": {
3658
+ "const": "dft"
3710
3659
  },
3711
- "hybrid": {
3660
+ "subtype": {
3661
+ "const": "gga"
3662
+ },
3663
+ "functional": {
3664
+ "enum": [
3665
+ "pbe",
3666
+ "pbesol",
3667
+ "pw91",
3668
+ "other"
3669
+ ]
3670
+ },
3671
+ "method": {
3672
+ "$schema": "http://json-schema.org/draft-07/schema#",
3673
+ "title": "base method",
3674
+ "type": "object",
3712
3675
  "required": [
3713
3676
  "type",
3714
- "subtype",
3715
- "functional",
3716
- "method"
3677
+ "subtype"
3717
3678
  ],
3718
3679
  "properties": {
3719
3680
  "type": {
3720
- "const": "dft"
3681
+ "description": "general type of this method, eg. `pseudopotential`",
3682
+ "type": "string"
3721
3683
  },
3722
3684
  "subtype": {
3723
- "const": "hybrid"
3685
+ "description": "general subtype of this method, eg. `ultra-soft`",
3686
+ "type": "string"
3724
3687
  },
3725
- "functional": {
3726
- "enum": [
3727
- "b3lyp",
3728
- "hse06"
3729
- ]
3688
+ "precision": {
3689
+ "description": "Object showing the actual possible precision based on theory and implementation",
3690
+ "type": "object"
3730
3691
  },
3731
- "method": {
3732
- "$schema": "http://json-schema.org/draft-07/schema#",
3733
- "title": "base method",
3692
+ "data": {
3693
+ "description": "additional data specific to method, eg. array of pseudopotentials",
3734
3694
  "type": "object",
3735
- "required": [
3736
- "type",
3737
- "subtype"
3738
- ],
3695
+ "additionalProperties": true,
3739
3696
  "properties": {
3740
- "type": {
3741
- "description": "general type of this method, eg. `pseudopotential`",
3742
- "type": "string"
3743
- },
3744
- "subtype": {
3745
- "description": "general subtype of this method, eg. `ultra-soft`",
3697
+ "searchText": {
3746
3698
  "type": "string"
3747
- },
3748
- "precision": {
3749
- "description": "Object showing the actual possible precision based on theory and implementation",
3750
- "type": "object"
3751
- },
3752
- "data": {
3753
- "description": "additional data specific to method, eg. array of pseudopotentials",
3754
- "type": "object",
3755
- "additionalProperties": true,
3756
- "properties": {
3757
- "searchText": {
3758
- "type": "string"
3759
- }
3760
- }
3761
3699
  }
3762
3700
  }
3763
3701
  }
3764
3702
  }
3765
3703
  }
3766
3704
  },
3767
- "oneOf": [
3768
- {
3769
- "properties": {
3770
- "type": {
3771
- "const": "dft"
3772
- },
3773
- "subtype": {
3774
- "const": "lda"
3775
- },
3776
- "functional": {
3777
- "enum": [
3778
- "pz",
3779
- "pw",
3780
- "vwn",
3781
- "other"
3782
- ]
3783
- },
3784
- "method": {
3785
- "$schema": "http://json-schema.org/draft-07/schema#",
3786
- "title": "base method",
3787
- "type": "object",
3788
- "required": [
3789
- "type",
3790
- "subtype"
3791
- ],
3792
- "properties": {
3793
- "type": {
3794
- "description": "general type of this method, eg. `pseudopotential`",
3795
- "type": "string"
3796
- },
3797
- "subtype": {
3798
- "description": "general subtype of this method, eg. `ultra-soft`",
3799
- "type": "string"
3800
- },
3801
- "precision": {
3802
- "description": "Object showing the actual possible precision based on theory and implementation",
3803
- "type": "object"
3804
- },
3805
- "data": {
3806
- "description": "additional data specific to method, eg. array of pseudopotentials",
3807
- "type": "object",
3808
- "additionalProperties": true,
3809
- "properties": {
3810
- "searchText": {
3811
- "type": "string"
3812
- }
3813
- }
3814
- }
3815
- }
3816
- }
3817
- },
3818
- "required": [
3819
- "type",
3820
- "subtype",
3821
- "functional",
3822
- "method"
3705
+ "required": [
3706
+ "type",
3707
+ "subtype",
3708
+ "functional",
3709
+ "method"
3710
+ ]
3711
+ },
3712
+ {
3713
+ "$schema": "http://json-schema.org/draft-07/schema#",
3714
+ "title": "DFT hybrid model schema",
3715
+ "type": "object",
3716
+ "properties": {
3717
+ "type": {
3718
+ "const": "dft"
3719
+ },
3720
+ "subtype": {
3721
+ "const": "hybrid"
3722
+ },
3723
+ "functional": {
3724
+ "enum": [
3725
+ "b3lyp",
3726
+ "hse06",
3727
+ "other"
3823
3728
  ]
3824
3729
  },
3825
- {
3826
- "properties": {
3827
- "type": {
3828
- "const": "dft"
3829
- },
3830
- "subtype": {
3831
- "const": "gga"
3832
- },
3833
- "functional": {
3834
- "enum": [
3835
- "pbe",
3836
- "pbesol",
3837
- "pw91",
3838
- "other"
3839
- ]
3840
- },
3841
- "method": {
3842
- "$schema": "http://json-schema.org/draft-07/schema#",
3843
- "title": "base method",
3844
- "type": "object",
3845
- "required": [
3846
- "type",
3847
- "subtype"
3848
- ],
3849
- "properties": {
3850
- "type": {
3851
- "description": "general type of this method, eg. `pseudopotential`",
3852
- "type": "string"
3853
- },
3854
- "subtype": {
3855
- "description": "general subtype of this method, eg. `ultra-soft`",
3856
- "type": "string"
3857
- },
3858
- "precision": {
3859
- "description": "Object showing the actual possible precision based on theory and implementation",
3860
- "type": "object"
3861
- },
3862
- "data": {
3863
- "description": "additional data specific to method, eg. array of pseudopotentials",
3864
- "type": "object",
3865
- "additionalProperties": true,
3866
- "properties": {
3867
- "searchText": {
3868
- "type": "string"
3869
- }
3870
- }
3871
- }
3872
- }
3873
- }
3874
- },
3730
+ "method": {
3731
+ "$schema": "http://json-schema.org/draft-07/schema#",
3732
+ "title": "base method",
3733
+ "type": "object",
3875
3734
  "required": [
3876
3735
  "type",
3877
- "subtype",
3878
- "functional",
3879
- "method"
3880
- ]
3881
- },
3882
- {
3736
+ "subtype"
3737
+ ],
3883
3738
  "properties": {
3884
3739
  "type": {
3885
- "const": "dft"
3740
+ "description": "general type of this method, eg. `pseudopotential`",
3741
+ "type": "string"
3886
3742
  },
3887
3743
  "subtype": {
3888
- "const": "hybrid"
3744
+ "description": "general subtype of this method, eg. `ultra-soft`",
3745
+ "type": "string"
3889
3746
  },
3890
- "functional": {
3891
- "enum": [
3892
- "b3lyp",
3893
- "hse06"
3894
- ]
3747
+ "precision": {
3748
+ "description": "Object showing the actual possible precision based on theory and implementation",
3749
+ "type": "object"
3895
3750
  },
3896
- "method": {
3897
- "$schema": "http://json-schema.org/draft-07/schema#",
3898
- "title": "base method",
3751
+ "data": {
3752
+ "description": "additional data specific to method, eg. array of pseudopotentials",
3899
3753
  "type": "object",
3900
- "required": [
3901
- "type",
3902
- "subtype"
3903
- ],
3754
+ "additionalProperties": true,
3904
3755
  "properties": {
3905
- "type": {
3906
- "description": "general type of this method, eg. `pseudopotential`",
3907
- "type": "string"
3908
- },
3909
- "subtype": {
3910
- "description": "general subtype of this method, eg. `ultra-soft`",
3756
+ "searchText": {
3911
3757
  "type": "string"
3912
- },
3913
- "precision": {
3914
- "description": "Object showing the actual possible precision based on theory and implementation",
3915
- "type": "object"
3916
- },
3917
- "data": {
3918
- "description": "additional data specific to method, eg. array of pseudopotentials",
3919
- "type": "object",
3920
- "additionalProperties": true,
3921
- "properties": {
3922
- "searchText": {
3923
- "type": "string"
3924
- }
3925
- }
3926
3758
  }
3927
3759
  }
3928
3760
  }
3929
- },
3930
- "required": [
3931
- "type",
3932
- "subtype",
3933
- "functional",
3934
- "method"
3935
- ]
3761
+ }
3936
3762
  }
3937
- ],
3938
- "discriminator": {
3939
- "propertyName": "subtype"
3940
3763
  },
3941
3764
  "required": [
3942
- "type"
3943
- ],
3944
- "properties": {
3945
- "type": {
3946
- "const": "dft"
3947
- },
3948
- "subtype": {
3949
- "type": "string"
3950
- },
3951
- "functional": {
3952
- "type": "string"
3953
- },
3954
- "method": {
3955
- "type": "object"
3956
- }
3957
- }
3765
+ "type",
3766
+ "subtype",
3767
+ "functional",
3768
+ "method"
3769
+ ]
3958
3770
  },
3959
3771
  {
3960
3772
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -4068,7 +3880,7 @@
4068
3880
  }
4069
3881
  ],
4070
3882
  "discriminator": {
4071
- "propertyName": "type"
3883
+ "propertyName": "subtype"
4072
3884
  }
4073
3885
  },
4074
3886
  "application": {