@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
@@ -3359,370 +3359,182 @@
3359
3359
  "oneOf": [
3360
3360
  {
3361
3361
  "$schema": "http://json-schema.org/draft-07/schema#",
3362
- "title": "DFT model schema",
3362
+ "title": "DFT LDA model schema",
3363
3363
  "type": "object",
3364
- "definitions": {
3365
- "lda": {
3366
- "required": [
3367
- "type",
3368
- "subtype",
3369
- "functional",
3370
- "method"
3371
- ],
3372
- "properties": {
3373
- "type": {
3374
- "const": "dft"
3375
- },
3376
- "subtype": {
3377
- "const": "lda"
3378
- },
3379
- "functional": {
3380
- "enum": [
3381
- "pz",
3382
- "pw",
3383
- "vwn",
3384
- "other"
3385
- ]
3386
- },
3387
- "method": {
3388
- "$schema": "http://json-schema.org/draft-07/schema#",
3389
- "title": "base method",
3390
- "type": "object",
3391
- "required": [
3392
- "type",
3393
- "subtype"
3394
- ],
3395
- "properties": {
3396
- "type": {
3397
- "description": "general type of this method, eg. `pseudopotential`",
3398
- "type": "string"
3399
- },
3400
- "subtype": {
3401
- "description": "general subtype of this method, eg. `ultra-soft`",
3402
- "type": "string"
3403
- },
3404
- "precision": {
3405
- "description": "Object showing the actual possible precision based on theory and implementation",
3406
- "type": "object"
3407
- },
3408
- "data": {
3409
- "description": "additional data specific to method, eg. array of pseudopotentials",
3410
- "type": "object",
3411
- "additionalProperties": true,
3412
- "properties": {
3413
- "searchText": {
3414
- "type": "string"
3415
- }
3416
- }
3417
- }
3418
- }
3419
- }
3420
- }
3364
+ "properties": {
3365
+ "type": {
3366
+ "const": "dft"
3367
+ },
3368
+ "subtype": {
3369
+ "const": "lda"
3370
+ },
3371
+ "functional": {
3372
+ "enum": [
3373
+ "pz",
3374
+ "pw",
3375
+ "vwn",
3376
+ "other"
3377
+ ]
3421
3378
  },
3422
- "gga": {
3379
+ "method": {
3380
+ "$schema": "http://json-schema.org/draft-07/schema#",
3381
+ "title": "base method",
3382
+ "type": "object",
3423
3383
  "required": [
3424
3384
  "type",
3425
- "subtype",
3426
- "functional",
3427
- "method"
3385
+ "subtype"
3428
3386
  ],
3429
3387
  "properties": {
3430
3388
  "type": {
3431
- "const": "dft"
3389
+ "description": "general type of this method, eg. `pseudopotential`",
3390
+ "type": "string"
3432
3391
  },
3433
3392
  "subtype": {
3434
- "const": "gga"
3393
+ "description": "general subtype of this method, eg. `ultra-soft`",
3394
+ "type": "string"
3435
3395
  },
3436
- "functional": {
3437
- "enum": [
3438
- "pbe",
3439
- "pbesol",
3440
- "pw91",
3441
- "other"
3442
- ]
3396
+ "precision": {
3397
+ "description": "Object showing the actual possible precision based on theory and implementation",
3398
+ "type": "object"
3443
3399
  },
3444
- "method": {
3445
- "$schema": "http://json-schema.org/draft-07/schema#",
3446
- "title": "base method",
3400
+ "data": {
3401
+ "description": "additional data specific to method, eg. array of pseudopotentials",
3447
3402
  "type": "object",
3448
- "required": [
3449
- "type",
3450
- "subtype"
3451
- ],
3403
+ "additionalProperties": true,
3452
3404
  "properties": {
3453
- "type": {
3454
- "description": "general type of this method, eg. `pseudopotential`",
3455
- "type": "string"
3456
- },
3457
- "subtype": {
3458
- "description": "general subtype of this method, eg. `ultra-soft`",
3405
+ "searchText": {
3459
3406
  "type": "string"
3460
- },
3461
- "precision": {
3462
- "description": "Object showing the actual possible precision based on theory and implementation",
3463
- "type": "object"
3464
- },
3465
- "data": {
3466
- "description": "additional data specific to method, eg. array of pseudopotentials",
3467
- "type": "object",
3468
- "additionalProperties": true,
3469
- "properties": {
3470
- "searchText": {
3471
- "type": "string"
3472
- }
3473
- }
3474
3407
  }
3475
3408
  }
3476
3409
  }
3477
3410
  }
3411
+ }
3412
+ },
3413
+ "required": [
3414
+ "type",
3415
+ "subtype",
3416
+ "functional",
3417
+ "method"
3418
+ ]
3419
+ },
3420
+ {
3421
+ "$schema": "http://json-schema.org/draft-07/schema#",
3422
+ "title": "DFT GGA model schema",
3423
+ "type": "object",
3424
+ "properties": {
3425
+ "type": {
3426
+ "const": "dft"
3478
3427
  },
3479
- "hybrid": {
3428
+ "subtype": {
3429
+ "const": "gga"
3430
+ },
3431
+ "functional": {
3432
+ "enum": [
3433
+ "pbe",
3434
+ "pbesol",
3435
+ "pw91",
3436
+ "other"
3437
+ ]
3438
+ },
3439
+ "method": {
3440
+ "$schema": "http://json-schema.org/draft-07/schema#",
3441
+ "title": "base method",
3442
+ "type": "object",
3480
3443
  "required": [
3481
3444
  "type",
3482
- "subtype",
3483
- "functional",
3484
- "method"
3445
+ "subtype"
3485
3446
  ],
3486
3447
  "properties": {
3487
3448
  "type": {
3488
- "const": "dft"
3449
+ "description": "general type of this method, eg. `pseudopotential`",
3450
+ "type": "string"
3489
3451
  },
3490
3452
  "subtype": {
3491
- "const": "hybrid"
3453
+ "description": "general subtype of this method, eg. `ultra-soft`",
3454
+ "type": "string"
3492
3455
  },
3493
- "functional": {
3494
- "enum": [
3495
- "b3lyp",
3496
- "hse06"
3497
- ]
3456
+ "precision": {
3457
+ "description": "Object showing the actual possible precision based on theory and implementation",
3458
+ "type": "object"
3498
3459
  },
3499
- "method": {
3500
- "$schema": "http://json-schema.org/draft-07/schema#",
3501
- "title": "base method",
3460
+ "data": {
3461
+ "description": "additional data specific to method, eg. array of pseudopotentials",
3502
3462
  "type": "object",
3503
- "required": [
3504
- "type",
3505
- "subtype"
3506
- ],
3463
+ "additionalProperties": true,
3507
3464
  "properties": {
3508
- "type": {
3509
- "description": "general type of this method, eg. `pseudopotential`",
3510
- "type": "string"
3511
- },
3512
- "subtype": {
3513
- "description": "general subtype of this method, eg. `ultra-soft`",
3465
+ "searchText": {
3514
3466
  "type": "string"
3515
- },
3516
- "precision": {
3517
- "description": "Object showing the actual possible precision based on theory and implementation",
3518
- "type": "object"
3519
- },
3520
- "data": {
3521
- "description": "additional data specific to method, eg. array of pseudopotentials",
3522
- "type": "object",
3523
- "additionalProperties": true,
3524
- "properties": {
3525
- "searchText": {
3526
- "type": "string"
3527
- }
3528
- }
3529
3467
  }
3530
3468
  }
3531
3469
  }
3532
3470
  }
3533
3471
  }
3534
3472
  },
3535
- "oneOf": [
3536
- {
3537
- "properties": {
3538
- "type": {
3539
- "const": "dft"
3540
- },
3541
- "subtype": {
3542
- "const": "lda"
3543
- },
3544
- "functional": {
3545
- "enum": [
3546
- "pz",
3547
- "pw",
3548
- "vwn",
3549
- "other"
3550
- ]
3551
- },
3552
- "method": {
3553
- "$schema": "http://json-schema.org/draft-07/schema#",
3554
- "title": "base method",
3555
- "type": "object",
3556
- "required": [
3557
- "type",
3558
- "subtype"
3559
- ],
3560
- "properties": {
3561
- "type": {
3562
- "description": "general type of this method, eg. `pseudopotential`",
3563
- "type": "string"
3564
- },
3565
- "subtype": {
3566
- "description": "general subtype of this method, eg. `ultra-soft`",
3567
- "type": "string"
3568
- },
3569
- "precision": {
3570
- "description": "Object showing the actual possible precision based on theory and implementation",
3571
- "type": "object"
3572
- },
3573
- "data": {
3574
- "description": "additional data specific to method, eg. array of pseudopotentials",
3575
- "type": "object",
3576
- "additionalProperties": true,
3577
- "properties": {
3578
- "searchText": {
3579
- "type": "string"
3580
- }
3581
- }
3582
- }
3583
- }
3584
- }
3585
- },
3586
- "required": [
3587
- "type",
3588
- "subtype",
3589
- "functional",
3590
- "method"
3473
+ "required": [
3474
+ "type",
3475
+ "subtype",
3476
+ "functional",
3477
+ "method"
3478
+ ]
3479
+ },
3480
+ {
3481
+ "$schema": "http://json-schema.org/draft-07/schema#",
3482
+ "title": "DFT hybrid model schema",
3483
+ "type": "object",
3484
+ "properties": {
3485
+ "type": {
3486
+ "const": "dft"
3487
+ },
3488
+ "subtype": {
3489
+ "const": "hybrid"
3490
+ },
3491
+ "functional": {
3492
+ "enum": [
3493
+ "b3lyp",
3494
+ "hse06",
3495
+ "other"
3591
3496
  ]
3592
3497
  },
3593
- {
3594
- "properties": {
3595
- "type": {
3596
- "const": "dft"
3597
- },
3598
- "subtype": {
3599
- "const": "gga"
3600
- },
3601
- "functional": {
3602
- "enum": [
3603
- "pbe",
3604
- "pbesol",
3605
- "pw91",
3606
- "other"
3607
- ]
3608
- },
3609
- "method": {
3610
- "$schema": "http://json-schema.org/draft-07/schema#",
3611
- "title": "base method",
3612
- "type": "object",
3613
- "required": [
3614
- "type",
3615
- "subtype"
3616
- ],
3617
- "properties": {
3618
- "type": {
3619
- "description": "general type of this method, eg. `pseudopotential`",
3620
- "type": "string"
3621
- },
3622
- "subtype": {
3623
- "description": "general subtype of this method, eg. `ultra-soft`",
3624
- "type": "string"
3625
- },
3626
- "precision": {
3627
- "description": "Object showing the actual possible precision based on theory and implementation",
3628
- "type": "object"
3629
- },
3630
- "data": {
3631
- "description": "additional data specific to method, eg. array of pseudopotentials",
3632
- "type": "object",
3633
- "additionalProperties": true,
3634
- "properties": {
3635
- "searchText": {
3636
- "type": "string"
3637
- }
3638
- }
3639
- }
3640
- }
3641
- }
3642
- },
3498
+ "method": {
3499
+ "$schema": "http://json-schema.org/draft-07/schema#",
3500
+ "title": "base method",
3501
+ "type": "object",
3643
3502
  "required": [
3644
3503
  "type",
3645
- "subtype",
3646
- "functional",
3647
- "method"
3648
- ]
3649
- },
3650
- {
3504
+ "subtype"
3505
+ ],
3651
3506
  "properties": {
3652
3507
  "type": {
3653
- "const": "dft"
3508
+ "description": "general type of this method, eg. `pseudopotential`",
3509
+ "type": "string"
3654
3510
  },
3655
3511
  "subtype": {
3656
- "const": "hybrid"
3512
+ "description": "general subtype of this method, eg. `ultra-soft`",
3513
+ "type": "string"
3657
3514
  },
3658
- "functional": {
3659
- "enum": [
3660
- "b3lyp",
3661
- "hse06"
3662
- ]
3515
+ "precision": {
3516
+ "description": "Object showing the actual possible precision based on theory and implementation",
3517
+ "type": "object"
3663
3518
  },
3664
- "method": {
3665
- "$schema": "http://json-schema.org/draft-07/schema#",
3666
- "title": "base method",
3519
+ "data": {
3520
+ "description": "additional data specific to method, eg. array of pseudopotentials",
3667
3521
  "type": "object",
3668
- "required": [
3669
- "type",
3670
- "subtype"
3671
- ],
3522
+ "additionalProperties": true,
3672
3523
  "properties": {
3673
- "type": {
3674
- "description": "general type of this method, eg. `pseudopotential`",
3675
- "type": "string"
3676
- },
3677
- "subtype": {
3678
- "description": "general subtype of this method, eg. `ultra-soft`",
3524
+ "searchText": {
3679
3525
  "type": "string"
3680
- },
3681
- "precision": {
3682
- "description": "Object showing the actual possible precision based on theory and implementation",
3683
- "type": "object"
3684
- },
3685
- "data": {
3686
- "description": "additional data specific to method, eg. array of pseudopotentials",
3687
- "type": "object",
3688
- "additionalProperties": true,
3689
- "properties": {
3690
- "searchText": {
3691
- "type": "string"
3692
- }
3693
- }
3694
3526
  }
3695
3527
  }
3696
3528
  }
3697
- },
3698
- "required": [
3699
- "type",
3700
- "subtype",
3701
- "functional",
3702
- "method"
3703
- ]
3529
+ }
3704
3530
  }
3705
- ],
3706
- "discriminator": {
3707
- "propertyName": "subtype"
3708
3531
  },
3709
3532
  "required": [
3710
- "type"
3711
- ],
3712
- "properties": {
3713
- "type": {
3714
- "const": "dft"
3715
- },
3716
- "subtype": {
3717
- "type": "string"
3718
- },
3719
- "functional": {
3720
- "type": "string"
3721
- },
3722
- "method": {
3723
- "type": "object"
3724
- }
3725
- }
3533
+ "type",
3534
+ "subtype",
3535
+ "functional",
3536
+ "method"
3537
+ ]
3726
3538
  },
3727
3539
  {
3728
3540
  "$schema": "http://json-schema.org/draft-07/schema#",
@@ -3836,7 +3648,7 @@
3836
3648
  }
3837
3649
  ],
3838
3650
  "discriminator": {
3839
- "propertyName": "type"
3651
+ "propertyName": "subtype"
3840
3652
  }
3841
3653
  },
3842
3654
  "application": {