@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
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/unit/context/item",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "context item schema",
|
|
5
|
+
"oneOf": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "item/input.json"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"$ref": "item/cutoffs.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"$ref": "item/grid.json"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"$ref": "item/path.json"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"$ref": "item/hubbard_j.json"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"$ref": "item/hubbard_u.json"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"$ref": "item/hubbard_v.json"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"$ref": "item/hubbard_legacy.json"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"$ref": "item/neb.json"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"$ref": "item/boundaryConditions.json"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"$ref": "item/mlSettings.json"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"$ref": "item/mlTrainTestSplit.json"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"$ref": "item/dynamics.json"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"$ref": "item/collinearMagnetization.json"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"$ref": "item/nonCollinearMagnetization.json"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"discriminator": {
|
|
53
|
+
"propertyName": "name"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -1,38 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "workflow/unit/execution",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "execution unit schema
|
|
4
|
+
"title": "execution unit schema",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"allOf": [
|
|
7
7
|
{
|
|
8
8
|
"$ref": "./base.json"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
|
-
"$ref": "
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"properties": {
|
|
15
|
-
"type": {
|
|
16
|
-
"const": "execution"
|
|
17
|
-
},
|
|
18
|
-
"application": {
|
|
19
|
-
"description": "Contains information about the simulation engine/application.",
|
|
20
|
-
"$ref": "../../software/application.json"
|
|
21
|
-
},
|
|
22
|
-
"executable": {
|
|
23
|
-
"description": "Contains information about the simulation engine/application executable.",
|
|
24
|
-
"$ref": "../../software/executable.json"
|
|
11
|
+
"$ref": "../../system/runtime_items.json"
|
|
25
12
|
},
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"$ref": "../../software/flavor.json"
|
|
29
|
-
},
|
|
30
|
-
"input": {
|
|
31
|
-
"description": "unit input (type to be specified by the application's execution unit)"
|
|
13
|
+
{
|
|
14
|
+
"$ref": "./mixins/execution.json"
|
|
32
15
|
}
|
|
33
|
-
},
|
|
34
|
-
"required": [
|
|
35
|
-
"input",
|
|
36
|
-
"application"
|
|
37
16
|
]
|
|
38
17
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "workflow/unit/input/-input",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "execution unit input schema
|
|
4
|
+
"title": "execution unit input schema",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"input": {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "workflow/unit/input/-inputItem",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "execution unit input item schema
|
|
4
|
+
"title": "execution unit input item schema",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
-
"
|
|
7
|
+
"template": {
|
|
8
8
|
"description": "Input file name. e.g. pw_scf.in",
|
|
9
|
-
"
|
|
10
|
-
},
|
|
11
|
-
"content": {
|
|
12
|
-
"description": "Content of the input file. e.g. &CONTROL calculation='scf' ...",
|
|
13
|
-
"type": "string"
|
|
9
|
+
"$ref": "../../../software/template.json"
|
|
14
10
|
},
|
|
15
11
|
"rendered": {
|
|
16
12
|
"description": "Rendered content of the input file. e.g. &CONTROL calculation='scf' ...",
|
|
17
13
|
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"isManuallyChanged": {
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"default": false
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
"required": [
|
|
21
|
-
"
|
|
22
|
-
"
|
|
21
|
+
"isManuallyChanged",
|
|
22
|
+
"template"
|
|
23
23
|
]
|
|
24
24
|
}
|
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
"title": "data IO rest API input schema",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"const": "api"
|
|
10
|
+
},
|
|
7
11
|
"endpoint": {
|
|
8
12
|
"description": "rest API endpoint",
|
|
9
13
|
"type": "string"
|
|
@@ -18,8 +22,8 @@
|
|
|
18
22
|
}
|
|
19
23
|
},
|
|
20
24
|
"required": [
|
|
25
|
+
"type",
|
|
21
26
|
"endpoint",
|
|
22
27
|
"endpoint_options"
|
|
23
|
-
]
|
|
24
|
-
"additionalProperties": true
|
|
28
|
+
]
|
|
25
29
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/unit/io/db-collection",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "data IO database collection input/output schema (not used)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"const": "db_collection"
|
|
9
|
+
},
|
|
10
|
+
"collection": {
|
|
11
|
+
"description": "db collection name",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"draft": {
|
|
15
|
+
"description": "whether the result should be saved as draft",
|
|
16
|
+
"type": "boolean"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"type",
|
|
21
|
+
"collection",
|
|
22
|
+
"draft"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/unit/io/db-ids",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "data IO database ids input/output schema (not used)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"const": "db_ids"
|
|
9
|
+
},
|
|
10
|
+
"ids": {
|
|
11
|
+
"description": "IDs of item to retrieve from db",
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": [
|
|
19
|
+
"type",
|
|
20
|
+
"ids"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
12
|
+
"type": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"const": "object_storage"
|
|
15
|
+
},
|
|
12
16
|
"objectData": {
|
|
13
17
|
"$ref": "../../../core/reusable/object_storage_container_data.json"
|
|
14
18
|
},
|
|
@@ -18,7 +22,7 @@
|
|
|
18
22
|
}
|
|
19
23
|
},
|
|
20
24
|
"required": [
|
|
25
|
+
"type",
|
|
21
26
|
"objectData"
|
|
22
|
-
]
|
|
23
|
-
"additionalProperties": true
|
|
27
|
+
]
|
|
24
28
|
}
|
|
@@ -6,46 +6,9 @@
|
|
|
6
6
|
"allOf": [
|
|
7
7
|
{
|
|
8
8
|
"$ref": "./base.json"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"type": {
|
|
13
|
-
"const": "io"
|
|
14
|
-
},
|
|
15
|
-
"subtype": {
|
|
16
|
-
"enum": [
|
|
17
|
-
"input",
|
|
18
|
-
"output",
|
|
19
|
-
"dataFrame"
|
|
20
|
-
]
|
|
21
9
|
},
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
"api",
|
|
25
|
-
"db",
|
|
26
|
-
"object_storage"
|
|
27
|
-
]
|
|
28
|
-
},
|
|
29
|
-
"input": {
|
|
30
|
-
"type": "array",
|
|
31
|
-
"items": {
|
|
32
|
-
"oneOf": [
|
|
33
|
-
{
|
|
34
|
-
"$ref": "io/api.json"
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
"$ref": "io/db.json"
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"$ref": "io/object_storage.json"
|
|
41
|
-
}
|
|
42
|
-
]
|
|
43
|
-
}
|
|
10
|
+
{
|
|
11
|
+
"$ref": "./mixins/io.json"
|
|
44
12
|
}
|
|
45
|
-
},
|
|
46
|
-
"required": [
|
|
47
|
-
"subtype",
|
|
48
|
-
"source",
|
|
49
|
-
"input"
|
|
50
13
|
]
|
|
51
14
|
}
|
|
@@ -6,60 +6,9 @@
|
|
|
6
6
|
"allOf": [
|
|
7
7
|
{
|
|
8
8
|
"$ref": "./base.json"
|
|
9
|
-
}
|
|
10
|
-
],
|
|
11
|
-
"properties": {
|
|
12
|
-
"type": {
|
|
13
|
-
"const": "map"
|
|
14
|
-
},
|
|
15
|
-
"workflowId": {
|
|
16
|
-
"description": "Id of workflow to run inside map",
|
|
17
|
-
"type": "string"
|
|
18
9
|
},
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"type": "object",
|
|
22
|
-
"properties": {
|
|
23
|
-
"target": {
|
|
24
|
-
"description": "Name of the target variable to substitute using the values below. e.g. K_POINTS",
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
"scope": {
|
|
28
|
-
"description": "Scope to retrieve `values` from, global or flowchartId. Optional if `values` is given.",
|
|
29
|
-
"type": "string"
|
|
30
|
-
},
|
|
31
|
-
"name": {
|
|
32
|
-
"description": "Name of the variable inside the scope to retrieve `values` from. Optional if `values` is given.",
|
|
33
|
-
"type": "string"
|
|
34
|
-
},
|
|
35
|
-
"values": {
|
|
36
|
-
"description": "Sequence of values for the target Jinja variable. Optional if `scope` and `name` are given. This can be used for map-reduce type parallel execution",
|
|
37
|
-
"type": "array",
|
|
38
|
-
"items": {
|
|
39
|
-
"oneOf": [
|
|
40
|
-
{
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"type": "number"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"type": "object"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"useValues": {
|
|
53
|
-
"type": "boolean"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"required": [
|
|
57
|
-
"target"
|
|
58
|
-
]
|
|
10
|
+
{
|
|
11
|
+
"$ref": "./mixins/map.json"
|
|
59
12
|
}
|
|
60
|
-
},
|
|
61
|
-
"required": [
|
|
62
|
-
"input",
|
|
63
|
-
"workflowId"
|
|
64
13
|
]
|
|
65
14
|
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/unit/mixins/assertion",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "assertion unit mixin schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"const": "assertion"
|
|
9
|
+
},
|
|
10
|
+
"statement": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "The statement to be evaluated"
|
|
13
|
+
},
|
|
14
|
+
"errorMessage": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "The error message to be displayed if the assertion fails"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"name",
|
|
21
|
+
"statement"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/unit/mixins/assignment",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "assignment unit mixin schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"const": "assignment"
|
|
9
|
+
},
|
|
10
|
+
"input": {
|
|
11
|
+
"description": "Input information for assignment. if omitted, means that it is an initialization unit, otherwise it is an assignment.",
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"$ref": "../input/_inputItemScope.json"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"operand": {
|
|
18
|
+
"description": "Name of the global variable. e.g. 'x'",
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"value": {
|
|
22
|
+
"description": "Value of the variable. The value content could be a simple integer, string or a python expression. e.g. '0' (initialization), 'sin(x)+1' (expression)",
|
|
23
|
+
"oneOf": [
|
|
24
|
+
{
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "boolean"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "number"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"name",
|
|
38
|
+
"operand",
|
|
39
|
+
"value"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/unit/mixins/base",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "workflow base unit mixin schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"isDraft": {
|
|
8
|
+
"type": "boolean"
|
|
9
|
+
},
|
|
10
|
+
"type": {
|
|
11
|
+
"description": "type of the unit",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"name": {
|
|
15
|
+
"description": "name of the unit. e.g. pw_scf",
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
"status": {
|
|
19
|
+
"description": "Status of the unit.",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"enum": [
|
|
22
|
+
"idle",
|
|
23
|
+
"active",
|
|
24
|
+
"warning",
|
|
25
|
+
"error",
|
|
26
|
+
"finished"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"head": {
|
|
30
|
+
"description": "Whether this unit is the first one to be executed.",
|
|
31
|
+
"type": "boolean"
|
|
32
|
+
},
|
|
33
|
+
"flowchartId": {
|
|
34
|
+
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"next": {
|
|
38
|
+
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"enableRender": {
|
|
42
|
+
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
43
|
+
"type": "boolean"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"required": [
|
|
47
|
+
"type",
|
|
48
|
+
"flowchartId"
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/unit/mixins/condition",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "condition unit mixin schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"const": "condition"
|
|
9
|
+
},
|
|
10
|
+
"input": {
|
|
11
|
+
"description": "Input information for condition.",
|
|
12
|
+
"type": "array",
|
|
13
|
+
"items": {
|
|
14
|
+
"$ref": "../input/_inputItemScope.json"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"statement": {
|
|
18
|
+
"description": "Condition statement. e.g. 'abs(x-total_energy) < 1e-5'",
|
|
19
|
+
"type": "string"
|
|
20
|
+
},
|
|
21
|
+
"then": {
|
|
22
|
+
"description": "Flowchart ID reference for `then` part of the condition.",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"else": {
|
|
26
|
+
"description": "Flowchart ID reference for `else` part of the condition.",
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"maxOccurrences": {
|
|
30
|
+
"description": "Maximum occurrence of the condition, usable for loops.",
|
|
31
|
+
"type": "integer"
|
|
32
|
+
},
|
|
33
|
+
"throwException": {
|
|
34
|
+
"description": "Throw exception on reaching to maximum occurence.",
|
|
35
|
+
"type": "boolean"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"required": [
|
|
39
|
+
"input",
|
|
40
|
+
"statement",
|
|
41
|
+
"then",
|
|
42
|
+
"else",
|
|
43
|
+
"maxOccurrences"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/unit/mixins/execution",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "execution unit mixin schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"const": "execution"
|
|
9
|
+
},
|
|
10
|
+
"application": {
|
|
11
|
+
"description": "Contains information about the simulation engine/application.",
|
|
12
|
+
"$ref": "../../../software/application.json"
|
|
13
|
+
},
|
|
14
|
+
"executable": {
|
|
15
|
+
"allOf": [
|
|
16
|
+
{
|
|
17
|
+
"$ref": "../../../in_memory_entity/named_defaultable.json"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"$ref": "../../../software/executable_properties.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"flavor": {
|
|
25
|
+
"description": "Contains information about the simulation engine/application flavor.",
|
|
26
|
+
"$ref": "../../../software/flavor.json"
|
|
27
|
+
},
|
|
28
|
+
"input": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"$ref": "../input/_inputItem.json"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"context": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"$ref": "../context/item.json"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": [
|
|
42
|
+
"type",
|
|
43
|
+
"input",
|
|
44
|
+
"application",
|
|
45
|
+
"executable",
|
|
46
|
+
"flavor",
|
|
47
|
+
"context"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/unit/mixins/io",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "data IO unit mixin schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"const": "io"
|
|
9
|
+
},
|
|
10
|
+
"subtype": {
|
|
11
|
+
"enum": [
|
|
12
|
+
"input",
|
|
13
|
+
"output",
|
|
14
|
+
"dataFrame"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"source": {
|
|
18
|
+
"enum": [
|
|
19
|
+
"api",
|
|
20
|
+
"object_storage"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"input": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"oneOf": [
|
|
28
|
+
{
|
|
29
|
+
"$ref": "../io/api.json"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"$ref": "../io/object_storage.json"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"discriminator": {
|
|
36
|
+
"propertyName": "type"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"required": [
|
|
42
|
+
"subtype",
|
|
43
|
+
"source",
|
|
44
|
+
"input"
|
|
45
|
+
]
|
|
46
|
+
}
|