@mat3ra/esse 2026.5.18-2 → 2026.5.27-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.
- package/dist/js/esse/JSONSchemasGenerator.d.ts +2 -1
- package/dist/js/esse/JSONSchemasGenerator.js +1 -1
- package/dist/js/esse/JSONSchemasInterface.d.ts +1 -1
- package/dist/js/esse/JSONSchemasInterface.js +1 -1
- package/dist/js/esse/JSONSchemasInterfaceServer.js +3 -2
- package/dist/js/esse/schemaUtils.d.ts +1 -1
- package/dist/js/esse/schemaUtils.js +2 -1
- package/dist/js/esse/server/utils.d.ts +12 -0
- package/dist/js/esse/server/utils.js +68 -0
- package/dist/js/esse/utils.d.ts +0 -11
- package/dist/js/esse/utils.js +3 -60
- package/dist/js/example/job.json +38 -11
- package/dist/js/example/material.json +7 -1
- package/dist/js/example/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +35 -5
- package/dist/js/example/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +28 -4
- package/dist/js/example/materials_category/defective_structures/two_dimensional/adatom/configuration.json +28 -4
- package/dist/js/example/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +35 -5
- package/dist/js/example/materials_category/defective_structures/two_dimensional/island/configuration.json +42 -6
- package/dist/js/example/materials_category/defective_structures/two_dimensional/terrace/configuration.json +42 -6
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/base_configuration.json +14 -2
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/interstitial.json +14 -2
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/substitutional.json +14 -2
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/vacancy.json +7 -1
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/nanoribbon.json +21 -3
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/nanotape.json +14 -2
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/slab.json +14 -2
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +14 -2
- package/dist/js/example/materials_category/processed_structures/two_dimensional/passivation/configuration.json +28 -4
- package/dist/js/example/materials_category_components/entities/auxiliary/zero_dimensional/crystal_site.json +7 -1
- package/dist/js/example/materials_category_components/entities/auxiliary/zero_dimensional/point_defect_site.json +7 -1
- package/dist/js/example/materials_category_components/entities/core/three_dimensional/crystal.json +7 -1
- package/dist/js/example/materials_category_components/entities/core/two_dimensional/vacuum.json +7 -1
- package/dist/js/example/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines.json +7 -1
- package/dist/js/example/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated.json +7 -1
- package/dist/js/example/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +28 -4
- package/dist/js/example/materials_category_components/operations/core/combinations/merge.json +14 -2
- package/dist/js/example/materials_category_components/operations/core/combinations/stack.json +14 -2
- package/dist/js/example/materials_category_components/operations/core/modifications/perturb.json +7 -1
- package/dist/js/example/model.json +2 -1
- package/dist/js/example/software/application.json +1 -0
- package/dist/js/example/software/executable.json +3 -4
- package/dist/js/example/software/flavor.json +9 -2
- package/dist/js/example/software/template.json +5 -8
- package/dist/js/example/software_directory/modeling/espresso.json +2 -1
- package/dist/js/example/software_directory/modeling/nwchem.json +3 -1
- package/dist/js/example/software_directory/modeling/unit/execution.json +57 -15
- package/dist/js/example/software_directory/modeling/vasp.json +2 -1
- package/dist/js/example/software_directory/scripting/jupyter_lab.json +2 -1
- package/dist/js/example/software_directory/scripting/python.json +2 -1
- package/dist/js/example/software_directory/scripting/shell.json +2 -1
- package/dist/js/example/software_directory/scripting/unit/execution.json +57 -15
- package/dist/js/example/system/runtime_items.json +14 -0
- package/dist/js/example/workflow/subworkflow.json +32 -10
- package/dist/js/example/workflow/unit/assignment.json +5 -1
- package/dist/js/example/workflow/unit/condition.json +5 -1
- package/dist/js/example/workflow/unit/execution.json +29 -9
- package/dist/js/example/workflow/unit/io/api.json +1 -0
- package/dist/js/example/workflow/unit/io/db_collection.json +5 -0
- package/dist/js/example/workflow/unit/io/db_ids.json +6 -0
- package/dist/js/example/workflow/unit/io/object_storage.json +2 -1
- package/dist/js/example/workflow/unit/io.json +22 -2
- package/dist/js/example/workflow/unit/map.json +5 -1
- package/dist/js/example/workflow/unit/reduce.json +5 -1
- package/dist/js/example/workflow.json +38 -11
- package/dist/js/schema/apse/file/applications/espresso/7.2/pw.x/atomic_species.json +5 -0
- package/dist/js/schema/apse/file/applications/espresso/7.2/pw.x.json +5 -0
- package/dist/js/schema/context_providers_directory/by_application/nwchem_total_energy_context_provider.json +7 -1
- package/dist/js/schema/context_providers_directory/by_application/qe_neb_context_provider.json +164 -6
- package/dist/js/schema/context_providers_directory/by_application/qe_pwx_base_context_provider.json +10 -0
- package/dist/js/schema/context_providers_directory/by_application/qe_pwx_context_provider.json +17 -1
- package/dist/js/schema/context_providers_directory/by_application/vasp_context_provider.json +7 -1
- package/dist/js/schema/context_providers_directory/by_application/vasp_neb_context_provider.json +7 -1
- package/dist/js/schema/context_providers_directory/collinear_magnetization_context_provider.json +14 -0
- package/dist/js/schema/context_providers_directory/non_collinear_magnetization_context_provider.json +7 -0
- package/dist/js/schema/context_providers_directory/points_grid_data_provider.json +23 -6
- package/dist/js/schema/context_providers_directory/points_path_data_provider.json +6 -2
- package/dist/js/schema/context_providers_directory/points_path_data_provider_rendering.json +32 -0
- package/dist/js/schema/core/primitive/linked_list/named_node.json +2 -1
- package/dist/js/schema/core/primitive/linked_list/named_node_in_group.json +2 -1
- package/dist/js/schema/core/primitive/linked_list.json +4 -2
- package/dist/js/schema/in_memory_entity/has_consistency_check_has_metadata_named_defaultable.json +3 -0
- package/dist/js/schema/in_memory_entity/named.json +3 -0
- package/dist/js/schema/in_memory_entity/named_defaultable.json +3 -0
- package/dist/js/schema/in_memory_entity/named_defaultable_has_metadata.json +3 -0
- package/dist/js/schema/in_memory_entity/named_defaultable_runtime_items.json +3 -0
- package/dist/js/schema/job/base.json +133 -132
- package/dist/js/schema/job/compute.json +1 -1
- package/dist/js/schema/job/compute_property.json +182 -0
- package/dist/js/schema/job.json +3829 -4566
- package/dist/js/schema/material/material_properties.json +736 -0
- package/dist/js/schema/material/metadata/boundary_conditions.json +32 -0
- package/dist/js/schema/material/metadata/bulk_properties.json +13 -0
- package/dist/js/schema/material/metadata/slab_properties.json +41 -0
- package/dist/js/schema/material/metadata.json +101 -0
- package/dist/js/schema/material.json +117 -27
- package/dist/js/schema/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +1069 -268
- package/dist/js/schema/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +1069 -268
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/adatom/configuration.json +464 -108
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +1069 -268
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/island/configuration.json +698 -164
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/terrace/configuration.json +698 -164
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/base_configuration.json +116 -27
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/interstitial.json +232 -54
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/substitutional.json +232 -54
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/vacancy.json +116 -27
- package/dist/js/schema/materials_category/pristine_structures/three_dimensional/ideal_crystal.json +116 -27
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanoribbon.json +348 -81
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanotape.json +232 -54
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab.json +232 -54
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +232 -54
- package/dist/js/schema/materials_category/processed_structures/two_dimensional/passivation/configuration.json +233 -54
- package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/crystal_site.json +116 -27
- package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/point_defect_site.json +116 -27
- package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/void_region.json +116 -27
- package/dist/js/schema/materials_category_components/entities/core/three_dimensional/crystal.json +116 -27
- package/dist/js/schema/materials_category_components/entities/core/two_dimensional/vacuum.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/crystal_lattice_base.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/strained_non_uniform.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/strained_uniform.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/supercell.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/crystal_lattice_planes.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +348 -81
- package/dist/js/schema/materials_category_components/operations/core/modifications/perturb.json +117 -27
- package/dist/js/schema/method/categorized_method.json +4 -0
- package/dist/js/schema/method/unit_method.json +3 -0
- package/dist/js/schema/method.json +7 -1
- package/dist/js/schema/methods_directory/legacy/localorbital.json +7 -1
- package/dist/js/schema/methods_directory/legacy/pseudopotential.json +7 -1
- package/dist/js/schema/methods_directory/legacy/regression.json +4 -0
- package/dist/js/schema/methods_directory/legacy/unknown.json +7 -1
- package/dist/js/schema/methods_directory/mathematical/cg.json +2 -1
- package/dist/js/schema/methods_directory/mathematical/davidson.json +2 -1
- package/dist/js/schema/methods_directory/mathematical/regression.json +3 -2
- package/dist/js/schema/methods_directory/physical/ao/dunning.json +2 -1
- package/dist/js/schema/methods_directory/physical/ao/other.json +2 -1
- package/dist/js/schema/methods_directory/physical/ao/pople.json +2 -1
- package/dist/js/schema/methods_directory/physical/psp.json +2 -1
- package/dist/js/schema/methods_directory/physical/pw.json +2 -1
- package/dist/js/schema/methods_directory/physical/smearing.json +2 -1
- package/dist/js/schema/methods_directory/physical/tetrahedron.json +2 -1
- package/dist/js/schema/model/categorized_model.json +5 -0
- package/dist/js/schema/model/model_without_method.json +1 -0
- package/dist/js/schema/model.json +7 -2
- package/dist/js/schema/models_directory/double_hybrid.json +1 -0
- package/dist/js/schema/models_directory/gga.json +1 -0
- package/dist/js/schema/models_directory/gw.json +1 -0
- package/dist/js/schema/models_directory/hybrid.json +1 -0
- package/dist/js/schema/models_directory/lda.json +1 -0
- package/dist/js/schema/models_directory/legacy/any.json +488 -0
- package/dist/js/schema/models_directory/legacy/dft.json +267 -39
- package/dist/js/schema/models_directory/legacy/ml.json +10 -9
- package/dist/js/schema/models_directory/legacy/unknown.json +10 -9
- package/dist/js/schema/models_directory/mgga.json +1 -0
- package/dist/js/schema/models_directory/re.json +1 -0
- package/dist/js/schema/project.json +3 -0
- package/dist/js/schema/properties_directory/non_scalar/workflow.json +3682 -4421
- package/dist/js/schema/property/holder.json +3717 -4456
- package/dist/js/schema/software/application.json +53 -24
- package/dist/js/schema/software/application_properties.json +68 -0
- package/dist/js/schema/software/application_with_build_config.json +52 -23
- package/dist/js/schema/software/executable.json +67 -108
- package/dist/js/schema/software/executable_properties.json +24 -0
- package/dist/js/schema/software/flavor.json +90 -128
- package/dist/js/schema/software/flavor_properties.json +50 -0
- package/dist/js/schema/software/template.json +30 -35
- package/dist/js/schema/software/template_properties.json +44 -0
- package/dist/js/schema/software_directory/modeling/deepmd.json +48 -19
- package/dist/js/schema/software_directory/modeling/lammps.json +47 -18
- package/dist/js/schema/software_directory/modeling/nwchem.json +48 -19
- package/dist/js/schema/software_directory/modeling/unit/execution.json +2019 -455
- package/dist/js/schema/software_directory/modeling/vasp.json +48 -19
- package/dist/js/schema/software_directory/scripting/jupyter_lab.json +48 -19
- package/dist/js/schema/software_directory/scripting/python.json +48 -19
- package/dist/js/schema/software_directory/scripting/shell.json +48 -19
- package/dist/js/schema/software_directory/scripting/unit/execution.json +2019 -455
- package/dist/js/schema/system/bankable.json +4 -0
- package/dist/js/schema/system/creator.json +2 -1
- package/dist/js/schema/system/creator_account.json +3 -0
- package/dist/js/schema/system/in_set.json +3 -0
- package/dist/js/schema/system/name.json +3 -0
- package/dist/js/schema/system/owner.json +2 -1
- package/dist/js/schema/system/path_entity.json +3 -0
- package/dist/js/schema/system/runtime_item.json +17 -0
- package/dist/js/schema/system/runtime_items.json +94 -0
- package/dist/js/schema/workflow/base.json +4591 -39
- package/dist/js/schema/workflow/base_flow.json +1 -1
- package/dist/js/schema/workflow/subworkflow/mixin.json +3919 -0
- package/dist/js/schema/workflow/subworkflow/unit.json +2365 -1560
- package/dist/js/schema/workflow/subworkflow.json +3137 -1852
- package/dist/js/schema/workflow/unit/assertion.json +96 -140
- package/dist/js/schema/workflow/unit/assignment.json +129 -173
- package/dist/js/schema/workflow/unit/base.json +90 -133
- package/dist/js/schema/workflow/unit/condition.json +132 -175
- package/dist/js/schema/workflow/unit/context/_base.json +20 -0
- package/dist/js/schema/workflow/unit/context/_extra_data_material_hash.json +14 -0
- package/dist/js/schema/workflow/unit/context/item/boundaryConditions.json +63 -0
- package/dist/js/schema/workflow/unit/context/item/collinearMagnetization.json +82 -0
- package/dist/js/schema/workflow/unit/context/item/cutoffs.json +38 -0
- package/dist/js/schema/workflow/unit/context/item/dynamics.json +48 -0
- package/dist/js/schema/workflow/unit/context/item/grid.json +100 -0
- package/dist/js/schema/workflow/unit/context/item/hubbard_j.json +59 -0
- package/dist/js/schema/workflow/unit/context/item/hubbard_legacy.json +49 -0
- package/dist/js/schema/workflow/unit/context/item/hubbard_u.json +57 -0
- package/dist/js/schema/workflow/unit/context/item/hubbard_v.json +64 -0
- package/dist/js/schema/workflow/unit/context/item/input.json +712 -0
- package/dist/js/schema/workflow/unit/context/item/mlSettings.json +43 -0
- package/dist/js/schema/workflow/unit/context/item/mlTrainTestSplit.json +37 -0
- package/dist/js/schema/workflow/unit/context/item/neb.json +35 -0
- package/dist/js/schema/workflow/unit/context/item/nonCollinearMagnetization.json +150 -0
- package/dist/js/schema/workflow/unit/context/item/path.json +62 -0
- package/dist/js/schema/workflow/unit/context/item.json +1594 -0
- package/dist/js/schema/workflow/unit/execution.json +1928 -423
- package/dist/js/schema/workflow/unit/input/_input.json +74 -12
- package/dist/js/schema/workflow/unit/input/_inputItem.json +70 -10
- package/dist/js/schema/workflow/unit/input/_inputItemId.json +3 -1
- package/dist/js/schema/workflow/unit/io/api.json +5 -1
- package/dist/js/schema/workflow/unit/io/db_collection.json +24 -0
- package/dist/js/schema/workflow/unit/io/db_ids.json +22 -0
- package/dist/js/schema/workflow/unit/io/object_storage.json +5 -1
- package/dist/js/schema/workflow/unit/io.json +182 -253
- package/dist/js/schema/workflow/unit/map.json +134 -177
- package/dist/js/schema/workflow/unit/mixins/assertion.json +23 -0
- package/dist/js/schema/workflow/unit/mixins/assignment.json +57 -0
- package/dist/js/schema/workflow/unit/mixins/base.json +50 -0
- package/dist/js/schema/workflow/unit/mixins/condition.json +61 -0
- package/dist/js/schema/workflow/unit/mixins/execution.json +1998 -0
- package/dist/js/schema/workflow/unit/mixins/io.json +131 -0
- package/dist/js/schema/workflow/unit/mixins/map.json +60 -0
- package/dist/js/schema/workflow/unit/mixins/processing.json +27 -0
- package/dist/js/schema/workflow/unit/mixins/reduce.json +43 -0
- package/dist/js/schema/workflow/unit/mixins/subworkflow.json +11 -0
- package/dist/js/schema/workflow/unit/reduce.json +117 -160
- package/dist/js/schema/workflow/unit/subworkflow.json +91 -134
- package/dist/js/schema/workflow/unit.json +285 -2477
- package/dist/js/schema/workflow.json +3684 -4422
- package/dist/js/schemas.json +1 -1
- package/dist/js/scripts/compileTs.js +1 -1
- package/dist/js/scripts/setSchemaIds.js +2 -1
- package/dist/js/types.d.ts +27163 -15301
- package/dist/js/types.js +5 -5
- package/dist/js/utils/ajv.js +5 -4
- package/dist/js/utils/common.js +3 -2
- package/dist/js/utils/filesystem.js +3 -2
- package/example/material.json +7 -1
- package/example/model.json +2 -1
- package/example/software/application.json +1 -0
- package/example/software/executable.json +3 -4
- package/example/software/flavor.json +9 -2
- package/example/software/template.json +5 -8
- package/example/software_directory/modeling/espresso.json +2 -1
- package/example/software_directory/modeling/nwchem.json +4 -2
- package/example/software_directory/modeling/unit/execution.json +17 -2
- package/example/software_directory/modeling/vasp.json +2 -1
- package/example/software_directory/scripting/jupyter-lab.json +2 -1
- package/example/software_directory/scripting/python.json +2 -1
- package/example/software_directory/scripting/shell.json +2 -1
- package/example/software_directory/scripting/unit/execution.json +17 -2
- package/example/system/runtime_items.json +14 -0
- package/example/workflow/unit/assignment.json +5 -1
- package/example/workflow/unit/condition.json +5 -1
- package/example/workflow/unit/execution.json +7 -3
- package/example/workflow/unit/io/api.json +1 -0
- package/example/workflow/unit/io/db_collection.json +5 -0
- package/example/workflow/unit/io/db_ids.json +6 -0
- package/example/workflow/unit/io/object_storage.json +2 -1
- package/example/workflow/unit/io.json +9 -29
- package/example/workflow/unit/map.json +5 -1
- package/example/workflow/unit/reduce.json +5 -1
- package/example/workflow.json +6 -1
- package/package.json +2 -1
- package/schema/apse/file/applications/espresso/7.2/pw.x/atomic_species.json +6 -1
- package/schema/context_providers_directory/by_application/nwchem_total_energy_context_provider.json +7 -1
- package/schema/context_providers_directory/by_application/qe_neb_context_provider.json +12 -6
- package/schema/context_providers_directory/by_application/qe_pwx_context_provider.json +10 -1
- package/schema/context_providers_directory/by_application/vasp_context_provider.json +7 -1
- package/schema/context_providers_directory/by_application/vasp_neb_context_provider.json +7 -1
- package/schema/context_providers_directory/collinear_magnetization_context_provider.json +18 -4
- package/schema/context_providers_directory/non_collinear_magnetization_context_provider.json +7 -0
- package/schema/context_providers_directory/points_grid_data_provider.json +24 -7
- package/schema/context_providers_directory/points_path_data_provider.json +7 -3
- package/schema/context_providers_directory/points_path_data_provider_rendering.json +32 -0
- package/schema/job/base.json +4 -5
- package/schema/job/compute.json +1 -1
- package/schema/job/compute_property.json +15 -0
- package/schema/material/material_properties.json +65 -0
- package/schema/material/metadata/boundary_conditions.json +24 -0
- package/schema/material/metadata/bulk_properties.json +13 -0
- package/schema/material/metadata/slab_properties.json +41 -0
- package/schema/material/metadata.json +27 -0
- package/schema/material.json +5 -57
- package/schema/method.json +7 -1
- package/schema/model.json +0 -1
- package/schema/models_directory/legacy/any.json +20 -0
- package/schema/models_directory/legacy/dft.json +63 -12
- package/schema/models_directory/legacy/ml.json +10 -7
- package/schema/models_directory/legacy/unknown.json +10 -7
- package/schema/software/application.json +4 -35
- package/schema/software/application_properties.json +68 -0
- package/schema/software/executable.json +5 -23
- package/schema/software/executable_properties.json +24 -0
- package/schema/software/flavor.json +6 -28
- package/schema/software/flavor_properties.json +33 -0
- package/schema/software/template.json +2 -26
- package/schema/software/template_properties.json +44 -0
- package/schema/system/bankable.json +5 -1
- package/schema/system/creator.json +4 -1
- package/schema/system/creator_account.json +4 -1
- package/schema/system/in_set.json +4 -1
- package/schema/system/name.json +4 -1
- package/schema/system/owner.json +4 -1
- package/schema/system/runtime_item.json +17 -0
- package/schema/system/runtime_items.json +42 -0
- package/schema/workflow/base.json +17 -17
- package/schema/workflow/subworkflow/mixin.json +48 -0
- package/schema/workflow/subworkflow/unit.json +0 -6
- package/schema/workflow/subworkflow.json +4 -31
- package/schema/workflow/unit/assertion.json +2 -16
- package/schema/workflow/unit/assignment.json +2 -34
- package/schema/workflow/unit/base.json +6 -51
- package/schema/workflow/unit/condition.json +2 -38
- package/schema/workflow/unit/context/_base.json +20 -0
- package/schema/workflow/unit/context/_extra_data_material_hash.json +14 -0
- package/schema/workflow/unit/context/item/boundaryConditions.json +27 -0
- package/schema/workflow/unit/context/item/collinearMagnetization.json +27 -0
- package/schema/workflow/unit/context/item/cutoffs.json +20 -0
- package/schema/workflow/unit/context/item/dynamics.json +20 -0
- package/schema/workflow/unit/context/item/grid.json +31 -0
- package/schema/workflow/unit/context/item/hubbard_j.json +20 -0
- package/schema/workflow/unit/context/item/hubbard_legacy.json +20 -0
- package/schema/workflow/unit/context/item/hubbard_u.json +27 -0
- package/schema/workflow/unit/context/item/hubbard_v.json +20 -0
- package/schema/workflow/unit/context/item/input.json +47 -0
- package/schema/workflow/unit/context/item/mlSettings.json +20 -0
- package/schema/workflow/unit/context/item/mlTrainTestSplit.json +20 -0
- package/schema/workflow/unit/context/item/neb.json +20 -0
- package/schema/workflow/unit/context/item/nonCollinearMagnetization.json +27 -0
- package/schema/workflow/unit/context/item/path.json +33 -0
- package/schema/workflow/unit/context/item.json +55 -0
- package/schema/workflow/unit/execution.json +4 -25
- package/schema/workflow/unit/input/_input.json +1 -1
- package/schema/workflow/unit/input/_inputItem.json +9 -9
- package/schema/workflow/unit/input/_inputItemId.json +3 -1
- package/schema/workflow/unit/io/api.json +6 -2
- package/schema/workflow/unit/io/db_collection.json +24 -0
- package/schema/workflow/unit/io/db_ids.json +22 -0
- package/schema/workflow/unit/io/object_storage.json +6 -2
- package/schema/workflow/unit/io.json +2 -39
- package/schema/workflow/unit/map.json +2 -53
- package/schema/workflow/unit/mixins/assertion.json +23 -0
- package/schema/workflow/unit/mixins/assignment.json +42 -0
- package/schema/workflow/unit/mixins/base.json +50 -0
- package/schema/workflow/unit/mixins/condition.json +46 -0
- package/schema/workflow/unit/mixins/execution.json +49 -0
- package/schema/workflow/unit/mixins/io.json +46 -0
- package/schema/workflow/unit/mixins/map.json +61 -0
- package/schema/workflow/unit/{processing.json → mixins/processing.json} +3 -7
- package/schema/workflow/unit/mixins/reduce.json +44 -0
- package/schema/workflow/unit/mixins/subworkflow.json +12 -0
- package/schema/workflow/unit/reduce.json +2 -36
- package/schema/workflow/unit/subworkflow.json +4 -6
- package/schema/workflow/unit.json +1 -19
- package/schema/workflow.json +19 -15
- package/src/html/index.html +2 -1
- package/src/js/esse/JSONSchemasGenerator.ts +2 -1
- package/src/js/esse/JSONSchemasInterface.ts +1 -1
- package/src/js/esse/schemaUtils.ts +1 -1
- package/src/js/esse/server/utils.ts +82 -0
- package/src/js/esse/utils.ts +0 -74
- package/src/js/scripts/compileTs.ts +1 -1
- package/src/js/scripts/setSchemaIds.ts +1 -0
- package/src/js/utils/ajv.ts +1 -1
- package/dist/js/example/workflow/unit/io/db.json +0 -15
- package/dist/js/example/workflow/unit/processing.json +0 -13
- package/dist/js/schema/workflow/unit/io/db.json +0 -40
- package/dist/js/schema/workflow/unit/processing.json +0 -242
- package/example/workflow/unit/io/db.json +0 -15
- package/example/workflow/unit/processing.json +0 -13
- package/schema/workflow/unit/io/db.json +0 -40
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "models-directory/legacy/ml",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "
|
|
4
|
+
"title": "ML model schema",
|
|
5
5
|
"type": "object",
|
|
6
|
-
"allOf": [
|
|
7
|
-
{
|
|
8
|
-
"$ref": "../../model.json"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
6
|
"properties": {
|
|
12
7
|
"type": {
|
|
13
8
|
"enum": [
|
|
@@ -18,6 +13,14 @@
|
|
|
18
13
|
"enum": [
|
|
19
14
|
"re"
|
|
20
15
|
]
|
|
16
|
+
},
|
|
17
|
+
"method": {
|
|
18
|
+
"$ref": "../../method.json"
|
|
21
19
|
}
|
|
22
|
-
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"type",
|
|
23
|
+
"subtype",
|
|
24
|
+
"method"
|
|
25
|
+
]
|
|
23
26
|
}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "models-directory/legacy/unknown",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "
|
|
4
|
+
"title": "Unknown model schema",
|
|
5
5
|
"type": "object",
|
|
6
|
-
"allOf": [
|
|
7
|
-
{
|
|
8
|
-
"$ref": "../../model.json"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
6
|
"properties": {
|
|
12
7
|
"type": {
|
|
13
8
|
"enum": [
|
|
@@ -18,6 +13,14 @@
|
|
|
18
13
|
"enum": [
|
|
19
14
|
"unknown"
|
|
20
15
|
]
|
|
16
|
+
},
|
|
17
|
+
"method": {
|
|
18
|
+
"$ref": "../../method.json"
|
|
21
19
|
}
|
|
22
|
-
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"type",
|
|
23
|
+
"subtype",
|
|
24
|
+
"method"
|
|
25
|
+
]
|
|
23
26
|
}
|
|
@@ -1,45 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "software/application",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "application schema
|
|
4
|
+
"title": "application schema",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"allOf": [
|
|
7
7
|
{
|
|
8
8
|
"$ref": "../in_memory_entity/named_defaultable.json"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"shortName": {
|
|
13
|
-
"description": "The short name of the application. e.g. qe",
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"summary": {
|
|
17
|
-
"description": "Application's short description.",
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"version": {
|
|
21
|
-
"description": "Application version. e.g. 5.3.5",
|
|
22
|
-
"type": "string"
|
|
23
|
-
},
|
|
24
|
-
"build": {
|
|
25
|
-
"description": "Application build. e.g. VTST",
|
|
26
|
-
"type": "string"
|
|
27
9
|
},
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"type": "boolean"
|
|
31
|
-
},
|
|
32
|
-
"hasAdvancedComputeOptions": {
|
|
33
|
-
"description": "Whether advanced compute options are present",
|
|
34
|
-
"type": "boolean"
|
|
35
|
-
},
|
|
36
|
-
"isLicensed": {
|
|
37
|
-
"description": "Whether licensing is present",
|
|
38
|
-
"type": "boolean"
|
|
39
|
-
},
|
|
40
|
-
"isUsingMaterial": {
|
|
41
|
-
"description": "Whether the application is using (being passed during a downstream processing routine) a material structure.",
|
|
42
|
-
"type": "boolean"
|
|
10
|
+
{
|
|
11
|
+
"$ref": "application_properties.json"
|
|
43
12
|
}
|
|
44
|
-
|
|
13
|
+
]
|
|
45
14
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "software/application-properties",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "application properties schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"shortName": {
|
|
8
|
+
"description": "The short name of the application. e.g. qe",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"summary": {
|
|
12
|
+
"description": "Application's short description.",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"version": {
|
|
16
|
+
"description": "Application version. e.g. 5.3.5",
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"build": {
|
|
20
|
+
"description": "Application build. e.g. VTST",
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"isDefault": {
|
|
24
|
+
"description": "Whether the build is the default build",
|
|
25
|
+
"type": "boolean"
|
|
26
|
+
},
|
|
27
|
+
"isDefaultVersion": {
|
|
28
|
+
"description": "Whether the version is the default version",
|
|
29
|
+
"type": "boolean"
|
|
30
|
+
},
|
|
31
|
+
"hasAdvancedComputeOptions": {
|
|
32
|
+
"description": "Whether advanced compute options are present",
|
|
33
|
+
"type": "boolean"
|
|
34
|
+
},
|
|
35
|
+
"isLicensed": {
|
|
36
|
+
"description": "Whether licensing is present",
|
|
37
|
+
"type": "boolean"
|
|
38
|
+
},
|
|
39
|
+
"isUsingMaterial": {
|
|
40
|
+
"description": "Whether the application is using (being passed during a downstream processing routine) a material structure.",
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
},
|
|
43
|
+
"runConfig": {
|
|
44
|
+
"description": "The run configuration of the application",
|
|
45
|
+
"type": "object",
|
|
46
|
+
"properties": {
|
|
47
|
+
"commandTemplate": {
|
|
48
|
+
"description": "The command template of the application",
|
|
49
|
+
"type": "string"
|
|
50
|
+
},
|
|
51
|
+
"outFileName": {
|
|
52
|
+
"description": "The output file name of the application",
|
|
53
|
+
"type": "string"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"commandTemplate",
|
|
58
|
+
"outFileName"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"shortName",
|
|
64
|
+
"summary",
|
|
65
|
+
"version",
|
|
66
|
+
"build"
|
|
67
|
+
]
|
|
68
|
+
}
|
|
@@ -5,31 +5,13 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"allOf": [
|
|
7
7
|
{
|
|
8
|
-
"$ref": "../in_memory_entity/
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"name": {
|
|
13
|
-
"description": "The name of the executable. e.g. pw.x",
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"applicationId": {
|
|
17
|
-
"description": "_ids of the application this executable belongs to",
|
|
18
|
-
"type": "array",
|
|
19
|
-
"items": {
|
|
20
|
-
"type": "string"
|
|
21
|
-
}
|
|
8
|
+
"$ref": "../in_memory_entity/named_defaultable.json"
|
|
22
9
|
},
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"type": "string"
|
|
10
|
+
{
|
|
11
|
+
"$ref": "../system/runtime_items.json"
|
|
26
12
|
},
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"type": "boolean"
|
|
13
|
+
{
|
|
14
|
+
"$ref": "executable_properties.json"
|
|
30
15
|
}
|
|
31
|
-
},
|
|
32
|
-
"required": [
|
|
33
|
-
"name"
|
|
34
16
|
]
|
|
35
17
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "software/executable-properties",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "executable properties schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"applicationName": {
|
|
8
|
+
"description": "name of the application this executable belongs to",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"applicationVersion": {
|
|
12
|
+
"description": "version of the application this executable belongs to",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"hasAdvancedComputeOptions": {
|
|
16
|
+
"description": "Whether advanced compute options are present",
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"applicationName",
|
|
22
|
+
"applicationVersion"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -5,35 +5,13 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"allOf": [
|
|
7
7
|
{
|
|
8
|
-
"$ref": "../in_memory_entity/
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"executableId": {
|
|
13
|
-
"description": "_id of the executable this flavor belongs to",
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"executableName": {
|
|
17
|
-
"description": "name of the executable this flavor belongs to",
|
|
18
|
-
"type": "string"
|
|
19
|
-
},
|
|
20
|
-
"applicationName": {
|
|
21
|
-
"description": "name of the application this flavor belongs to",
|
|
22
|
-
"type": "string"
|
|
8
|
+
"$ref": "../in_memory_entity/named_defaultable.json"
|
|
23
9
|
},
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"type": "array",
|
|
27
|
-
"items": {
|
|
28
|
-
"$ref": "../workflow/unit/input/_inputItemId.json"
|
|
29
|
-
}
|
|
10
|
+
{
|
|
11
|
+
"$ref": "../system/runtime_items.json"
|
|
30
12
|
},
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"type": "array",
|
|
34
|
-
"items": {
|
|
35
|
-
"type": "string"
|
|
36
|
-
}
|
|
13
|
+
{
|
|
14
|
+
"$ref": "flavor_properties.json"
|
|
37
15
|
}
|
|
38
|
-
|
|
16
|
+
]
|
|
39
17
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "software/flavor-properties",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "flavor properties schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"executableName": {
|
|
8
|
+
"description": "name of the executable this flavor belongs to",
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"applicationName": {
|
|
12
|
+
"description": "name of the application this flavor belongs to",
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"applicationVersion": {
|
|
16
|
+
"description": "version of the application this flavor belongs to",
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"input": {
|
|
20
|
+
"title": "execution unit input schema",
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"$ref": "../workflow/unit/input/_inputItemId.json"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": [
|
|
28
|
+
"input",
|
|
29
|
+
"executableName",
|
|
30
|
+
"applicationName",
|
|
31
|
+
"applicationVersion"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -4,35 +4,11 @@
|
|
|
4
4
|
"title": "template schema",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"allOf": [
|
|
7
|
-
{
|
|
8
|
-
"$ref": "../workflow/unit/input/_inputItem.json"
|
|
9
|
-
},
|
|
10
7
|
{
|
|
11
8
|
"$ref": "../in_memory_entity/named.json"
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"properties": {
|
|
15
|
-
"applicationName": {
|
|
16
|
-
"type": "string"
|
|
17
|
-
},
|
|
18
|
-
"applicationVersion": {
|
|
19
|
-
"type": "string"
|
|
20
9
|
},
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
},
|
|
24
|
-
"contextProviders": {
|
|
25
|
-
"type": "array",
|
|
26
|
-
"items": {
|
|
27
|
-
"description": "render context provider names",
|
|
28
|
-
"$ref": "../workflow/unit/runtime/_runtime_item_name_object.json"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"isManuallyChanged": {
|
|
32
|
-
"type": "boolean"
|
|
10
|
+
{
|
|
11
|
+
"$ref": "template_properties.json"
|
|
33
12
|
}
|
|
34
|
-
},
|
|
35
|
-
"required": [
|
|
36
|
-
"content"
|
|
37
13
|
]
|
|
38
14
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "software/template-properties",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "template properties schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"executableName": {
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"applicationName": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"applicationVersion": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"contextProviders": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"description": "render context provider names",
|
|
20
|
+
"type": "object",
|
|
21
|
+
"properties": {
|
|
22
|
+
"name": {
|
|
23
|
+
"type": "string",
|
|
24
|
+
"tsType": "ContextProviderNameEnum"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"required": [
|
|
28
|
+
"name"
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"content": {
|
|
33
|
+
"description": "Content of the template. e.g. &CONTROL calculation='scf' ...",
|
|
34
|
+
"type": "string"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"required": [
|
|
38
|
+
"contextProviders",
|
|
39
|
+
"content",
|
|
40
|
+
"executableName",
|
|
41
|
+
"applicationName",
|
|
42
|
+
"applicationVersion"
|
|
43
|
+
]
|
|
44
|
+
}
|
package/schema/system/name.json
CHANGED
package/schema/system/owner.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "system/runtime-item",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "runtime item name object schema",
|
|
5
|
+
"description": "A runtime item is a name of a pre-processor, post-processor, monitor, or result for a calculation. Can contain additional properties basename, filetype etc.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"name": {
|
|
9
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
10
|
+
"type": "string"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"required": [
|
|
14
|
+
"name"
|
|
15
|
+
],
|
|
16
|
+
"additionalProperties": true
|
|
17
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "system/runtime-items",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "runtime items schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"preProcessors": {
|
|
8
|
+
"description": "names of the pre-processors for this calculation",
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"$ref": "runtime_item.json"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"postProcessors": {
|
|
15
|
+
"description": "names of the post-processors for this calculation",
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"$ref": "runtime_item.json"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"monitors": {
|
|
22
|
+
"description": "names of the monitors for this calculation",
|
|
23
|
+
"type": "array",
|
|
24
|
+
"items": {
|
|
25
|
+
"$ref": "runtime_item.json"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"results": {
|
|
29
|
+
"description": "names of the results for this calculation",
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"$ref": "runtime_item.json"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"preProcessors",
|
|
38
|
+
"postProcessors",
|
|
39
|
+
"monitors",
|
|
40
|
+
"results"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -3,25 +3,13 @@
|
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "base workflow schema",
|
|
5
5
|
"type": "object",
|
|
6
|
-
"allOf": [
|
|
7
|
-
{
|
|
8
|
-
"$ref": "../in_memory_entity/named_defaultable_has_metadata.json"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
6
|
"properties": {
|
|
12
7
|
"properties": {
|
|
13
8
|
"description": "Array of characteristic properties calculated by this workflow (TODO: add enums)",
|
|
14
9
|
"type": "array",
|
|
15
10
|
"items": {
|
|
16
11
|
"description": "property names, eg. `band_gaps`, `band_structure`",
|
|
17
|
-
"
|
|
18
|
-
{
|
|
19
|
-
"type": "string"
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"type": "object"
|
|
23
|
-
}
|
|
24
|
-
]
|
|
12
|
+
"type": "string"
|
|
25
13
|
}
|
|
26
14
|
},
|
|
27
15
|
"isUsingDataset": {
|
|
@@ -32,11 +20,18 @@
|
|
|
32
20
|
"description": "Defines whether the workflow is for a multi-material simulation",
|
|
33
21
|
"type": "boolean"
|
|
34
22
|
},
|
|
35
|
-
"
|
|
36
|
-
"description": "Array of
|
|
23
|
+
"subworkflows": {
|
|
24
|
+
"description": "Array of subworkflows. Subworkflow can be an instance of workflow to allow for nesting",
|
|
25
|
+
"type": "array",
|
|
26
|
+
"items": {
|
|
27
|
+
"$ref": "subworkflow.json"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"units": {
|
|
31
|
+
"description": "Contains the Units of the Workflow",
|
|
37
32
|
"type": "array",
|
|
38
33
|
"items": {
|
|
39
|
-
"
|
|
34
|
+
"$ref": "unit.json"
|
|
40
35
|
}
|
|
41
36
|
},
|
|
42
37
|
"application": {
|
|
@@ -56,5 +51,10 @@
|
|
|
56
51
|
"type": "string"
|
|
57
52
|
}
|
|
58
53
|
}
|
|
59
|
-
}
|
|
54
|
+
},
|
|
55
|
+
"required": [
|
|
56
|
+
"properties",
|
|
57
|
+
"units",
|
|
58
|
+
"subworkflows"
|
|
59
|
+
]
|
|
60
60
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/subworkflow/mixin",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Subworkflow Mixin Schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"properties": {
|
|
8
|
+
"description": "Array of characteristic properties calculated by this subworkflow",
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"description": "property names, eg. `band_gaps`, `band_structure`",
|
|
12
|
+
"type": "string"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"compute": {
|
|
16
|
+
"description": "compute parameters",
|
|
17
|
+
"$ref": "../../job/compute.json"
|
|
18
|
+
},
|
|
19
|
+
"units": {
|
|
20
|
+
"description": "Contains the Units of the subworkflow",
|
|
21
|
+
"type": "array",
|
|
22
|
+
"items": {
|
|
23
|
+
"$ref": "./unit.json"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"model": {
|
|
27
|
+
"$ref": "../../models_directory/legacy/any.json"
|
|
28
|
+
},
|
|
29
|
+
"application": {
|
|
30
|
+
"description": "information about the simulation engine/application.",
|
|
31
|
+
"$ref": "../../software/application.json"
|
|
32
|
+
},
|
|
33
|
+
"isMultiMaterial": {
|
|
34
|
+
"type": "boolean"
|
|
35
|
+
},
|
|
36
|
+
"isDraft": {
|
|
37
|
+
"description": "Defines whether to store the results/properties extracted in this unit to properties collection",
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"default": false
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [
|
|
43
|
+
"model",
|
|
44
|
+
"properties",
|
|
45
|
+
"application",
|
|
46
|
+
"units"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -7,9 +7,6 @@
|
|
|
7
7
|
{
|
|
8
8
|
"$ref": "./../unit/io.json"
|
|
9
9
|
},
|
|
10
|
-
{
|
|
11
|
-
"$ref": "./../unit/reduce.json"
|
|
12
|
-
},
|
|
13
10
|
{
|
|
14
11
|
"$ref": "./../unit/condition.json"
|
|
15
12
|
},
|
|
@@ -21,9 +18,6 @@
|
|
|
21
18
|
},
|
|
22
19
|
{
|
|
23
20
|
"$ref": "./../unit/assignment.json"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
"$ref": "./../unit/processing.json"
|
|
27
21
|
}
|
|
28
22
|
],
|
|
29
23
|
"discriminator": {
|