@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
|
@@ -6,1909 +6,24 @@
|
|
|
6
6
|
"oneOf": [
|
|
7
7
|
{
|
|
8
8
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
9
|
-
"title": "
|
|
10
|
-
"type": "object",
|
|
11
|
-
"required": [
|
|
12
|
-
"flowchartId",
|
|
13
|
-
"input",
|
|
14
|
-
"source",
|
|
15
|
-
"subtype",
|
|
16
|
-
"type"
|
|
17
|
-
],
|
|
18
|
-
"additionalProperties": true,
|
|
19
|
-
"properties": {
|
|
20
|
-
"type": {
|
|
21
|
-
"const": "io",
|
|
22
|
-
"description": "type of the unit",
|
|
23
|
-
"type": "string"
|
|
24
|
-
},
|
|
25
|
-
"subtype": {
|
|
26
|
-
"enum": [
|
|
27
|
-
"input",
|
|
28
|
-
"output",
|
|
29
|
-
"dataFrame"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"source": {
|
|
33
|
-
"enum": [
|
|
34
|
-
"api",
|
|
35
|
-
"db",
|
|
36
|
-
"object_storage"
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
"input": {
|
|
40
|
-
"type": "array",
|
|
41
|
-
"items": {
|
|
42
|
-
"oneOf": [
|
|
43
|
-
{
|
|
44
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
45
|
-
"title": "data IO rest API input schema",
|
|
46
|
-
"type": "object",
|
|
47
|
-
"properties": {
|
|
48
|
-
"endpoint": {
|
|
49
|
-
"description": "rest API endpoint",
|
|
50
|
-
"type": "string"
|
|
51
|
-
},
|
|
52
|
-
"endpoint_options": {
|
|
53
|
-
"description": "rest API endpoint options",
|
|
54
|
-
"type": "object"
|
|
55
|
-
},
|
|
56
|
-
"name": {
|
|
57
|
-
"description": "the name of the variable in local scope to save the data under",
|
|
58
|
-
"type": "string"
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
"required": [
|
|
62
|
-
"endpoint",
|
|
63
|
-
"endpoint_options"
|
|
64
|
-
],
|
|
65
|
-
"additionalProperties": true
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
69
|
-
"title": "data IO database input/output schema",
|
|
70
|
-
"type": "object",
|
|
71
|
-
"oneOf": [
|
|
72
|
-
{
|
|
73
|
-
"properties": {
|
|
74
|
-
"ids": {
|
|
75
|
-
"description": "IDs of item to retrieve from db",
|
|
76
|
-
"type": "array",
|
|
77
|
-
"items": {
|
|
78
|
-
"type": "string"
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"required": [
|
|
83
|
-
"ids"
|
|
84
|
-
],
|
|
85
|
-
"additionalProperties": true
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
"properties": {
|
|
89
|
-
"collection": {
|
|
90
|
-
"description": "db collection name",
|
|
91
|
-
"type": "string"
|
|
92
|
-
},
|
|
93
|
-
"draft": {
|
|
94
|
-
"description": "whether the result should be saved as draft",
|
|
95
|
-
"type": "boolean"
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
"required": [
|
|
99
|
-
"collection",
|
|
100
|
-
"draft"
|
|
101
|
-
],
|
|
102
|
-
"additionalProperties": true
|
|
103
|
-
}
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
108
|
-
"title": "object_storage io schema",
|
|
109
|
-
"type": "object",
|
|
110
|
-
"required": [
|
|
111
|
-
"objectData"
|
|
112
|
-
],
|
|
113
|
-
"additionalProperties": true,
|
|
114
|
-
"properties": {
|
|
115
|
-
"objectData": {
|
|
116
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
117
|
-
"title": "Object Storage Container Data",
|
|
118
|
-
"type": "object",
|
|
119
|
-
"properties": {
|
|
120
|
-
"CONTAINER": {
|
|
121
|
-
"description": "Object storage container for the file",
|
|
122
|
-
"type": "string"
|
|
123
|
-
},
|
|
124
|
-
"NAME": {
|
|
125
|
-
"description": "Name of the file inside the object storage bucket",
|
|
126
|
-
"type": "string"
|
|
127
|
-
},
|
|
128
|
-
"PROVIDER": {
|
|
129
|
-
"description": "Object storage provider",
|
|
130
|
-
"type": "string"
|
|
131
|
-
},
|
|
132
|
-
"REGION": {
|
|
133
|
-
"description": "Region for the object container specified in Container",
|
|
134
|
-
"type": "string"
|
|
135
|
-
},
|
|
136
|
-
"SIZE": {
|
|
137
|
-
"description": "Size of the file in bytes",
|
|
138
|
-
"type": "integer"
|
|
139
|
-
},
|
|
140
|
-
"TIMESTAMP": {
|
|
141
|
-
"description": "Unix timestamp showing when the file was last modified",
|
|
142
|
-
"type": "string"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
"overwrite": {
|
|
147
|
-
"description": "if a file with the same filename already exists, whether to overwrite the old file",
|
|
148
|
-
"type": "boolean"
|
|
149
|
-
},
|
|
150
|
-
"pathname": {
|
|
151
|
-
"description": "Relative path to the directory that contains the file.",
|
|
152
|
-
"type": "string"
|
|
153
|
-
},
|
|
154
|
-
"basename": {
|
|
155
|
-
"description": "Basename of the file",
|
|
156
|
-
"type": "string",
|
|
157
|
-
"$comment": "isGenerative:true"
|
|
158
|
-
},
|
|
159
|
-
"filetype": {
|
|
160
|
-
"description": "What kind of file this is, e.g. image / text",
|
|
161
|
-
"type": "string"
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
]
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
"_id": {
|
|
169
|
-
"type": "string",
|
|
170
|
-
"description": "entity identity"
|
|
171
|
-
},
|
|
172
|
-
"isDraft": {
|
|
173
|
-
"type": "boolean"
|
|
174
|
-
},
|
|
175
|
-
"name": {
|
|
176
|
-
"description": "name of the unit. e.g. pw_scf",
|
|
177
|
-
"type": "string"
|
|
178
|
-
},
|
|
179
|
-
"status": {
|
|
180
|
-
"description": "Status of the unit.",
|
|
181
|
-
"type": "string",
|
|
182
|
-
"enum": [
|
|
183
|
-
"idle",
|
|
184
|
-
"active",
|
|
185
|
-
"warning",
|
|
186
|
-
"error",
|
|
187
|
-
"finished"
|
|
188
|
-
]
|
|
189
|
-
},
|
|
190
|
-
"head": {
|
|
191
|
-
"description": "Whether this unit is the first one to be executed.",
|
|
192
|
-
"type": "boolean"
|
|
193
|
-
},
|
|
194
|
-
"flowchartId": {
|
|
195
|
-
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
196
|
-
"type": "string"
|
|
197
|
-
},
|
|
198
|
-
"next": {
|
|
199
|
-
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
200
|
-
"type": "string"
|
|
201
|
-
},
|
|
202
|
-
"enableRender": {
|
|
203
|
-
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
204
|
-
"type": "boolean"
|
|
205
|
-
},
|
|
206
|
-
"context": {
|
|
207
|
-
"type": "object"
|
|
208
|
-
},
|
|
209
|
-
"slug": {
|
|
210
|
-
"description": "entity slug",
|
|
211
|
-
"type": "string"
|
|
212
|
-
},
|
|
213
|
-
"systemName": {
|
|
214
|
-
"type": "string"
|
|
215
|
-
},
|
|
216
|
-
"schemaVersion": {
|
|
217
|
-
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
218
|
-
"type": "string",
|
|
219
|
-
"default": "2022.8.16"
|
|
220
|
-
},
|
|
221
|
-
"isDefault": {
|
|
222
|
-
"description": "Identifies that entity is defaultable",
|
|
223
|
-
"type": "boolean",
|
|
224
|
-
"default": false
|
|
225
|
-
},
|
|
226
|
-
"preProcessors": {
|
|
227
|
-
"description": "names of the pre-processors for this calculation",
|
|
228
|
-
"type": "array",
|
|
229
|
-
"items": {
|
|
230
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
231
|
-
"title": "runtime item schema",
|
|
232
|
-
"oneOf": [
|
|
233
|
-
{
|
|
234
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
235
|
-
"title": "name result schema",
|
|
236
|
-
"type": "object",
|
|
237
|
-
"properties": {
|
|
238
|
-
"name": {
|
|
239
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
240
|
-
"type": "string"
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
"additionalProperties": true,
|
|
244
|
-
"required": [
|
|
245
|
-
"name"
|
|
246
|
-
]
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
250
|
-
"title": "RuntimeItemString",
|
|
251
|
-
"description": "name of runtime item in shortened notation",
|
|
252
|
-
"type": "string"
|
|
253
|
-
}
|
|
254
|
-
]
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
"postProcessors": {
|
|
258
|
-
"description": "names of the post-processors for this calculation",
|
|
259
|
-
"type": "array",
|
|
260
|
-
"items": {
|
|
261
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
262
|
-
"title": "runtime item schema",
|
|
263
|
-
"oneOf": [
|
|
264
|
-
{
|
|
265
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
266
|
-
"title": "name result schema",
|
|
267
|
-
"type": "object",
|
|
268
|
-
"properties": {
|
|
269
|
-
"name": {
|
|
270
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
271
|
-
"type": "string"
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
"additionalProperties": true,
|
|
275
|
-
"required": [
|
|
276
|
-
"name"
|
|
277
|
-
]
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
281
|
-
"title": "RuntimeItemString",
|
|
282
|
-
"description": "name of runtime item in shortened notation",
|
|
283
|
-
"type": "string"
|
|
284
|
-
}
|
|
285
|
-
]
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
"monitors": {
|
|
289
|
-
"description": "names of the monitors for this calculation",
|
|
290
|
-
"type": "array",
|
|
291
|
-
"items": {
|
|
292
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
293
|
-
"title": "runtime item schema",
|
|
294
|
-
"oneOf": [
|
|
295
|
-
{
|
|
296
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
297
|
-
"title": "name result schema",
|
|
298
|
-
"type": "object",
|
|
299
|
-
"properties": {
|
|
300
|
-
"name": {
|
|
301
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
302
|
-
"type": "string"
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
"additionalProperties": true,
|
|
306
|
-
"required": [
|
|
307
|
-
"name"
|
|
308
|
-
]
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
312
|
-
"title": "RuntimeItemString",
|
|
313
|
-
"description": "name of runtime item in shortened notation",
|
|
314
|
-
"type": "string"
|
|
315
|
-
}
|
|
316
|
-
]
|
|
317
|
-
}
|
|
318
|
-
},
|
|
319
|
-
"results": {
|
|
320
|
-
"description": "names of the results for this calculation",
|
|
321
|
-
"type": "array",
|
|
322
|
-
"items": {
|
|
323
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
324
|
-
"title": "runtime item schema",
|
|
325
|
-
"oneOf": [
|
|
326
|
-
{
|
|
327
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
328
|
-
"title": "name result schema",
|
|
329
|
-
"type": "object",
|
|
330
|
-
"properties": {
|
|
331
|
-
"name": {
|
|
332
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
333
|
-
"type": "string"
|
|
334
|
-
}
|
|
335
|
-
},
|
|
336
|
-
"additionalProperties": true,
|
|
337
|
-
"required": [
|
|
338
|
-
"name"
|
|
339
|
-
]
|
|
340
|
-
},
|
|
341
|
-
{
|
|
342
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
343
|
-
"title": "RuntimeItemString",
|
|
344
|
-
"description": "name of runtime item in shortened notation",
|
|
345
|
-
"type": "string"
|
|
346
|
-
}
|
|
347
|
-
]
|
|
348
|
-
}
|
|
349
|
-
},
|
|
350
|
-
"tags": {
|
|
351
|
-
"description": "entity tags",
|
|
352
|
-
"type": "array",
|
|
353
|
-
"items": {
|
|
354
|
-
"type": "string"
|
|
355
|
-
}
|
|
356
|
-
},
|
|
357
|
-
"statusTrack": {
|
|
358
|
-
"type": "array",
|
|
359
|
-
"items": {
|
|
360
|
-
"type": "object",
|
|
361
|
-
"required": [
|
|
362
|
-
"trackedAt",
|
|
363
|
-
"status"
|
|
364
|
-
],
|
|
365
|
-
"properties": {
|
|
366
|
-
"trackedAt": {
|
|
367
|
-
"type": "number"
|
|
368
|
-
},
|
|
369
|
-
"status": {
|
|
370
|
-
"type": "string"
|
|
371
|
-
},
|
|
372
|
-
"repetition": {
|
|
373
|
-
"type": "number"
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
382
|
-
"title": "reduce unit schema",
|
|
9
|
+
"title": "map unit schema",
|
|
383
10
|
"type": "object",
|
|
384
11
|
"required": [
|
|
385
12
|
"flowchartId",
|
|
386
13
|
"input",
|
|
387
|
-
"
|
|
388
|
-
"
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
"type"
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
},
|
|
397
|
-
"mapFlowchartId": {
|
|
398
|
-
"description": "corresponding map unit flowchart ID",
|
|
399
|
-
"type": "string"
|
|
400
|
-
},
|
|
401
|
-
"input": {
|
|
402
|
-
"description": "input information for reduce unit",
|
|
403
|
-
"type": "array",
|
|
404
|
-
"items": {
|
|
405
|
-
"type": "object",
|
|
406
|
-
"required": [
|
|
407
|
-
"operation",
|
|
408
|
-
"arguments"
|
|
409
|
-
],
|
|
410
|
-
"properties": {
|
|
411
|
-
"operation": {
|
|
412
|
-
"description": "reduce operation, e.g. aggregate",
|
|
413
|
-
"type": "string"
|
|
414
|
-
},
|
|
415
|
-
"arguments": {
|
|
416
|
-
"description": "arguments which are passed to reduce operation function",
|
|
417
|
-
"type": "array",
|
|
418
|
-
"items": {
|
|
419
|
-
"type": "string"
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
"_id": {
|
|
426
|
-
"type": "string",
|
|
427
|
-
"description": "entity identity"
|
|
428
|
-
},
|
|
429
|
-
"isDraft": {
|
|
430
|
-
"type": "boolean"
|
|
431
|
-
},
|
|
432
|
-
"name": {
|
|
433
|
-
"description": "name of the unit. e.g. pw_scf",
|
|
434
|
-
"type": "string"
|
|
435
|
-
},
|
|
436
|
-
"status": {
|
|
437
|
-
"description": "Status of the unit.",
|
|
438
|
-
"type": "string",
|
|
439
|
-
"enum": [
|
|
440
|
-
"idle",
|
|
441
|
-
"active",
|
|
442
|
-
"warning",
|
|
443
|
-
"error",
|
|
444
|
-
"finished"
|
|
445
|
-
]
|
|
446
|
-
},
|
|
447
|
-
"head": {
|
|
448
|
-
"description": "Whether this unit is the first one to be executed.",
|
|
449
|
-
"type": "boolean"
|
|
450
|
-
},
|
|
451
|
-
"flowchartId": {
|
|
452
|
-
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
453
|
-
"type": "string"
|
|
454
|
-
},
|
|
455
|
-
"next": {
|
|
456
|
-
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
457
|
-
"type": "string"
|
|
458
|
-
},
|
|
459
|
-
"enableRender": {
|
|
460
|
-
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
461
|
-
"type": "boolean"
|
|
462
|
-
},
|
|
463
|
-
"context": {
|
|
464
|
-
"type": "object"
|
|
465
|
-
},
|
|
466
|
-
"slug": {
|
|
467
|
-
"description": "entity slug",
|
|
468
|
-
"type": "string"
|
|
469
|
-
},
|
|
470
|
-
"systemName": {
|
|
471
|
-
"type": "string"
|
|
472
|
-
},
|
|
473
|
-
"schemaVersion": {
|
|
474
|
-
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
475
|
-
"type": "string",
|
|
476
|
-
"default": "2022.8.16"
|
|
477
|
-
},
|
|
478
|
-
"isDefault": {
|
|
479
|
-
"description": "Identifies that entity is defaultable",
|
|
480
|
-
"type": "boolean",
|
|
481
|
-
"default": false
|
|
482
|
-
},
|
|
483
|
-
"preProcessors": {
|
|
484
|
-
"description": "names of the pre-processors for this calculation",
|
|
485
|
-
"type": "array",
|
|
486
|
-
"items": {
|
|
487
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
488
|
-
"title": "runtime item schema",
|
|
489
|
-
"oneOf": [
|
|
490
|
-
{
|
|
491
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
492
|
-
"title": "name result schema",
|
|
493
|
-
"type": "object",
|
|
494
|
-
"properties": {
|
|
495
|
-
"name": {
|
|
496
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
497
|
-
"type": "string"
|
|
498
|
-
}
|
|
499
|
-
},
|
|
500
|
-
"additionalProperties": true,
|
|
501
|
-
"required": [
|
|
502
|
-
"name"
|
|
503
|
-
]
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
507
|
-
"title": "RuntimeItemString",
|
|
508
|
-
"description": "name of runtime item in shortened notation",
|
|
509
|
-
"type": "string"
|
|
510
|
-
}
|
|
511
|
-
]
|
|
512
|
-
}
|
|
513
|
-
},
|
|
514
|
-
"postProcessors": {
|
|
515
|
-
"description": "names of the post-processors for this calculation",
|
|
516
|
-
"type": "array",
|
|
517
|
-
"items": {
|
|
518
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
519
|
-
"title": "runtime item schema",
|
|
520
|
-
"oneOf": [
|
|
521
|
-
{
|
|
522
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
523
|
-
"title": "name result schema",
|
|
524
|
-
"type": "object",
|
|
525
|
-
"properties": {
|
|
526
|
-
"name": {
|
|
527
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
528
|
-
"type": "string"
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
"additionalProperties": true,
|
|
532
|
-
"required": [
|
|
533
|
-
"name"
|
|
534
|
-
]
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
538
|
-
"title": "RuntimeItemString",
|
|
539
|
-
"description": "name of runtime item in shortened notation",
|
|
540
|
-
"type": "string"
|
|
541
|
-
}
|
|
542
|
-
]
|
|
543
|
-
}
|
|
544
|
-
},
|
|
545
|
-
"monitors": {
|
|
546
|
-
"description": "names of the monitors for this calculation",
|
|
547
|
-
"type": "array",
|
|
548
|
-
"items": {
|
|
549
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
550
|
-
"title": "runtime item schema",
|
|
551
|
-
"oneOf": [
|
|
552
|
-
{
|
|
553
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
554
|
-
"title": "name result schema",
|
|
555
|
-
"type": "object",
|
|
556
|
-
"properties": {
|
|
557
|
-
"name": {
|
|
558
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
559
|
-
"type": "string"
|
|
560
|
-
}
|
|
561
|
-
},
|
|
562
|
-
"additionalProperties": true,
|
|
563
|
-
"required": [
|
|
564
|
-
"name"
|
|
565
|
-
]
|
|
566
|
-
},
|
|
567
|
-
{
|
|
568
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
569
|
-
"title": "RuntimeItemString",
|
|
570
|
-
"description": "name of runtime item in shortened notation",
|
|
571
|
-
"type": "string"
|
|
572
|
-
}
|
|
573
|
-
]
|
|
574
|
-
}
|
|
575
|
-
},
|
|
576
|
-
"results": {
|
|
577
|
-
"description": "names of the results for this calculation",
|
|
578
|
-
"type": "array",
|
|
579
|
-
"items": {
|
|
580
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
581
|
-
"title": "runtime item schema",
|
|
582
|
-
"oneOf": [
|
|
583
|
-
{
|
|
584
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
585
|
-
"title": "name result schema",
|
|
586
|
-
"type": "object",
|
|
587
|
-
"properties": {
|
|
588
|
-
"name": {
|
|
589
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
590
|
-
"type": "string"
|
|
591
|
-
}
|
|
592
|
-
},
|
|
593
|
-
"additionalProperties": true,
|
|
594
|
-
"required": [
|
|
595
|
-
"name"
|
|
596
|
-
]
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
600
|
-
"title": "RuntimeItemString",
|
|
601
|
-
"description": "name of runtime item in shortened notation",
|
|
602
|
-
"type": "string"
|
|
603
|
-
}
|
|
604
|
-
]
|
|
605
|
-
}
|
|
606
|
-
},
|
|
607
|
-
"tags": {
|
|
608
|
-
"description": "entity tags",
|
|
609
|
-
"type": "array",
|
|
610
|
-
"items": {
|
|
611
|
-
"type": "string"
|
|
612
|
-
}
|
|
613
|
-
},
|
|
614
|
-
"statusTrack": {
|
|
615
|
-
"type": "array",
|
|
616
|
-
"items": {
|
|
617
|
-
"type": "object",
|
|
618
|
-
"required": [
|
|
619
|
-
"trackedAt",
|
|
620
|
-
"status"
|
|
621
|
-
],
|
|
622
|
-
"properties": {
|
|
623
|
-
"trackedAt": {
|
|
624
|
-
"type": "number"
|
|
625
|
-
},
|
|
626
|
-
"status": {
|
|
627
|
-
"type": "string"
|
|
628
|
-
},
|
|
629
|
-
"repetition": {
|
|
630
|
-
"type": "number"
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
639
|
-
"title": "condition unit schema",
|
|
640
|
-
"type": "object",
|
|
641
|
-
"required": [
|
|
642
|
-
"else",
|
|
643
|
-
"flowchartId",
|
|
644
|
-
"input",
|
|
645
|
-
"maxOccurrences",
|
|
646
|
-
"statement",
|
|
647
|
-
"then",
|
|
648
|
-
"type"
|
|
649
|
-
],
|
|
650
|
-
"additionalProperties": true,
|
|
651
|
-
"properties": {
|
|
652
|
-
"type": {
|
|
653
|
-
"const": "condition",
|
|
654
|
-
"description": "type of the unit",
|
|
655
|
-
"type": "string"
|
|
656
|
-
},
|
|
657
|
-
"input": {
|
|
658
|
-
"description": "Input information for condition.",
|
|
659
|
-
"type": "array",
|
|
660
|
-
"items": {
|
|
661
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
662
|
-
"title": "workflow unit input schema",
|
|
663
|
-
"type": "object",
|
|
664
|
-
"required": [
|
|
665
|
-
"scope",
|
|
666
|
-
"name"
|
|
667
|
-
],
|
|
668
|
-
"properties": {
|
|
669
|
-
"scope": {
|
|
670
|
-
"description": "Scope of the variable. e.g. 'global' or 'flowchart_id_2'",
|
|
671
|
-
"type": "string"
|
|
672
|
-
},
|
|
673
|
-
"name": {
|
|
674
|
-
"description": "Name of the input data. e.g. total_energy",
|
|
675
|
-
"type": "string"
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
},
|
|
680
|
-
"statement": {
|
|
681
|
-
"description": "Condition statement. e.g. 'abs(x-total_energy) < 1e-5'",
|
|
682
|
-
"type": "string"
|
|
683
|
-
},
|
|
684
|
-
"then": {
|
|
685
|
-
"description": "Flowchart ID reference for `then` part of the condition.",
|
|
686
|
-
"type": "string"
|
|
687
|
-
},
|
|
688
|
-
"else": {
|
|
689
|
-
"description": "Flowchart ID reference for `else` part of the condition.",
|
|
690
|
-
"type": "string"
|
|
691
|
-
},
|
|
692
|
-
"maxOccurrences": {
|
|
693
|
-
"description": "Maximum occurrence of the condition, usable for loops.",
|
|
694
|
-
"type": "integer"
|
|
695
|
-
},
|
|
696
|
-
"throwException": {
|
|
697
|
-
"description": "Throw exception on reaching to maximum occurence.",
|
|
698
|
-
"type": "boolean"
|
|
699
|
-
},
|
|
700
|
-
"_id": {
|
|
701
|
-
"type": "string",
|
|
702
|
-
"description": "entity identity"
|
|
703
|
-
},
|
|
704
|
-
"isDraft": {
|
|
705
|
-
"type": "boolean"
|
|
706
|
-
},
|
|
707
|
-
"name": {
|
|
708
|
-
"description": "name of the unit. e.g. pw_scf",
|
|
709
|
-
"type": "string"
|
|
710
|
-
},
|
|
711
|
-
"status": {
|
|
712
|
-
"description": "Status of the unit.",
|
|
713
|
-
"type": "string",
|
|
714
|
-
"enum": [
|
|
715
|
-
"idle",
|
|
716
|
-
"active",
|
|
717
|
-
"warning",
|
|
718
|
-
"error",
|
|
719
|
-
"finished"
|
|
720
|
-
]
|
|
721
|
-
},
|
|
722
|
-
"head": {
|
|
723
|
-
"description": "Whether this unit is the first one to be executed.",
|
|
724
|
-
"type": "boolean"
|
|
725
|
-
},
|
|
726
|
-
"flowchartId": {
|
|
727
|
-
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
728
|
-
"type": "string"
|
|
729
|
-
},
|
|
730
|
-
"next": {
|
|
731
|
-
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
732
|
-
"type": "string"
|
|
733
|
-
},
|
|
734
|
-
"enableRender": {
|
|
735
|
-
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
736
|
-
"type": "boolean"
|
|
737
|
-
},
|
|
738
|
-
"context": {
|
|
739
|
-
"type": "object"
|
|
740
|
-
},
|
|
741
|
-
"slug": {
|
|
742
|
-
"description": "entity slug",
|
|
743
|
-
"type": "string"
|
|
744
|
-
},
|
|
745
|
-
"systemName": {
|
|
746
|
-
"type": "string"
|
|
747
|
-
},
|
|
748
|
-
"schemaVersion": {
|
|
749
|
-
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
750
|
-
"type": "string",
|
|
751
|
-
"default": "2022.8.16"
|
|
752
|
-
},
|
|
753
|
-
"isDefault": {
|
|
754
|
-
"description": "Identifies that entity is defaultable",
|
|
755
|
-
"type": "boolean",
|
|
756
|
-
"default": false
|
|
757
|
-
},
|
|
758
|
-
"preProcessors": {
|
|
759
|
-
"description": "names of the pre-processors for this calculation",
|
|
760
|
-
"type": "array",
|
|
761
|
-
"items": {
|
|
762
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
763
|
-
"title": "runtime item schema",
|
|
764
|
-
"oneOf": [
|
|
765
|
-
{
|
|
766
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
767
|
-
"title": "name result schema",
|
|
768
|
-
"type": "object",
|
|
769
|
-
"properties": {
|
|
770
|
-
"name": {
|
|
771
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
772
|
-
"type": "string"
|
|
773
|
-
}
|
|
774
|
-
},
|
|
775
|
-
"additionalProperties": true,
|
|
776
|
-
"required": [
|
|
777
|
-
"name"
|
|
778
|
-
]
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
782
|
-
"title": "RuntimeItemString",
|
|
783
|
-
"description": "name of runtime item in shortened notation",
|
|
784
|
-
"type": "string"
|
|
785
|
-
}
|
|
786
|
-
]
|
|
787
|
-
}
|
|
788
|
-
},
|
|
789
|
-
"postProcessors": {
|
|
790
|
-
"description": "names of the post-processors for this calculation",
|
|
791
|
-
"type": "array",
|
|
792
|
-
"items": {
|
|
793
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
794
|
-
"title": "runtime item schema",
|
|
795
|
-
"oneOf": [
|
|
796
|
-
{
|
|
797
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
798
|
-
"title": "name result schema",
|
|
799
|
-
"type": "object",
|
|
800
|
-
"properties": {
|
|
801
|
-
"name": {
|
|
802
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
803
|
-
"type": "string"
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
|
-
"additionalProperties": true,
|
|
807
|
-
"required": [
|
|
808
|
-
"name"
|
|
809
|
-
]
|
|
810
|
-
},
|
|
811
|
-
{
|
|
812
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
813
|
-
"title": "RuntimeItemString",
|
|
814
|
-
"description": "name of runtime item in shortened notation",
|
|
815
|
-
"type": "string"
|
|
816
|
-
}
|
|
817
|
-
]
|
|
818
|
-
}
|
|
819
|
-
},
|
|
820
|
-
"monitors": {
|
|
821
|
-
"description": "names of the monitors for this calculation",
|
|
822
|
-
"type": "array",
|
|
823
|
-
"items": {
|
|
824
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
825
|
-
"title": "runtime item schema",
|
|
826
|
-
"oneOf": [
|
|
827
|
-
{
|
|
828
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
829
|
-
"title": "name result schema",
|
|
830
|
-
"type": "object",
|
|
831
|
-
"properties": {
|
|
832
|
-
"name": {
|
|
833
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
834
|
-
"type": "string"
|
|
835
|
-
}
|
|
836
|
-
},
|
|
837
|
-
"additionalProperties": true,
|
|
838
|
-
"required": [
|
|
839
|
-
"name"
|
|
840
|
-
]
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
844
|
-
"title": "RuntimeItemString",
|
|
845
|
-
"description": "name of runtime item in shortened notation",
|
|
846
|
-
"type": "string"
|
|
847
|
-
}
|
|
848
|
-
]
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
"results": {
|
|
852
|
-
"description": "names of the results for this calculation",
|
|
853
|
-
"type": "array",
|
|
854
|
-
"items": {
|
|
855
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
856
|
-
"title": "runtime item schema",
|
|
857
|
-
"oneOf": [
|
|
858
|
-
{
|
|
859
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
860
|
-
"title": "name result schema",
|
|
861
|
-
"type": "object",
|
|
862
|
-
"properties": {
|
|
863
|
-
"name": {
|
|
864
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
865
|
-
"type": "string"
|
|
866
|
-
}
|
|
867
|
-
},
|
|
868
|
-
"additionalProperties": true,
|
|
869
|
-
"required": [
|
|
870
|
-
"name"
|
|
871
|
-
]
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
875
|
-
"title": "RuntimeItemString",
|
|
876
|
-
"description": "name of runtime item in shortened notation",
|
|
877
|
-
"type": "string"
|
|
878
|
-
}
|
|
879
|
-
]
|
|
880
|
-
}
|
|
881
|
-
},
|
|
882
|
-
"tags": {
|
|
883
|
-
"description": "entity tags",
|
|
884
|
-
"type": "array",
|
|
885
|
-
"items": {
|
|
886
|
-
"type": "string"
|
|
887
|
-
}
|
|
888
|
-
},
|
|
889
|
-
"statusTrack": {
|
|
890
|
-
"type": "array",
|
|
891
|
-
"items": {
|
|
892
|
-
"type": "object",
|
|
893
|
-
"required": [
|
|
894
|
-
"trackedAt",
|
|
895
|
-
"status"
|
|
896
|
-
],
|
|
897
|
-
"properties": {
|
|
898
|
-
"trackedAt": {
|
|
899
|
-
"type": "number"
|
|
900
|
-
},
|
|
901
|
-
"status": {
|
|
902
|
-
"type": "string"
|
|
903
|
-
},
|
|
904
|
-
"repetition": {
|
|
905
|
-
"type": "number"
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
}
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
914
|
-
"title": "assertion unit schema",
|
|
915
|
-
"type": "object",
|
|
916
|
-
"required": [
|
|
917
|
-
"flowchartId",
|
|
918
|
-
"name",
|
|
919
|
-
"statement",
|
|
920
|
-
"type"
|
|
921
|
-
],
|
|
922
|
-
"additionalProperties": true,
|
|
923
|
-
"properties": {
|
|
924
|
-
"type": {
|
|
925
|
-
"const": "assertion",
|
|
926
|
-
"description": "type of the unit",
|
|
927
|
-
"type": "string"
|
|
928
|
-
},
|
|
929
|
-
"statement": {
|
|
930
|
-
"type": "string",
|
|
931
|
-
"description": "The statement to be evaluated"
|
|
932
|
-
},
|
|
933
|
-
"errorMessage": {
|
|
934
|
-
"type": "string",
|
|
935
|
-
"description": "The error message to be displayed if the assertion fails"
|
|
936
|
-
},
|
|
937
|
-
"_id": {
|
|
938
|
-
"type": "string",
|
|
939
|
-
"description": "entity identity"
|
|
940
|
-
},
|
|
941
|
-
"isDraft": {
|
|
942
|
-
"type": "boolean"
|
|
943
|
-
},
|
|
944
|
-
"name": {
|
|
945
|
-
"description": "name of the unit. e.g. pw_scf",
|
|
946
|
-
"type": "string"
|
|
947
|
-
},
|
|
948
|
-
"status": {
|
|
949
|
-
"description": "Status of the unit.",
|
|
950
|
-
"type": "string",
|
|
951
|
-
"enum": [
|
|
952
|
-
"idle",
|
|
953
|
-
"active",
|
|
954
|
-
"warning",
|
|
955
|
-
"error",
|
|
956
|
-
"finished"
|
|
957
|
-
]
|
|
958
|
-
},
|
|
959
|
-
"head": {
|
|
960
|
-
"description": "Whether this unit is the first one to be executed.",
|
|
961
|
-
"type": "boolean"
|
|
962
|
-
},
|
|
963
|
-
"flowchartId": {
|
|
964
|
-
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
965
|
-
"type": "string"
|
|
966
|
-
},
|
|
967
|
-
"next": {
|
|
968
|
-
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
969
|
-
"type": "string"
|
|
970
|
-
},
|
|
971
|
-
"enableRender": {
|
|
972
|
-
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
973
|
-
"type": "boolean"
|
|
974
|
-
},
|
|
975
|
-
"context": {
|
|
976
|
-
"type": "object"
|
|
977
|
-
},
|
|
978
|
-
"slug": {
|
|
979
|
-
"description": "entity slug",
|
|
980
|
-
"type": "string"
|
|
981
|
-
},
|
|
982
|
-
"systemName": {
|
|
983
|
-
"type": "string"
|
|
984
|
-
},
|
|
985
|
-
"schemaVersion": {
|
|
986
|
-
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
987
|
-
"type": "string",
|
|
988
|
-
"default": "2022.8.16"
|
|
989
|
-
},
|
|
990
|
-
"isDefault": {
|
|
991
|
-
"description": "Identifies that entity is defaultable",
|
|
992
|
-
"type": "boolean",
|
|
993
|
-
"default": false
|
|
994
|
-
},
|
|
995
|
-
"preProcessors": {
|
|
996
|
-
"description": "names of the pre-processors for this calculation",
|
|
997
|
-
"type": "array",
|
|
998
|
-
"items": {
|
|
999
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1000
|
-
"title": "runtime item schema",
|
|
1001
|
-
"oneOf": [
|
|
1002
|
-
{
|
|
1003
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1004
|
-
"title": "name result schema",
|
|
1005
|
-
"type": "object",
|
|
1006
|
-
"properties": {
|
|
1007
|
-
"name": {
|
|
1008
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1009
|
-
"type": "string"
|
|
1010
|
-
}
|
|
1011
|
-
},
|
|
1012
|
-
"additionalProperties": true,
|
|
1013
|
-
"required": [
|
|
1014
|
-
"name"
|
|
1015
|
-
]
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1019
|
-
"title": "RuntimeItemString",
|
|
1020
|
-
"description": "name of runtime item in shortened notation",
|
|
1021
|
-
"type": "string"
|
|
1022
|
-
}
|
|
1023
|
-
]
|
|
1024
|
-
}
|
|
1025
|
-
},
|
|
1026
|
-
"postProcessors": {
|
|
1027
|
-
"description": "names of the post-processors for this calculation",
|
|
1028
|
-
"type": "array",
|
|
1029
|
-
"items": {
|
|
1030
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1031
|
-
"title": "runtime item schema",
|
|
1032
|
-
"oneOf": [
|
|
1033
|
-
{
|
|
1034
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1035
|
-
"title": "name result schema",
|
|
1036
|
-
"type": "object",
|
|
1037
|
-
"properties": {
|
|
1038
|
-
"name": {
|
|
1039
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1040
|
-
"type": "string"
|
|
1041
|
-
}
|
|
1042
|
-
},
|
|
1043
|
-
"additionalProperties": true,
|
|
1044
|
-
"required": [
|
|
1045
|
-
"name"
|
|
1046
|
-
]
|
|
1047
|
-
},
|
|
1048
|
-
{
|
|
1049
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1050
|
-
"title": "RuntimeItemString",
|
|
1051
|
-
"description": "name of runtime item in shortened notation",
|
|
1052
|
-
"type": "string"
|
|
1053
|
-
}
|
|
1054
|
-
]
|
|
1055
|
-
}
|
|
1056
|
-
},
|
|
1057
|
-
"monitors": {
|
|
1058
|
-
"description": "names of the monitors for this calculation",
|
|
1059
|
-
"type": "array",
|
|
1060
|
-
"items": {
|
|
1061
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1062
|
-
"title": "runtime item schema",
|
|
1063
|
-
"oneOf": [
|
|
1064
|
-
{
|
|
1065
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1066
|
-
"title": "name result schema",
|
|
1067
|
-
"type": "object",
|
|
1068
|
-
"properties": {
|
|
1069
|
-
"name": {
|
|
1070
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1071
|
-
"type": "string"
|
|
1072
|
-
}
|
|
1073
|
-
},
|
|
1074
|
-
"additionalProperties": true,
|
|
1075
|
-
"required": [
|
|
1076
|
-
"name"
|
|
1077
|
-
]
|
|
1078
|
-
},
|
|
1079
|
-
{
|
|
1080
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1081
|
-
"title": "RuntimeItemString",
|
|
1082
|
-
"description": "name of runtime item in shortened notation",
|
|
1083
|
-
"type": "string"
|
|
1084
|
-
}
|
|
1085
|
-
]
|
|
1086
|
-
}
|
|
1087
|
-
},
|
|
1088
|
-
"results": {
|
|
1089
|
-
"description": "names of the results for this calculation",
|
|
1090
|
-
"type": "array",
|
|
1091
|
-
"items": {
|
|
1092
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1093
|
-
"title": "runtime item schema",
|
|
1094
|
-
"oneOf": [
|
|
1095
|
-
{
|
|
1096
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1097
|
-
"title": "name result schema",
|
|
1098
|
-
"type": "object",
|
|
1099
|
-
"properties": {
|
|
1100
|
-
"name": {
|
|
1101
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1102
|
-
"type": "string"
|
|
1103
|
-
}
|
|
1104
|
-
},
|
|
1105
|
-
"additionalProperties": true,
|
|
1106
|
-
"required": [
|
|
1107
|
-
"name"
|
|
1108
|
-
]
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1112
|
-
"title": "RuntimeItemString",
|
|
1113
|
-
"description": "name of runtime item in shortened notation",
|
|
1114
|
-
"type": "string"
|
|
1115
|
-
}
|
|
1116
|
-
]
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
"tags": {
|
|
1120
|
-
"description": "entity tags",
|
|
1121
|
-
"type": "array",
|
|
1122
|
-
"items": {
|
|
1123
|
-
"type": "string"
|
|
1124
|
-
}
|
|
1125
|
-
},
|
|
1126
|
-
"statusTrack": {
|
|
1127
|
-
"type": "array",
|
|
1128
|
-
"items": {
|
|
1129
|
-
"type": "object",
|
|
1130
|
-
"required": [
|
|
1131
|
-
"trackedAt",
|
|
1132
|
-
"status"
|
|
1133
|
-
],
|
|
1134
|
-
"properties": {
|
|
1135
|
-
"trackedAt": {
|
|
1136
|
-
"type": "number"
|
|
1137
|
-
},
|
|
1138
|
-
"status": {
|
|
1139
|
-
"type": "string"
|
|
1140
|
-
},
|
|
1141
|
-
"repetition": {
|
|
1142
|
-
"type": "number"
|
|
1143
|
-
}
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
}
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1151
|
-
"title": "execution unit schema (base)",
|
|
1152
|
-
"type": "object",
|
|
1153
|
-
"required": [
|
|
1154
|
-
"application",
|
|
1155
|
-
"flowchartId",
|
|
1156
|
-
"input",
|
|
1157
|
-
"type"
|
|
1158
|
-
],
|
|
1159
|
-
"additionalProperties": true,
|
|
1160
|
-
"properties": {
|
|
1161
|
-
"type": {
|
|
1162
|
-
"const": "execution",
|
|
1163
|
-
"description": "type of the unit",
|
|
1164
|
-
"type": "string"
|
|
1165
|
-
},
|
|
1166
|
-
"application": {
|
|
1167
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1168
|
-
"title": "application schema (base)",
|
|
1169
|
-
"type": "object",
|
|
1170
|
-
"properties": {
|
|
1171
|
-
"shortName": {
|
|
1172
|
-
"description": "The short name of the application. e.g. qe",
|
|
1173
|
-
"type": "string"
|
|
1174
|
-
},
|
|
1175
|
-
"summary": {
|
|
1176
|
-
"description": "Application's short description.",
|
|
1177
|
-
"type": "string"
|
|
1178
|
-
},
|
|
1179
|
-
"version": {
|
|
1180
|
-
"description": "Application version. e.g. 5.3.5",
|
|
1181
|
-
"type": "string"
|
|
1182
|
-
},
|
|
1183
|
-
"build": {
|
|
1184
|
-
"description": "Application build. e.g. VTST",
|
|
1185
|
-
"type": "string"
|
|
1186
|
-
},
|
|
1187
|
-
"isDefault": {
|
|
1188
|
-
"description": "Whether the build is the default build",
|
|
1189
|
-
"type": "boolean",
|
|
1190
|
-
"default": false
|
|
1191
|
-
},
|
|
1192
|
-
"hasAdvancedComputeOptions": {
|
|
1193
|
-
"description": "Whether advanced compute options are present",
|
|
1194
|
-
"type": "boolean"
|
|
1195
|
-
},
|
|
1196
|
-
"isLicensed": {
|
|
1197
|
-
"description": "Whether licensing is present",
|
|
1198
|
-
"type": "boolean"
|
|
1199
|
-
},
|
|
1200
|
-
"isUsingMaterial": {
|
|
1201
|
-
"description": "Whether the application is using (being passed during a downstream processing routine) a material structure.",
|
|
1202
|
-
"type": "boolean"
|
|
1203
|
-
},
|
|
1204
|
-
"_id": {
|
|
1205
|
-
"description": "entity identity",
|
|
1206
|
-
"type": "string"
|
|
1207
|
-
},
|
|
1208
|
-
"slug": {
|
|
1209
|
-
"description": "entity slug",
|
|
1210
|
-
"type": "string"
|
|
1211
|
-
},
|
|
1212
|
-
"systemName": {
|
|
1213
|
-
"type": "string"
|
|
1214
|
-
},
|
|
1215
|
-
"schemaVersion": {
|
|
1216
|
-
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
1217
|
-
"type": "string",
|
|
1218
|
-
"default": "2022.8.16"
|
|
1219
|
-
},
|
|
1220
|
-
"name": {
|
|
1221
|
-
"description": "entity name",
|
|
1222
|
-
"type": "string"
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
},
|
|
1226
|
-
"executable": {
|
|
1227
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1228
|
-
"title": "executable schema",
|
|
1229
|
-
"type": "object",
|
|
1230
|
-
"required": [
|
|
1231
|
-
"name"
|
|
1232
|
-
],
|
|
1233
|
-
"properties": {
|
|
1234
|
-
"name": {
|
|
1235
|
-
"description": "The name of the executable. e.g. pw.x",
|
|
1236
|
-
"type": "string"
|
|
1237
|
-
},
|
|
1238
|
-
"applicationId": {
|
|
1239
|
-
"description": "_ids of the application this executable belongs to",
|
|
1240
|
-
"type": "array",
|
|
1241
|
-
"items": {
|
|
1242
|
-
"type": "string"
|
|
1243
|
-
}
|
|
1244
|
-
},
|
|
1245
|
-
"applicationName": {
|
|
1246
|
-
"description": "name of the application this executable belongs to",
|
|
1247
|
-
"type": "string"
|
|
1248
|
-
},
|
|
1249
|
-
"hasAdvancedComputeOptions": {
|
|
1250
|
-
"description": "Whether advanced compute options are present",
|
|
1251
|
-
"type": "boolean"
|
|
1252
|
-
},
|
|
1253
|
-
"_id": {
|
|
1254
|
-
"description": "entity identity",
|
|
1255
|
-
"type": "string"
|
|
1256
|
-
},
|
|
1257
|
-
"slug": {
|
|
1258
|
-
"description": "entity slug",
|
|
1259
|
-
"type": "string"
|
|
1260
|
-
},
|
|
1261
|
-
"systemName": {
|
|
1262
|
-
"type": "string"
|
|
1263
|
-
},
|
|
1264
|
-
"schemaVersion": {
|
|
1265
|
-
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
1266
|
-
"type": "string",
|
|
1267
|
-
"default": "2022.8.16"
|
|
1268
|
-
},
|
|
1269
|
-
"isDefault": {
|
|
1270
|
-
"description": "Identifies that entity is defaultable",
|
|
1271
|
-
"type": "boolean",
|
|
1272
|
-
"default": false
|
|
1273
|
-
},
|
|
1274
|
-
"preProcessors": {
|
|
1275
|
-
"description": "names of the pre-processors for this calculation",
|
|
1276
|
-
"type": "array",
|
|
1277
|
-
"items": {
|
|
1278
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1279
|
-
"title": "runtime item schema",
|
|
1280
|
-
"oneOf": [
|
|
1281
|
-
{
|
|
1282
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1283
|
-
"title": "name result schema",
|
|
1284
|
-
"type": "object",
|
|
1285
|
-
"properties": {
|
|
1286
|
-
"name": {
|
|
1287
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1288
|
-
"type": "string"
|
|
1289
|
-
}
|
|
1290
|
-
},
|
|
1291
|
-
"additionalProperties": true,
|
|
1292
|
-
"required": [
|
|
1293
|
-
"name"
|
|
1294
|
-
]
|
|
1295
|
-
},
|
|
1296
|
-
{
|
|
1297
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1298
|
-
"title": "RuntimeItemString",
|
|
1299
|
-
"description": "name of runtime item in shortened notation",
|
|
1300
|
-
"type": "string"
|
|
1301
|
-
}
|
|
1302
|
-
]
|
|
1303
|
-
}
|
|
1304
|
-
},
|
|
1305
|
-
"postProcessors": {
|
|
1306
|
-
"description": "names of the post-processors for this calculation",
|
|
1307
|
-
"type": "array",
|
|
1308
|
-
"items": {
|
|
1309
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1310
|
-
"title": "runtime item schema",
|
|
1311
|
-
"oneOf": [
|
|
1312
|
-
{
|
|
1313
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1314
|
-
"title": "name result schema",
|
|
1315
|
-
"type": "object",
|
|
1316
|
-
"properties": {
|
|
1317
|
-
"name": {
|
|
1318
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1319
|
-
"type": "string"
|
|
1320
|
-
}
|
|
1321
|
-
},
|
|
1322
|
-
"additionalProperties": true,
|
|
1323
|
-
"required": [
|
|
1324
|
-
"name"
|
|
1325
|
-
]
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1329
|
-
"title": "RuntimeItemString",
|
|
1330
|
-
"description": "name of runtime item in shortened notation",
|
|
1331
|
-
"type": "string"
|
|
1332
|
-
}
|
|
1333
|
-
]
|
|
1334
|
-
}
|
|
1335
|
-
},
|
|
1336
|
-
"monitors": {
|
|
1337
|
-
"description": "names of the monitors for this calculation",
|
|
1338
|
-
"type": "array",
|
|
1339
|
-
"items": {
|
|
1340
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1341
|
-
"title": "runtime item schema",
|
|
1342
|
-
"oneOf": [
|
|
1343
|
-
{
|
|
1344
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1345
|
-
"title": "name result schema",
|
|
1346
|
-
"type": "object",
|
|
1347
|
-
"properties": {
|
|
1348
|
-
"name": {
|
|
1349
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1350
|
-
"type": "string"
|
|
1351
|
-
}
|
|
1352
|
-
},
|
|
1353
|
-
"additionalProperties": true,
|
|
1354
|
-
"required": [
|
|
1355
|
-
"name"
|
|
1356
|
-
]
|
|
1357
|
-
},
|
|
1358
|
-
{
|
|
1359
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1360
|
-
"title": "RuntimeItemString",
|
|
1361
|
-
"description": "name of runtime item in shortened notation",
|
|
1362
|
-
"type": "string"
|
|
1363
|
-
}
|
|
1364
|
-
]
|
|
1365
|
-
}
|
|
1366
|
-
},
|
|
1367
|
-
"results": {
|
|
1368
|
-
"description": "names of the results for this calculation",
|
|
1369
|
-
"type": "array",
|
|
1370
|
-
"items": {
|
|
1371
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1372
|
-
"title": "runtime item schema",
|
|
1373
|
-
"oneOf": [
|
|
1374
|
-
{
|
|
1375
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1376
|
-
"title": "name result schema",
|
|
1377
|
-
"type": "object",
|
|
1378
|
-
"properties": {
|
|
1379
|
-
"name": {
|
|
1380
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1381
|
-
"type": "string"
|
|
1382
|
-
}
|
|
1383
|
-
},
|
|
1384
|
-
"additionalProperties": true,
|
|
1385
|
-
"required": [
|
|
1386
|
-
"name"
|
|
1387
|
-
]
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1391
|
-
"title": "RuntimeItemString",
|
|
1392
|
-
"description": "name of runtime item in shortened notation",
|
|
1393
|
-
"type": "string"
|
|
1394
|
-
}
|
|
1395
|
-
]
|
|
1396
|
-
}
|
|
1397
|
-
}
|
|
1398
|
-
}
|
|
1399
|
-
},
|
|
1400
|
-
"flavor": {
|
|
1401
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1402
|
-
"title": "flavor schema",
|
|
1403
|
-
"type": "object",
|
|
1404
|
-
"properties": {
|
|
1405
|
-
"executableId": {
|
|
1406
|
-
"description": "_id of the executable this flavor belongs to",
|
|
1407
|
-
"type": "string"
|
|
1408
|
-
},
|
|
1409
|
-
"executableName": {
|
|
1410
|
-
"description": "name of the executable this flavor belongs to",
|
|
1411
|
-
"type": "string"
|
|
1412
|
-
},
|
|
1413
|
-
"applicationName": {
|
|
1414
|
-
"description": "name of the application this flavor belongs to",
|
|
1415
|
-
"type": "string"
|
|
1416
|
-
},
|
|
1417
|
-
"input": {
|
|
1418
|
-
"title": "execution unit input schema",
|
|
1419
|
-
"type": "array",
|
|
1420
|
-
"items": {
|
|
1421
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1422
|
-
"title": "execution unit input id item schema for physics-based simulation engines",
|
|
1423
|
-
"type": "object",
|
|
1424
|
-
"additionalProperties": false,
|
|
1425
|
-
"properties": {
|
|
1426
|
-
"templateId": {
|
|
1427
|
-
"type": "string"
|
|
1428
|
-
},
|
|
1429
|
-
"templateName": {
|
|
1430
|
-
"type": "string"
|
|
1431
|
-
},
|
|
1432
|
-
"name": {
|
|
1433
|
-
"description": "name of the resulting input file, if different than template name",
|
|
1434
|
-
"type": "string"
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1437
|
-
}
|
|
1438
|
-
},
|
|
1439
|
-
"supportedApplicationVersions": {
|
|
1440
|
-
"description": "list of application versions this flavor supports",
|
|
1441
|
-
"type": "array",
|
|
1442
|
-
"items": {
|
|
1443
|
-
"type": "string"
|
|
1444
|
-
}
|
|
1445
|
-
},
|
|
1446
|
-
"_id": {
|
|
1447
|
-
"description": "entity identity",
|
|
1448
|
-
"type": "string"
|
|
1449
|
-
},
|
|
1450
|
-
"slug": {
|
|
1451
|
-
"description": "entity slug",
|
|
1452
|
-
"type": "string"
|
|
1453
|
-
},
|
|
1454
|
-
"systemName": {
|
|
1455
|
-
"type": "string"
|
|
1456
|
-
},
|
|
1457
|
-
"schemaVersion": {
|
|
1458
|
-
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
1459
|
-
"type": "string",
|
|
1460
|
-
"default": "2022.8.16"
|
|
1461
|
-
},
|
|
1462
|
-
"name": {
|
|
1463
|
-
"description": "entity name",
|
|
1464
|
-
"type": "string"
|
|
1465
|
-
},
|
|
1466
|
-
"isDefault": {
|
|
1467
|
-
"description": "Identifies that entity is defaultable",
|
|
1468
|
-
"type": "boolean",
|
|
1469
|
-
"default": false
|
|
1470
|
-
},
|
|
1471
|
-
"preProcessors": {
|
|
1472
|
-
"description": "names of the pre-processors for this calculation",
|
|
1473
|
-
"type": "array",
|
|
1474
|
-
"items": {
|
|
1475
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1476
|
-
"title": "runtime item schema",
|
|
1477
|
-
"oneOf": [
|
|
1478
|
-
{
|
|
1479
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1480
|
-
"title": "name result schema",
|
|
1481
|
-
"type": "object",
|
|
1482
|
-
"properties": {
|
|
1483
|
-
"name": {
|
|
1484
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1485
|
-
"type": "string"
|
|
1486
|
-
}
|
|
1487
|
-
},
|
|
1488
|
-
"additionalProperties": true,
|
|
1489
|
-
"required": [
|
|
1490
|
-
"name"
|
|
1491
|
-
]
|
|
1492
|
-
},
|
|
1493
|
-
{
|
|
1494
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1495
|
-
"title": "RuntimeItemString",
|
|
1496
|
-
"description": "name of runtime item in shortened notation",
|
|
1497
|
-
"type": "string"
|
|
1498
|
-
}
|
|
1499
|
-
]
|
|
1500
|
-
}
|
|
1501
|
-
},
|
|
1502
|
-
"postProcessors": {
|
|
1503
|
-
"description": "names of the post-processors for this calculation",
|
|
1504
|
-
"type": "array",
|
|
1505
|
-
"items": {
|
|
1506
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1507
|
-
"title": "runtime item schema",
|
|
1508
|
-
"oneOf": [
|
|
1509
|
-
{
|
|
1510
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1511
|
-
"title": "name result schema",
|
|
1512
|
-
"type": "object",
|
|
1513
|
-
"properties": {
|
|
1514
|
-
"name": {
|
|
1515
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1516
|
-
"type": "string"
|
|
1517
|
-
}
|
|
1518
|
-
},
|
|
1519
|
-
"additionalProperties": true,
|
|
1520
|
-
"required": [
|
|
1521
|
-
"name"
|
|
1522
|
-
]
|
|
1523
|
-
},
|
|
1524
|
-
{
|
|
1525
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1526
|
-
"title": "RuntimeItemString",
|
|
1527
|
-
"description": "name of runtime item in shortened notation",
|
|
1528
|
-
"type": "string"
|
|
1529
|
-
}
|
|
1530
|
-
]
|
|
1531
|
-
}
|
|
1532
|
-
},
|
|
1533
|
-
"monitors": {
|
|
1534
|
-
"description": "names of the monitors for this calculation",
|
|
1535
|
-
"type": "array",
|
|
1536
|
-
"items": {
|
|
1537
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1538
|
-
"title": "runtime item schema",
|
|
1539
|
-
"oneOf": [
|
|
1540
|
-
{
|
|
1541
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1542
|
-
"title": "name result schema",
|
|
1543
|
-
"type": "object",
|
|
1544
|
-
"properties": {
|
|
1545
|
-
"name": {
|
|
1546
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1547
|
-
"type": "string"
|
|
1548
|
-
}
|
|
1549
|
-
},
|
|
1550
|
-
"additionalProperties": true,
|
|
1551
|
-
"required": [
|
|
1552
|
-
"name"
|
|
1553
|
-
]
|
|
1554
|
-
},
|
|
1555
|
-
{
|
|
1556
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1557
|
-
"title": "RuntimeItemString",
|
|
1558
|
-
"description": "name of runtime item in shortened notation",
|
|
1559
|
-
"type": "string"
|
|
1560
|
-
}
|
|
1561
|
-
]
|
|
1562
|
-
}
|
|
1563
|
-
},
|
|
1564
|
-
"results": {
|
|
1565
|
-
"description": "names of the results for this calculation",
|
|
1566
|
-
"type": "array",
|
|
1567
|
-
"items": {
|
|
1568
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1569
|
-
"title": "runtime item schema",
|
|
1570
|
-
"oneOf": [
|
|
1571
|
-
{
|
|
1572
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1573
|
-
"title": "name result schema",
|
|
1574
|
-
"type": "object",
|
|
1575
|
-
"properties": {
|
|
1576
|
-
"name": {
|
|
1577
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1578
|
-
"type": "string"
|
|
1579
|
-
}
|
|
1580
|
-
},
|
|
1581
|
-
"additionalProperties": true,
|
|
1582
|
-
"required": [
|
|
1583
|
-
"name"
|
|
1584
|
-
]
|
|
1585
|
-
},
|
|
1586
|
-
{
|
|
1587
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1588
|
-
"title": "RuntimeItemString",
|
|
1589
|
-
"description": "name of runtime item in shortened notation",
|
|
1590
|
-
"type": "string"
|
|
1591
|
-
}
|
|
1592
|
-
]
|
|
1593
|
-
}
|
|
1594
|
-
}
|
|
1595
|
-
}
|
|
1596
|
-
},
|
|
1597
|
-
"input": {
|
|
1598
|
-
"description": "unit input (type to be specified by the application's execution unit)"
|
|
1599
|
-
},
|
|
1600
|
-
"_id": {
|
|
1601
|
-
"type": "string",
|
|
1602
|
-
"description": "entity identity"
|
|
1603
|
-
},
|
|
1604
|
-
"isDraft": {
|
|
1605
|
-
"type": "boolean"
|
|
1606
|
-
},
|
|
1607
|
-
"name": {
|
|
1608
|
-
"description": "name of the unit. e.g. pw_scf",
|
|
1609
|
-
"type": "string"
|
|
1610
|
-
},
|
|
1611
|
-
"status": {
|
|
1612
|
-
"description": "Status of the unit.",
|
|
1613
|
-
"type": "string",
|
|
1614
|
-
"enum": [
|
|
1615
|
-
"idle",
|
|
1616
|
-
"active",
|
|
1617
|
-
"warning",
|
|
1618
|
-
"error",
|
|
1619
|
-
"finished"
|
|
1620
|
-
]
|
|
1621
|
-
},
|
|
1622
|
-
"head": {
|
|
1623
|
-
"description": "Whether this unit is the first one to be executed.",
|
|
1624
|
-
"type": "boolean"
|
|
1625
|
-
},
|
|
1626
|
-
"flowchartId": {
|
|
1627
|
-
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
1628
|
-
"type": "string"
|
|
1629
|
-
},
|
|
1630
|
-
"next": {
|
|
1631
|
-
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
1632
|
-
"type": "string"
|
|
1633
|
-
},
|
|
1634
|
-
"enableRender": {
|
|
1635
|
-
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
1636
|
-
"type": "boolean"
|
|
1637
|
-
},
|
|
1638
|
-
"context": {
|
|
1639
|
-
"type": "object"
|
|
1640
|
-
},
|
|
1641
|
-
"slug": {
|
|
1642
|
-
"description": "entity slug",
|
|
1643
|
-
"type": "string"
|
|
1644
|
-
},
|
|
1645
|
-
"systemName": {
|
|
1646
|
-
"type": "string"
|
|
1647
|
-
},
|
|
1648
|
-
"schemaVersion": {
|
|
1649
|
-
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
1650
|
-
"type": "string",
|
|
1651
|
-
"default": "2022.8.16"
|
|
1652
|
-
},
|
|
1653
|
-
"isDefault": {
|
|
1654
|
-
"description": "Identifies that entity is defaultable",
|
|
1655
|
-
"type": "boolean",
|
|
1656
|
-
"default": false
|
|
1657
|
-
},
|
|
1658
|
-
"preProcessors": {
|
|
1659
|
-
"description": "names of the pre-processors for this calculation",
|
|
1660
|
-
"type": "array",
|
|
1661
|
-
"items": {
|
|
1662
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1663
|
-
"title": "runtime item schema",
|
|
1664
|
-
"oneOf": [
|
|
1665
|
-
{
|
|
1666
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1667
|
-
"title": "name result schema",
|
|
1668
|
-
"type": "object",
|
|
1669
|
-
"properties": {
|
|
1670
|
-
"name": {
|
|
1671
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1672
|
-
"type": "string"
|
|
1673
|
-
}
|
|
1674
|
-
},
|
|
1675
|
-
"additionalProperties": true,
|
|
1676
|
-
"required": [
|
|
1677
|
-
"name"
|
|
1678
|
-
]
|
|
1679
|
-
},
|
|
1680
|
-
{
|
|
1681
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1682
|
-
"title": "RuntimeItemString",
|
|
1683
|
-
"description": "name of runtime item in shortened notation",
|
|
1684
|
-
"type": "string"
|
|
1685
|
-
}
|
|
1686
|
-
]
|
|
1687
|
-
}
|
|
1688
|
-
},
|
|
1689
|
-
"postProcessors": {
|
|
1690
|
-
"description": "names of the post-processors for this calculation",
|
|
1691
|
-
"type": "array",
|
|
1692
|
-
"items": {
|
|
1693
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1694
|
-
"title": "runtime item schema",
|
|
1695
|
-
"oneOf": [
|
|
1696
|
-
{
|
|
1697
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1698
|
-
"title": "name result schema",
|
|
1699
|
-
"type": "object",
|
|
1700
|
-
"properties": {
|
|
1701
|
-
"name": {
|
|
1702
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1703
|
-
"type": "string"
|
|
1704
|
-
}
|
|
1705
|
-
},
|
|
1706
|
-
"additionalProperties": true,
|
|
1707
|
-
"required": [
|
|
1708
|
-
"name"
|
|
1709
|
-
]
|
|
1710
|
-
},
|
|
1711
|
-
{
|
|
1712
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1713
|
-
"title": "RuntimeItemString",
|
|
1714
|
-
"description": "name of runtime item in shortened notation",
|
|
1715
|
-
"type": "string"
|
|
1716
|
-
}
|
|
1717
|
-
]
|
|
1718
|
-
}
|
|
1719
|
-
},
|
|
1720
|
-
"monitors": {
|
|
1721
|
-
"description": "names of the monitors for this calculation",
|
|
1722
|
-
"type": "array",
|
|
1723
|
-
"items": {
|
|
1724
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1725
|
-
"title": "runtime item schema",
|
|
1726
|
-
"oneOf": [
|
|
1727
|
-
{
|
|
1728
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1729
|
-
"title": "name result schema",
|
|
1730
|
-
"type": "object",
|
|
1731
|
-
"properties": {
|
|
1732
|
-
"name": {
|
|
1733
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1734
|
-
"type": "string"
|
|
1735
|
-
}
|
|
1736
|
-
},
|
|
1737
|
-
"additionalProperties": true,
|
|
1738
|
-
"required": [
|
|
1739
|
-
"name"
|
|
1740
|
-
]
|
|
1741
|
-
},
|
|
1742
|
-
{
|
|
1743
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1744
|
-
"title": "RuntimeItemString",
|
|
1745
|
-
"description": "name of runtime item in shortened notation",
|
|
1746
|
-
"type": "string"
|
|
1747
|
-
}
|
|
1748
|
-
]
|
|
1749
|
-
}
|
|
1750
|
-
},
|
|
1751
|
-
"results": {
|
|
1752
|
-
"description": "names of the results for this calculation",
|
|
1753
|
-
"type": "array",
|
|
1754
|
-
"items": {
|
|
1755
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1756
|
-
"title": "runtime item schema",
|
|
1757
|
-
"oneOf": [
|
|
1758
|
-
{
|
|
1759
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1760
|
-
"title": "name result schema",
|
|
1761
|
-
"type": "object",
|
|
1762
|
-
"properties": {
|
|
1763
|
-
"name": {
|
|
1764
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
1765
|
-
"type": "string"
|
|
1766
|
-
}
|
|
1767
|
-
},
|
|
1768
|
-
"additionalProperties": true,
|
|
1769
|
-
"required": [
|
|
1770
|
-
"name"
|
|
1771
|
-
]
|
|
1772
|
-
},
|
|
1773
|
-
{
|
|
1774
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1775
|
-
"title": "RuntimeItemString",
|
|
1776
|
-
"description": "name of runtime item in shortened notation",
|
|
1777
|
-
"type": "string"
|
|
1778
|
-
}
|
|
1779
|
-
]
|
|
1780
|
-
}
|
|
1781
|
-
},
|
|
1782
|
-
"tags": {
|
|
1783
|
-
"description": "entity tags",
|
|
1784
|
-
"type": "array",
|
|
1785
|
-
"items": {
|
|
1786
|
-
"type": "string"
|
|
1787
|
-
}
|
|
1788
|
-
},
|
|
1789
|
-
"statusTrack": {
|
|
1790
|
-
"type": "array",
|
|
1791
|
-
"items": {
|
|
1792
|
-
"type": "object",
|
|
1793
|
-
"required": [
|
|
1794
|
-
"trackedAt",
|
|
1795
|
-
"status"
|
|
1796
|
-
],
|
|
1797
|
-
"properties": {
|
|
1798
|
-
"trackedAt": {
|
|
1799
|
-
"type": "number"
|
|
1800
|
-
},
|
|
1801
|
-
"status": {
|
|
1802
|
-
"type": "string"
|
|
1803
|
-
},
|
|
1804
|
-
"repetition": {
|
|
1805
|
-
"type": "number"
|
|
1806
|
-
}
|
|
1807
|
-
}
|
|
1808
|
-
}
|
|
1809
|
-
}
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
|
-
{
|
|
1813
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1814
|
-
"title": "assignment unit schema",
|
|
1815
|
-
"type": "object",
|
|
1816
|
-
"required": [
|
|
1817
|
-
"flowchartId",
|
|
1818
|
-
"name",
|
|
1819
|
-
"operand",
|
|
1820
|
-
"type",
|
|
1821
|
-
"value"
|
|
1822
|
-
],
|
|
1823
|
-
"additionalProperties": true,
|
|
1824
|
-
"properties": {
|
|
1825
|
-
"type": {
|
|
1826
|
-
"const": "assignment",
|
|
1827
|
-
"description": "type of the unit",
|
|
1828
|
-
"type": "string"
|
|
1829
|
-
},
|
|
1830
|
-
"input": {
|
|
1831
|
-
"description": "Input information for assignment. if omitted, means that it is an initialization unit, otherwise it is an assignment.",
|
|
1832
|
-
"type": "array",
|
|
1833
|
-
"items": {
|
|
1834
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1835
|
-
"title": "workflow unit input schema",
|
|
1836
|
-
"type": "object",
|
|
1837
|
-
"required": [
|
|
1838
|
-
"scope",
|
|
1839
|
-
"name"
|
|
1840
|
-
],
|
|
1841
|
-
"properties": {
|
|
1842
|
-
"scope": {
|
|
1843
|
-
"description": "Scope of the variable. e.g. 'global' or 'flowchart_id_2'",
|
|
1844
|
-
"type": "string"
|
|
1845
|
-
},
|
|
1846
|
-
"name": {
|
|
1847
|
-
"description": "Name of the input data. e.g. total_energy",
|
|
1848
|
-
"type": "string"
|
|
1849
|
-
}
|
|
1850
|
-
}
|
|
1851
|
-
}
|
|
1852
|
-
},
|
|
1853
|
-
"operand": {
|
|
1854
|
-
"description": "Name of the global variable. e.g. 'x'",
|
|
1855
|
-
"type": "string"
|
|
1856
|
-
},
|
|
1857
|
-
"value": {
|
|
1858
|
-
"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)",
|
|
1859
|
-
"oneOf": [
|
|
1860
|
-
{
|
|
1861
|
-
"type": "string"
|
|
1862
|
-
},
|
|
1863
|
-
{
|
|
1864
|
-
"type": "boolean"
|
|
1865
|
-
},
|
|
1866
|
-
{
|
|
1867
|
-
"type": "number"
|
|
1868
|
-
}
|
|
1869
|
-
]
|
|
1870
|
-
},
|
|
14
|
+
"monitors",
|
|
15
|
+
"name",
|
|
16
|
+
"postProcessors",
|
|
17
|
+
"preProcessors",
|
|
18
|
+
"results",
|
|
19
|
+
"type",
|
|
20
|
+
"workflowId"
|
|
21
|
+
],
|
|
22
|
+
"properties": {
|
|
1871
23
|
"_id": {
|
|
1872
|
-
"
|
|
1873
|
-
"description": "entity identity"
|
|
1874
|
-
},
|
|
1875
|
-
"isDraft": {
|
|
1876
|
-
"type": "boolean"
|
|
1877
|
-
},
|
|
1878
|
-
"name": {
|
|
1879
|
-
"description": "name of the unit. e.g. pw_scf",
|
|
1880
|
-
"type": "string"
|
|
1881
|
-
},
|
|
1882
|
-
"status": {
|
|
1883
|
-
"description": "Status of the unit.",
|
|
1884
|
-
"type": "string",
|
|
1885
|
-
"enum": [
|
|
1886
|
-
"idle",
|
|
1887
|
-
"active",
|
|
1888
|
-
"warning",
|
|
1889
|
-
"error",
|
|
1890
|
-
"finished"
|
|
1891
|
-
]
|
|
1892
|
-
},
|
|
1893
|
-
"head": {
|
|
1894
|
-
"description": "Whether this unit is the first one to be executed.",
|
|
1895
|
-
"type": "boolean"
|
|
1896
|
-
},
|
|
1897
|
-
"flowchartId": {
|
|
1898
|
-
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
1899
|
-
"type": "string"
|
|
1900
|
-
},
|
|
1901
|
-
"next": {
|
|
1902
|
-
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
24
|
+
"description": "entity identity",
|
|
1903
25
|
"type": "string"
|
|
1904
26
|
},
|
|
1905
|
-
"enableRender": {
|
|
1906
|
-
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
1907
|
-
"type": "boolean"
|
|
1908
|
-
},
|
|
1909
|
-
"context": {
|
|
1910
|
-
"type": "object"
|
|
1911
|
-
},
|
|
1912
27
|
"slug": {
|
|
1913
28
|
"description": "entity slug",
|
|
1914
29
|
"type": "string"
|
|
@@ -1921,6 +36,10 @@
|
|
|
1921
36
|
"type": "string",
|
|
1922
37
|
"default": "2022.8.16"
|
|
1923
38
|
},
|
|
39
|
+
"name": {
|
|
40
|
+
"description": "entity name",
|
|
41
|
+
"type": "string"
|
|
42
|
+
},
|
|
1924
43
|
"isDefault": {
|
|
1925
44
|
"description": "Identifies that entity is defaultable",
|
|
1926
45
|
"type": "boolean",
|
|
@@ -1931,30 +50,19 @@
|
|
|
1931
50
|
"type": "array",
|
|
1932
51
|
"items": {
|
|
1933
52
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1934
|
-
"title": "runtime item schema",
|
|
1935
|
-
"
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
}
|
|
1945
|
-
},
|
|
1946
|
-
"additionalProperties": true,
|
|
1947
|
-
"required": [
|
|
1948
|
-
"name"
|
|
1949
|
-
]
|
|
1950
|
-
},
|
|
1951
|
-
{
|
|
1952
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1953
|
-
"title": "RuntimeItemString",
|
|
1954
|
-
"description": "name of runtime item in shortened notation",
|
|
53
|
+
"title": "runtime item name object schema",
|
|
54
|
+
"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.",
|
|
55
|
+
"type": "object",
|
|
56
|
+
"required": [
|
|
57
|
+
"name"
|
|
58
|
+
],
|
|
59
|
+
"additionalProperties": true,
|
|
60
|
+
"properties": {
|
|
61
|
+
"name": {
|
|
62
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1955
63
|
"type": "string"
|
|
1956
64
|
}
|
|
1957
|
-
|
|
65
|
+
}
|
|
1958
66
|
}
|
|
1959
67
|
},
|
|
1960
68
|
"postProcessors": {
|
|
@@ -1962,30 +70,19 @@
|
|
|
1962
70
|
"type": "array",
|
|
1963
71
|
"items": {
|
|
1964
72
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1965
|
-
"title": "runtime item schema",
|
|
1966
|
-
"
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
}
|
|
1976
|
-
},
|
|
1977
|
-
"additionalProperties": true,
|
|
1978
|
-
"required": [
|
|
1979
|
-
"name"
|
|
1980
|
-
]
|
|
1981
|
-
},
|
|
1982
|
-
{
|
|
1983
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1984
|
-
"title": "RuntimeItemString",
|
|
1985
|
-
"description": "name of runtime item in shortened notation",
|
|
73
|
+
"title": "runtime item name object schema",
|
|
74
|
+
"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.",
|
|
75
|
+
"type": "object",
|
|
76
|
+
"required": [
|
|
77
|
+
"name"
|
|
78
|
+
],
|
|
79
|
+
"additionalProperties": true,
|
|
80
|
+
"properties": {
|
|
81
|
+
"name": {
|
|
82
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1986
83
|
"type": "string"
|
|
1987
84
|
}
|
|
1988
|
-
|
|
85
|
+
}
|
|
1989
86
|
}
|
|
1990
87
|
},
|
|
1991
88
|
"monitors": {
|
|
@@ -1993,30 +90,19 @@
|
|
|
1993
90
|
"type": "array",
|
|
1994
91
|
"items": {
|
|
1995
92
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1996
|
-
"title": "runtime item schema",
|
|
1997
|
-
"
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
}
|
|
2007
|
-
},
|
|
2008
|
-
"additionalProperties": true,
|
|
2009
|
-
"required": [
|
|
2010
|
-
"name"
|
|
2011
|
-
]
|
|
2012
|
-
},
|
|
2013
|
-
{
|
|
2014
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2015
|
-
"title": "RuntimeItemString",
|
|
2016
|
-
"description": "name of runtime item in shortened notation",
|
|
93
|
+
"title": "runtime item name object schema",
|
|
94
|
+
"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.",
|
|
95
|
+
"type": "object",
|
|
96
|
+
"required": [
|
|
97
|
+
"name"
|
|
98
|
+
],
|
|
99
|
+
"additionalProperties": true,
|
|
100
|
+
"properties": {
|
|
101
|
+
"name": {
|
|
102
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2017
103
|
"type": "string"
|
|
2018
104
|
}
|
|
2019
|
-
|
|
105
|
+
}
|
|
2020
106
|
}
|
|
2021
107
|
},
|
|
2022
108
|
"results": {
|
|
@@ -2024,30 +110,19 @@
|
|
|
2024
110
|
"type": "array",
|
|
2025
111
|
"items": {
|
|
2026
112
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2027
|
-
"title": "runtime item schema",
|
|
2028
|
-
"
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
}
|
|
2038
|
-
},
|
|
2039
|
-
"additionalProperties": true,
|
|
2040
|
-
"required": [
|
|
2041
|
-
"name"
|
|
2042
|
-
]
|
|
2043
|
-
},
|
|
2044
|
-
{
|
|
2045
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2046
|
-
"title": "RuntimeItemString",
|
|
2047
|
-
"description": "name of runtime item in shortened notation",
|
|
113
|
+
"title": "runtime item name object schema",
|
|
114
|
+
"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.",
|
|
115
|
+
"type": "object",
|
|
116
|
+
"required": [
|
|
117
|
+
"name"
|
|
118
|
+
],
|
|
119
|
+
"additionalProperties": true,
|
|
120
|
+
"properties": {
|
|
121
|
+
"name": {
|
|
122
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2048
123
|
"type": "string"
|
|
2049
124
|
}
|
|
2050
|
-
|
|
125
|
+
}
|
|
2051
126
|
}
|
|
2052
127
|
},
|
|
2053
128
|
"tags": {
|
|
@@ -2057,6 +132,17 @@
|
|
|
2057
132
|
"type": "string"
|
|
2058
133
|
}
|
|
2059
134
|
},
|
|
135
|
+
"status": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"description": "Status of the unit.",
|
|
138
|
+
"enum": [
|
|
139
|
+
"idle",
|
|
140
|
+
"active",
|
|
141
|
+
"warning",
|
|
142
|
+
"error",
|
|
143
|
+
"finished"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
2060
146
|
"statusTrack": {
|
|
2061
147
|
"type": "array",
|
|
2062
148
|
"items": {
|
|
@@ -2078,61 +164,13 @@
|
|
|
2078
164
|
}
|
|
2079
165
|
}
|
|
2080
166
|
},
|
|
2081
|
-
"scope": {
|
|
2082
|
-
"type": "string"
|
|
2083
|
-
}
|
|
2084
|
-
}
|
|
2085
|
-
},
|
|
2086
|
-
{
|
|
2087
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2088
|
-
"title": "processing unit schema",
|
|
2089
|
-
"type": "object",
|
|
2090
|
-
"required": [
|
|
2091
|
-
"flowchartId",
|
|
2092
|
-
"inputData",
|
|
2093
|
-
"operation",
|
|
2094
|
-
"operationType",
|
|
2095
|
-
"type"
|
|
2096
|
-
],
|
|
2097
|
-
"additionalProperties": true,
|
|
2098
|
-
"properties": {
|
|
2099
|
-
"type": {
|
|
2100
|
-
"const": "processing",
|
|
2101
|
-
"description": "type of the unit",
|
|
2102
|
-
"type": "string"
|
|
2103
|
-
},
|
|
2104
|
-
"operation": {
|
|
2105
|
-
"description": "Contains information about the operation used.",
|
|
2106
|
-
"type": "string"
|
|
2107
|
-
},
|
|
2108
|
-
"operationType": {
|
|
2109
|
-
"description": "Contains information about the specific type of the operation used.",
|
|
2110
|
-
"type": "string"
|
|
2111
|
-
},
|
|
2112
|
-
"inputData": {
|
|
2113
|
-
"description": "unit input (type to be specified by the child units)"
|
|
2114
|
-
},
|
|
2115
|
-
"_id": {
|
|
2116
|
-
"type": "string",
|
|
2117
|
-
"description": "entity identity"
|
|
2118
|
-
},
|
|
2119
167
|
"isDraft": {
|
|
2120
168
|
"type": "boolean"
|
|
2121
169
|
},
|
|
2122
|
-
"
|
|
2123
|
-
"description": "
|
|
2124
|
-
"type": "string"
|
|
2125
|
-
},
|
|
2126
|
-
"status": {
|
|
2127
|
-
"description": "Status of the unit.",
|
|
170
|
+
"type": {
|
|
171
|
+
"description": "type of the unit",
|
|
2128
172
|
"type": "string",
|
|
2129
|
-
"
|
|
2130
|
-
"idle",
|
|
2131
|
-
"active",
|
|
2132
|
-
"warning",
|
|
2133
|
-
"error",
|
|
2134
|
-
"finished"
|
|
2135
|
-
]
|
|
173
|
+
"const": "map"
|
|
2136
174
|
},
|
|
2137
175
|
"head": {
|
|
2138
176
|
"description": "Whether this unit is the first one to be executed.",
|
|
@@ -2150,197 +188,6 @@
|
|
|
2150
188
|
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
2151
189
|
"type": "boolean"
|
|
2152
190
|
},
|
|
2153
|
-
"context": {
|
|
2154
|
-
"type": "object"
|
|
2155
|
-
},
|
|
2156
|
-
"slug": {
|
|
2157
|
-
"description": "entity slug",
|
|
2158
|
-
"type": "string"
|
|
2159
|
-
},
|
|
2160
|
-
"systemName": {
|
|
2161
|
-
"type": "string"
|
|
2162
|
-
},
|
|
2163
|
-
"schemaVersion": {
|
|
2164
|
-
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
2165
|
-
"type": "string",
|
|
2166
|
-
"default": "2022.8.16"
|
|
2167
|
-
},
|
|
2168
|
-
"isDefault": {
|
|
2169
|
-
"description": "Identifies that entity is defaultable",
|
|
2170
|
-
"type": "boolean",
|
|
2171
|
-
"default": false
|
|
2172
|
-
},
|
|
2173
|
-
"preProcessors": {
|
|
2174
|
-
"description": "names of the pre-processors for this calculation",
|
|
2175
|
-
"type": "array",
|
|
2176
|
-
"items": {
|
|
2177
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2178
|
-
"title": "runtime item schema",
|
|
2179
|
-
"oneOf": [
|
|
2180
|
-
{
|
|
2181
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2182
|
-
"title": "name result schema",
|
|
2183
|
-
"type": "object",
|
|
2184
|
-
"properties": {
|
|
2185
|
-
"name": {
|
|
2186
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
2187
|
-
"type": "string"
|
|
2188
|
-
}
|
|
2189
|
-
},
|
|
2190
|
-
"additionalProperties": true,
|
|
2191
|
-
"required": [
|
|
2192
|
-
"name"
|
|
2193
|
-
]
|
|
2194
|
-
},
|
|
2195
|
-
{
|
|
2196
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2197
|
-
"title": "RuntimeItemString",
|
|
2198
|
-
"description": "name of runtime item in shortened notation",
|
|
2199
|
-
"type": "string"
|
|
2200
|
-
}
|
|
2201
|
-
]
|
|
2202
|
-
}
|
|
2203
|
-
},
|
|
2204
|
-
"postProcessors": {
|
|
2205
|
-
"description": "names of the post-processors for this calculation",
|
|
2206
|
-
"type": "array",
|
|
2207
|
-
"items": {
|
|
2208
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2209
|
-
"title": "runtime item schema",
|
|
2210
|
-
"oneOf": [
|
|
2211
|
-
{
|
|
2212
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2213
|
-
"title": "name result schema",
|
|
2214
|
-
"type": "object",
|
|
2215
|
-
"properties": {
|
|
2216
|
-
"name": {
|
|
2217
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
2218
|
-
"type": "string"
|
|
2219
|
-
}
|
|
2220
|
-
},
|
|
2221
|
-
"additionalProperties": true,
|
|
2222
|
-
"required": [
|
|
2223
|
-
"name"
|
|
2224
|
-
]
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2228
|
-
"title": "RuntimeItemString",
|
|
2229
|
-
"description": "name of runtime item in shortened notation",
|
|
2230
|
-
"type": "string"
|
|
2231
|
-
}
|
|
2232
|
-
]
|
|
2233
|
-
}
|
|
2234
|
-
},
|
|
2235
|
-
"monitors": {
|
|
2236
|
-
"description": "names of the monitors for this calculation",
|
|
2237
|
-
"type": "array",
|
|
2238
|
-
"items": {
|
|
2239
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2240
|
-
"title": "runtime item schema",
|
|
2241
|
-
"oneOf": [
|
|
2242
|
-
{
|
|
2243
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2244
|
-
"title": "name result schema",
|
|
2245
|
-
"type": "object",
|
|
2246
|
-
"properties": {
|
|
2247
|
-
"name": {
|
|
2248
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
2249
|
-
"type": "string"
|
|
2250
|
-
}
|
|
2251
|
-
},
|
|
2252
|
-
"additionalProperties": true,
|
|
2253
|
-
"required": [
|
|
2254
|
-
"name"
|
|
2255
|
-
]
|
|
2256
|
-
},
|
|
2257
|
-
{
|
|
2258
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2259
|
-
"title": "RuntimeItemString",
|
|
2260
|
-
"description": "name of runtime item in shortened notation",
|
|
2261
|
-
"type": "string"
|
|
2262
|
-
}
|
|
2263
|
-
]
|
|
2264
|
-
}
|
|
2265
|
-
},
|
|
2266
|
-
"results": {
|
|
2267
|
-
"description": "names of the results for this calculation",
|
|
2268
|
-
"type": "array",
|
|
2269
|
-
"items": {
|
|
2270
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2271
|
-
"title": "runtime item schema",
|
|
2272
|
-
"oneOf": [
|
|
2273
|
-
{
|
|
2274
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2275
|
-
"title": "name result schema",
|
|
2276
|
-
"type": "object",
|
|
2277
|
-
"properties": {
|
|
2278
|
-
"name": {
|
|
2279
|
-
"description": "The name of this item. e.g. scf_accuracy",
|
|
2280
|
-
"type": "string"
|
|
2281
|
-
}
|
|
2282
|
-
},
|
|
2283
|
-
"additionalProperties": true,
|
|
2284
|
-
"required": [
|
|
2285
|
-
"name"
|
|
2286
|
-
]
|
|
2287
|
-
},
|
|
2288
|
-
{
|
|
2289
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2290
|
-
"title": "RuntimeItemString",
|
|
2291
|
-
"description": "name of runtime item in shortened notation",
|
|
2292
|
-
"type": "string"
|
|
2293
|
-
}
|
|
2294
|
-
]
|
|
2295
|
-
}
|
|
2296
|
-
},
|
|
2297
|
-
"tags": {
|
|
2298
|
-
"description": "entity tags",
|
|
2299
|
-
"type": "array",
|
|
2300
|
-
"items": {
|
|
2301
|
-
"type": "string"
|
|
2302
|
-
}
|
|
2303
|
-
},
|
|
2304
|
-
"statusTrack": {
|
|
2305
|
-
"type": "array",
|
|
2306
|
-
"items": {
|
|
2307
|
-
"type": "object",
|
|
2308
|
-
"required": [
|
|
2309
|
-
"trackedAt",
|
|
2310
|
-
"status"
|
|
2311
|
-
],
|
|
2312
|
-
"properties": {
|
|
2313
|
-
"trackedAt": {
|
|
2314
|
-
"type": "number"
|
|
2315
|
-
},
|
|
2316
|
-
"status": {
|
|
2317
|
-
"type": "string"
|
|
2318
|
-
},
|
|
2319
|
-
"repetition": {
|
|
2320
|
-
"type": "number"
|
|
2321
|
-
}
|
|
2322
|
-
}
|
|
2323
|
-
}
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
},
|
|
2327
|
-
{
|
|
2328
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2329
|
-
"title": "map unit schema",
|
|
2330
|
-
"type": "object",
|
|
2331
|
-
"required": [
|
|
2332
|
-
"flowchartId",
|
|
2333
|
-
"input",
|
|
2334
|
-
"type",
|
|
2335
|
-
"workflowId"
|
|
2336
|
-
],
|
|
2337
|
-
"additionalProperties": true,
|
|
2338
|
-
"properties": {
|
|
2339
|
-
"type": {
|
|
2340
|
-
"const": "map",
|
|
2341
|
-
"description": "type of the unit",
|
|
2342
|
-
"type": "string"
|
|
2343
|
-
},
|
|
2344
191
|
"workflowId": {
|
|
2345
192
|
"description": "Id of workflow to run inside map",
|
|
2346
193
|
"type": "string"
|
|
@@ -2385,48 +232,29 @@
|
|
|
2385
232
|
"type": "boolean"
|
|
2386
233
|
}
|
|
2387
234
|
}
|
|
2388
|
-
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
240
|
+
"title": "reduce unit schema",
|
|
241
|
+
"type": "object",
|
|
242
|
+
"required": [
|
|
243
|
+
"flowchartId",
|
|
244
|
+
"input",
|
|
245
|
+
"mapFlowchartId",
|
|
246
|
+
"monitors",
|
|
247
|
+
"name",
|
|
248
|
+
"postProcessors",
|
|
249
|
+
"preProcessors",
|
|
250
|
+
"results",
|
|
251
|
+
"type"
|
|
252
|
+
],
|
|
253
|
+
"properties": {
|
|
2389
254
|
"_id": {
|
|
2390
|
-
"
|
|
2391
|
-
"description": "entity identity"
|
|
2392
|
-
},
|
|
2393
|
-
"isDraft": {
|
|
2394
|
-
"type": "boolean"
|
|
2395
|
-
},
|
|
2396
|
-
"name": {
|
|
2397
|
-
"description": "name of the unit. e.g. pw_scf",
|
|
2398
|
-
"type": "string"
|
|
2399
|
-
},
|
|
2400
|
-
"status": {
|
|
2401
|
-
"description": "Status of the unit.",
|
|
2402
|
-
"type": "string",
|
|
2403
|
-
"enum": [
|
|
2404
|
-
"idle",
|
|
2405
|
-
"active",
|
|
2406
|
-
"warning",
|
|
2407
|
-
"error",
|
|
2408
|
-
"finished"
|
|
2409
|
-
]
|
|
2410
|
-
},
|
|
2411
|
-
"head": {
|
|
2412
|
-
"description": "Whether this unit is the first one to be executed.",
|
|
2413
|
-
"type": "boolean"
|
|
2414
|
-
},
|
|
2415
|
-
"flowchartId": {
|
|
2416
|
-
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
2417
|
-
"type": "string"
|
|
2418
|
-
},
|
|
2419
|
-
"next": {
|
|
2420
|
-
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
255
|
+
"description": "entity identity",
|
|
2421
256
|
"type": "string"
|
|
2422
257
|
},
|
|
2423
|
-
"enableRender": {
|
|
2424
|
-
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
2425
|
-
"type": "boolean"
|
|
2426
|
-
},
|
|
2427
|
-
"context": {
|
|
2428
|
-
"type": "object"
|
|
2429
|
-
},
|
|
2430
258
|
"slug": {
|
|
2431
259
|
"description": "entity slug",
|
|
2432
260
|
"type": "string"
|
|
@@ -2439,6 +267,10 @@
|
|
|
2439
267
|
"type": "string",
|
|
2440
268
|
"default": "2022.8.16"
|
|
2441
269
|
},
|
|
270
|
+
"name": {
|
|
271
|
+
"description": "entity name",
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
2442
274
|
"isDefault": {
|
|
2443
275
|
"description": "Identifies that entity is defaultable",
|
|
2444
276
|
"type": "boolean",
|
|
@@ -2449,30 +281,19 @@
|
|
|
2449
281
|
"type": "array",
|
|
2450
282
|
"items": {
|
|
2451
283
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2452
|
-
"title": "runtime item schema",
|
|
2453
|
-
"
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
}
|
|
2463
|
-
},
|
|
2464
|
-
"additionalProperties": true,
|
|
2465
|
-
"required": [
|
|
2466
|
-
"name"
|
|
2467
|
-
]
|
|
2468
|
-
},
|
|
2469
|
-
{
|
|
2470
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2471
|
-
"title": "RuntimeItemString",
|
|
2472
|
-
"description": "name of runtime item in shortened notation",
|
|
284
|
+
"title": "runtime item name object schema",
|
|
285
|
+
"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.",
|
|
286
|
+
"type": "object",
|
|
287
|
+
"required": [
|
|
288
|
+
"name"
|
|
289
|
+
],
|
|
290
|
+
"additionalProperties": true,
|
|
291
|
+
"properties": {
|
|
292
|
+
"name": {
|
|
293
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2473
294
|
"type": "string"
|
|
2474
295
|
}
|
|
2475
|
-
|
|
296
|
+
}
|
|
2476
297
|
}
|
|
2477
298
|
},
|
|
2478
299
|
"postProcessors": {
|
|
@@ -2480,30 +301,19 @@
|
|
|
2480
301
|
"type": "array",
|
|
2481
302
|
"items": {
|
|
2482
303
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2483
|
-
"title": "runtime item schema",
|
|
2484
|
-
"
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
}
|
|
2494
|
-
},
|
|
2495
|
-
"additionalProperties": true,
|
|
2496
|
-
"required": [
|
|
2497
|
-
"name"
|
|
2498
|
-
]
|
|
2499
|
-
},
|
|
2500
|
-
{
|
|
2501
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2502
|
-
"title": "RuntimeItemString",
|
|
2503
|
-
"description": "name of runtime item in shortened notation",
|
|
304
|
+
"title": "runtime item name object schema",
|
|
305
|
+
"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.",
|
|
306
|
+
"type": "object",
|
|
307
|
+
"required": [
|
|
308
|
+
"name"
|
|
309
|
+
],
|
|
310
|
+
"additionalProperties": true,
|
|
311
|
+
"properties": {
|
|
312
|
+
"name": {
|
|
313
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2504
314
|
"type": "string"
|
|
2505
315
|
}
|
|
2506
|
-
|
|
316
|
+
}
|
|
2507
317
|
}
|
|
2508
318
|
},
|
|
2509
319
|
"monitors": {
|
|
@@ -2511,30 +321,19 @@
|
|
|
2511
321
|
"type": "array",
|
|
2512
322
|
"items": {
|
|
2513
323
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2514
|
-
"title": "runtime item schema",
|
|
2515
|
-
"
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
}
|
|
2525
|
-
},
|
|
2526
|
-
"additionalProperties": true,
|
|
2527
|
-
"required": [
|
|
2528
|
-
"name"
|
|
2529
|
-
]
|
|
2530
|
-
},
|
|
2531
|
-
{
|
|
2532
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2533
|
-
"title": "RuntimeItemString",
|
|
2534
|
-
"description": "name of runtime item in shortened notation",
|
|
324
|
+
"title": "runtime item name object schema",
|
|
325
|
+
"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.",
|
|
326
|
+
"type": "object",
|
|
327
|
+
"required": [
|
|
328
|
+
"name"
|
|
329
|
+
],
|
|
330
|
+
"additionalProperties": true,
|
|
331
|
+
"properties": {
|
|
332
|
+
"name": {
|
|
333
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2535
334
|
"type": "string"
|
|
2536
335
|
}
|
|
2537
|
-
|
|
336
|
+
}
|
|
2538
337
|
}
|
|
2539
338
|
},
|
|
2540
339
|
"results": {
|
|
@@ -2542,30 +341,19 @@
|
|
|
2542
341
|
"type": "array",
|
|
2543
342
|
"items": {
|
|
2544
343
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2545
|
-
"title": "runtime item schema",
|
|
2546
|
-
"
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
}
|
|
2556
|
-
},
|
|
2557
|
-
"additionalProperties": true,
|
|
2558
|
-
"required": [
|
|
2559
|
-
"name"
|
|
2560
|
-
]
|
|
2561
|
-
},
|
|
2562
|
-
{
|
|
2563
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2564
|
-
"title": "RuntimeItemString",
|
|
2565
|
-
"description": "name of runtime item in shortened notation",
|
|
344
|
+
"title": "runtime item name object schema",
|
|
345
|
+
"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.",
|
|
346
|
+
"type": "object",
|
|
347
|
+
"required": [
|
|
348
|
+
"name"
|
|
349
|
+
],
|
|
350
|
+
"additionalProperties": true,
|
|
351
|
+
"properties": {
|
|
352
|
+
"name": {
|
|
353
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2566
354
|
"type": "string"
|
|
2567
355
|
}
|
|
2568
|
-
|
|
356
|
+
}
|
|
2569
357
|
}
|
|
2570
358
|
},
|
|
2571
359
|
"tags": {
|
|
@@ -2575,6 +363,17 @@
|
|
|
2575
363
|
"type": "string"
|
|
2576
364
|
}
|
|
2577
365
|
},
|
|
366
|
+
"status": {
|
|
367
|
+
"type": "string",
|
|
368
|
+
"description": "Status of the unit.",
|
|
369
|
+
"enum": [
|
|
370
|
+
"idle",
|
|
371
|
+
"active",
|
|
372
|
+
"warning",
|
|
373
|
+
"error",
|
|
374
|
+
"finished"
|
|
375
|
+
]
|
|
376
|
+
},
|
|
2578
377
|
"statusTrack": {
|
|
2579
378
|
"type": "array",
|
|
2580
379
|
"items": {
|
|
@@ -2595,45 +394,14 @@
|
|
|
2595
394
|
}
|
|
2596
395
|
}
|
|
2597
396
|
}
|
|
2598
|
-
}
|
|
2599
|
-
}
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2603
|
-
"title": "subworkflow unit schema",
|
|
2604
|
-
"type": "object",
|
|
2605
|
-
"required": [
|
|
2606
|
-
"type",
|
|
2607
|
-
"flowchartId"
|
|
2608
|
-
],
|
|
2609
|
-
"additionalProperties": true,
|
|
2610
|
-
"properties": {
|
|
2611
|
-
"type": {
|
|
2612
|
-
"const": "subworkflow",
|
|
2613
|
-
"description": "type of the unit",
|
|
2614
|
-
"type": "string"
|
|
2615
|
-
},
|
|
2616
|
-
"_id": {
|
|
2617
|
-
"type": "string",
|
|
2618
|
-
"description": "entity identity"
|
|
2619
397
|
},
|
|
2620
398
|
"isDraft": {
|
|
2621
399
|
"type": "boolean"
|
|
2622
400
|
},
|
|
2623
|
-
"
|
|
2624
|
-
"description": "
|
|
2625
|
-
"type": "string"
|
|
2626
|
-
},
|
|
2627
|
-
"status": {
|
|
2628
|
-
"description": "Status of the unit.",
|
|
401
|
+
"type": {
|
|
402
|
+
"description": "type of the unit",
|
|
2629
403
|
"type": "string",
|
|
2630
|
-
"
|
|
2631
|
-
"idle",
|
|
2632
|
-
"active",
|
|
2633
|
-
"warning",
|
|
2634
|
-
"error",
|
|
2635
|
-
"finished"
|
|
2636
|
-
]
|
|
404
|
+
"const": "reduce"
|
|
2637
405
|
},
|
|
2638
406
|
"head": {
|
|
2639
407
|
"description": "Whether this unit is the first one to be executed.",
|
|
@@ -2651,8 +419,53 @@
|
|
|
2651
419
|
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
2652
420
|
"type": "boolean"
|
|
2653
421
|
},
|
|
2654
|
-
"
|
|
2655
|
-
"
|
|
422
|
+
"mapFlowchartId": {
|
|
423
|
+
"description": "corresponding map unit flowchart ID",
|
|
424
|
+
"type": "string"
|
|
425
|
+
},
|
|
426
|
+
"input": {
|
|
427
|
+
"description": "input information for reduce unit",
|
|
428
|
+
"type": "array",
|
|
429
|
+
"items": {
|
|
430
|
+
"type": "object",
|
|
431
|
+
"required": [
|
|
432
|
+
"operation",
|
|
433
|
+
"arguments"
|
|
434
|
+
],
|
|
435
|
+
"properties": {
|
|
436
|
+
"operation": {
|
|
437
|
+
"description": "reduce operation, e.g. aggregate",
|
|
438
|
+
"type": "string"
|
|
439
|
+
},
|
|
440
|
+
"arguments": {
|
|
441
|
+
"description": "arguments which are passed to reduce operation function",
|
|
442
|
+
"type": "array",
|
|
443
|
+
"items": {
|
|
444
|
+
"type": "string"
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
454
|
+
"title": "subworkflow unit schema",
|
|
455
|
+
"type": "object",
|
|
456
|
+
"required": [
|
|
457
|
+
"flowchartId",
|
|
458
|
+
"monitors",
|
|
459
|
+
"name",
|
|
460
|
+
"postProcessors",
|
|
461
|
+
"preProcessors",
|
|
462
|
+
"results",
|
|
463
|
+
"type"
|
|
464
|
+
],
|
|
465
|
+
"properties": {
|
|
466
|
+
"_id": {
|
|
467
|
+
"description": "entity identity",
|
|
468
|
+
"type": "string"
|
|
2656
469
|
},
|
|
2657
470
|
"slug": {
|
|
2658
471
|
"description": "entity slug",
|
|
@@ -2666,6 +479,10 @@
|
|
|
2666
479
|
"type": "string",
|
|
2667
480
|
"default": "2022.8.16"
|
|
2668
481
|
},
|
|
482
|
+
"name": {
|
|
483
|
+
"description": "entity name",
|
|
484
|
+
"type": "string"
|
|
485
|
+
},
|
|
2669
486
|
"isDefault": {
|
|
2670
487
|
"description": "Identifies that entity is defaultable",
|
|
2671
488
|
"type": "boolean",
|
|
@@ -2676,30 +493,19 @@
|
|
|
2676
493
|
"type": "array",
|
|
2677
494
|
"items": {
|
|
2678
495
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2679
|
-
"title": "runtime item schema",
|
|
2680
|
-
"
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
}
|
|
2690
|
-
},
|
|
2691
|
-
"additionalProperties": true,
|
|
2692
|
-
"required": [
|
|
2693
|
-
"name"
|
|
2694
|
-
]
|
|
2695
|
-
},
|
|
2696
|
-
{
|
|
2697
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2698
|
-
"title": "RuntimeItemString",
|
|
2699
|
-
"description": "name of runtime item in shortened notation",
|
|
496
|
+
"title": "runtime item name object schema",
|
|
497
|
+
"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.",
|
|
498
|
+
"type": "object",
|
|
499
|
+
"required": [
|
|
500
|
+
"name"
|
|
501
|
+
],
|
|
502
|
+
"additionalProperties": true,
|
|
503
|
+
"properties": {
|
|
504
|
+
"name": {
|
|
505
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2700
506
|
"type": "string"
|
|
2701
507
|
}
|
|
2702
|
-
|
|
508
|
+
}
|
|
2703
509
|
}
|
|
2704
510
|
},
|
|
2705
511
|
"postProcessors": {
|
|
@@ -2707,30 +513,19 @@
|
|
|
2707
513
|
"type": "array",
|
|
2708
514
|
"items": {
|
|
2709
515
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2710
|
-
"title": "runtime item schema",
|
|
2711
|
-
"
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
}
|
|
2721
|
-
},
|
|
2722
|
-
"additionalProperties": true,
|
|
2723
|
-
"required": [
|
|
2724
|
-
"name"
|
|
2725
|
-
]
|
|
2726
|
-
},
|
|
2727
|
-
{
|
|
2728
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2729
|
-
"title": "RuntimeItemString",
|
|
2730
|
-
"description": "name of runtime item in shortened notation",
|
|
516
|
+
"title": "runtime item name object schema",
|
|
517
|
+
"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.",
|
|
518
|
+
"type": "object",
|
|
519
|
+
"required": [
|
|
520
|
+
"name"
|
|
521
|
+
],
|
|
522
|
+
"additionalProperties": true,
|
|
523
|
+
"properties": {
|
|
524
|
+
"name": {
|
|
525
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2731
526
|
"type": "string"
|
|
2732
527
|
}
|
|
2733
|
-
|
|
528
|
+
}
|
|
2734
529
|
}
|
|
2735
530
|
},
|
|
2736
531
|
"monitors": {
|
|
@@ -2738,30 +533,19 @@
|
|
|
2738
533
|
"type": "array",
|
|
2739
534
|
"items": {
|
|
2740
535
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2741
|
-
"title": "runtime item schema",
|
|
2742
|
-
"
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
}
|
|
2752
|
-
},
|
|
2753
|
-
"additionalProperties": true,
|
|
2754
|
-
"required": [
|
|
2755
|
-
"name"
|
|
2756
|
-
]
|
|
2757
|
-
},
|
|
2758
|
-
{
|
|
2759
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2760
|
-
"title": "RuntimeItemString",
|
|
2761
|
-
"description": "name of runtime item in shortened notation",
|
|
536
|
+
"title": "runtime item name object schema",
|
|
537
|
+
"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.",
|
|
538
|
+
"type": "object",
|
|
539
|
+
"required": [
|
|
540
|
+
"name"
|
|
541
|
+
],
|
|
542
|
+
"additionalProperties": true,
|
|
543
|
+
"properties": {
|
|
544
|
+
"name": {
|
|
545
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2762
546
|
"type": "string"
|
|
2763
547
|
}
|
|
2764
|
-
|
|
548
|
+
}
|
|
2765
549
|
}
|
|
2766
550
|
},
|
|
2767
551
|
"results": {
|
|
@@ -2769,30 +553,19 @@
|
|
|
2769
553
|
"type": "array",
|
|
2770
554
|
"items": {
|
|
2771
555
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2772
|
-
"title": "runtime item schema",
|
|
2773
|
-
"
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
}
|
|
2783
|
-
},
|
|
2784
|
-
"additionalProperties": true,
|
|
2785
|
-
"required": [
|
|
2786
|
-
"name"
|
|
2787
|
-
]
|
|
2788
|
-
},
|
|
2789
|
-
{
|
|
2790
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2791
|
-
"title": "RuntimeItemString",
|
|
2792
|
-
"description": "name of runtime item in shortened notation",
|
|
556
|
+
"title": "runtime item name object schema",
|
|
557
|
+
"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.",
|
|
558
|
+
"type": "object",
|
|
559
|
+
"required": [
|
|
560
|
+
"name"
|
|
561
|
+
],
|
|
562
|
+
"additionalProperties": true,
|
|
563
|
+
"properties": {
|
|
564
|
+
"name": {
|
|
565
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2793
566
|
"type": "string"
|
|
2794
567
|
}
|
|
2795
|
-
|
|
568
|
+
}
|
|
2796
569
|
}
|
|
2797
570
|
},
|
|
2798
571
|
"tags": {
|
|
@@ -2802,6 +575,17 @@
|
|
|
2802
575
|
"type": "string"
|
|
2803
576
|
}
|
|
2804
577
|
},
|
|
578
|
+
"status": {
|
|
579
|
+
"type": "string",
|
|
580
|
+
"description": "Status of the unit.",
|
|
581
|
+
"enum": [
|
|
582
|
+
"idle",
|
|
583
|
+
"active",
|
|
584
|
+
"warning",
|
|
585
|
+
"error",
|
|
586
|
+
"finished"
|
|
587
|
+
]
|
|
588
|
+
},
|
|
2805
589
|
"statusTrack": {
|
|
2806
590
|
"type": "array",
|
|
2807
591
|
"items": {
|
|
@@ -2822,6 +606,30 @@
|
|
|
2822
606
|
}
|
|
2823
607
|
}
|
|
2824
608
|
}
|
|
609
|
+
},
|
|
610
|
+
"isDraft": {
|
|
611
|
+
"type": "boolean"
|
|
612
|
+
},
|
|
613
|
+
"type": {
|
|
614
|
+
"description": "type of the unit",
|
|
615
|
+
"type": "string",
|
|
616
|
+
"const": "subworkflow"
|
|
617
|
+
},
|
|
618
|
+
"head": {
|
|
619
|
+
"description": "Whether this unit is the first one to be executed.",
|
|
620
|
+
"type": "boolean"
|
|
621
|
+
},
|
|
622
|
+
"flowchartId": {
|
|
623
|
+
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
624
|
+
"type": "string"
|
|
625
|
+
},
|
|
626
|
+
"next": {
|
|
627
|
+
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
628
|
+
"type": "string"
|
|
629
|
+
},
|
|
630
|
+
"enableRender": {
|
|
631
|
+
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
632
|
+
"type": "boolean"
|
|
2825
633
|
}
|
|
2826
634
|
}
|
|
2827
635
|
}
|