@mat3ra/esse 2024.2.6-0 → 2024.2.19-1
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/.eslintrc.json +9 -1
- package/.mocharc.json +5 -0
- package/build_schemas.js +7 -32
- package/compile_ts.ts +3 -0
- package/example/models_directory/re.json +1 -0
- package/example/workflow/subworkflow.json +1 -1
- package/example/workflow.json +2 -1
- package/lib/js/esse/JSONSchemasGenerator.d.ts +20 -0
- package/lib/js/esse/JSONSchemasGenerator.js +64 -0
- package/lib/js/esse/JSONSchemasInterface.d.ts +31 -0
- package/lib/js/esse/JSONSchemasInterface.js +48 -0
- package/lib/js/esse/JSONSchemasInterfaceServer.d.ts +9 -0
- package/lib/js/esse/JSONSchemasInterfaceServer.js +46 -0
- package/lib/js/esse/schemaUtils.d.ts +4 -0
- package/lib/js/esse/schemaUtils.js +13 -74
- package/lib/js/esse/settings.d.ts +3 -0
- package/lib/js/esse/settings.js +9 -21
- package/lib/js/esse/types.d.ts +3 -0
- package/lib/js/esse/types.js +2 -0
- package/lib/js/esse/utils.d.ts +14 -0
- package/lib/js/esse/utils.js +42 -62
- package/lib/js/example/3pse/file/applications/espresso/7.2/pw.x.json +94 -0
- package/lib/js/example/core/abstract/2d_data.json +19 -0
- package/lib/js/example/core/abstract/2d_plot.json +26 -0
- package/lib/js/example/core/abstract/3d_grid.json +12 -0
- package/lib/js/example/core/abstract/3d_tensor.json +17 -0
- package/lib/js/example/core/abstract/3d_vector_basis.json +17 -0
- package/lib/js/example/core/abstract/point.json +5 -0
- package/lib/js/example/core/abstract/vector.json +5 -0
- package/lib/js/example/core/primitive/1d_data_series.json +12 -0
- package/lib/js/example/core/primitive/3d_lattice.json +8 -0
- package/lib/js/example/core/primitive/array_of_3_booleans.json +5 -0
- package/lib/js/example/core/primitive/array_of_3_numbers.json +5 -0
- package/lib/js/example/core/primitive/array_of_ids.json +8 -0
- package/lib/js/example/core/primitive/axis.json +4 -0
- package/lib/js/example/core/primitive/scalar.json +3 -0
- package/lib/js/example/core/primitive/string.json +3 -0
- package/lib/js/example/core/reference/experiment/condition.json +12 -0
- package/lib/js/example/core/reference/experiment/location.json +4 -0
- package/lib/js/example/core/reference/experiment.json +38 -0
- package/lib/js/example/core/reference/literature/name.json +5 -0
- package/lib/js/example/core/reference/literature/pages.json +4 -0
- package/lib/js/example/core/reference/literature.json +10 -0
- package/lib/js/example/core/reference/modeling/exabyte.json +9 -0
- package/lib/js/example/core/reference/modeling.json +9 -0
- package/lib/js/example/core/reference.json +9 -0
- package/lib/js/example/core/reusable/atomic_vectors.json +18 -0
- package/lib/js/example/core/reusable/band_gap.json +16 -0
- package/lib/js/example/core/reusable/energy.json +5 -0
- package/lib/js/example/core/reusable/file_metadata.json +5 -0
- package/lib/js/example/core/reusable/object_storage_container_data.json +8 -0
- package/lib/js/example/element.json +17 -0
- package/lib/js/example/job/compute.json +26 -0
- package/lib/js/example/job.json +183 -0
- package/lib/js/example/material.json +128 -0
- package/lib/js/example/method/categorized_method.json +47 -0
- package/lib/js/example/method/method_parameters.json +3 -0
- package/lib/js/example/method.json +7 -0
- package/lib/js/example/methods_directory/legacy/localorbital.json +4 -0
- package/lib/js/example/methods_directory/legacy/pseudopotential.json +4 -0
- package/lib/js/example/methods_directory/legacy/regression.json +61 -0
- package/lib/js/example/methods_directory/legacy/unknown.json +4 -0
- package/lib/js/example/methods_directory/mathematical/cg.json +10 -0
- package/lib/js/example/methods_directory/mathematical/regression.json +65 -0
- package/lib/js/example/methods_directory/physical/ao/dunning.json +13 -0
- package/lib/js/example/methods_directory/physical/psp/file.json +54 -0
- package/lib/js/example/methods_directory/physical/psp.json +67 -0
- package/lib/js/example/methods_directory/physical/pw.json +9 -0
- package/lib/js/example/methods_directory/physical/smearing.json +10 -0
- package/lib/js/example/methods_directory/physical/tetrahedron.json +10 -0
- package/lib/js/example/model/categorized_model.json +77 -0
- package/lib/js/example/model/model_parameters.json +7 -0
- package/lib/js/example/model.json +11 -0
- package/lib/js/example/models_category/pb/qm/abin/gw.json +7 -0
- package/lib/js/example/models_category/pb/qm/dft/ksdft.json +6 -0
- package/lib/js/example/models_category/pb/qm/semp.json +5 -0
- package/lib/js/example/models_directory/gga.json +15 -0
- package/lib/js/example/models_directory/gw.json +15 -0
- package/lib/js/example/models_directory/hybrid.json +15 -0
- package/lib/js/example/models_directory/lda.json +15 -0
- package/lib/js/example/models_directory/legacy/dft.json +12 -0
- package/lib/js/example/models_directory/legacy/ml.json +11 -0
- package/lib/js/example/models_directory/legacy/unknown.json +11 -0
- package/lib/js/example/models_directory/re.json +10 -0
- package/lib/js/example/project.json +25 -0
- package/lib/js/example/properties_directory/electronic_configuration.json +4 -0
- package/lib/js/example/properties_directory/elemental/atomic_radius.json +4 -0
- package/lib/js/example/properties_directory/elemental/electronegativity.json +4 -0
- package/lib/js/example/properties_directory/elemental/ionization_potential.json +4 -0
- package/lib/js/example/properties_directory/non_scalar/band_gaps.json +25 -0
- package/lib/js/example/properties_directory/non_scalar/band_structure.json +47 -0
- package/lib/js/example/properties_directory/non_scalar/charge_density_profile.json +22 -0
- package/lib/js/example/properties_directory/non_scalar/density_of_states.json +55 -0
- package/lib/js/example/properties_directory/non_scalar/dielectric_tensor.json +133 -0
- package/lib/js/example/properties_directory/non_scalar/file_content.json +13 -0
- package/lib/js/example/properties_directory/non_scalar/hubbard_u.json +24 -0
- package/lib/js/example/properties_directory/non_scalar/hubbard_v.json +22 -0
- package/lib/js/example/properties_directory/non_scalar/hubbard_v_nn.json +24 -0
- package/lib/js/example/properties_directory/non_scalar/phonon_dispersions.json +41 -0
- package/lib/js/example/properties_directory/non_scalar/phonon_dos.json +37 -0
- package/lib/js/example/properties_directory/non_scalar/potential_profile.json +32 -0
- package/lib/js/example/properties_directory/non_scalar/reaction_energy_profile.json +30 -0
- package/lib/js/example/properties_directory/non_scalar/stress_tensor.json +21 -0
- package/lib/js/example/properties_directory/non_scalar/total_energy_contributions.json +44 -0
- package/lib/js/example/properties_directory/non_scalar/vibrational_spectrum.json +25 -0
- package/lib/js/example/properties_directory/scalar/electron_affinity.json +5 -0
- package/lib/js/example/properties_directory/scalar/fermi_energy.json +5 -0
- package/lib/js/example/properties_directory/scalar/formation_energy.json +5 -0
- package/lib/js/example/properties_directory/scalar/ionization_potential.json +5 -0
- package/lib/js/example/properties_directory/scalar/pressure.json +5 -0
- package/lib/js/example/properties_directory/scalar/reaction_energy_barrier.json +5 -0
- package/lib/js/example/properties_directory/scalar/surface_energy.json +5 -0
- package/lib/js/example/properties_directory/scalar/total_energy.json +5 -0
- package/lib/js/example/properties_directory/scalar/total_force.json +5 -0
- package/lib/js/example/properties_directory/scalar/valence_band_offset.json +5 -0
- package/lib/js/example/properties_directory/scalar/zero_point_energy.json +5 -0
- package/lib/js/example/properties_directory/structural/atomic_forces.json +22 -0
- package/lib/js/example/properties_directory/structural/basis/atomic_constraints.json +21 -0
- package/lib/js/example/properties_directory/structural/basis/atomic_coordinate.json +8 -0
- package/lib/js/example/properties_directory/structural/basis/atomic_coordinates.json +21 -0
- package/lib/js/example/properties_directory/structural/basis/atomic_element.json +4 -0
- package/lib/js/example/properties_directory/structural/basis/bonds.json +24 -0
- package/lib/js/example/properties_directory/structural/basis.json +46 -0
- package/lib/js/example/properties_directory/structural/density.json +5 -0
- package/lib/js/example/properties_directory/structural/elemental_ratio.json +5 -0
- package/lib/js/example/properties_directory/structural/inchi.json +4 -0
- package/lib/js/example/properties_directory/structural/inchi_key.json +4 -0
- package/lib/js/example/properties_directory/structural/lattice/lattice_bravais.json +13 -0
- package/lib/js/example/properties_directory/structural/lattice/lattice_vectors.json +19 -0
- package/lib/js/example/properties_directory/structural/lattice.json +33 -0
- package/lib/js/example/properties_directory/structural/magnetic_moments.json +22 -0
- package/lib/js/example/properties_directory/structural/molecular_pattern.json +71 -0
- package/lib/js/example/properties_directory/structural/p_norm.json +5 -0
- package/lib/js/example/properties_directory/structural/symmetry.json +9 -0
- package/lib/js/example/properties_directory/structural/volume.json +5 -0
- package/lib/js/example/properties_directory/workflow/convergence/electronic.json +15 -0
- package/lib/js/example/properties_directory/workflow/convergence/ionic.json +20 -0
- package/lib/js/example/properties_directory/workflow/convergence/kpoint.json +22 -0
- package/lib/js/example/property/base.json +31 -0
- package/lib/js/example/software/application.json +7 -0
- package/lib/js/example/software/executable.json +20 -0
- package/lib/js/example/software/flavor.json +9 -0
- package/lib/js/example/software/template.json +14 -0
- package/lib/js/example/software_directory/ml/exabyteml.json +6 -0
- package/lib/js/example/software_directory/ml/unit/execution/evaluate/cross_validate.json +20 -0
- package/lib/js/example/software_directory/ml/unit/execution/initialize.json +23 -0
- package/lib/js/example/software_directory/ml/unit/execution/score.json +18 -0
- package/lib/js/example/software_directory/ml/unit/execution/train.json +29 -0
- package/lib/js/example/software_directory/ml/unit/processing/data_transformation/manipulation.json +14 -0
- package/lib/js/example/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.json +26 -0
- package/lib/js/example/software_directory/ml/unit/processing/feature_selection/filter_based.json +13 -0
- package/lib/js/example/software_directory/modeling/espresso/arguments.json +5 -0
- package/lib/js/example/software_directory/modeling/espresso.json +6 -0
- package/lib/js/example/software_directory/modeling/nwchem.json +6 -0
- package/lib/js/example/software_directory/modeling/unit/execution.json +19 -0
- package/lib/js/example/software_directory/modeling/vasp.json +6 -0
- package/lib/js/example/software_directory/scripting/jupyter_lab.json +8 -0
- package/lib/js/example/software_directory/scripting/python.json +8 -0
- package/lib/js/example/software_directory/scripting/shell.json +8 -0
- package/lib/js/example/software_directory/scripting/unit/execution.json +22 -0
- package/lib/js/example/system/_material.json +5 -0
- package/lib/js/example/system/_parent_job.json +5 -0
- package/lib/js/example/system/_project.json +5 -0
- package/lib/js/example/system/consistency_check.json +6 -0
- package/lib/js/example/system/creator.json +5 -0
- package/lib/js/example/system/entity_reference.json +5 -0
- package/lib/js/example/system/file_source.json +6 -0
- package/lib/js/example/system/message.json +16 -0
- package/lib/js/example/system/owner.json +5 -0
- package/lib/js/example/workflow/subworkflow.json +93 -0
- package/lib/js/example/workflow/unit/assignment.json +19 -0
- package/lib/js/example/workflow/unit/condition.json +22 -0
- package/lib/js/example/workflow/unit/execution.json +66 -0
- package/lib/js/example/workflow/unit/input/_inputItemScope.json +4 -0
- package/lib/js/example/workflow/unit/io/api.json +31 -0
- package/lib/js/example/workflow/unit/io/db.json +15 -0
- package/lib/js/example/workflow/unit/io/object_storage.json +12 -0
- package/lib/js/example/workflow/unit/io.json +41 -0
- package/lib/js/example/workflow/unit/map.json +16 -0
- package/lib/js/example/workflow/unit/processing.json +13 -0
- package/lib/js/example/workflow/unit/reduce.json +16 -0
- package/lib/js/example/workflow/unit/runtime/runtime_items.json +14 -0
- package/lib/js/example/workflow.json +129 -0
- package/lib/js/json_include/index.d.ts +22 -0
- package/lib/js/json_include/index.js +61 -97
- package/lib/js/json_include/settings.d.ts +3 -0
- package/lib/js/json_include/settings.js +4 -11
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x/atomic_positions.json +72 -0
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x/atomic_species.json +30 -0
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x/cell.json +89 -0
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x/cell_parameters.json +54 -0
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x/control.json +181 -0
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x/electrons.json +163 -0
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x/hubbard.json +219 -0
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x/ions.json +216 -0
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x/k_points.json +87 -0
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x/system.json +652 -0
- package/lib/js/schema/3pse/file/applications/espresso/7.2/pw.x.json +1776 -0
- package/lib/js/schema/core/abstract/2d_data.json +31 -0
- package/lib/js/schema/core/abstract/2d_plot.json +74 -0
- package/lib/js/schema/core/abstract/3d_grid.json +32 -0
- package/lib/js/schema/core/abstract/3d_tensor.json +18 -0
- package/lib/js/schema/core/abstract/3d_vector_basis.json +43 -0
- package/lib/js/schema/core/abstract/point.json +11 -0
- package/lib/js/schema/core/abstract/vector.json +27 -0
- package/lib/js/schema/core/primitive/1d_data_series.json +16 -0
- package/lib/js/schema/core/primitive/3d_lattice.json +40 -0
- package/lib/js/schema/core/primitive/array_of_3_booleans.json +11 -0
- package/lib/js/schema/core/primitive/array_of_3_numbers.json +11 -0
- package/lib/js/schema/core/primitive/array_of_ids.json +16 -0
- package/lib/js/schema/core/primitive/array_of_strings.json +11 -0
- package/lib/js/schema/core/primitive/axis.json +19 -0
- package/lib/js/schema/core/primitive/group_info.json +16 -0
- package/lib/js/schema/core/primitive/integer_one_or_zero.json +8 -0
- package/lib/js/schema/core/primitive/linked_list/base_node.json +36 -0
- package/lib/js/schema/core/primitive/linked_list/named_node.json +40 -0
- package/lib/js/schema/core/primitive/linked_list/named_node_in_group.json +48 -0
- package/lib/js/schema/core/primitive/linked_list/node_with_type.json +39 -0
- package/lib/js/schema/core/primitive/linked_list.json +171 -0
- package/lib/js/schema/core/primitive/scalar.json +14 -0
- package/lib/js/schema/core/primitive/slugified_entry.json +21 -0
- package/lib/js/schema/core/primitive/slugified_entry_or_slug.json +31 -0
- package/lib/js/schema/core/primitive/string.json +14 -0
- package/lib/js/schema/core/reference/exabyte.json +19 -0
- package/lib/js/schema/core/reference/experiment/condition.json +31 -0
- package/lib/js/schema/core/reference/experiment/location.json +20 -0
- package/lib/js/schema/core/reference/experiment.json +249 -0
- package/lib/js/schema/core/reference/literature/name.json +24 -0
- package/lib/js/schema/core/reference/literature/pages.json +17 -0
- package/lib/js/schema/core/reference/literature.json +131 -0
- package/lib/js/schema/core/reference/modeling/exabyte.json +46 -0
- package/lib/js/schema/core/reference/modeling.json +52 -0
- package/lib/js/schema/core/reference.json +436 -0
- package/lib/js/schema/core/reusable/atomic_data/per_orbital.json +22 -0
- package/lib/js/schema/core/reusable/atomic_data/per_orbital_pair.json +39 -0
- package/lib/js/schema/core/reusable/atomic_data/value_number.json +13 -0
- package/lib/js/schema/core/reusable/atomic_data/value_string.json +13 -0
- package/lib/js/schema/core/reusable/atomic_data_per_orbital_numeric.json +26 -0
- package/lib/js/schema/core/reusable/atomic_data_per_orbital_pair_numeric.json +43 -0
- package/lib/js/schema/core/reusable/atomic_orbital.json +32 -0
- package/lib/js/schema/core/reusable/atomic_scalars.json +29 -0
- package/lib/js/schema/core/reusable/atomic_strings.json +19 -0
- package/lib/js/schema/core/reusable/atomic_vectors.json +42 -0
- package/lib/js/schema/core/reusable/band_gap.json +64 -0
- package/lib/js/schema/core/reusable/categories.json +159 -0
- package/lib/js/schema/core/reusable/category_path.json +7 -0
- package/lib/js/schema/core/reusable/dielectric_tensor_component.json +46 -0
- package/lib/js/schema/core/reusable/energy.json +39 -0
- package/lib/js/schema/core/reusable/file_metadata.json +21 -0
- package/lib/js/schema/core/reusable/frequency_function_matrix.json +30 -0
- package/lib/js/schema/core/reusable/object_storage_container_data.json +38 -0
- package/lib/js/schema/definitions/units.json +103 -0
- package/lib/js/schema/element.json +103 -0
- package/lib/js/schema/in_memory_entity/base.json +65 -0
- package/lib/js/schema/in_memory_entity/defaultable.json +70 -0
- package/lib/js/schema/in_memory_entity/named.json +69 -0
- package/lib/js/schema/in_memory_entity/named_defaultable.json +74 -0
- package/lib/js/schema/in_memory_entity/named_defaultable_has_metadata.json +77 -0
- package/lib/js/schema/in_memory_entity/named_defaultable_runtime_items.json +194 -0
- package/lib/js/schema/job/base.json +376 -0
- package/lib/js/schema/job/compute.json +176 -0
- package/lib/js/schema/job.json +6868 -0
- package/lib/js/schema/material/conventional.json +11 -0
- package/lib/js/schema/material.json +624 -0
- package/lib/js/schema/method/categorized_method.json +221 -0
- package/lib/js/schema/method/method_parameters.json +47 -0
- package/lib/js/schema/method/unit_method.json +191 -0
- package/lib/js/schema/method.json +28 -0
- package/lib/js/schema/methods_category/mathematical/diff/enum_options.json +8 -0
- package/lib/js/schema/methods_category/mathematical/diff/fd.json +165 -0
- package/lib/js/schema/methods_category/mathematical/diff.json +162 -0
- package/lib/js/schema/methods_category/mathematical/discr/enum_options.json +8 -0
- package/lib/js/schema/methods_category/mathematical/discr/mesh/enum_options.json +18 -0
- package/lib/js/schema/methods_category/mathematical/discr/mesh/hybrid.json +168 -0
- package/lib/js/schema/methods_category/mathematical/discr/mesh/nstruct.json +168 -0
- package/lib/js/schema/methods_category/mathematical/discr/mesh/struct/cartesian.json +171 -0
- package/lib/js/schema/methods_category/mathematical/discr/mesh/struct/enum_options.json +8 -0
- package/lib/js/schema/methods_category/mathematical/discr/mesh/struct.json +168 -0
- package/lib/js/schema/methods_category/mathematical/discr/mesh.json +165 -0
- package/lib/js/schema/methods_category/mathematical/discr.json +162 -0
- package/lib/js/schema/methods_category/mathematical/enum_options.json +45 -0
- package/lib/js/schema/methods_category/mathematical/fapprx/basisexp.json +165 -0
- package/lib/js/schema/methods_category/mathematical/fapprx/enum_options.json +13 -0
- package/lib/js/schema/methods_category/mathematical/fapprx/ipol/enum_options.json +18 -0
- package/lib/js/schema/methods_category/mathematical/fapprx/ipol/lin.json +168 -0
- package/lib/js/schema/methods_category/mathematical/fapprx/ipol/poly.json +168 -0
- package/lib/js/schema/methods_category/mathematical/fapprx/ipol/spline.json +168 -0
- package/lib/js/schema/methods_category/mathematical/fapprx/ipol.json +165 -0
- package/lib/js/schema/methods_category/mathematical/fapprx.json +162 -0
- package/lib/js/schema/methods_category/mathematical/intgr/analytic/enum_options.json +20 -0
- package/lib/js/schema/methods_category/mathematical/intgr/analytic/volume.json +178 -0
- package/lib/js/schema/methods_category/mathematical/intgr/analytic.json +165 -0
- package/lib/js/schema/methods_category/mathematical/intgr/diffeq/enum_options.json +13 -0
- package/lib/js/schema/methods_category/mathematical/intgr/diffeq/order1.json +168 -0
- package/lib/js/schema/methods_category/mathematical/intgr/diffeq/order2.json +168 -0
- package/lib/js/schema/methods_category/mathematical/intgr/diffeq.json +165 -0
- package/lib/js/schema/methods_category/mathematical/intgr/enum_options.json +23 -0
- package/lib/js/schema/methods_category/mathematical/intgr/numquad/enum_options.json +13 -0
- package/lib/js/schema/methods_category/mathematical/intgr/numquad/gauss.json +168 -0
- package/lib/js/schema/methods_category/mathematical/intgr/numquad/newcot.json +168 -0
- package/lib/js/schema/methods_category/mathematical/intgr/numquad.json +165 -0
- package/lib/js/schema/methods_category/mathematical/intgr/transf/enum_options.json +8 -0
- package/lib/js/schema/methods_category/mathematical/intgr/transf/fourier.json +168 -0
- package/lib/js/schema/methods_category/mathematical/intgr/transf.json +165 -0
- package/lib/js/schema/methods_category/mathematical/intgr.json +162 -0
- package/lib/js/schema/methods_category/mathematical/linalg/dcomp.json +165 -0
- package/lib/js/schema/methods_category/mathematical/linalg/diag/davidson.json +168 -0
- package/lib/js/schema/methods_category/mathematical/linalg/diag/enum_options.json +8 -0
- package/lib/js/schema/methods_category/mathematical/linalg/diag.json +165 -0
- package/lib/js/schema/methods_category/mathematical/linalg/enum_options.json +23 -0
- package/lib/js/schema/methods_category/mathematical/linalg/lintra.json +165 -0
- package/lib/js/schema/methods_category/mathematical/linalg/matf.json +165 -0
- package/lib/js/schema/methods_category/mathematical/linalg.json +162 -0
- package/lib/js/schema/methods_category/mathematical/opt/diff/bracket.json +168 -0
- package/lib/js/schema/methods_category/mathematical/opt/diff/enum_options.json +28 -0
- package/lib/js/schema/methods_category/mathematical/opt/diff/local.json +168 -0
- package/lib/js/schema/methods_category/mathematical/opt/diff/order1.json +168 -0
- package/lib/js/schema/methods_category/mathematical/opt/diff/order2.json +168 -0
- package/lib/js/schema/methods_category/mathematical/opt/diff/ordern/cg.json +171 -0
- package/lib/js/schema/methods_category/mathematical/opt/diff/ordern/enum_options.json +8 -0
- package/lib/js/schema/methods_category/mathematical/opt/diff/ordern.json +168 -0
- package/lib/js/schema/methods_category/mathematical/opt/diff.json +165 -0
- package/lib/js/schema/methods_category/mathematical/opt/enum_options.json +18 -0
- package/lib/js/schema/methods_category/mathematical/opt/ndiff/direct.json +168 -0
- package/lib/js/schema/methods_category/mathematical/opt/ndiff/enum_options.json +18 -0
- package/lib/js/schema/methods_category/mathematical/opt/ndiff/pop.json +168 -0
- package/lib/js/schema/methods_category/mathematical/opt/ndiff/stoch.json +168 -0
- package/lib/js/schema/methods_category/mathematical/opt/ndiff.json +165 -0
- package/lib/js/schema/methods_category/mathematical/opt/root/bracket.json +168 -0
- package/lib/js/schema/methods_category/mathematical/opt/root/enum_options.json +13 -0
- package/lib/js/schema/methods_category/mathematical/opt/root/iter.json +168 -0
- package/lib/js/schema/methods_category/mathematical/opt/root.json +165 -0
- package/lib/js/schema/methods_category/mathematical/opt.json +162 -0
- package/lib/js/schema/methods_category/mathematical/regression.json +167 -0
- package/lib/js/schema/methods_category/physical/enum_options.json +8 -0
- package/lib/js/schema/methods_category/physical/qm/enum_options.json +8 -0
- package/lib/js/schema/methods_category/physical/qm/wf/ao/dunning.json +171 -0
- package/lib/js/schema/methods_category/physical/qm/wf/ao/other.json +171 -0
- package/lib/js/schema/methods_category/physical/qm/wf/ao/pople.json +171 -0
- package/lib/js/schema/methods_category/physical/qm/wf/ao.json +173 -0
- package/lib/js/schema/methods_category/physical/qm/wf/enum_options.json +63 -0
- package/lib/js/schema/methods_category/physical/qm/wf/psp.json +174 -0
- package/lib/js/schema/methods_category/physical/qm/wf/pw.json +168 -0
- package/lib/js/schema/methods_category/physical/qm/wf/smearing.json +174 -0
- package/lib/js/schema/methods_category/physical/qm/wf/tetrahedron.json +173 -0
- package/lib/js/schema/methods_category/physical/qm/wf.json +165 -0
- package/lib/js/schema/methods_category/physical/qm.json +162 -0
- package/lib/js/schema/methods_directory/legacy/localorbital.json +34 -0
- package/lib/js/schema/methods_directory/legacy/pseudopotential.json +37 -0
- package/lib/js/schema/methods_directory/legacy/regression.json +185 -0
- package/lib/js/schema/methods_directory/legacy/unknown.json +34 -0
- package/lib/js/schema/methods_directory/mathematical/cg.json +207 -0
- package/lib/js/schema/methods_directory/mathematical/davidson.json +204 -0
- package/lib/js/schema/methods_directory/mathematical/regression/data.json +122 -0
- package/lib/js/schema/methods_directory/mathematical/regression/dataset.json +21 -0
- package/lib/js/schema/methods_directory/mathematical/regression/kernel_ridge/data_per_property.json +47 -0
- package/lib/js/schema/methods_directory/mathematical/regression/linear/data_per_property.json +42 -0
- package/lib/js/schema/methods_directory/mathematical/regression/per_feature_item.json +23 -0
- package/lib/js/schema/methods_directory/mathematical/regression/precision.json +33 -0
- package/lib/js/schema/methods_directory/mathematical/regression/precision_per_property.json +23 -0
- package/lib/js/schema/methods_directory/mathematical/regression.json +354 -0
- package/lib/js/schema/methods_directory/physical/ao/dunning.json +230 -0
- package/lib/js/schema/methods_directory/physical/ao/enum_options.json +28 -0
- package/lib/js/schema/methods_directory/physical/ao/other.json +238 -0
- package/lib/js/schema/methods_directory/physical/ao/pople.json +230 -0
- package/lib/js/schema/methods_directory/physical/psp/file.json +140 -0
- package/lib/js/schema/methods_directory/physical/psp/file_data_item.json +116 -0
- package/lib/js/schema/methods_directory/physical/psp.json +352 -0
- package/lib/js/schema/methods_directory/physical/pw.json +204 -0
- package/lib/js/schema/methods_directory/physical/smearing.json +210 -0
- package/lib/js/schema/methods_directory/physical/tetrahedron.json +208 -0
- package/lib/js/schema/model/categorized_model.json +542 -0
- package/lib/js/schema/model/mixins/dft/double_hybrid_functional.json +13 -0
- package/lib/js/schema/model/mixins/dft/enum_options.json +30 -0
- package/lib/js/schema/model/mixins/dft/gga_functional.json +15 -0
- package/lib/js/schema/model/mixins/dft/hybrid_functional.json +14 -0
- package/lib/js/schema/model/mixins/dft/lda_functional.json +14 -0
- package/lib/js/schema/model/mixins/dft/mgga_functional.json +14 -0
- package/lib/js/schema/model/mixins/dispersion_correction.json +16 -0
- package/lib/js/schema/model/mixins/enum_options.json +22 -0
- package/lib/js/schema/model/mixins/hubbard.json +13 -0
- package/lib/js/schema/model/mixins/spin_orbit_coupling.json +12 -0
- package/lib/js/schema/model/mixins/spin_polarization.json +15 -0
- package/lib/js/schema/model/model_parameters.json +98 -0
- package/lib/js/schema/model/model_without_method.json +321 -0
- package/lib/js/schema/model.json +49 -0
- package/lib/js/schema/models_category/enum_options.json +13 -0
- package/lib/js/schema/models_category/pb/enum_options.json +8 -0
- package/lib/js/schema/models_category/pb/qm/abin/enum_options.json +15 -0
- package/lib/js/schema/models_category/pb/qm/abin/gw.json +176 -0
- package/lib/js/schema/models_category/pb/qm/abin.json +168 -0
- package/lib/js/schema/models_category/pb/qm/dft/enum_options.json +8 -0
- package/lib/js/schema/models_category/pb/qm/dft/ksdft/double_hybrid.json +174 -0
- package/lib/js/schema/models_category/pb/qm/dft/ksdft/enum_options.json +28 -0
- package/lib/js/schema/models_category/pb/qm/dft/ksdft/gga.json +174 -0
- package/lib/js/schema/models_category/pb/qm/dft/ksdft/hybrid.json +174 -0
- package/lib/js/schema/models_category/pb/qm/dft/ksdft/lda.json +174 -0
- package/lib/js/schema/models_category/pb/qm/dft/ksdft/mgga.json +174 -0
- package/lib/js/schema/models_category/pb/qm/dft/ksdft.json +171 -0
- package/lib/js/schema/models_category/pb/qm/dft.json +168 -0
- package/lib/js/schema/models_category/pb/qm/enum_options.json +18 -0
- package/lib/js/schema/models_category/pb/qm/semp.json +168 -0
- package/lib/js/schema/models_category/pb/qm.json +165 -0
- package/lib/js/schema/models_category/pb.json +162 -0
- package/lib/js/schema/models_category/st/det/enum_options.json +8 -0
- package/lib/js/schema/models_category/st/det/ml/enum_options.json +8 -0
- package/lib/js/schema/models_category/st/det/ml/re.json +171 -0
- package/lib/js/schema/models_category/st/det/ml.json +168 -0
- package/lib/js/schema/models_category/st/det.json +165 -0
- package/lib/js/schema/models_category/st/enum_options.json +8 -0
- package/lib/js/schema/models_category/st.json +162 -0
- package/lib/js/schema/models_directory/double_hybrid.json +387 -0
- package/lib/js/schema/models_directory/gga.json +401 -0
- package/lib/js/schema/models_directory/gw.json +415 -0
- package/lib/js/schema/models_directory/hybrid.json +400 -0
- package/lib/js/schema/models_directory/lda.json +400 -0
- package/lib/js/schema/models_directory/legacy/dft.json +154 -0
- package/lib/js/schema/models_directory/legacy/ml.json +55 -0
- package/lib/js/schema/models_directory/legacy/unknown.json +55 -0
- package/lib/js/schema/models_directory/mgga.json +400 -0
- package/lib/js/schema/models_directory/re.json +334 -0
- package/lib/js/schema/project.json +103 -0
- package/lib/js/schema/properties_directory/derived_properties.json +185 -0
- package/lib/js/schema/properties_directory/electronic_configuration.json +16 -0
- package/lib/js/schema/properties_directory/elemental/atomic_radius.json +35 -0
- package/lib/js/schema/properties_directory/elemental/electronegativity.json +20 -0
- package/lib/js/schema/properties_directory/elemental/ionization_potential.json +31 -0
- package/lib/js/schema/properties_directory/non_scalar/average_potential_profile.json +107 -0
- package/lib/js/schema/properties_directory/non_scalar/band_gaps.json +121 -0
- package/lib/js/schema/properties_directory/non_scalar/band_structure.json +118 -0
- package/lib/js/schema/properties_directory/non_scalar/charge_density_profile.json +88 -0
- package/lib/js/schema/properties_directory/non_scalar/density_of_states.json +123 -0
- package/lib/js/schema/properties_directory/non_scalar/dielectric_tensor.json +65 -0
- package/lib/js/schema/properties_directory/non_scalar/file_content.json +73 -0
- package/lib/js/schema/properties_directory/non_scalar/hubbard_u.json +56 -0
- package/lib/js/schema/properties_directory/non_scalar/hubbard_v.json +75 -0
- package/lib/js/schema/properties_directory/non_scalar/hubbard_v_nn.json +75 -0
- package/lib/js/schema/properties_directory/non_scalar/phonon_dispersions.json +103 -0
- package/lib/js/schema/properties_directory/non_scalar/phonon_dos.json +95 -0
- package/lib/js/schema/properties_directory/non_scalar/potential_profile.json +94 -0
- package/lib/js/schema/properties_directory/non_scalar/reaction_energy_profile.json +94 -0
- package/lib/js/schema/properties_directory/non_scalar/stress_tensor.json +36 -0
- package/lib/js/schema/properties_directory/non_scalar/total_energy_contributions.json +271 -0
- package/lib/js/schema/properties_directory/non_scalar/vibrational_spectrum.json +99 -0
- package/lib/js/schema/properties_directory/scalar/electron_affinity.json +42 -0
- package/lib/js/schema/properties_directory/scalar/fermi_energy.json +42 -0
- package/lib/js/schema/properties_directory/scalar/formation_energy.json +42 -0
- package/lib/js/schema/properties_directory/scalar/ionization_potential.json +42 -0
- package/lib/js/schema/properties_directory/scalar/pressure.json +26 -0
- package/lib/js/schema/properties_directory/scalar/reaction_energy_barrier.json +42 -0
- package/lib/js/schema/properties_directory/scalar/surface_energy.json +42 -0
- package/lib/js/schema/properties_directory/scalar/total_energy.json +42 -0
- package/lib/js/schema/properties_directory/scalar/total_force.json +29 -0
- package/lib/js/schema/properties_directory/scalar/valence_band_offset.json +42 -0
- package/lib/js/schema/properties_directory/scalar/zero_point_energy.json +42 -0
- package/lib/js/schema/properties_directory/structural/atomic_forces.json +65 -0
- package/lib/js/schema/properties_directory/structural/basis/atomic_constraints.json +55 -0
- package/lib/js/schema/properties_directory/structural/basis/atomic_coordinate.json +38 -0
- package/lib/js/schema/properties_directory/structural/basis/atomic_coordinates.json +68 -0
- package/lib/js/schema/properties_directory/structural/basis/atomic_element.json +26 -0
- package/lib/js/schema/properties_directory/structural/basis/bonds.json +42 -0
- package/lib/js/schema/properties_directory/structural/basis.json +127 -0
- package/lib/js/schema/properties_directory/structural/density.json +24 -0
- package/lib/js/schema/properties_directory/structural/elemental_ratio.json +26 -0
- package/lib/js/schema/properties_directory/structural/inchi.json +19 -0
- package/lib/js/schema/properties_directory/structural/inchi_key.json +19 -0
- package/lib/js/schema/properties_directory/structural/lattice/lattice_bravais.json +81 -0
- package/lib/js/schema/properties_directory/structural/lattice/lattice_vectors.json +63 -0
- package/lib/js/schema/properties_directory/structural/lattice/type_enum.json +22 -0
- package/lib/js/schema/properties_directory/structural/lattice/type_extended_enum.json +32 -0
- package/lib/js/schema/properties_directory/structural/lattice.json +148 -0
- package/lib/js/schema/properties_directory/structural/magnetic_moments.json +60 -0
- package/lib/js/schema/properties_directory/structural/molecular_pattern.json +111 -0
- package/lib/js/schema/properties_directory/structural/p_norm.json +24 -0
- package/lib/js/schema/properties_directory/structural/patterns/functional_group.json +36 -0
- package/lib/js/schema/properties_directory/structural/patterns/ring.json +35 -0
- package/lib/js/schema/properties_directory/structural/patterns/special_bond.json +33 -0
- package/lib/js/schema/properties_directory/structural/symmetry.json +40 -0
- package/lib/js/schema/properties_directory/structural/volume.json +24 -0
- package/lib/js/schema/properties_directory/workflow/convergence/electronic.json +32 -0
- package/lib/js/schema/properties_directory/workflow/convergence/ionic.json +62 -0
- package/lib/js/schema/properties_directory/workflow/convergence/kpoint.json +48 -0
- package/lib/js/schema/property/base.json +387 -0
- package/lib/js/schema/property/meta.json +387 -0
- package/lib/js/schema/property/raw.json +387 -0
- package/lib/js/schema/property/source.json +286 -0
- package/lib/js/schema/software/application.json +99 -0
- package/lib/js/schema/software/executable.json +208 -0
- package/lib/js/schema/software/flavor.json +228 -0
- package/lib/js/schema/software/template.json +103 -0
- package/lib/js/schema/software_directory/ml/exabyteml.json +23 -0
- package/lib/js/schema/software_directory/ml/unit/execution/evaluate/cross_validate.json +814 -0
- package/lib/js/schema/software_directory/ml/unit/execution/initialize.json +818 -0
- package/lib/js/schema/software_directory/ml/unit/execution/score.json +804 -0
- package/lib/js/schema/software_directory/ml/unit/execution/train.json +827 -0
- package/lib/js/schema/software_directory/ml/unit/execution.json +3264 -0
- package/lib/js/schema/software_directory/ml/unit/processing/data_transformation/manipulation.json +310 -0
- package/lib/js/schema/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.json +330 -0
- package/lib/js/schema/software_directory/ml/unit/processing/data_transformation.json +334 -0
- package/lib/js/schema/software_directory/ml/unit/processing/feature_selection/filter_based.json +305 -0
- package/lib/js/schema/software_directory/ml/unit/processing/feature_selection.json +309 -0
- package/lib/js/schema/software_directory/ml/unit/processing.json +646 -0
- package/lib/js/schema/software_directory/modeling/deepmd.json +115 -0
- package/lib/js/schema/software_directory/modeling/espresso/arguments.json +44 -0
- package/lib/js/schema/software_directory/modeling/espresso.json +34 -0
- package/lib/js/schema/software_directory/modeling/nwchem.json +114 -0
- package/lib/js/schema/software_directory/modeling/unit/execution.json +847 -0
- package/lib/js/schema/software_directory/modeling/vasp.json +120 -0
- package/lib/js/schema/software_directory/scripting/jupyter_lab.json +118 -0
- package/lib/js/schema/software_directory/scripting/python.json +132 -0
- package/lib/js/schema/software_directory/scripting/shell.json +132 -0
- package/lib/js/schema/software_directory/scripting/unit/execution.json +847 -0
- package/lib/js/schema/system/_material.json +23 -0
- package/lib/js/schema/system/_parent_job.json +23 -0
- package/lib/js/schema/system/_project.json +23 -0
- package/lib/js/schema/system/bankable.json +16 -0
- package/lib/js/schema/system/consistency_check.json +39 -0
- package/lib/js/schema/system/creator.json +23 -0
- package/lib/js/schema/system/creator_account.json +27 -0
- package/lib/js/schema/system/database_source.json +38 -0
- package/lib/js/schema/system/defaultable.json +13 -0
- package/lib/js/schema/system/description.json +15 -0
- package/lib/js/schema/system/entity_reference.json +20 -0
- package/lib/js/schema/system/file_source.json +30 -0
- package/lib/js/schema/system/history.json +26 -0
- package/lib/js/schema/system/in_set.json +36 -0
- package/lib/js/schema/system/is_multi_material.json +11 -0
- package/lib/js/schema/system/is_outdated.json +11 -0
- package/lib/js/schema/system/job_extended.json +64 -0
- package/lib/js/schema/system/message.json +68 -0
- package/lib/js/schema/system/metadata.json +11 -0
- package/lib/js/schema/system/name.json +12 -0
- package/lib/js/schema/system/owner.json +23 -0
- package/lib/js/schema/system/path.json +14 -0
- package/lib/js/schema/system/path_entity.json +18 -0
- package/lib/js/schema/system/schema_version.json +13 -0
- package/lib/js/schema/system/scope.json +11 -0
- package/lib/js/schema/system/set.json +17 -0
- package/lib/js/schema/system/sharing.json +11 -0
- package/lib/js/schema/system/soft_removable.json +16 -0
- package/lib/js/schema/system/status.json +32 -0
- package/lib/js/schema/system/tags.json +15 -0
- package/lib/js/schema/system/timestampable.json +38 -0
- package/lib/js/schema/system/use_values.json +11 -0
- package/lib/js/schema/workflow/base.json +103 -0
- package/lib/js/schema/workflow/base_flow.json +218 -0
- package/lib/js/schema/workflow/scope.json +20 -0
- package/lib/js/schema/workflow/subworkflow/unit.json +2713 -0
- package/lib/js/schema/workflow/subworkflow.json +3087 -0
- package/lib/js/schema/workflow/unit/assertion.json +277 -0
- package/lib/js/schema/workflow/unit/assignment.json +314 -0
- package/lib/js/schema/workflow/unit/base.json +264 -0
- package/lib/js/schema/workflow/unit/condition.json +315 -0
- package/lib/js/schema/workflow/unit/execution.json +804 -0
- package/lib/js/schema/workflow/unit/input/_input.json +53 -0
- package/lib/js/schema/workflow/unit/input/_inputItem.json +20 -0
- package/lib/js/schema/workflow/unit/input/_inputItemId.json +19 -0
- package/lib/js/schema/workflow/unit/input/_inputItemScope.json +20 -0
- package/lib/js/schema/workflow/unit/input/_map_input/values.json +11 -0
- package/lib/js/schema/workflow/unit/input/_map_input.json +36 -0
- package/lib/js/schema/workflow/unit/io/api.json +24 -0
- package/lib/js/schema/workflow/unit/io/db.json +39 -0
- package/lib/js/schema/workflow/unit/io/object_storage.json +67 -0
- package/lib/js/schema/workflow/unit/io.json +418 -0
- package/lib/js/schema/workflow/unit/map.json +314 -0
- package/lib/js/schema/workflow/unit/processing.json +281 -0
- package/lib/js/schema/workflow/unit/reduce.json +297 -0
- package/lib/js/schema/workflow/unit/runtime/_runtime_item_full_object.json +15 -0
- package/lib/js/schema/workflow/unit/runtime/_runtime_item_name_object.json +15 -0
- package/lib/js/schema/workflow/unit/runtime/_runtime_item_string.json +7 -0
- package/lib/js/schema/workflow/unit/runtime/runtime_item.json +27 -0
- package/lib/js/schema/workflow/unit/runtime/runtime_items.json +128 -0
- package/lib/js/schema/workflow/unit/subworkflow.json +267 -0
- package/lib/js/schema/workflow/unit.json +3292 -0
- package/lib/js/schema/workflow.json +6492 -0
- package/lib/js/schemas.json +1 -0
- package/lib/js/scripts/compileTs.d.ts +1 -0
- package/lib/js/scripts/compileTs.js +79 -0
- package/lib/js/scripts/createEnumsFromYaml.d.ts +1 -0
- package/lib/js/scripts/createEnumsFromYaml.js +21 -67
- package/lib/js/scripts/setSchemaIds.d.ts +5 -0
- package/lib/js/scripts/setSchemaIds.js +26 -153
- package/lib/js/utils/ajv.d.ts +31 -0
- package/lib/js/utils/ajv.js +94 -0
- package/lib/js/utils/common.d.ts +6 -0
- package/lib/js/utils/common.js +15 -0
- package/lib/js/utils/filesystem.d.ts +2 -0
- package/lib/js/utils/filesystem.js +38 -0
- package/modules.d.ts +5 -0
- package/package.json +41 -16
- package/schema/3pse/file/applications/espresso/7.2/pw.x/atomic_positions.json +1 -1
- package/schema/3pse/file/applications/espresso/7.2/pw.x/atomic_species.json +1 -1
- package/schema/3pse/file/applications/espresso/7.2/pw.x/cell.json +1 -1
- package/schema/3pse/file/applications/espresso/7.2/pw.x/cell_parameters.json +1 -1
- package/schema/3pse/file/applications/espresso/7.2/pw.x/control.json +1 -1
- package/schema/3pse/file/applications/espresso/7.2/pw.x/electrons.json +1 -1
- package/schema/3pse/file/applications/espresso/7.2/pw.x/hubbard.json +1 -1
- package/schema/3pse/file/applications/espresso/7.2/pw.x/ions.json +1 -1
- package/schema/3pse/file/applications/espresso/7.2/pw.x/k_points.json +1 -1
- package/schema/3pse/file/applications/espresso/7.2/pw.x/system.json +9 -6
- package/schema/3pse/file/applications/espresso/7.2/pw.x.json +2 -1
- package/schema/core/abstract/2d_data.json +1 -1
- package/schema/core/abstract/2d_plot.json +2 -1
- package/schema/core/abstract/3d_grid.json +2 -1
- package/schema/core/abstract/3d_tensor.json +1 -1
- package/schema/core/abstract/3d_vector_basis.json +1 -1
- package/schema/core/abstract/point.json +1 -1
- package/schema/core/abstract/vector.json +1 -1
- package/schema/core/primitive/1d_data_series.json +1 -1
- package/schema/core/primitive/3d_lattice.json +1 -1
- package/schema/core/primitive/array_of_3_booleans.json +1 -1
- package/schema/core/primitive/array_of_3_numbers.json +1 -1
- package/schema/core/primitive/array_of_ids.json +2 -3
- package/schema/core/primitive/array_of_strings.json +1 -1
- package/schema/core/primitive/axis.json +2 -1
- package/schema/core/primitive/group_info.json +1 -1
- package/schema/core/primitive/integer_one_or_zero.json +1 -1
- package/schema/core/primitive/linked_list/base_node.json +1 -1
- package/schema/core/primitive/linked_list/named_node.json +1 -1
- package/schema/core/primitive/linked_list/named_node_in_group.json +1 -1
- package/schema/core/primitive/linked_list/node_with_type.json +1 -1
- package/schema/core/primitive/linked_list.json +1 -1
- package/schema/core/primitive/scalar.json +1 -1
- package/schema/core/primitive/slugified_entry.json +1 -1
- package/schema/core/primitive/slugified_entry_or_slug.json +1 -1
- package/schema/core/primitive/string.json +1 -1
- package/schema/core/reference/exabyte.json +1 -1
- package/schema/core/reference/experiment/condition.json +3 -1
- package/schema/core/reference/experiment/location.json +2 -1
- package/schema/core/reference/experiment.json +2 -1
- package/schema/core/reference/literature/name.json +1 -1
- package/schema/core/reference/literature/pages.json +1 -1
- package/schema/core/reference/literature.json +2 -1
- package/schema/core/reference/modeling/exabyte.json +2 -1
- package/schema/core/reference/modeling.json +1 -1
- package/schema/core/reference.json +1 -1
- package/schema/core/reusable/atomic_data/per_orbital.json +1 -1
- package/schema/core/reusable/atomic_data/per_orbital_pair.json +1 -1
- package/schema/core/reusable/atomic_data/value_number.json +1 -1
- package/schema/core/reusable/atomic_data/value_string.json +2 -2
- package/schema/core/reusable/atomic_data_per_orbital_numeric.json +2 -2
- package/schema/core/reusable/atomic_data_per_orbital_pair_numeric.json +2 -2
- package/schema/core/reusable/atomic_orbital.json +1 -1
- package/schema/core/reusable/atomic_scalars.json +2 -1
- package/schema/core/reusable/atomic_strings.json +1 -1
- package/schema/core/reusable/atomic_vectors.json +3 -1
- package/schema/core/reusable/band_gap.json +2 -1
- package/schema/core/reusable/categories.json +2 -2
- package/schema/core/reusable/category_path.json +1 -1
- package/schema/core/reusable/dielectric_tensor_component.json +2 -1
- package/schema/core/reusable/energy.json +2 -1
- package/schema/core/reusable/file_metadata.json +2 -1
- package/schema/core/reusable/frequency_function_matrix.json +1 -1
- package/schema/core/reusable/object_storage_container_data.json +2 -1
- package/schema/element.json +2 -1
- package/schema/in_memory_entity/base.json +2 -1
- package/schema/in_memory_entity/defaultable.json +1 -1
- package/schema/in_memory_entity/named.json +1 -1
- package/schema/in_memory_entity/named_defaultable.json +1 -1
- package/schema/in_memory_entity/named_defaultable_has_metadata.json +1 -1
- package/schema/in_memory_entity/named_defaultable_runtime_items.json +1 -1
- package/schema/job/base.json +3 -2
- package/schema/job/compute.json +6 -14
- package/schema/job.json +2 -1
- package/schema/material/conventional.json +2 -1
- package/schema/material.json +2 -1
- package/schema/method/categorized_method.json +2 -1
- package/schema/method/method_parameters.json +1 -1
- package/schema/method/unit_method.json +2 -1
- package/schema/method.json +2 -1
- package/schema/methods_category/mathematical/diff/fd.json +3 -2
- package/schema/methods_category/mathematical/diff.json +3 -2
- package/schema/methods_category/mathematical/discr/mesh/hybrid.json +3 -2
- package/schema/methods_category/mathematical/discr/mesh/nstruct.json +3 -2
- package/schema/methods_category/mathematical/discr/mesh/struct/cartesian.json +2 -1
- package/schema/methods_category/mathematical/discr/mesh/struct.json +3 -2
- package/schema/methods_category/mathematical/discr/mesh.json +3 -2
- package/schema/methods_category/mathematical/discr.json +3 -2
- package/schema/methods_category/mathematical/fapprx/basisexp.json +3 -2
- package/schema/methods_category/mathematical/fapprx/ipol/lin.json +3 -2
- package/schema/methods_category/mathematical/fapprx/ipol/poly.json +3 -2
- package/schema/methods_category/mathematical/fapprx/ipol/spline.json +3 -2
- package/schema/methods_category/mathematical/fapprx/ipol.json +3 -2
- package/schema/methods_category/mathematical/fapprx.json +3 -2
- package/schema/methods_category/mathematical/intgr/analytic/volume.json +3 -2
- package/schema/methods_category/mathematical/intgr/analytic.json +3 -2
- package/schema/methods_category/mathematical/intgr/diffeq/order1.json +3 -1
- package/schema/methods_category/mathematical/intgr/diffeq/order2.json +3 -1
- package/schema/methods_category/mathematical/intgr/diffeq.json +3 -2
- package/schema/methods_category/mathematical/intgr/numquad/gauss.json +3 -2
- package/schema/methods_category/mathematical/intgr/numquad/newcot.json +3 -2
- package/schema/methods_category/mathematical/intgr/numquad.json +3 -2
- package/schema/methods_category/mathematical/intgr/transf/fourier.json +3 -1
- package/schema/methods_category/mathematical/intgr/transf.json +3 -1
- package/schema/methods_category/mathematical/intgr.json +3 -2
- package/schema/methods_category/mathematical/linalg/dcomp.json +3 -2
- package/schema/methods_category/mathematical/linalg/diag/davidson.json +3 -2
- package/schema/methods_category/mathematical/linalg/diag.json +3 -2
- package/schema/methods_category/mathematical/linalg/lintra.json +3 -2
- package/schema/methods_category/mathematical/linalg/matf.json +3 -2
- package/schema/methods_category/mathematical/linalg.json +3 -2
- package/schema/methods_category/mathematical/opt/diff/bracket.json +3 -2
- package/schema/methods_category/mathematical/opt/diff/local.json +3 -2
- package/schema/methods_category/mathematical/opt/diff/order1.json +3 -2
- package/schema/methods_category/mathematical/opt/diff/order2.json +3 -2
- package/schema/methods_category/mathematical/opt/diff/ordern/cg.json +3 -2
- package/schema/methods_category/mathematical/opt/diff/ordern.json +3 -2
- package/schema/methods_category/mathematical/opt/diff.json +3 -2
- package/schema/methods_category/mathematical/opt/ndiff/direct.json +3 -2
- package/schema/methods_category/mathematical/opt/ndiff/pop.json +3 -2
- package/schema/methods_category/mathematical/opt/ndiff/stoch.json +3 -2
- package/schema/methods_category/mathematical/opt/ndiff.json +3 -2
- package/schema/methods_category/mathematical/opt/root/bracket.json +3 -2
- package/schema/methods_category/mathematical/opt/root/iter.json +3 -2
- package/schema/methods_category/mathematical/opt/root.json +3 -2
- package/schema/methods_category/mathematical/opt.json +3 -2
- package/schema/methods_category/mathematical/regression.json +2 -1
- package/schema/methods_category/physical/qm/wf/ao/dunning.json +3 -2
- package/schema/methods_category/physical/qm/wf/ao/other.json +3 -2
- package/schema/methods_category/physical/qm/wf/ao/pople.json +3 -2
- package/schema/methods_category/physical/qm/wf/ao.json +3 -2
- package/schema/methods_category/physical/qm/wf/psp.json +3 -2
- package/schema/methods_category/physical/qm/wf/pw.json +3 -2
- package/schema/methods_category/physical/qm/wf/smearing.json +2 -1
- package/schema/methods_category/physical/qm/wf/tetrahedron.json +3 -2
- package/schema/methods_category/physical/qm/wf.json +3 -2
- package/schema/methods_category/physical/qm.json +3 -2
- package/schema/methods_directory/legacy/localorbital.json +2 -1
- package/schema/methods_directory/legacy/pseudopotential.json +2 -1
- package/schema/methods_directory/legacy/regression.json +2 -1
- package/schema/methods_directory/legacy/unknown.json +2 -1
- package/schema/methods_directory/mathematical/cg.json +6 -3
- package/schema/methods_directory/mathematical/davidson.json +6 -3
- package/schema/methods_directory/mathematical/regression/data.json +1 -1
- package/schema/methods_directory/mathematical/regression/dataset.json +1 -1
- package/schema/methods_directory/mathematical/regression/kernel_ridge/data_per_property.json +2 -1
- package/schema/methods_directory/mathematical/regression/linear/data_per_property.json +2 -1
- package/schema/methods_directory/mathematical/regression/per_feature_item.json +2 -1
- package/schema/methods_directory/mathematical/regression/precision.json +1 -1
- package/schema/methods_directory/mathematical/regression/precision_per_property.json +1 -1
- package/schema/methods_directory/mathematical/regression.json +2 -1
- package/schema/methods_directory/physical/ao/dunning.json +6 -2
- package/schema/methods_directory/physical/ao/other.json +6 -2
- package/schema/methods_directory/physical/ao/pople.json +6 -2
- package/schema/methods_directory/physical/psp/file.json +5 -2
- package/schema/methods_directory/physical/psp/file_data_item.json +5 -2
- package/schema/methods_directory/physical/psp.json +5 -2
- package/schema/methods_directory/physical/pw.json +5 -2
- package/schema/methods_directory/physical/smearing.json +5 -2
- package/schema/methods_directory/physical/tetrahedron.json +5 -2
- package/schema/model/categorized_model.json +2 -1
- package/schema/model/mixins/dft/double_hybrid_functional.json +1 -1
- package/schema/model/mixins/dft/gga_functional.json +3 -2
- package/schema/model/mixins/dft/hybrid_functional.json +1 -1
- package/schema/model/mixins/dft/lda_functional.json +3 -2
- package/schema/model/mixins/dft/mgga_functional.json +3 -2
- package/schema/model/mixins/dispersion_correction.json +1 -1
- package/schema/model/mixins/hubbard.json +1 -1
- package/schema/model/mixins/spin_orbit_coupling.json +3 -2
- package/schema/model/mixins/spin_polarization.json +3 -2
- package/schema/model/model_parameters.json +2 -1
- package/schema/model/model_without_method.json +2 -1
- package/schema/model.json +2 -1
- package/schema/models_category/pb/qm/abin/gw.json +2 -1
- package/schema/models_category/pb/qm/abin.json +2 -1
- package/schema/models_category/pb/qm/dft/ksdft/double_hybrid.json +2 -1
- package/schema/models_category/pb/qm/dft/ksdft/gga.json +2 -1
- package/schema/models_category/pb/qm/dft/ksdft/hybrid.json +2 -1
- package/schema/models_category/pb/qm/dft/ksdft/lda.json +2 -1
- package/schema/models_category/pb/qm/dft/ksdft/mgga.json +2 -1
- package/schema/models_category/pb/qm/dft/ksdft.json +2 -1
- package/schema/models_category/pb/qm/dft.json +2 -1
- package/schema/models_category/pb/qm/semp.json +2 -1
- package/schema/models_category/pb/qm.json +2 -1
- package/schema/models_category/pb.json +2 -1
- package/schema/models_category/st/det/ml/re.json +2 -1
- package/schema/models_category/st/det/ml.json +1 -1
- package/schema/models_category/st/det.json +1 -1
- package/schema/models_category/st.json +2 -1
- package/schema/models_directory/double_hybrid.json +2 -1
- package/schema/models_directory/gga.json +2 -1
- package/schema/models_directory/gw.json +3 -1
- package/schema/models_directory/hybrid.json +2 -1
- package/schema/models_directory/lda.json +2 -1
- package/schema/models_directory/legacy/dft.json +2 -1
- package/schema/models_directory/legacy/ml.json +2 -1
- package/schema/models_directory/legacy/unknown.json +2 -1
- package/schema/models_directory/mgga.json +2 -1
- package/schema/models_directory/re.json +2 -1
- package/schema/project.json +1 -1
- package/schema/properties_directory/derived_properties.json +8 -2
- package/schema/properties_directory/electronic_configuration.json +1 -1
- package/schema/properties_directory/elemental/atomic_radius.json +2 -1
- package/schema/properties_directory/elemental/electronegativity.json +2 -1
- package/schema/properties_directory/elemental/ionization_potential.json +2 -1
- package/schema/properties_directory/non-scalar/average_potential_profile.json +2 -1
- package/schema/properties_directory/non-scalar/band_gaps.json +4 -1
- package/schema/properties_directory/non-scalar/band_structure.json +4 -1
- package/schema/properties_directory/non-scalar/charge_density_profile.json +4 -1
- package/schema/properties_directory/non-scalar/density_of_states.json +4 -1
- package/schema/properties_directory/non-scalar/dielectric_tensor.json +2 -1
- package/schema/properties_directory/non-scalar/file_content.json +2 -1
- package/schema/properties_directory/non-scalar/hubbard_u.json +11 -4
- package/schema/properties_directory/non-scalar/hubbard_v.json +12 -4
- package/schema/properties_directory/non-scalar/hubbard_v_nn.json +2 -1
- package/schema/properties_directory/non-scalar/phonon_dispersions.json +4 -1
- package/schema/properties_directory/non-scalar/phonon_dos.json +3 -1
- package/schema/properties_directory/non-scalar/potential_profile.json +4 -1
- package/schema/properties_directory/non-scalar/reaction_energy_profile.json +4 -1
- package/schema/properties_directory/non-scalar/stress_tensor.json +2 -1
- package/schema/properties_directory/non-scalar/total_energy_contributions.json +14 -1
- package/schema/properties_directory/non-scalar/vibrational_spectrum.json +3 -1
- package/schema/properties_directory/scalar/electron_affinity.json +2 -1
- package/schema/properties_directory/scalar/fermi_energy.json +2 -1
- package/schema/properties_directory/scalar/formation_energy.json +2 -1
- package/schema/properties_directory/scalar/ionization_potential.json +2 -1
- package/schema/properties_directory/scalar/pressure.json +2 -1
- package/schema/properties_directory/scalar/reaction_energy_barrier.json +2 -1
- package/schema/properties_directory/scalar/surface_energy.json +2 -1
- package/schema/properties_directory/scalar/total_energy.json +2 -1
- package/schema/properties_directory/scalar/total_force.json +2 -1
- package/schema/properties_directory/scalar/valence_band_offset.json +2 -1
- package/schema/properties_directory/scalar/zero_point_energy.json +2 -1
- package/schema/properties_directory/structural/atomic_forces.json +2 -1
- package/schema/properties_directory/structural/basis/atomic_constraints.json +2 -1
- package/schema/properties_directory/structural/basis/atomic_coordinate.json +2 -1
- package/schema/properties_directory/structural/basis/atomic_coordinates.json +1 -0
- package/schema/properties_directory/structural/basis/atomic_element.json +2 -1
- package/schema/properties_directory/structural/basis/bonds.json +2 -1
- package/schema/properties_directory/structural/basis.json +1 -1
- package/schema/properties_directory/structural/density.json +2 -1
- package/schema/properties_directory/structural/elemental_ratio.json +4 -3
- package/schema/properties_directory/structural/inchi.json +2 -1
- package/schema/properties_directory/structural/inchi_key.json +2 -1
- package/schema/properties_directory/structural/lattice/lattice_bravais.json +2 -1
- package/schema/properties_directory/structural/lattice/lattice_vectors.json +2 -1
- package/schema/properties_directory/structural/lattice/type_enum.json +1 -2
- package/schema/properties_directory/structural/lattice/type_extended_enum.json +1 -1
- package/schema/properties_directory/structural/lattice.json +1 -1
- package/schema/properties_directory/structural/magnetic_moments.json +2 -1
- package/schema/properties_directory/structural/molecular_pattern.json +1 -1
- package/schema/properties_directory/structural/p-norm.json +2 -1
- package/schema/properties_directory/structural/patterns/functional_group.json +3 -1
- package/schema/properties_directory/structural/patterns/ring.json +3 -1
- package/schema/properties_directory/structural/patterns/special_bond.json +3 -1
- package/schema/properties_directory/structural/symmetry.json +3 -1
- package/schema/properties_directory/structural/volume.json +2 -1
- package/schema/properties_directory/workflow/convergence/electronic.json +2 -1
- package/schema/properties_directory/workflow/convergence/ionic.json +3 -1
- package/schema/properties_directory/workflow/convergence/kpoint.json +3 -1
- package/schema/property/base.json +2 -1
- package/schema/property/meta.json +2 -1
- package/schema/property/raw.json +2 -1
- package/schema/property/source.json +1 -1
- package/schema/software/application.json +7 -9
- package/schema/software/executable.json +3 -4
- package/schema/software/flavor.json +3 -11
- package/schema/software/template.json +4 -2
- package/schema/software_directory/ml/exabyteml.json +1 -1
- package/schema/software_directory/ml/unit/execution/evaluate/cross-validate.json +2 -1
- package/schema/software_directory/ml/unit/execution/initialize.json +2 -1
- package/schema/software_directory/ml/unit/execution/score.json +2 -1
- package/schema/software_directory/ml/unit/execution/train.json +2 -1
- package/schema/software_directory/ml/unit/processing/data_transformation/manipulation.json +1 -1
- package/schema/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.json +2 -2
- package/schema/software_directory/ml/unit/processing/feature_selection/filter_based.json +1 -1
- package/schema/software_directory/modeling/deepmd.json +1 -1
- package/schema/software_directory/modeling/espresso/arguments.json +1 -1
- package/schema/software_directory/modeling/espresso.json +1 -1
- package/schema/software_directory/modeling/nwchem.json +1 -1
- package/schema/software_directory/modeling/unit/execution.json +1 -1
- package/schema/software_directory/modeling/vasp.json +1 -1
- package/schema/software_directory/scripting/jupyter-lab.json +1 -1
- package/schema/software_directory/scripting/python.json +1 -1
- package/schema/software_directory/scripting/shell.json +1 -1
- package/schema/software_directory/scripting/unit/execution.json +1 -1
- package/schema/system/_material.json +2 -1
- package/schema/system/_parent_job.json +2 -1
- package/schema/system/_project.json +2 -1
- package/schema/system/bankable.json +2 -1
- package/schema/system/consistency_check.json +1 -1
- package/schema/system/creator.json +2 -1
- package/schema/system/creator_account.json +2 -1
- package/schema/system/database_source.json +6 -8
- package/schema/system/defaultable.json +2 -1
- package/schema/system/description.json +2 -1
- package/schema/system/entity_reference.json +2 -1
- package/schema/system/file_source.json +1 -1
- package/schema/system/history.json +2 -1
- package/schema/system/in_set.json +2 -1
- package/schema/system/is_multi_material.json +2 -1
- package/schema/system/is_outdated.json +2 -1
- package/schema/system/job_extended.json +2 -1
- package/schema/system/message.json +2 -1
- package/schema/system/metadata.json +2 -1
- package/schema/system/name.json +2 -1
- package/schema/system/owner.json +2 -1
- package/schema/system/path.json +1 -1
- package/schema/system/path_entity.json +1 -1
- package/schema/system/schema_version.json +2 -1
- package/schema/system/scope.json +2 -1
- package/schema/system/set.json +2 -1
- package/schema/system/sharing.json +2 -1
- package/schema/system/soft_removable.json +2 -1
- package/schema/system/status.json +2 -1
- package/schema/system/tags.json +2 -1
- package/schema/system/timestampable.json +2 -1
- package/schema/system/use_values.json +2 -1
- package/schema/workflow/base.json +1 -1
- package/schema/workflow/base_flow.json +9 -2
- package/schema/workflow/scope.json +1 -1
- package/schema/workflow/subworkflow/unit.json +35 -0
- package/schema/workflow/subworkflow.json +2 -2
- package/schema/workflow/unit/assertion.json +2 -2
- package/schema/workflow/unit/assignment.json +16 -3
- package/schema/workflow/unit/base.json +68 -0
- package/schema/workflow/unit/condition.json +2 -2
- package/schema/workflow/unit/execution.json +2 -2
- package/schema/workflow/unit/input/_input.json +1 -1
- package/schema/workflow/unit/input/_inputItem.json +1 -1
- package/schema/workflow/unit/input/_inputItemId.json +2 -4
- package/schema/workflow/unit/input/_inputItemScope.json +1 -1
- package/schema/workflow/unit/input/_map_input/values.json +11 -0
- package/schema/workflow/unit/input/_map_input.json +36 -0
- package/schema/workflow/unit/io/api.json +1 -1
- package/schema/workflow/unit/io/db.json +1 -1
- package/schema/workflow/unit/io/object_storage.json +2 -2
- package/schema/workflow/unit/io.json +2 -2
- package/schema/workflow/unit/map.json +2 -2
- package/schema/workflow/unit/processing.json +2 -2
- package/schema/workflow/unit/reduce.json +2 -2
- package/schema/workflow/unit/runtime/_runtime_item_full_object.json +1 -1
- package/schema/workflow/unit/runtime/_runtime_item_name_object.json +1 -1
- package/schema/workflow/unit/runtime/_runtime_item_string.json +1 -1
- package/schema/workflow/unit/runtime/runtime_item.json +1 -1
- package/schema/workflow/unit/runtime/runtime_items.json +1 -1
- package/schema/workflow/unit/subworkflow.json +18 -0
- package/schema/workflow/unit.json +22 -46
- package/schema/workflow.json +2 -30
- package/set_schema_ids.ts +3 -0
- package/src/js/esse/JSONSchemasGenerator.ts +94 -0
- package/src/js/esse/JSONSchemasInterface.ts +56 -0
- package/src/js/esse/JSONSchemasInterfaceServer.ts +49 -0
- package/src/js/esse/schemaUtils.ts +28 -0
- package/src/js/esse/types.ts +3 -0
- package/src/js/esse/utils.ts +72 -0
- package/src/js/json_include/{index.js → index.ts} +25 -21
- package/src/js/scripts/compileTs.ts +84 -0
- package/src/js/scripts/{createEnumsFromYaml.mjs → createEnumsFromYaml.ts} +5 -19
- package/src/js/scripts/setSchemaIds.ts +28 -0
- package/src/js/utils/ajv.ts +119 -0
- package/src/js/utils/common.ts +15 -0
- package/src/js/utils/filesystem.ts +34 -0
- package/tsconfig.json +34 -0
- package/example/workflow/unit.json +0 -8
- package/lib/js/esse/index.js +0 -101
- package/lib/js/json_include/utils.js +0 -22
- package/src/js/esse/index.js +0 -57
- package/src/js/esse/schemaUtils.js +0 -45
- package/src/js/esse/utils.js +0 -52
- package/src/js/json_include/utils.js +0 -11
- package/src/js/scripts/setSchemaIds.mjs +0 -34
- /package/src/js/esse/{settings.js → settings.ts} +0 -0
- /package/src/js/json_include/{settings.js → settings.ts} +0 -0
|
@@ -0,0 +1,3087 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "workflow/subworkflow",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Subworkflow",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": [
|
|
7
|
+
"application",
|
|
8
|
+
"model",
|
|
9
|
+
"name",
|
|
10
|
+
"units"
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"units": {
|
|
14
|
+
"description": "Contains the Units of the subworkflow",
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
18
|
+
"title": "workflow subworkflow unit schema",
|
|
19
|
+
"type": "object",
|
|
20
|
+
"oneOf": [
|
|
21
|
+
{
|
|
22
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
23
|
+
"title": "data IO unit schema",
|
|
24
|
+
"type": "object",
|
|
25
|
+
"required": [
|
|
26
|
+
"flowchartId",
|
|
27
|
+
"input",
|
|
28
|
+
"source",
|
|
29
|
+
"subtype",
|
|
30
|
+
"type"
|
|
31
|
+
],
|
|
32
|
+
"additionalProperties": true,
|
|
33
|
+
"properties": {
|
|
34
|
+
"type": {
|
|
35
|
+
"enum": [
|
|
36
|
+
"io"
|
|
37
|
+
],
|
|
38
|
+
"description": "type of the unit",
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"subtype": {
|
|
42
|
+
"enum": [
|
|
43
|
+
"input",
|
|
44
|
+
"output",
|
|
45
|
+
"dataFrame"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"source": {
|
|
49
|
+
"enum": [
|
|
50
|
+
"api",
|
|
51
|
+
"db",
|
|
52
|
+
"object_storage"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"input": {
|
|
56
|
+
"type": "array",
|
|
57
|
+
"items": {
|
|
58
|
+
"anyOf": [
|
|
59
|
+
{
|
|
60
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
61
|
+
"title": "data IO rest API input schema",
|
|
62
|
+
"type": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"endpoint": {
|
|
65
|
+
"description": "rest API endpoint",
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"endpoint_options": {
|
|
69
|
+
"description": "rest API endpoint options",
|
|
70
|
+
"type": "object"
|
|
71
|
+
},
|
|
72
|
+
"name": {
|
|
73
|
+
"description": "the name of the variable in local scope to save the data under",
|
|
74
|
+
"type": "string"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"required": [
|
|
78
|
+
"endpoint",
|
|
79
|
+
"endpoint_options"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
84
|
+
"title": "data IO database input/output schema",
|
|
85
|
+
"type": "object",
|
|
86
|
+
"oneOf": [
|
|
87
|
+
{
|
|
88
|
+
"properties": {
|
|
89
|
+
"ids": {
|
|
90
|
+
"description": "IDs of item to retrieve from db",
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"required": [
|
|
98
|
+
"ids"
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"properties": {
|
|
103
|
+
"collection": {
|
|
104
|
+
"description": "db collection name",
|
|
105
|
+
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
"draft": {
|
|
108
|
+
"description": "whether the result should be saved as draft",
|
|
109
|
+
"type": "boolean",
|
|
110
|
+
"default": true
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"required": [
|
|
114
|
+
"collection",
|
|
115
|
+
"draft"
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
122
|
+
"title": "object_storage io schema",
|
|
123
|
+
"type": "object",
|
|
124
|
+
"required": [
|
|
125
|
+
"objectData",
|
|
126
|
+
"basename"
|
|
127
|
+
],
|
|
128
|
+
"properties": {
|
|
129
|
+
"objectData": {
|
|
130
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
131
|
+
"title": "Object Storage Container Data",
|
|
132
|
+
"type": "object",
|
|
133
|
+
"required": [
|
|
134
|
+
"CONTAINER",
|
|
135
|
+
"NAME",
|
|
136
|
+
"PROVIDER",
|
|
137
|
+
"REGION"
|
|
138
|
+
],
|
|
139
|
+
"properties": {
|
|
140
|
+
"CONTAINER": {
|
|
141
|
+
"description": "Object storage container for the file",
|
|
142
|
+
"type": "string"
|
|
143
|
+
},
|
|
144
|
+
"NAME": {
|
|
145
|
+
"description": "Name of the file inside the object storage bucket",
|
|
146
|
+
"type": "string"
|
|
147
|
+
},
|
|
148
|
+
"PROVIDER": {
|
|
149
|
+
"description": "Object storage provider",
|
|
150
|
+
"type": "string"
|
|
151
|
+
},
|
|
152
|
+
"REGION": {
|
|
153
|
+
"description": "Region for the object container specified in Container",
|
|
154
|
+
"type": "string"
|
|
155
|
+
},
|
|
156
|
+
"SIZE": {
|
|
157
|
+
"description": "Size of the file in bytes",
|
|
158
|
+
"type": "integer"
|
|
159
|
+
},
|
|
160
|
+
"TIMESTAMP": {
|
|
161
|
+
"description": "Unix timestamp showing when the file was last modified",
|
|
162
|
+
"type": "string"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"overwrite": {
|
|
167
|
+
"description": "if a file with the same filename already exists, whether to overwrite the old file",
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"default": false
|
|
170
|
+
},
|
|
171
|
+
"pathname": {
|
|
172
|
+
"description": "Relative path to the directory that contains the file.",
|
|
173
|
+
"type": "string"
|
|
174
|
+
},
|
|
175
|
+
"basename": {
|
|
176
|
+
"description": "Basename of the file",
|
|
177
|
+
"type": "string",
|
|
178
|
+
"$comment": "isGenerative:true"
|
|
179
|
+
},
|
|
180
|
+
"filetype": {
|
|
181
|
+
"description": "What kind of file this is, e.g. image / text",
|
|
182
|
+
"type": "string"
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"_id": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "entity identity"
|
|
192
|
+
},
|
|
193
|
+
"isDraft": {
|
|
194
|
+
"type": "boolean"
|
|
195
|
+
},
|
|
196
|
+
"name": {
|
|
197
|
+
"description": "name of the unit. e.g. pw_scf",
|
|
198
|
+
"type": "string"
|
|
199
|
+
},
|
|
200
|
+
"status": {
|
|
201
|
+
"description": "Status of the unit.",
|
|
202
|
+
"type": "string",
|
|
203
|
+
"enum": [
|
|
204
|
+
"idle",
|
|
205
|
+
"active",
|
|
206
|
+
"warning",
|
|
207
|
+
"error",
|
|
208
|
+
"finished"
|
|
209
|
+
]
|
|
210
|
+
},
|
|
211
|
+
"head": {
|
|
212
|
+
"description": "Whether this unit is the first one to be executed.",
|
|
213
|
+
"type": "boolean"
|
|
214
|
+
},
|
|
215
|
+
"flowchartId": {
|
|
216
|
+
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
217
|
+
"type": "string"
|
|
218
|
+
},
|
|
219
|
+
"next": {
|
|
220
|
+
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"enableRender": {
|
|
224
|
+
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
225
|
+
"type": "boolean"
|
|
226
|
+
},
|
|
227
|
+
"context": {
|
|
228
|
+
"type": "object"
|
|
229
|
+
},
|
|
230
|
+
"slug": {
|
|
231
|
+
"description": "entity slug",
|
|
232
|
+
"type": "string"
|
|
233
|
+
},
|
|
234
|
+
"systemName": {
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"consistencyChecks": {
|
|
238
|
+
"type": "array",
|
|
239
|
+
"items": {
|
|
240
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
241
|
+
"title": "consistency check",
|
|
242
|
+
"type": "object",
|
|
243
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
244
|
+
"required": [
|
|
245
|
+
"key",
|
|
246
|
+
"name",
|
|
247
|
+
"severity",
|
|
248
|
+
"message"
|
|
249
|
+
],
|
|
250
|
+
"properties": {
|
|
251
|
+
"key": {
|
|
252
|
+
"type": "string",
|
|
253
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
254
|
+
},
|
|
255
|
+
"name": {
|
|
256
|
+
"enum": [
|
|
257
|
+
"default",
|
|
258
|
+
"atomsTooClose",
|
|
259
|
+
"atomsOverlap"
|
|
260
|
+
],
|
|
261
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
262
|
+
},
|
|
263
|
+
"severity": {
|
|
264
|
+
"enum": [
|
|
265
|
+
"info",
|
|
266
|
+
"warning",
|
|
267
|
+
"error"
|
|
268
|
+
],
|
|
269
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
270
|
+
},
|
|
271
|
+
"message": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"schemaVersion": {
|
|
279
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
280
|
+
"type": "string",
|
|
281
|
+
"default": "2022.8.16"
|
|
282
|
+
},
|
|
283
|
+
"isDefault": {
|
|
284
|
+
"description": "Identifies that entity is defaultable",
|
|
285
|
+
"type": "boolean",
|
|
286
|
+
"default": false
|
|
287
|
+
},
|
|
288
|
+
"preProcessors": {
|
|
289
|
+
"description": "names of the pre-processors 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
|
+
"required": [
|
|
306
|
+
"name"
|
|
307
|
+
]
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
311
|
+
"title": "RuntimeItemString",
|
|
312
|
+
"description": "name of runtime item in shortened notation",
|
|
313
|
+
"type": "string"
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"postProcessors": {
|
|
319
|
+
"description": "names of the post-processors for this calculation",
|
|
320
|
+
"type": "array",
|
|
321
|
+
"items": {
|
|
322
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
323
|
+
"title": "runtime item schema",
|
|
324
|
+
"oneOf": [
|
|
325
|
+
{
|
|
326
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
327
|
+
"title": "name result schema",
|
|
328
|
+
"type": "object",
|
|
329
|
+
"properties": {
|
|
330
|
+
"name": {
|
|
331
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
332
|
+
"type": "string"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"name"
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
341
|
+
"title": "RuntimeItemString",
|
|
342
|
+
"description": "name of runtime item in shortened notation",
|
|
343
|
+
"type": "string"
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"monitors": {
|
|
349
|
+
"description": "names of the monitors for this calculation",
|
|
350
|
+
"type": "array",
|
|
351
|
+
"items": {
|
|
352
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
353
|
+
"title": "runtime item schema",
|
|
354
|
+
"oneOf": [
|
|
355
|
+
{
|
|
356
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
357
|
+
"title": "name result schema",
|
|
358
|
+
"type": "object",
|
|
359
|
+
"properties": {
|
|
360
|
+
"name": {
|
|
361
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
362
|
+
"type": "string"
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"required": [
|
|
366
|
+
"name"
|
|
367
|
+
]
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
371
|
+
"title": "RuntimeItemString",
|
|
372
|
+
"description": "name of runtime item in shortened notation",
|
|
373
|
+
"type": "string"
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"results": {
|
|
379
|
+
"description": "names of the results for this calculation",
|
|
380
|
+
"type": "array",
|
|
381
|
+
"items": {
|
|
382
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
383
|
+
"title": "runtime item schema",
|
|
384
|
+
"oneOf": [
|
|
385
|
+
{
|
|
386
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
387
|
+
"title": "name result schema",
|
|
388
|
+
"type": "object",
|
|
389
|
+
"properties": {
|
|
390
|
+
"name": {
|
|
391
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
392
|
+
"type": "string"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"required": [
|
|
396
|
+
"name"
|
|
397
|
+
]
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
401
|
+
"title": "RuntimeItemString",
|
|
402
|
+
"description": "name of runtime item in shortened notation",
|
|
403
|
+
"type": "string"
|
|
404
|
+
}
|
|
405
|
+
]
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"tags": {
|
|
409
|
+
"description": "entity tags",
|
|
410
|
+
"type": "array",
|
|
411
|
+
"items": {
|
|
412
|
+
"type": "string"
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
"statusTrack": {
|
|
416
|
+
"type": "array",
|
|
417
|
+
"items": {
|
|
418
|
+
"type": "object",
|
|
419
|
+
"required": [
|
|
420
|
+
"trackedAt",
|
|
421
|
+
"status"
|
|
422
|
+
],
|
|
423
|
+
"properties": {
|
|
424
|
+
"trackedAt": {
|
|
425
|
+
"type": "number"
|
|
426
|
+
},
|
|
427
|
+
"status": {
|
|
428
|
+
"type": "string"
|
|
429
|
+
},
|
|
430
|
+
"repetition": {
|
|
431
|
+
"type": "number"
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
440
|
+
"title": "reduce unit schema",
|
|
441
|
+
"type": "object",
|
|
442
|
+
"required": [
|
|
443
|
+
"flowchartId",
|
|
444
|
+
"input",
|
|
445
|
+
"mapFlowchartId",
|
|
446
|
+
"type"
|
|
447
|
+
],
|
|
448
|
+
"additionalProperties": true,
|
|
449
|
+
"properties": {
|
|
450
|
+
"type": {
|
|
451
|
+
"enum": [
|
|
452
|
+
"reduce"
|
|
453
|
+
],
|
|
454
|
+
"description": "type of the unit",
|
|
455
|
+
"type": "string"
|
|
456
|
+
},
|
|
457
|
+
"mapFlowchartId": {
|
|
458
|
+
"description": "corresponding map unit flowchart ID",
|
|
459
|
+
"type": "string"
|
|
460
|
+
},
|
|
461
|
+
"input": {
|
|
462
|
+
"description": "input information for reduce unit",
|
|
463
|
+
"type": "array",
|
|
464
|
+
"items": {
|
|
465
|
+
"type": "object",
|
|
466
|
+
"required": [
|
|
467
|
+
"operation",
|
|
468
|
+
"arguments"
|
|
469
|
+
],
|
|
470
|
+
"properties": {
|
|
471
|
+
"operation": {
|
|
472
|
+
"description": "reduce operation, e.g. aggregate",
|
|
473
|
+
"type": "string"
|
|
474
|
+
},
|
|
475
|
+
"arguments": {
|
|
476
|
+
"description": "arguments which are passed to reduce operation function",
|
|
477
|
+
"type": "array",
|
|
478
|
+
"items": {
|
|
479
|
+
"type": "string"
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"_id": {
|
|
486
|
+
"type": "string",
|
|
487
|
+
"description": "entity identity"
|
|
488
|
+
},
|
|
489
|
+
"isDraft": {
|
|
490
|
+
"type": "boolean"
|
|
491
|
+
},
|
|
492
|
+
"name": {
|
|
493
|
+
"description": "name of the unit. e.g. pw_scf",
|
|
494
|
+
"type": "string"
|
|
495
|
+
},
|
|
496
|
+
"status": {
|
|
497
|
+
"description": "Status of the unit.",
|
|
498
|
+
"type": "string",
|
|
499
|
+
"enum": [
|
|
500
|
+
"idle",
|
|
501
|
+
"active",
|
|
502
|
+
"warning",
|
|
503
|
+
"error",
|
|
504
|
+
"finished"
|
|
505
|
+
]
|
|
506
|
+
},
|
|
507
|
+
"head": {
|
|
508
|
+
"description": "Whether this unit is the first one to be executed.",
|
|
509
|
+
"type": "boolean"
|
|
510
|
+
},
|
|
511
|
+
"flowchartId": {
|
|
512
|
+
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
513
|
+
"type": "string"
|
|
514
|
+
},
|
|
515
|
+
"next": {
|
|
516
|
+
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
517
|
+
"type": "string"
|
|
518
|
+
},
|
|
519
|
+
"enableRender": {
|
|
520
|
+
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
521
|
+
"type": "boolean"
|
|
522
|
+
},
|
|
523
|
+
"context": {
|
|
524
|
+
"type": "object"
|
|
525
|
+
},
|
|
526
|
+
"slug": {
|
|
527
|
+
"description": "entity slug",
|
|
528
|
+
"type": "string"
|
|
529
|
+
},
|
|
530
|
+
"systemName": {
|
|
531
|
+
"type": "string"
|
|
532
|
+
},
|
|
533
|
+
"consistencyChecks": {
|
|
534
|
+
"type": "array",
|
|
535
|
+
"items": {
|
|
536
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
537
|
+
"title": "consistency check",
|
|
538
|
+
"type": "object",
|
|
539
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
540
|
+
"required": [
|
|
541
|
+
"key",
|
|
542
|
+
"name",
|
|
543
|
+
"severity",
|
|
544
|
+
"message"
|
|
545
|
+
],
|
|
546
|
+
"properties": {
|
|
547
|
+
"key": {
|
|
548
|
+
"type": "string",
|
|
549
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
550
|
+
},
|
|
551
|
+
"name": {
|
|
552
|
+
"enum": [
|
|
553
|
+
"default",
|
|
554
|
+
"atomsTooClose",
|
|
555
|
+
"atomsOverlap"
|
|
556
|
+
],
|
|
557
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
558
|
+
},
|
|
559
|
+
"severity": {
|
|
560
|
+
"enum": [
|
|
561
|
+
"info",
|
|
562
|
+
"warning",
|
|
563
|
+
"error"
|
|
564
|
+
],
|
|
565
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
566
|
+
},
|
|
567
|
+
"message": {
|
|
568
|
+
"type": "string",
|
|
569
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
"schemaVersion": {
|
|
575
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
576
|
+
"type": "string",
|
|
577
|
+
"default": "2022.8.16"
|
|
578
|
+
},
|
|
579
|
+
"isDefault": {
|
|
580
|
+
"description": "Identifies that entity is defaultable",
|
|
581
|
+
"type": "boolean",
|
|
582
|
+
"default": false
|
|
583
|
+
},
|
|
584
|
+
"preProcessors": {
|
|
585
|
+
"description": "names of the pre-processors for this calculation",
|
|
586
|
+
"type": "array",
|
|
587
|
+
"items": {
|
|
588
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
589
|
+
"title": "runtime item schema",
|
|
590
|
+
"oneOf": [
|
|
591
|
+
{
|
|
592
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
593
|
+
"title": "name result schema",
|
|
594
|
+
"type": "object",
|
|
595
|
+
"properties": {
|
|
596
|
+
"name": {
|
|
597
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
598
|
+
"type": "string"
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"required": [
|
|
602
|
+
"name"
|
|
603
|
+
]
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
607
|
+
"title": "RuntimeItemString",
|
|
608
|
+
"description": "name of runtime item in shortened notation",
|
|
609
|
+
"type": "string"
|
|
610
|
+
}
|
|
611
|
+
]
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
"postProcessors": {
|
|
615
|
+
"description": "names of the post-processors for this calculation",
|
|
616
|
+
"type": "array",
|
|
617
|
+
"items": {
|
|
618
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
619
|
+
"title": "runtime item schema",
|
|
620
|
+
"oneOf": [
|
|
621
|
+
{
|
|
622
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
623
|
+
"title": "name result schema",
|
|
624
|
+
"type": "object",
|
|
625
|
+
"properties": {
|
|
626
|
+
"name": {
|
|
627
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
628
|
+
"type": "string"
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"required": [
|
|
632
|
+
"name"
|
|
633
|
+
]
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
637
|
+
"title": "RuntimeItemString",
|
|
638
|
+
"description": "name of runtime item in shortened notation",
|
|
639
|
+
"type": "string"
|
|
640
|
+
}
|
|
641
|
+
]
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
"monitors": {
|
|
645
|
+
"description": "names of the monitors for this calculation",
|
|
646
|
+
"type": "array",
|
|
647
|
+
"items": {
|
|
648
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
649
|
+
"title": "runtime item schema",
|
|
650
|
+
"oneOf": [
|
|
651
|
+
{
|
|
652
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
653
|
+
"title": "name result schema",
|
|
654
|
+
"type": "object",
|
|
655
|
+
"properties": {
|
|
656
|
+
"name": {
|
|
657
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
658
|
+
"type": "string"
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
"required": [
|
|
662
|
+
"name"
|
|
663
|
+
]
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
667
|
+
"title": "RuntimeItemString",
|
|
668
|
+
"description": "name of runtime item in shortened notation",
|
|
669
|
+
"type": "string"
|
|
670
|
+
}
|
|
671
|
+
]
|
|
672
|
+
}
|
|
673
|
+
},
|
|
674
|
+
"results": {
|
|
675
|
+
"description": "names of the results for this calculation",
|
|
676
|
+
"type": "array",
|
|
677
|
+
"items": {
|
|
678
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
679
|
+
"title": "runtime item schema",
|
|
680
|
+
"oneOf": [
|
|
681
|
+
{
|
|
682
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
683
|
+
"title": "name result schema",
|
|
684
|
+
"type": "object",
|
|
685
|
+
"properties": {
|
|
686
|
+
"name": {
|
|
687
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
688
|
+
"type": "string"
|
|
689
|
+
}
|
|
690
|
+
},
|
|
691
|
+
"required": [
|
|
692
|
+
"name"
|
|
693
|
+
]
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
697
|
+
"title": "RuntimeItemString",
|
|
698
|
+
"description": "name of runtime item in shortened notation",
|
|
699
|
+
"type": "string"
|
|
700
|
+
}
|
|
701
|
+
]
|
|
702
|
+
}
|
|
703
|
+
},
|
|
704
|
+
"tags": {
|
|
705
|
+
"description": "entity tags",
|
|
706
|
+
"type": "array",
|
|
707
|
+
"items": {
|
|
708
|
+
"type": "string"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
"statusTrack": {
|
|
712
|
+
"type": "array",
|
|
713
|
+
"items": {
|
|
714
|
+
"type": "object",
|
|
715
|
+
"required": [
|
|
716
|
+
"trackedAt",
|
|
717
|
+
"status"
|
|
718
|
+
],
|
|
719
|
+
"properties": {
|
|
720
|
+
"trackedAt": {
|
|
721
|
+
"type": "number"
|
|
722
|
+
},
|
|
723
|
+
"status": {
|
|
724
|
+
"type": "string"
|
|
725
|
+
},
|
|
726
|
+
"repetition": {
|
|
727
|
+
"type": "number"
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
736
|
+
"title": "condition unit schema",
|
|
737
|
+
"type": "object",
|
|
738
|
+
"required": [
|
|
739
|
+
"else",
|
|
740
|
+
"flowchartId",
|
|
741
|
+
"input",
|
|
742
|
+
"maxOccurrences",
|
|
743
|
+
"statement",
|
|
744
|
+
"then",
|
|
745
|
+
"type"
|
|
746
|
+
],
|
|
747
|
+
"additionalProperties": true,
|
|
748
|
+
"properties": {
|
|
749
|
+
"type": {
|
|
750
|
+
"enum": [
|
|
751
|
+
"condition"
|
|
752
|
+
],
|
|
753
|
+
"description": "type of the unit",
|
|
754
|
+
"type": "string"
|
|
755
|
+
},
|
|
756
|
+
"input": {
|
|
757
|
+
"description": "Input information for condition.",
|
|
758
|
+
"type": "array",
|
|
759
|
+
"items": {
|
|
760
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
761
|
+
"title": "workflow unit input schema",
|
|
762
|
+
"type": "object",
|
|
763
|
+
"required": [
|
|
764
|
+
"scope",
|
|
765
|
+
"name"
|
|
766
|
+
],
|
|
767
|
+
"properties": {
|
|
768
|
+
"scope": {
|
|
769
|
+
"description": "Scope of the variable. e.g. 'global' or 'flowchart_id_2'",
|
|
770
|
+
"type": "string"
|
|
771
|
+
},
|
|
772
|
+
"name": {
|
|
773
|
+
"description": "Name of the input data. e.g. total_energy",
|
|
774
|
+
"type": "string"
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
},
|
|
779
|
+
"statement": {
|
|
780
|
+
"description": "Condition statement. e.g. 'abs(x-total_energy) < 1e-5'",
|
|
781
|
+
"type": "string"
|
|
782
|
+
},
|
|
783
|
+
"then": {
|
|
784
|
+
"description": "Flowchart ID reference for `then` part of the condition.",
|
|
785
|
+
"type": "string"
|
|
786
|
+
},
|
|
787
|
+
"else": {
|
|
788
|
+
"description": "Flowchart ID reference for `else` part of the condition.",
|
|
789
|
+
"type": "string"
|
|
790
|
+
},
|
|
791
|
+
"maxOccurrences": {
|
|
792
|
+
"description": "Maximum occurrence of the condition, usable for loops.",
|
|
793
|
+
"type": "integer"
|
|
794
|
+
},
|
|
795
|
+
"throwException": {
|
|
796
|
+
"description": "Throw exception on reaching to maximum occurence.",
|
|
797
|
+
"type": "boolean"
|
|
798
|
+
},
|
|
799
|
+
"_id": {
|
|
800
|
+
"type": "string",
|
|
801
|
+
"description": "entity identity"
|
|
802
|
+
},
|
|
803
|
+
"isDraft": {
|
|
804
|
+
"type": "boolean"
|
|
805
|
+
},
|
|
806
|
+
"name": {
|
|
807
|
+
"description": "name of the unit. e.g. pw_scf",
|
|
808
|
+
"type": "string"
|
|
809
|
+
},
|
|
810
|
+
"status": {
|
|
811
|
+
"description": "Status of the unit.",
|
|
812
|
+
"type": "string",
|
|
813
|
+
"enum": [
|
|
814
|
+
"idle",
|
|
815
|
+
"active",
|
|
816
|
+
"warning",
|
|
817
|
+
"error",
|
|
818
|
+
"finished"
|
|
819
|
+
]
|
|
820
|
+
},
|
|
821
|
+
"head": {
|
|
822
|
+
"description": "Whether this unit is the first one to be executed.",
|
|
823
|
+
"type": "boolean"
|
|
824
|
+
},
|
|
825
|
+
"flowchartId": {
|
|
826
|
+
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
827
|
+
"type": "string"
|
|
828
|
+
},
|
|
829
|
+
"next": {
|
|
830
|
+
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
831
|
+
"type": "string"
|
|
832
|
+
},
|
|
833
|
+
"enableRender": {
|
|
834
|
+
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
835
|
+
"type": "boolean"
|
|
836
|
+
},
|
|
837
|
+
"context": {
|
|
838
|
+
"type": "object"
|
|
839
|
+
},
|
|
840
|
+
"slug": {
|
|
841
|
+
"description": "entity slug",
|
|
842
|
+
"type": "string"
|
|
843
|
+
},
|
|
844
|
+
"systemName": {
|
|
845
|
+
"type": "string"
|
|
846
|
+
},
|
|
847
|
+
"consistencyChecks": {
|
|
848
|
+
"type": "array",
|
|
849
|
+
"items": {
|
|
850
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
851
|
+
"title": "consistency check",
|
|
852
|
+
"type": "object",
|
|
853
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
854
|
+
"required": [
|
|
855
|
+
"key",
|
|
856
|
+
"name",
|
|
857
|
+
"severity",
|
|
858
|
+
"message"
|
|
859
|
+
],
|
|
860
|
+
"properties": {
|
|
861
|
+
"key": {
|
|
862
|
+
"type": "string",
|
|
863
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
864
|
+
},
|
|
865
|
+
"name": {
|
|
866
|
+
"enum": [
|
|
867
|
+
"default",
|
|
868
|
+
"atomsTooClose",
|
|
869
|
+
"atomsOverlap"
|
|
870
|
+
],
|
|
871
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
872
|
+
},
|
|
873
|
+
"severity": {
|
|
874
|
+
"enum": [
|
|
875
|
+
"info",
|
|
876
|
+
"warning",
|
|
877
|
+
"error"
|
|
878
|
+
],
|
|
879
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
880
|
+
},
|
|
881
|
+
"message": {
|
|
882
|
+
"type": "string",
|
|
883
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
},
|
|
888
|
+
"schemaVersion": {
|
|
889
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
890
|
+
"type": "string",
|
|
891
|
+
"default": "2022.8.16"
|
|
892
|
+
},
|
|
893
|
+
"isDefault": {
|
|
894
|
+
"description": "Identifies that entity is defaultable",
|
|
895
|
+
"type": "boolean",
|
|
896
|
+
"default": false
|
|
897
|
+
},
|
|
898
|
+
"preProcessors": {
|
|
899
|
+
"description": "names of the pre-processors for this calculation",
|
|
900
|
+
"type": "array",
|
|
901
|
+
"items": {
|
|
902
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
903
|
+
"title": "runtime item schema",
|
|
904
|
+
"oneOf": [
|
|
905
|
+
{
|
|
906
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
907
|
+
"title": "name result schema",
|
|
908
|
+
"type": "object",
|
|
909
|
+
"properties": {
|
|
910
|
+
"name": {
|
|
911
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
912
|
+
"type": "string"
|
|
913
|
+
}
|
|
914
|
+
},
|
|
915
|
+
"required": [
|
|
916
|
+
"name"
|
|
917
|
+
]
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
921
|
+
"title": "RuntimeItemString",
|
|
922
|
+
"description": "name of runtime item in shortened notation",
|
|
923
|
+
"type": "string"
|
|
924
|
+
}
|
|
925
|
+
]
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
"postProcessors": {
|
|
929
|
+
"description": "names of the post-processors for this calculation",
|
|
930
|
+
"type": "array",
|
|
931
|
+
"items": {
|
|
932
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
933
|
+
"title": "runtime item schema",
|
|
934
|
+
"oneOf": [
|
|
935
|
+
{
|
|
936
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
937
|
+
"title": "name result schema",
|
|
938
|
+
"type": "object",
|
|
939
|
+
"properties": {
|
|
940
|
+
"name": {
|
|
941
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
942
|
+
"type": "string"
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
"required": [
|
|
946
|
+
"name"
|
|
947
|
+
]
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
951
|
+
"title": "RuntimeItemString",
|
|
952
|
+
"description": "name of runtime item in shortened notation",
|
|
953
|
+
"type": "string"
|
|
954
|
+
}
|
|
955
|
+
]
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
"monitors": {
|
|
959
|
+
"description": "names of the monitors for this calculation",
|
|
960
|
+
"type": "array",
|
|
961
|
+
"items": {
|
|
962
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
963
|
+
"title": "runtime item schema",
|
|
964
|
+
"oneOf": [
|
|
965
|
+
{
|
|
966
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
967
|
+
"title": "name result schema",
|
|
968
|
+
"type": "object",
|
|
969
|
+
"properties": {
|
|
970
|
+
"name": {
|
|
971
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
972
|
+
"type": "string"
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
"required": [
|
|
976
|
+
"name"
|
|
977
|
+
]
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
981
|
+
"title": "RuntimeItemString",
|
|
982
|
+
"description": "name of runtime item in shortened notation",
|
|
983
|
+
"type": "string"
|
|
984
|
+
}
|
|
985
|
+
]
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
"results": {
|
|
989
|
+
"description": "names of the results for this calculation",
|
|
990
|
+
"type": "array",
|
|
991
|
+
"items": {
|
|
992
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
993
|
+
"title": "runtime item schema",
|
|
994
|
+
"oneOf": [
|
|
995
|
+
{
|
|
996
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
997
|
+
"title": "name result schema",
|
|
998
|
+
"type": "object",
|
|
999
|
+
"properties": {
|
|
1000
|
+
"name": {
|
|
1001
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1002
|
+
"type": "string"
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
"required": [
|
|
1006
|
+
"name"
|
|
1007
|
+
]
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1011
|
+
"title": "RuntimeItemString",
|
|
1012
|
+
"description": "name of runtime item in shortened notation",
|
|
1013
|
+
"type": "string"
|
|
1014
|
+
}
|
|
1015
|
+
]
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
"tags": {
|
|
1019
|
+
"description": "entity tags",
|
|
1020
|
+
"type": "array",
|
|
1021
|
+
"items": {
|
|
1022
|
+
"type": "string"
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
"statusTrack": {
|
|
1026
|
+
"type": "array",
|
|
1027
|
+
"items": {
|
|
1028
|
+
"type": "object",
|
|
1029
|
+
"required": [
|
|
1030
|
+
"trackedAt",
|
|
1031
|
+
"status"
|
|
1032
|
+
],
|
|
1033
|
+
"properties": {
|
|
1034
|
+
"trackedAt": {
|
|
1035
|
+
"type": "number"
|
|
1036
|
+
},
|
|
1037
|
+
"status": {
|
|
1038
|
+
"type": "string"
|
|
1039
|
+
},
|
|
1040
|
+
"repetition": {
|
|
1041
|
+
"type": "number"
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1050
|
+
"title": "assertion unit schema",
|
|
1051
|
+
"type": "object",
|
|
1052
|
+
"required": [
|
|
1053
|
+
"flowchartId",
|
|
1054
|
+
"name",
|
|
1055
|
+
"statement",
|
|
1056
|
+
"type"
|
|
1057
|
+
],
|
|
1058
|
+
"additionalProperties": true,
|
|
1059
|
+
"properties": {
|
|
1060
|
+
"type": {
|
|
1061
|
+
"enum": [
|
|
1062
|
+
"assertion"
|
|
1063
|
+
],
|
|
1064
|
+
"description": "type of the unit",
|
|
1065
|
+
"type": "string"
|
|
1066
|
+
},
|
|
1067
|
+
"statement": {
|
|
1068
|
+
"type": "string",
|
|
1069
|
+
"description": "The statement to be evaluated"
|
|
1070
|
+
},
|
|
1071
|
+
"errorMessage": {
|
|
1072
|
+
"type": "string",
|
|
1073
|
+
"description": "The error message to be displayed if the assertion fails"
|
|
1074
|
+
},
|
|
1075
|
+
"_id": {
|
|
1076
|
+
"type": "string",
|
|
1077
|
+
"description": "entity identity"
|
|
1078
|
+
},
|
|
1079
|
+
"isDraft": {
|
|
1080
|
+
"type": "boolean"
|
|
1081
|
+
},
|
|
1082
|
+
"name": {
|
|
1083
|
+
"description": "name of the unit. e.g. pw_scf",
|
|
1084
|
+
"type": "string"
|
|
1085
|
+
},
|
|
1086
|
+
"status": {
|
|
1087
|
+
"description": "Status of the unit.",
|
|
1088
|
+
"type": "string",
|
|
1089
|
+
"enum": [
|
|
1090
|
+
"idle",
|
|
1091
|
+
"active",
|
|
1092
|
+
"warning",
|
|
1093
|
+
"error",
|
|
1094
|
+
"finished"
|
|
1095
|
+
]
|
|
1096
|
+
},
|
|
1097
|
+
"head": {
|
|
1098
|
+
"description": "Whether this unit is the first one to be executed.",
|
|
1099
|
+
"type": "boolean"
|
|
1100
|
+
},
|
|
1101
|
+
"flowchartId": {
|
|
1102
|
+
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
1103
|
+
"type": "string"
|
|
1104
|
+
},
|
|
1105
|
+
"next": {
|
|
1106
|
+
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
1107
|
+
"type": "string"
|
|
1108
|
+
},
|
|
1109
|
+
"enableRender": {
|
|
1110
|
+
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
1111
|
+
"type": "boolean"
|
|
1112
|
+
},
|
|
1113
|
+
"context": {
|
|
1114
|
+
"type": "object"
|
|
1115
|
+
},
|
|
1116
|
+
"slug": {
|
|
1117
|
+
"description": "entity slug",
|
|
1118
|
+
"type": "string"
|
|
1119
|
+
},
|
|
1120
|
+
"systemName": {
|
|
1121
|
+
"type": "string"
|
|
1122
|
+
},
|
|
1123
|
+
"consistencyChecks": {
|
|
1124
|
+
"type": "array",
|
|
1125
|
+
"items": {
|
|
1126
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1127
|
+
"title": "consistency check",
|
|
1128
|
+
"type": "object",
|
|
1129
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
1130
|
+
"required": [
|
|
1131
|
+
"key",
|
|
1132
|
+
"name",
|
|
1133
|
+
"severity",
|
|
1134
|
+
"message"
|
|
1135
|
+
],
|
|
1136
|
+
"properties": {
|
|
1137
|
+
"key": {
|
|
1138
|
+
"type": "string",
|
|
1139
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
1140
|
+
},
|
|
1141
|
+
"name": {
|
|
1142
|
+
"enum": [
|
|
1143
|
+
"default",
|
|
1144
|
+
"atomsTooClose",
|
|
1145
|
+
"atomsOverlap"
|
|
1146
|
+
],
|
|
1147
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
1148
|
+
},
|
|
1149
|
+
"severity": {
|
|
1150
|
+
"enum": [
|
|
1151
|
+
"info",
|
|
1152
|
+
"warning",
|
|
1153
|
+
"error"
|
|
1154
|
+
],
|
|
1155
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
1156
|
+
},
|
|
1157
|
+
"message": {
|
|
1158
|
+
"type": "string",
|
|
1159
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
"schemaVersion": {
|
|
1165
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
1166
|
+
"type": "string",
|
|
1167
|
+
"default": "2022.8.16"
|
|
1168
|
+
},
|
|
1169
|
+
"isDefault": {
|
|
1170
|
+
"description": "Identifies that entity is defaultable",
|
|
1171
|
+
"type": "boolean",
|
|
1172
|
+
"default": false
|
|
1173
|
+
},
|
|
1174
|
+
"preProcessors": {
|
|
1175
|
+
"description": "names of the pre-processors for this calculation",
|
|
1176
|
+
"type": "array",
|
|
1177
|
+
"items": {
|
|
1178
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1179
|
+
"title": "runtime item schema",
|
|
1180
|
+
"oneOf": [
|
|
1181
|
+
{
|
|
1182
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1183
|
+
"title": "name result schema",
|
|
1184
|
+
"type": "object",
|
|
1185
|
+
"properties": {
|
|
1186
|
+
"name": {
|
|
1187
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1188
|
+
"type": "string"
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
"required": [
|
|
1192
|
+
"name"
|
|
1193
|
+
]
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1197
|
+
"title": "RuntimeItemString",
|
|
1198
|
+
"description": "name of runtime item in shortened notation",
|
|
1199
|
+
"type": "string"
|
|
1200
|
+
}
|
|
1201
|
+
]
|
|
1202
|
+
}
|
|
1203
|
+
},
|
|
1204
|
+
"postProcessors": {
|
|
1205
|
+
"description": "names of the post-processors for this calculation",
|
|
1206
|
+
"type": "array",
|
|
1207
|
+
"items": {
|
|
1208
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1209
|
+
"title": "runtime item schema",
|
|
1210
|
+
"oneOf": [
|
|
1211
|
+
{
|
|
1212
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1213
|
+
"title": "name result schema",
|
|
1214
|
+
"type": "object",
|
|
1215
|
+
"properties": {
|
|
1216
|
+
"name": {
|
|
1217
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1218
|
+
"type": "string"
|
|
1219
|
+
}
|
|
1220
|
+
},
|
|
1221
|
+
"required": [
|
|
1222
|
+
"name"
|
|
1223
|
+
]
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1227
|
+
"title": "RuntimeItemString",
|
|
1228
|
+
"description": "name of runtime item in shortened notation",
|
|
1229
|
+
"type": "string"
|
|
1230
|
+
}
|
|
1231
|
+
]
|
|
1232
|
+
}
|
|
1233
|
+
},
|
|
1234
|
+
"monitors": {
|
|
1235
|
+
"description": "names of the monitors for this calculation",
|
|
1236
|
+
"type": "array",
|
|
1237
|
+
"items": {
|
|
1238
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1239
|
+
"title": "runtime item schema",
|
|
1240
|
+
"oneOf": [
|
|
1241
|
+
{
|
|
1242
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1243
|
+
"title": "name result schema",
|
|
1244
|
+
"type": "object",
|
|
1245
|
+
"properties": {
|
|
1246
|
+
"name": {
|
|
1247
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1248
|
+
"type": "string"
|
|
1249
|
+
}
|
|
1250
|
+
},
|
|
1251
|
+
"required": [
|
|
1252
|
+
"name"
|
|
1253
|
+
]
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1257
|
+
"title": "RuntimeItemString",
|
|
1258
|
+
"description": "name of runtime item in shortened notation",
|
|
1259
|
+
"type": "string"
|
|
1260
|
+
}
|
|
1261
|
+
]
|
|
1262
|
+
}
|
|
1263
|
+
},
|
|
1264
|
+
"results": {
|
|
1265
|
+
"description": "names of the results for this calculation",
|
|
1266
|
+
"type": "array",
|
|
1267
|
+
"items": {
|
|
1268
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1269
|
+
"title": "runtime item schema",
|
|
1270
|
+
"oneOf": [
|
|
1271
|
+
{
|
|
1272
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1273
|
+
"title": "name result schema",
|
|
1274
|
+
"type": "object",
|
|
1275
|
+
"properties": {
|
|
1276
|
+
"name": {
|
|
1277
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1278
|
+
"type": "string"
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
"required": [
|
|
1282
|
+
"name"
|
|
1283
|
+
]
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1287
|
+
"title": "RuntimeItemString",
|
|
1288
|
+
"description": "name of runtime item in shortened notation",
|
|
1289
|
+
"type": "string"
|
|
1290
|
+
}
|
|
1291
|
+
]
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
"tags": {
|
|
1295
|
+
"description": "entity tags",
|
|
1296
|
+
"type": "array",
|
|
1297
|
+
"items": {
|
|
1298
|
+
"type": "string"
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
"statusTrack": {
|
|
1302
|
+
"type": "array",
|
|
1303
|
+
"items": {
|
|
1304
|
+
"type": "object",
|
|
1305
|
+
"required": [
|
|
1306
|
+
"trackedAt",
|
|
1307
|
+
"status"
|
|
1308
|
+
],
|
|
1309
|
+
"properties": {
|
|
1310
|
+
"trackedAt": {
|
|
1311
|
+
"type": "number"
|
|
1312
|
+
},
|
|
1313
|
+
"status": {
|
|
1314
|
+
"type": "string"
|
|
1315
|
+
},
|
|
1316
|
+
"repetition": {
|
|
1317
|
+
"type": "number"
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1326
|
+
"title": "execution unit schema (base)",
|
|
1327
|
+
"type": "object",
|
|
1328
|
+
"required": [
|
|
1329
|
+
"application",
|
|
1330
|
+
"flowchartId",
|
|
1331
|
+
"input",
|
|
1332
|
+
"type"
|
|
1333
|
+
],
|
|
1334
|
+
"additionalProperties": true,
|
|
1335
|
+
"properties": {
|
|
1336
|
+
"type": {
|
|
1337
|
+
"enum": [
|
|
1338
|
+
"execution"
|
|
1339
|
+
],
|
|
1340
|
+
"description": "type of the unit",
|
|
1341
|
+
"type": "string"
|
|
1342
|
+
},
|
|
1343
|
+
"application": {
|
|
1344
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1345
|
+
"title": "application schema (base)",
|
|
1346
|
+
"type": "object",
|
|
1347
|
+
"additionalProperties": true,
|
|
1348
|
+
"properties": {
|
|
1349
|
+
"shortName": {
|
|
1350
|
+
"description": "The short name of the application. e.g. qe",
|
|
1351
|
+
"type": "string"
|
|
1352
|
+
},
|
|
1353
|
+
"summary": {
|
|
1354
|
+
"description": "Application's short description.",
|
|
1355
|
+
"type": "string"
|
|
1356
|
+
},
|
|
1357
|
+
"version": {
|
|
1358
|
+
"description": "Application version. e.g. 5.3.5",
|
|
1359
|
+
"type": "string"
|
|
1360
|
+
},
|
|
1361
|
+
"build": {
|
|
1362
|
+
"description": "Application build. e.g. VTST",
|
|
1363
|
+
"type": "string"
|
|
1364
|
+
},
|
|
1365
|
+
"hasAdvancedComputeOptions": {
|
|
1366
|
+
"description": "Whether advanced compute options are present",
|
|
1367
|
+
"type": "boolean"
|
|
1368
|
+
},
|
|
1369
|
+
"isLicensed": {
|
|
1370
|
+
"description": "Whether licensing is present",
|
|
1371
|
+
"type": "boolean"
|
|
1372
|
+
},
|
|
1373
|
+
"_id": {
|
|
1374
|
+
"description": "entity identity",
|
|
1375
|
+
"type": "string"
|
|
1376
|
+
},
|
|
1377
|
+
"slug": {
|
|
1378
|
+
"description": "entity slug",
|
|
1379
|
+
"type": "string"
|
|
1380
|
+
},
|
|
1381
|
+
"systemName": {
|
|
1382
|
+
"type": "string"
|
|
1383
|
+
},
|
|
1384
|
+
"consistencyChecks": {
|
|
1385
|
+
"type": "array",
|
|
1386
|
+
"items": {
|
|
1387
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1388
|
+
"title": "consistency check",
|
|
1389
|
+
"type": "object",
|
|
1390
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
1391
|
+
"required": [
|
|
1392
|
+
"key",
|
|
1393
|
+
"name",
|
|
1394
|
+
"severity",
|
|
1395
|
+
"message"
|
|
1396
|
+
],
|
|
1397
|
+
"properties": {
|
|
1398
|
+
"key": {
|
|
1399
|
+
"type": "string",
|
|
1400
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
1401
|
+
},
|
|
1402
|
+
"name": {
|
|
1403
|
+
"enum": [
|
|
1404
|
+
"default",
|
|
1405
|
+
"atomsTooClose",
|
|
1406
|
+
"atomsOverlap"
|
|
1407
|
+
],
|
|
1408
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
1409
|
+
},
|
|
1410
|
+
"severity": {
|
|
1411
|
+
"enum": [
|
|
1412
|
+
"info",
|
|
1413
|
+
"warning",
|
|
1414
|
+
"error"
|
|
1415
|
+
],
|
|
1416
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
1417
|
+
},
|
|
1418
|
+
"message": {
|
|
1419
|
+
"type": "string",
|
|
1420
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
},
|
|
1425
|
+
"schemaVersion": {
|
|
1426
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
1427
|
+
"type": "string",
|
|
1428
|
+
"default": "2022.8.16"
|
|
1429
|
+
},
|
|
1430
|
+
"name": {
|
|
1431
|
+
"description": "entity name",
|
|
1432
|
+
"type": "string"
|
|
1433
|
+
},
|
|
1434
|
+
"isDefault": {
|
|
1435
|
+
"description": "Identifies that entity is defaultable",
|
|
1436
|
+
"type": "boolean",
|
|
1437
|
+
"default": false
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1440
|
+
},
|
|
1441
|
+
"executable": {
|
|
1442
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1443
|
+
"title": "executable schema",
|
|
1444
|
+
"type": "object",
|
|
1445
|
+
"required": [
|
|
1446
|
+
"name"
|
|
1447
|
+
],
|
|
1448
|
+
"properties": {
|
|
1449
|
+
"name": {
|
|
1450
|
+
"description": "The name of the executable. e.g. pw.x",
|
|
1451
|
+
"type": "string"
|
|
1452
|
+
},
|
|
1453
|
+
"applicationId": {
|
|
1454
|
+
"description": "_ids of the application this executable belongs to",
|
|
1455
|
+
"type": "array",
|
|
1456
|
+
"items": {
|
|
1457
|
+
"type": "string"
|
|
1458
|
+
}
|
|
1459
|
+
},
|
|
1460
|
+
"hasAdvancedComputeOptions": {
|
|
1461
|
+
"description": "Whether advanced compute options are present",
|
|
1462
|
+
"type": "boolean"
|
|
1463
|
+
},
|
|
1464
|
+
"_id": {
|
|
1465
|
+
"description": "entity identity",
|
|
1466
|
+
"type": "string"
|
|
1467
|
+
},
|
|
1468
|
+
"slug": {
|
|
1469
|
+
"description": "entity slug",
|
|
1470
|
+
"type": "string"
|
|
1471
|
+
},
|
|
1472
|
+
"systemName": {
|
|
1473
|
+
"type": "string"
|
|
1474
|
+
},
|
|
1475
|
+
"consistencyChecks": {
|
|
1476
|
+
"type": "array",
|
|
1477
|
+
"items": {
|
|
1478
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1479
|
+
"title": "consistency check",
|
|
1480
|
+
"type": "object",
|
|
1481
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
1482
|
+
"required": [
|
|
1483
|
+
"key",
|
|
1484
|
+
"name",
|
|
1485
|
+
"severity",
|
|
1486
|
+
"message"
|
|
1487
|
+
],
|
|
1488
|
+
"properties": {
|
|
1489
|
+
"key": {
|
|
1490
|
+
"type": "string",
|
|
1491
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
1492
|
+
},
|
|
1493
|
+
"name": {
|
|
1494
|
+
"enum": [
|
|
1495
|
+
"default",
|
|
1496
|
+
"atomsTooClose",
|
|
1497
|
+
"atomsOverlap"
|
|
1498
|
+
],
|
|
1499
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
1500
|
+
},
|
|
1501
|
+
"severity": {
|
|
1502
|
+
"enum": [
|
|
1503
|
+
"info",
|
|
1504
|
+
"warning",
|
|
1505
|
+
"error"
|
|
1506
|
+
],
|
|
1507
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
1508
|
+
},
|
|
1509
|
+
"message": {
|
|
1510
|
+
"type": "string",
|
|
1511
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
1512
|
+
}
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
},
|
|
1516
|
+
"schemaVersion": {
|
|
1517
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
1518
|
+
"type": "string",
|
|
1519
|
+
"default": "2022.8.16"
|
|
1520
|
+
},
|
|
1521
|
+
"isDefault": {
|
|
1522
|
+
"description": "Identifies that entity is defaultable",
|
|
1523
|
+
"type": "boolean",
|
|
1524
|
+
"default": false
|
|
1525
|
+
},
|
|
1526
|
+
"preProcessors": {
|
|
1527
|
+
"description": "names of the pre-processors for this calculation",
|
|
1528
|
+
"type": "array",
|
|
1529
|
+
"items": {
|
|
1530
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1531
|
+
"title": "runtime item schema",
|
|
1532
|
+
"oneOf": [
|
|
1533
|
+
{
|
|
1534
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1535
|
+
"title": "name result schema",
|
|
1536
|
+
"type": "object",
|
|
1537
|
+
"properties": {
|
|
1538
|
+
"name": {
|
|
1539
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1540
|
+
"type": "string"
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
"required": [
|
|
1544
|
+
"name"
|
|
1545
|
+
]
|
|
1546
|
+
},
|
|
1547
|
+
{
|
|
1548
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1549
|
+
"title": "RuntimeItemString",
|
|
1550
|
+
"description": "name of runtime item in shortened notation",
|
|
1551
|
+
"type": "string"
|
|
1552
|
+
}
|
|
1553
|
+
]
|
|
1554
|
+
}
|
|
1555
|
+
},
|
|
1556
|
+
"postProcessors": {
|
|
1557
|
+
"description": "names of the post-processors for this calculation",
|
|
1558
|
+
"type": "array",
|
|
1559
|
+
"items": {
|
|
1560
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1561
|
+
"title": "runtime item schema",
|
|
1562
|
+
"oneOf": [
|
|
1563
|
+
{
|
|
1564
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1565
|
+
"title": "name result schema",
|
|
1566
|
+
"type": "object",
|
|
1567
|
+
"properties": {
|
|
1568
|
+
"name": {
|
|
1569
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1570
|
+
"type": "string"
|
|
1571
|
+
}
|
|
1572
|
+
},
|
|
1573
|
+
"required": [
|
|
1574
|
+
"name"
|
|
1575
|
+
]
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1579
|
+
"title": "RuntimeItemString",
|
|
1580
|
+
"description": "name of runtime item in shortened notation",
|
|
1581
|
+
"type": "string"
|
|
1582
|
+
}
|
|
1583
|
+
]
|
|
1584
|
+
}
|
|
1585
|
+
},
|
|
1586
|
+
"monitors": {
|
|
1587
|
+
"description": "names of the monitors for this calculation",
|
|
1588
|
+
"type": "array",
|
|
1589
|
+
"items": {
|
|
1590
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1591
|
+
"title": "runtime item schema",
|
|
1592
|
+
"oneOf": [
|
|
1593
|
+
{
|
|
1594
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1595
|
+
"title": "name result schema",
|
|
1596
|
+
"type": "object",
|
|
1597
|
+
"properties": {
|
|
1598
|
+
"name": {
|
|
1599
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1600
|
+
"type": "string"
|
|
1601
|
+
}
|
|
1602
|
+
},
|
|
1603
|
+
"required": [
|
|
1604
|
+
"name"
|
|
1605
|
+
]
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1609
|
+
"title": "RuntimeItemString",
|
|
1610
|
+
"description": "name of runtime item in shortened notation",
|
|
1611
|
+
"type": "string"
|
|
1612
|
+
}
|
|
1613
|
+
]
|
|
1614
|
+
}
|
|
1615
|
+
},
|
|
1616
|
+
"results": {
|
|
1617
|
+
"description": "names of the results for this calculation",
|
|
1618
|
+
"type": "array",
|
|
1619
|
+
"items": {
|
|
1620
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1621
|
+
"title": "runtime item schema",
|
|
1622
|
+
"oneOf": [
|
|
1623
|
+
{
|
|
1624
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1625
|
+
"title": "name result schema",
|
|
1626
|
+
"type": "object",
|
|
1627
|
+
"properties": {
|
|
1628
|
+
"name": {
|
|
1629
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1630
|
+
"type": "string"
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
"required": [
|
|
1634
|
+
"name"
|
|
1635
|
+
]
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1639
|
+
"title": "RuntimeItemString",
|
|
1640
|
+
"description": "name of runtime item in shortened notation",
|
|
1641
|
+
"type": "string"
|
|
1642
|
+
}
|
|
1643
|
+
]
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
},
|
|
1648
|
+
"flavor": {
|
|
1649
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1650
|
+
"title": "flavor schema",
|
|
1651
|
+
"type": "object",
|
|
1652
|
+
"properties": {
|
|
1653
|
+
"executableId": {
|
|
1654
|
+
"description": "_id of the executable this flavor belongs to",
|
|
1655
|
+
"type": "string"
|
|
1656
|
+
},
|
|
1657
|
+
"executableName": {
|
|
1658
|
+
"description": "name of the executable this flavor belongs to",
|
|
1659
|
+
"type": "string"
|
|
1660
|
+
},
|
|
1661
|
+
"applicationName": {
|
|
1662
|
+
"description": "name of the application this flavor belongs to",
|
|
1663
|
+
"type": "string"
|
|
1664
|
+
},
|
|
1665
|
+
"input": {
|
|
1666
|
+
"title": "execution unit input schema",
|
|
1667
|
+
"type": "array",
|
|
1668
|
+
"items": {
|
|
1669
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1670
|
+
"title": "execution unit input id item schema for physics-based simulation engines",
|
|
1671
|
+
"type": "object",
|
|
1672
|
+
"additionalProperties": false,
|
|
1673
|
+
"properties": {
|
|
1674
|
+
"templateId": {
|
|
1675
|
+
"type": "string"
|
|
1676
|
+
},
|
|
1677
|
+
"templateName": {
|
|
1678
|
+
"type": "string"
|
|
1679
|
+
},
|
|
1680
|
+
"name": {
|
|
1681
|
+
"description": "name of the resulting input file, if different than template name",
|
|
1682
|
+
"type": "string"
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
}
|
|
1686
|
+
},
|
|
1687
|
+
"_id": {
|
|
1688
|
+
"description": "entity identity",
|
|
1689
|
+
"type": "string"
|
|
1690
|
+
},
|
|
1691
|
+
"slug": {
|
|
1692
|
+
"description": "entity slug",
|
|
1693
|
+
"type": "string"
|
|
1694
|
+
},
|
|
1695
|
+
"systemName": {
|
|
1696
|
+
"type": "string"
|
|
1697
|
+
},
|
|
1698
|
+
"consistencyChecks": {
|
|
1699
|
+
"type": "array",
|
|
1700
|
+
"items": {
|
|
1701
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1702
|
+
"title": "consistency check",
|
|
1703
|
+
"type": "object",
|
|
1704
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
1705
|
+
"required": [
|
|
1706
|
+
"key",
|
|
1707
|
+
"name",
|
|
1708
|
+
"severity",
|
|
1709
|
+
"message"
|
|
1710
|
+
],
|
|
1711
|
+
"properties": {
|
|
1712
|
+
"key": {
|
|
1713
|
+
"type": "string",
|
|
1714
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
1715
|
+
},
|
|
1716
|
+
"name": {
|
|
1717
|
+
"enum": [
|
|
1718
|
+
"default",
|
|
1719
|
+
"atomsTooClose",
|
|
1720
|
+
"atomsOverlap"
|
|
1721
|
+
],
|
|
1722
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
1723
|
+
},
|
|
1724
|
+
"severity": {
|
|
1725
|
+
"enum": [
|
|
1726
|
+
"info",
|
|
1727
|
+
"warning",
|
|
1728
|
+
"error"
|
|
1729
|
+
],
|
|
1730
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
1731
|
+
},
|
|
1732
|
+
"message": {
|
|
1733
|
+
"type": "string",
|
|
1734
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
1735
|
+
}
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
},
|
|
1739
|
+
"schemaVersion": {
|
|
1740
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
1741
|
+
"type": "string",
|
|
1742
|
+
"default": "2022.8.16"
|
|
1743
|
+
},
|
|
1744
|
+
"name": {
|
|
1745
|
+
"description": "entity name",
|
|
1746
|
+
"type": "string"
|
|
1747
|
+
},
|
|
1748
|
+
"isDefault": {
|
|
1749
|
+
"description": "Identifies that entity is defaultable",
|
|
1750
|
+
"type": "boolean",
|
|
1751
|
+
"default": false
|
|
1752
|
+
},
|
|
1753
|
+
"preProcessors": {
|
|
1754
|
+
"description": "names of the pre-processors for this calculation",
|
|
1755
|
+
"type": "array",
|
|
1756
|
+
"items": {
|
|
1757
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1758
|
+
"title": "runtime item schema",
|
|
1759
|
+
"oneOf": [
|
|
1760
|
+
{
|
|
1761
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1762
|
+
"title": "name result schema",
|
|
1763
|
+
"type": "object",
|
|
1764
|
+
"properties": {
|
|
1765
|
+
"name": {
|
|
1766
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1767
|
+
"type": "string"
|
|
1768
|
+
}
|
|
1769
|
+
},
|
|
1770
|
+
"required": [
|
|
1771
|
+
"name"
|
|
1772
|
+
]
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1776
|
+
"title": "RuntimeItemString",
|
|
1777
|
+
"description": "name of runtime item in shortened notation",
|
|
1778
|
+
"type": "string"
|
|
1779
|
+
}
|
|
1780
|
+
]
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
"postProcessors": {
|
|
1784
|
+
"description": "names of the post-processors for this calculation",
|
|
1785
|
+
"type": "array",
|
|
1786
|
+
"items": {
|
|
1787
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1788
|
+
"title": "runtime item schema",
|
|
1789
|
+
"oneOf": [
|
|
1790
|
+
{
|
|
1791
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1792
|
+
"title": "name result schema",
|
|
1793
|
+
"type": "object",
|
|
1794
|
+
"properties": {
|
|
1795
|
+
"name": {
|
|
1796
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1797
|
+
"type": "string"
|
|
1798
|
+
}
|
|
1799
|
+
},
|
|
1800
|
+
"required": [
|
|
1801
|
+
"name"
|
|
1802
|
+
]
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1806
|
+
"title": "RuntimeItemString",
|
|
1807
|
+
"description": "name of runtime item in shortened notation",
|
|
1808
|
+
"type": "string"
|
|
1809
|
+
}
|
|
1810
|
+
]
|
|
1811
|
+
}
|
|
1812
|
+
},
|
|
1813
|
+
"monitors": {
|
|
1814
|
+
"description": "names of the monitors for this calculation",
|
|
1815
|
+
"type": "array",
|
|
1816
|
+
"items": {
|
|
1817
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1818
|
+
"title": "runtime item schema",
|
|
1819
|
+
"oneOf": [
|
|
1820
|
+
{
|
|
1821
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1822
|
+
"title": "name result schema",
|
|
1823
|
+
"type": "object",
|
|
1824
|
+
"properties": {
|
|
1825
|
+
"name": {
|
|
1826
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1827
|
+
"type": "string"
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
"required": [
|
|
1831
|
+
"name"
|
|
1832
|
+
]
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1836
|
+
"title": "RuntimeItemString",
|
|
1837
|
+
"description": "name of runtime item in shortened notation",
|
|
1838
|
+
"type": "string"
|
|
1839
|
+
}
|
|
1840
|
+
]
|
|
1841
|
+
}
|
|
1842
|
+
},
|
|
1843
|
+
"results": {
|
|
1844
|
+
"description": "names of the results for this calculation",
|
|
1845
|
+
"type": "array",
|
|
1846
|
+
"items": {
|
|
1847
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1848
|
+
"title": "runtime item schema",
|
|
1849
|
+
"oneOf": [
|
|
1850
|
+
{
|
|
1851
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1852
|
+
"title": "name result schema",
|
|
1853
|
+
"type": "object",
|
|
1854
|
+
"properties": {
|
|
1855
|
+
"name": {
|
|
1856
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1857
|
+
"type": "string"
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
"required": [
|
|
1861
|
+
"name"
|
|
1862
|
+
]
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1866
|
+
"title": "RuntimeItemString",
|
|
1867
|
+
"description": "name of runtime item in shortened notation",
|
|
1868
|
+
"type": "string"
|
|
1869
|
+
}
|
|
1870
|
+
]
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1875
|
+
"input": {
|
|
1876
|
+
"description": "unit input (type to be specified by the application's execution unit)"
|
|
1877
|
+
},
|
|
1878
|
+
"_id": {
|
|
1879
|
+
"type": "string",
|
|
1880
|
+
"description": "entity identity"
|
|
1881
|
+
},
|
|
1882
|
+
"isDraft": {
|
|
1883
|
+
"type": "boolean"
|
|
1884
|
+
},
|
|
1885
|
+
"name": {
|
|
1886
|
+
"description": "name of the unit. e.g. pw_scf",
|
|
1887
|
+
"type": "string"
|
|
1888
|
+
},
|
|
1889
|
+
"status": {
|
|
1890
|
+
"description": "Status of the unit.",
|
|
1891
|
+
"type": "string",
|
|
1892
|
+
"enum": [
|
|
1893
|
+
"idle",
|
|
1894
|
+
"active",
|
|
1895
|
+
"warning",
|
|
1896
|
+
"error",
|
|
1897
|
+
"finished"
|
|
1898
|
+
]
|
|
1899
|
+
},
|
|
1900
|
+
"head": {
|
|
1901
|
+
"description": "Whether this unit is the first one to be executed.",
|
|
1902
|
+
"type": "boolean"
|
|
1903
|
+
},
|
|
1904
|
+
"flowchartId": {
|
|
1905
|
+
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
1906
|
+
"type": "string"
|
|
1907
|
+
},
|
|
1908
|
+
"next": {
|
|
1909
|
+
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
1910
|
+
"type": "string"
|
|
1911
|
+
},
|
|
1912
|
+
"enableRender": {
|
|
1913
|
+
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
1914
|
+
"type": "boolean"
|
|
1915
|
+
},
|
|
1916
|
+
"context": {
|
|
1917
|
+
"type": "object"
|
|
1918
|
+
},
|
|
1919
|
+
"slug": {
|
|
1920
|
+
"description": "entity slug",
|
|
1921
|
+
"type": "string"
|
|
1922
|
+
},
|
|
1923
|
+
"systemName": {
|
|
1924
|
+
"type": "string"
|
|
1925
|
+
},
|
|
1926
|
+
"consistencyChecks": {
|
|
1927
|
+
"type": "array",
|
|
1928
|
+
"items": {
|
|
1929
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1930
|
+
"title": "consistency check",
|
|
1931
|
+
"type": "object",
|
|
1932
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
1933
|
+
"required": [
|
|
1934
|
+
"key",
|
|
1935
|
+
"name",
|
|
1936
|
+
"severity",
|
|
1937
|
+
"message"
|
|
1938
|
+
],
|
|
1939
|
+
"properties": {
|
|
1940
|
+
"key": {
|
|
1941
|
+
"type": "string",
|
|
1942
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
1943
|
+
},
|
|
1944
|
+
"name": {
|
|
1945
|
+
"enum": [
|
|
1946
|
+
"default",
|
|
1947
|
+
"atomsTooClose",
|
|
1948
|
+
"atomsOverlap"
|
|
1949
|
+
],
|
|
1950
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
1951
|
+
},
|
|
1952
|
+
"severity": {
|
|
1953
|
+
"enum": [
|
|
1954
|
+
"info",
|
|
1955
|
+
"warning",
|
|
1956
|
+
"error"
|
|
1957
|
+
],
|
|
1958
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
1959
|
+
},
|
|
1960
|
+
"message": {
|
|
1961
|
+
"type": "string",
|
|
1962
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
1963
|
+
}
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
},
|
|
1967
|
+
"schemaVersion": {
|
|
1968
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
1969
|
+
"type": "string",
|
|
1970
|
+
"default": "2022.8.16"
|
|
1971
|
+
},
|
|
1972
|
+
"isDefault": {
|
|
1973
|
+
"description": "Identifies that entity is defaultable",
|
|
1974
|
+
"type": "boolean",
|
|
1975
|
+
"default": false
|
|
1976
|
+
},
|
|
1977
|
+
"preProcessors": {
|
|
1978
|
+
"description": "names of the pre-processors for this calculation",
|
|
1979
|
+
"type": "array",
|
|
1980
|
+
"items": {
|
|
1981
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1982
|
+
"title": "runtime item schema",
|
|
1983
|
+
"oneOf": [
|
|
1984
|
+
{
|
|
1985
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1986
|
+
"title": "name result schema",
|
|
1987
|
+
"type": "object",
|
|
1988
|
+
"properties": {
|
|
1989
|
+
"name": {
|
|
1990
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
1991
|
+
"type": "string"
|
|
1992
|
+
}
|
|
1993
|
+
},
|
|
1994
|
+
"required": [
|
|
1995
|
+
"name"
|
|
1996
|
+
]
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2000
|
+
"title": "RuntimeItemString",
|
|
2001
|
+
"description": "name of runtime item in shortened notation",
|
|
2002
|
+
"type": "string"
|
|
2003
|
+
}
|
|
2004
|
+
]
|
|
2005
|
+
}
|
|
2006
|
+
},
|
|
2007
|
+
"postProcessors": {
|
|
2008
|
+
"description": "names of the post-processors for this calculation",
|
|
2009
|
+
"type": "array",
|
|
2010
|
+
"items": {
|
|
2011
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2012
|
+
"title": "runtime item schema",
|
|
2013
|
+
"oneOf": [
|
|
2014
|
+
{
|
|
2015
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2016
|
+
"title": "name result schema",
|
|
2017
|
+
"type": "object",
|
|
2018
|
+
"properties": {
|
|
2019
|
+
"name": {
|
|
2020
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2021
|
+
"type": "string"
|
|
2022
|
+
}
|
|
2023
|
+
},
|
|
2024
|
+
"required": [
|
|
2025
|
+
"name"
|
|
2026
|
+
]
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2030
|
+
"title": "RuntimeItemString",
|
|
2031
|
+
"description": "name of runtime item in shortened notation",
|
|
2032
|
+
"type": "string"
|
|
2033
|
+
}
|
|
2034
|
+
]
|
|
2035
|
+
}
|
|
2036
|
+
},
|
|
2037
|
+
"monitors": {
|
|
2038
|
+
"description": "names of the monitors for this calculation",
|
|
2039
|
+
"type": "array",
|
|
2040
|
+
"items": {
|
|
2041
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2042
|
+
"title": "runtime item schema",
|
|
2043
|
+
"oneOf": [
|
|
2044
|
+
{
|
|
2045
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2046
|
+
"title": "name result schema",
|
|
2047
|
+
"type": "object",
|
|
2048
|
+
"properties": {
|
|
2049
|
+
"name": {
|
|
2050
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2051
|
+
"type": "string"
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2054
|
+
"required": [
|
|
2055
|
+
"name"
|
|
2056
|
+
]
|
|
2057
|
+
},
|
|
2058
|
+
{
|
|
2059
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2060
|
+
"title": "RuntimeItemString",
|
|
2061
|
+
"description": "name of runtime item in shortened notation",
|
|
2062
|
+
"type": "string"
|
|
2063
|
+
}
|
|
2064
|
+
]
|
|
2065
|
+
}
|
|
2066
|
+
},
|
|
2067
|
+
"results": {
|
|
2068
|
+
"description": "names of the results for this calculation",
|
|
2069
|
+
"type": "array",
|
|
2070
|
+
"items": {
|
|
2071
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2072
|
+
"title": "runtime item schema",
|
|
2073
|
+
"oneOf": [
|
|
2074
|
+
{
|
|
2075
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2076
|
+
"title": "name result schema",
|
|
2077
|
+
"type": "object",
|
|
2078
|
+
"properties": {
|
|
2079
|
+
"name": {
|
|
2080
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2081
|
+
"type": "string"
|
|
2082
|
+
}
|
|
2083
|
+
},
|
|
2084
|
+
"required": [
|
|
2085
|
+
"name"
|
|
2086
|
+
]
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2090
|
+
"title": "RuntimeItemString",
|
|
2091
|
+
"description": "name of runtime item in shortened notation",
|
|
2092
|
+
"type": "string"
|
|
2093
|
+
}
|
|
2094
|
+
]
|
|
2095
|
+
}
|
|
2096
|
+
},
|
|
2097
|
+
"tags": {
|
|
2098
|
+
"description": "entity tags",
|
|
2099
|
+
"type": "array",
|
|
2100
|
+
"items": {
|
|
2101
|
+
"type": "string"
|
|
2102
|
+
}
|
|
2103
|
+
},
|
|
2104
|
+
"statusTrack": {
|
|
2105
|
+
"type": "array",
|
|
2106
|
+
"items": {
|
|
2107
|
+
"type": "object",
|
|
2108
|
+
"required": [
|
|
2109
|
+
"trackedAt",
|
|
2110
|
+
"status"
|
|
2111
|
+
],
|
|
2112
|
+
"properties": {
|
|
2113
|
+
"trackedAt": {
|
|
2114
|
+
"type": "number"
|
|
2115
|
+
},
|
|
2116
|
+
"status": {
|
|
2117
|
+
"type": "string"
|
|
2118
|
+
},
|
|
2119
|
+
"repetition": {
|
|
2120
|
+
"type": "number"
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2129
|
+
"title": "assignment unit schema",
|
|
2130
|
+
"type": "object",
|
|
2131
|
+
"required": [
|
|
2132
|
+
"flowchartId",
|
|
2133
|
+
"name",
|
|
2134
|
+
"operand",
|
|
2135
|
+
"type",
|
|
2136
|
+
"value"
|
|
2137
|
+
],
|
|
2138
|
+
"additionalProperties": true,
|
|
2139
|
+
"properties": {
|
|
2140
|
+
"type": {
|
|
2141
|
+
"enum": [
|
|
2142
|
+
"assignment"
|
|
2143
|
+
],
|
|
2144
|
+
"description": "type of the unit",
|
|
2145
|
+
"type": "string"
|
|
2146
|
+
},
|
|
2147
|
+
"input": {
|
|
2148
|
+
"description": "Input information for assignment. if omitted, means that it is an initialization unit, otherwise it is an assignment.",
|
|
2149
|
+
"type": "array",
|
|
2150
|
+
"items": {
|
|
2151
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2152
|
+
"title": "workflow unit input schema",
|
|
2153
|
+
"type": "object",
|
|
2154
|
+
"required": [
|
|
2155
|
+
"scope",
|
|
2156
|
+
"name"
|
|
2157
|
+
],
|
|
2158
|
+
"properties": {
|
|
2159
|
+
"scope": {
|
|
2160
|
+
"description": "Scope of the variable. e.g. 'global' or 'flowchart_id_2'",
|
|
2161
|
+
"type": "string"
|
|
2162
|
+
},
|
|
2163
|
+
"name": {
|
|
2164
|
+
"description": "Name of the input data. e.g. total_energy",
|
|
2165
|
+
"type": "string"
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
}
|
|
2169
|
+
},
|
|
2170
|
+
"operand": {
|
|
2171
|
+
"description": "Name of the global variable. e.g. 'x'",
|
|
2172
|
+
"type": "string"
|
|
2173
|
+
},
|
|
2174
|
+
"value": {
|
|
2175
|
+
"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)",
|
|
2176
|
+
"oneOf": [
|
|
2177
|
+
{
|
|
2178
|
+
"type": "string"
|
|
2179
|
+
},
|
|
2180
|
+
{
|
|
2181
|
+
"type": "boolean"
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"type": "number"
|
|
2185
|
+
}
|
|
2186
|
+
]
|
|
2187
|
+
},
|
|
2188
|
+
"_id": {
|
|
2189
|
+
"type": "string",
|
|
2190
|
+
"description": "entity identity"
|
|
2191
|
+
},
|
|
2192
|
+
"isDraft": {
|
|
2193
|
+
"type": "boolean"
|
|
2194
|
+
},
|
|
2195
|
+
"name": {
|
|
2196
|
+
"description": "name of the unit. e.g. pw_scf",
|
|
2197
|
+
"type": "string"
|
|
2198
|
+
},
|
|
2199
|
+
"status": {
|
|
2200
|
+
"description": "Status of the unit.",
|
|
2201
|
+
"type": "string",
|
|
2202
|
+
"enum": [
|
|
2203
|
+
"idle",
|
|
2204
|
+
"active",
|
|
2205
|
+
"warning",
|
|
2206
|
+
"error",
|
|
2207
|
+
"finished"
|
|
2208
|
+
]
|
|
2209
|
+
},
|
|
2210
|
+
"head": {
|
|
2211
|
+
"description": "Whether this unit is the first one to be executed.",
|
|
2212
|
+
"type": "boolean"
|
|
2213
|
+
},
|
|
2214
|
+
"flowchartId": {
|
|
2215
|
+
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
2216
|
+
"type": "string"
|
|
2217
|
+
},
|
|
2218
|
+
"next": {
|
|
2219
|
+
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
2220
|
+
"type": "string"
|
|
2221
|
+
},
|
|
2222
|
+
"enableRender": {
|
|
2223
|
+
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
2224
|
+
"type": "boolean"
|
|
2225
|
+
},
|
|
2226
|
+
"context": {
|
|
2227
|
+
"type": "object"
|
|
2228
|
+
},
|
|
2229
|
+
"slug": {
|
|
2230
|
+
"description": "entity slug",
|
|
2231
|
+
"type": "string"
|
|
2232
|
+
},
|
|
2233
|
+
"systemName": {
|
|
2234
|
+
"type": "string"
|
|
2235
|
+
},
|
|
2236
|
+
"consistencyChecks": {
|
|
2237
|
+
"type": "array",
|
|
2238
|
+
"items": {
|
|
2239
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2240
|
+
"title": "consistency check",
|
|
2241
|
+
"type": "object",
|
|
2242
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
2243
|
+
"required": [
|
|
2244
|
+
"key",
|
|
2245
|
+
"name",
|
|
2246
|
+
"severity",
|
|
2247
|
+
"message"
|
|
2248
|
+
],
|
|
2249
|
+
"properties": {
|
|
2250
|
+
"key": {
|
|
2251
|
+
"type": "string",
|
|
2252
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
2253
|
+
},
|
|
2254
|
+
"name": {
|
|
2255
|
+
"enum": [
|
|
2256
|
+
"default",
|
|
2257
|
+
"atomsTooClose",
|
|
2258
|
+
"atomsOverlap"
|
|
2259
|
+
],
|
|
2260
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
2261
|
+
},
|
|
2262
|
+
"severity": {
|
|
2263
|
+
"enum": [
|
|
2264
|
+
"info",
|
|
2265
|
+
"warning",
|
|
2266
|
+
"error"
|
|
2267
|
+
],
|
|
2268
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
2269
|
+
},
|
|
2270
|
+
"message": {
|
|
2271
|
+
"type": "string",
|
|
2272
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2277
|
+
"schemaVersion": {
|
|
2278
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
2279
|
+
"type": "string",
|
|
2280
|
+
"default": "2022.8.16"
|
|
2281
|
+
},
|
|
2282
|
+
"isDefault": {
|
|
2283
|
+
"description": "Identifies that entity is defaultable",
|
|
2284
|
+
"type": "boolean",
|
|
2285
|
+
"default": false
|
|
2286
|
+
},
|
|
2287
|
+
"preProcessors": {
|
|
2288
|
+
"description": "names of the pre-processors for this calculation",
|
|
2289
|
+
"type": "array",
|
|
2290
|
+
"items": {
|
|
2291
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2292
|
+
"title": "runtime item schema",
|
|
2293
|
+
"oneOf": [
|
|
2294
|
+
{
|
|
2295
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2296
|
+
"title": "name result schema",
|
|
2297
|
+
"type": "object",
|
|
2298
|
+
"properties": {
|
|
2299
|
+
"name": {
|
|
2300
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2301
|
+
"type": "string"
|
|
2302
|
+
}
|
|
2303
|
+
},
|
|
2304
|
+
"required": [
|
|
2305
|
+
"name"
|
|
2306
|
+
]
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2310
|
+
"title": "RuntimeItemString",
|
|
2311
|
+
"description": "name of runtime item in shortened notation",
|
|
2312
|
+
"type": "string"
|
|
2313
|
+
}
|
|
2314
|
+
]
|
|
2315
|
+
}
|
|
2316
|
+
},
|
|
2317
|
+
"postProcessors": {
|
|
2318
|
+
"description": "names of the post-processors for this calculation",
|
|
2319
|
+
"type": "array",
|
|
2320
|
+
"items": {
|
|
2321
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2322
|
+
"title": "runtime item schema",
|
|
2323
|
+
"oneOf": [
|
|
2324
|
+
{
|
|
2325
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2326
|
+
"title": "name result schema",
|
|
2327
|
+
"type": "object",
|
|
2328
|
+
"properties": {
|
|
2329
|
+
"name": {
|
|
2330
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2331
|
+
"type": "string"
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
"required": [
|
|
2335
|
+
"name"
|
|
2336
|
+
]
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2340
|
+
"title": "RuntimeItemString",
|
|
2341
|
+
"description": "name of runtime item in shortened notation",
|
|
2342
|
+
"type": "string"
|
|
2343
|
+
}
|
|
2344
|
+
]
|
|
2345
|
+
}
|
|
2346
|
+
},
|
|
2347
|
+
"monitors": {
|
|
2348
|
+
"description": "names of the monitors for this calculation",
|
|
2349
|
+
"type": "array",
|
|
2350
|
+
"items": {
|
|
2351
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2352
|
+
"title": "runtime item schema",
|
|
2353
|
+
"oneOf": [
|
|
2354
|
+
{
|
|
2355
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2356
|
+
"title": "name result schema",
|
|
2357
|
+
"type": "object",
|
|
2358
|
+
"properties": {
|
|
2359
|
+
"name": {
|
|
2360
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2361
|
+
"type": "string"
|
|
2362
|
+
}
|
|
2363
|
+
},
|
|
2364
|
+
"required": [
|
|
2365
|
+
"name"
|
|
2366
|
+
]
|
|
2367
|
+
},
|
|
2368
|
+
{
|
|
2369
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2370
|
+
"title": "RuntimeItemString",
|
|
2371
|
+
"description": "name of runtime item in shortened notation",
|
|
2372
|
+
"type": "string"
|
|
2373
|
+
}
|
|
2374
|
+
]
|
|
2375
|
+
}
|
|
2376
|
+
},
|
|
2377
|
+
"results": {
|
|
2378
|
+
"description": "names of the results for this calculation",
|
|
2379
|
+
"type": "array",
|
|
2380
|
+
"items": {
|
|
2381
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2382
|
+
"title": "runtime item schema",
|
|
2383
|
+
"oneOf": [
|
|
2384
|
+
{
|
|
2385
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2386
|
+
"title": "name result schema",
|
|
2387
|
+
"type": "object",
|
|
2388
|
+
"properties": {
|
|
2389
|
+
"name": {
|
|
2390
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2391
|
+
"type": "string"
|
|
2392
|
+
}
|
|
2393
|
+
},
|
|
2394
|
+
"required": [
|
|
2395
|
+
"name"
|
|
2396
|
+
]
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2400
|
+
"title": "RuntimeItemString",
|
|
2401
|
+
"description": "name of runtime item in shortened notation",
|
|
2402
|
+
"type": "string"
|
|
2403
|
+
}
|
|
2404
|
+
]
|
|
2405
|
+
}
|
|
2406
|
+
},
|
|
2407
|
+
"tags": {
|
|
2408
|
+
"description": "entity tags",
|
|
2409
|
+
"type": "array",
|
|
2410
|
+
"items": {
|
|
2411
|
+
"type": "string"
|
|
2412
|
+
}
|
|
2413
|
+
},
|
|
2414
|
+
"statusTrack": {
|
|
2415
|
+
"type": "array",
|
|
2416
|
+
"items": {
|
|
2417
|
+
"type": "object",
|
|
2418
|
+
"required": [
|
|
2419
|
+
"trackedAt",
|
|
2420
|
+
"status"
|
|
2421
|
+
],
|
|
2422
|
+
"properties": {
|
|
2423
|
+
"trackedAt": {
|
|
2424
|
+
"type": "number"
|
|
2425
|
+
},
|
|
2426
|
+
"status": {
|
|
2427
|
+
"type": "string"
|
|
2428
|
+
},
|
|
2429
|
+
"repetition": {
|
|
2430
|
+
"type": "number"
|
|
2431
|
+
}
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
},
|
|
2435
|
+
"scope": {
|
|
2436
|
+
"type": "string"
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
},
|
|
2440
|
+
{
|
|
2441
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2442
|
+
"title": "processing unit schema",
|
|
2443
|
+
"type": "object",
|
|
2444
|
+
"required": [
|
|
2445
|
+
"flowchartId",
|
|
2446
|
+
"inputData",
|
|
2447
|
+
"operation",
|
|
2448
|
+
"operationType",
|
|
2449
|
+
"type"
|
|
2450
|
+
],
|
|
2451
|
+
"additionalProperties": true,
|
|
2452
|
+
"properties": {
|
|
2453
|
+
"type": {
|
|
2454
|
+
"enum": [
|
|
2455
|
+
"processing"
|
|
2456
|
+
],
|
|
2457
|
+
"description": "type of the unit",
|
|
2458
|
+
"type": "string"
|
|
2459
|
+
},
|
|
2460
|
+
"operation": {
|
|
2461
|
+
"description": "Contains information about the operation used.",
|
|
2462
|
+
"type": "string"
|
|
2463
|
+
},
|
|
2464
|
+
"operationType": {
|
|
2465
|
+
"description": "Contains information about the specific type of the operation used.",
|
|
2466
|
+
"type": "string"
|
|
2467
|
+
},
|
|
2468
|
+
"inputData": {
|
|
2469
|
+
"description": "unit input (type to be specified by the child units)"
|
|
2470
|
+
},
|
|
2471
|
+
"_id": {
|
|
2472
|
+
"type": "string",
|
|
2473
|
+
"description": "entity identity"
|
|
2474
|
+
},
|
|
2475
|
+
"isDraft": {
|
|
2476
|
+
"type": "boolean"
|
|
2477
|
+
},
|
|
2478
|
+
"name": {
|
|
2479
|
+
"description": "name of the unit. e.g. pw_scf",
|
|
2480
|
+
"type": "string"
|
|
2481
|
+
},
|
|
2482
|
+
"status": {
|
|
2483
|
+
"description": "Status of the unit.",
|
|
2484
|
+
"type": "string",
|
|
2485
|
+
"enum": [
|
|
2486
|
+
"idle",
|
|
2487
|
+
"active",
|
|
2488
|
+
"warning",
|
|
2489
|
+
"error",
|
|
2490
|
+
"finished"
|
|
2491
|
+
]
|
|
2492
|
+
},
|
|
2493
|
+
"head": {
|
|
2494
|
+
"description": "Whether this unit is the first one to be executed.",
|
|
2495
|
+
"type": "boolean"
|
|
2496
|
+
},
|
|
2497
|
+
"flowchartId": {
|
|
2498
|
+
"description": "Identity of the unit in the workflow. Used to trace the execution flow of the workflow.",
|
|
2499
|
+
"type": "string"
|
|
2500
|
+
},
|
|
2501
|
+
"next": {
|
|
2502
|
+
"description": "Next unit's flowchartId. If empty, the current unit is the last.",
|
|
2503
|
+
"type": "string"
|
|
2504
|
+
},
|
|
2505
|
+
"enableRender": {
|
|
2506
|
+
"description": "Whether Rupy should attempt to use Jinja templating to add context variables into the unit",
|
|
2507
|
+
"type": "boolean"
|
|
2508
|
+
},
|
|
2509
|
+
"context": {
|
|
2510
|
+
"type": "object"
|
|
2511
|
+
},
|
|
2512
|
+
"slug": {
|
|
2513
|
+
"description": "entity slug",
|
|
2514
|
+
"type": "string"
|
|
2515
|
+
},
|
|
2516
|
+
"systemName": {
|
|
2517
|
+
"type": "string"
|
|
2518
|
+
},
|
|
2519
|
+
"consistencyChecks": {
|
|
2520
|
+
"type": "array",
|
|
2521
|
+
"items": {
|
|
2522
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2523
|
+
"title": "consistency check",
|
|
2524
|
+
"type": "object",
|
|
2525
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
2526
|
+
"required": [
|
|
2527
|
+
"key",
|
|
2528
|
+
"name",
|
|
2529
|
+
"severity",
|
|
2530
|
+
"message"
|
|
2531
|
+
],
|
|
2532
|
+
"properties": {
|
|
2533
|
+
"key": {
|
|
2534
|
+
"type": "string",
|
|
2535
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
2536
|
+
},
|
|
2537
|
+
"name": {
|
|
2538
|
+
"enum": [
|
|
2539
|
+
"default",
|
|
2540
|
+
"atomsTooClose",
|
|
2541
|
+
"atomsOverlap"
|
|
2542
|
+
],
|
|
2543
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
2544
|
+
},
|
|
2545
|
+
"severity": {
|
|
2546
|
+
"enum": [
|
|
2547
|
+
"info",
|
|
2548
|
+
"warning",
|
|
2549
|
+
"error"
|
|
2550
|
+
],
|
|
2551
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
2552
|
+
},
|
|
2553
|
+
"message": {
|
|
2554
|
+
"type": "string",
|
|
2555
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
2556
|
+
}
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
"schemaVersion": {
|
|
2561
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
2562
|
+
"type": "string",
|
|
2563
|
+
"default": "2022.8.16"
|
|
2564
|
+
},
|
|
2565
|
+
"isDefault": {
|
|
2566
|
+
"description": "Identifies that entity is defaultable",
|
|
2567
|
+
"type": "boolean",
|
|
2568
|
+
"default": false
|
|
2569
|
+
},
|
|
2570
|
+
"preProcessors": {
|
|
2571
|
+
"description": "names of the pre-processors for this calculation",
|
|
2572
|
+
"type": "array",
|
|
2573
|
+
"items": {
|
|
2574
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2575
|
+
"title": "runtime item schema",
|
|
2576
|
+
"oneOf": [
|
|
2577
|
+
{
|
|
2578
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2579
|
+
"title": "name result schema",
|
|
2580
|
+
"type": "object",
|
|
2581
|
+
"properties": {
|
|
2582
|
+
"name": {
|
|
2583
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2584
|
+
"type": "string"
|
|
2585
|
+
}
|
|
2586
|
+
},
|
|
2587
|
+
"required": [
|
|
2588
|
+
"name"
|
|
2589
|
+
]
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2593
|
+
"title": "RuntimeItemString",
|
|
2594
|
+
"description": "name of runtime item in shortened notation",
|
|
2595
|
+
"type": "string"
|
|
2596
|
+
}
|
|
2597
|
+
]
|
|
2598
|
+
}
|
|
2599
|
+
},
|
|
2600
|
+
"postProcessors": {
|
|
2601
|
+
"description": "names of the post-processors for this calculation",
|
|
2602
|
+
"type": "array",
|
|
2603
|
+
"items": {
|
|
2604
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2605
|
+
"title": "runtime item schema",
|
|
2606
|
+
"oneOf": [
|
|
2607
|
+
{
|
|
2608
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2609
|
+
"title": "name result schema",
|
|
2610
|
+
"type": "object",
|
|
2611
|
+
"properties": {
|
|
2612
|
+
"name": {
|
|
2613
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2614
|
+
"type": "string"
|
|
2615
|
+
}
|
|
2616
|
+
},
|
|
2617
|
+
"required": [
|
|
2618
|
+
"name"
|
|
2619
|
+
]
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2623
|
+
"title": "RuntimeItemString",
|
|
2624
|
+
"description": "name of runtime item in shortened notation",
|
|
2625
|
+
"type": "string"
|
|
2626
|
+
}
|
|
2627
|
+
]
|
|
2628
|
+
}
|
|
2629
|
+
},
|
|
2630
|
+
"monitors": {
|
|
2631
|
+
"description": "names of the monitors for this calculation",
|
|
2632
|
+
"type": "array",
|
|
2633
|
+
"items": {
|
|
2634
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2635
|
+
"title": "runtime item schema",
|
|
2636
|
+
"oneOf": [
|
|
2637
|
+
{
|
|
2638
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2639
|
+
"title": "name result schema",
|
|
2640
|
+
"type": "object",
|
|
2641
|
+
"properties": {
|
|
2642
|
+
"name": {
|
|
2643
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2644
|
+
"type": "string"
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
"required": [
|
|
2648
|
+
"name"
|
|
2649
|
+
]
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2653
|
+
"title": "RuntimeItemString",
|
|
2654
|
+
"description": "name of runtime item in shortened notation",
|
|
2655
|
+
"type": "string"
|
|
2656
|
+
}
|
|
2657
|
+
]
|
|
2658
|
+
}
|
|
2659
|
+
},
|
|
2660
|
+
"results": {
|
|
2661
|
+
"description": "names of the results for this calculation",
|
|
2662
|
+
"type": "array",
|
|
2663
|
+
"items": {
|
|
2664
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2665
|
+
"title": "runtime item schema",
|
|
2666
|
+
"oneOf": [
|
|
2667
|
+
{
|
|
2668
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2669
|
+
"title": "name result schema",
|
|
2670
|
+
"type": "object",
|
|
2671
|
+
"properties": {
|
|
2672
|
+
"name": {
|
|
2673
|
+
"description": "The name of this item. e.g. scf_accuracy",
|
|
2674
|
+
"type": "string"
|
|
2675
|
+
}
|
|
2676
|
+
},
|
|
2677
|
+
"required": [
|
|
2678
|
+
"name"
|
|
2679
|
+
]
|
|
2680
|
+
},
|
|
2681
|
+
{
|
|
2682
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2683
|
+
"title": "RuntimeItemString",
|
|
2684
|
+
"description": "name of runtime item in shortened notation",
|
|
2685
|
+
"type": "string"
|
|
2686
|
+
}
|
|
2687
|
+
]
|
|
2688
|
+
}
|
|
2689
|
+
},
|
|
2690
|
+
"tags": {
|
|
2691
|
+
"description": "entity tags",
|
|
2692
|
+
"type": "array",
|
|
2693
|
+
"items": {
|
|
2694
|
+
"type": "string"
|
|
2695
|
+
}
|
|
2696
|
+
},
|
|
2697
|
+
"statusTrack": {
|
|
2698
|
+
"type": "array",
|
|
2699
|
+
"items": {
|
|
2700
|
+
"type": "object",
|
|
2701
|
+
"required": [
|
|
2702
|
+
"trackedAt",
|
|
2703
|
+
"status"
|
|
2704
|
+
],
|
|
2705
|
+
"properties": {
|
|
2706
|
+
"trackedAt": {
|
|
2707
|
+
"type": "number"
|
|
2708
|
+
},
|
|
2709
|
+
"status": {
|
|
2710
|
+
"type": "string"
|
|
2711
|
+
},
|
|
2712
|
+
"repetition": {
|
|
2713
|
+
"type": "number"
|
|
2714
|
+
}
|
|
2715
|
+
}
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
],
|
|
2721
|
+
"discriminator": {
|
|
2722
|
+
"propertyName": "type"
|
|
2723
|
+
},
|
|
2724
|
+
"required": [
|
|
2725
|
+
"type"
|
|
2726
|
+
]
|
|
2727
|
+
}
|
|
2728
|
+
},
|
|
2729
|
+
"model": {
|
|
2730
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2731
|
+
"title": "base model",
|
|
2732
|
+
"type": "object",
|
|
2733
|
+
"required": [
|
|
2734
|
+
"type",
|
|
2735
|
+
"subtype",
|
|
2736
|
+
"method"
|
|
2737
|
+
],
|
|
2738
|
+
"additionalProperties": true,
|
|
2739
|
+
"properties": {
|
|
2740
|
+
"type": {
|
|
2741
|
+
"description": "general type of the model, eg. `dft`",
|
|
2742
|
+
"type": "string"
|
|
2743
|
+
},
|
|
2744
|
+
"subtype": {
|
|
2745
|
+
"description": "general subtype of the model, eg. `lda`",
|
|
2746
|
+
"type": "string"
|
|
2747
|
+
},
|
|
2748
|
+
"method": {
|
|
2749
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2750
|
+
"title": "base method",
|
|
2751
|
+
"type": "object",
|
|
2752
|
+
"required": [
|
|
2753
|
+
"type",
|
|
2754
|
+
"subtype"
|
|
2755
|
+
],
|
|
2756
|
+
"properties": {
|
|
2757
|
+
"type": {
|
|
2758
|
+
"description": "general type of this method, eg. `pseudopotential`",
|
|
2759
|
+
"type": "string"
|
|
2760
|
+
},
|
|
2761
|
+
"subtype": {
|
|
2762
|
+
"description": "general subtype of this method, eg. `ultra-soft`",
|
|
2763
|
+
"type": "string"
|
|
2764
|
+
},
|
|
2765
|
+
"precision": {
|
|
2766
|
+
"description": "Object showing the actual possible precision based on theory and implementation",
|
|
2767
|
+
"type": "object"
|
|
2768
|
+
},
|
|
2769
|
+
"data": {
|
|
2770
|
+
"description": "additional data specific to method, eg. array of pseudopotentials",
|
|
2771
|
+
"type": "object"
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2776
|
+
},
|
|
2777
|
+
"application": {
|
|
2778
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2779
|
+
"title": "application schema (base)",
|
|
2780
|
+
"type": "object",
|
|
2781
|
+
"additionalProperties": true,
|
|
2782
|
+
"properties": {
|
|
2783
|
+
"shortName": {
|
|
2784
|
+
"description": "The short name of the application. e.g. qe",
|
|
2785
|
+
"type": "string"
|
|
2786
|
+
},
|
|
2787
|
+
"summary": {
|
|
2788
|
+
"description": "Application's short description.",
|
|
2789
|
+
"type": "string"
|
|
2790
|
+
},
|
|
2791
|
+
"version": {
|
|
2792
|
+
"description": "Application version. e.g. 5.3.5",
|
|
2793
|
+
"type": "string"
|
|
2794
|
+
},
|
|
2795
|
+
"build": {
|
|
2796
|
+
"description": "Application build. e.g. VTST",
|
|
2797
|
+
"type": "string"
|
|
2798
|
+
},
|
|
2799
|
+
"hasAdvancedComputeOptions": {
|
|
2800
|
+
"description": "Whether advanced compute options are present",
|
|
2801
|
+
"type": "boolean"
|
|
2802
|
+
},
|
|
2803
|
+
"isLicensed": {
|
|
2804
|
+
"description": "Whether licensing is present",
|
|
2805
|
+
"type": "boolean"
|
|
2806
|
+
},
|
|
2807
|
+
"_id": {
|
|
2808
|
+
"description": "entity identity",
|
|
2809
|
+
"type": "string"
|
|
2810
|
+
},
|
|
2811
|
+
"slug": {
|
|
2812
|
+
"description": "entity slug",
|
|
2813
|
+
"type": "string"
|
|
2814
|
+
},
|
|
2815
|
+
"systemName": {
|
|
2816
|
+
"type": "string"
|
|
2817
|
+
},
|
|
2818
|
+
"consistencyChecks": {
|
|
2819
|
+
"type": "array",
|
|
2820
|
+
"items": {
|
|
2821
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2822
|
+
"title": "consistency check",
|
|
2823
|
+
"type": "object",
|
|
2824
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
2825
|
+
"required": [
|
|
2826
|
+
"key",
|
|
2827
|
+
"name",
|
|
2828
|
+
"severity",
|
|
2829
|
+
"message"
|
|
2830
|
+
],
|
|
2831
|
+
"properties": {
|
|
2832
|
+
"key": {
|
|
2833
|
+
"type": "string",
|
|
2834
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
2835
|
+
},
|
|
2836
|
+
"name": {
|
|
2837
|
+
"enum": [
|
|
2838
|
+
"default",
|
|
2839
|
+
"atomsTooClose",
|
|
2840
|
+
"atomsOverlap"
|
|
2841
|
+
],
|
|
2842
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
2843
|
+
},
|
|
2844
|
+
"severity": {
|
|
2845
|
+
"enum": [
|
|
2846
|
+
"info",
|
|
2847
|
+
"warning",
|
|
2848
|
+
"error"
|
|
2849
|
+
],
|
|
2850
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
2851
|
+
},
|
|
2852
|
+
"message": {
|
|
2853
|
+
"type": "string",
|
|
2854
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2858
|
+
},
|
|
2859
|
+
"schemaVersion": {
|
|
2860
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
2861
|
+
"type": "string",
|
|
2862
|
+
"default": "2022.8.16"
|
|
2863
|
+
},
|
|
2864
|
+
"name": {
|
|
2865
|
+
"description": "entity name",
|
|
2866
|
+
"type": "string"
|
|
2867
|
+
},
|
|
2868
|
+
"isDefault": {
|
|
2869
|
+
"description": "Identifies that entity is defaultable",
|
|
2870
|
+
"type": "boolean",
|
|
2871
|
+
"default": false
|
|
2872
|
+
}
|
|
2873
|
+
}
|
|
2874
|
+
},
|
|
2875
|
+
"isDraft": {
|
|
2876
|
+
"description": "Defines whether to store the results/properties extracted in this unit to properties collection",
|
|
2877
|
+
"type": "boolean",
|
|
2878
|
+
"default": false
|
|
2879
|
+
},
|
|
2880
|
+
"_id": {
|
|
2881
|
+
"description": "subworkflow identity",
|
|
2882
|
+
"type": "string"
|
|
2883
|
+
},
|
|
2884
|
+
"name": {
|
|
2885
|
+
"description": "Human-readable name of the subworkflow. e.g. Total-energy",
|
|
2886
|
+
"type": "string"
|
|
2887
|
+
},
|
|
2888
|
+
"properties": {
|
|
2889
|
+
"description": "Array of characteristic properties calculated by this subworkflow",
|
|
2890
|
+
"type": "array",
|
|
2891
|
+
"items": {
|
|
2892
|
+
"description": "property names, eg. `band_gaps`, `band_structure`",
|
|
2893
|
+
"oneOf": [
|
|
2894
|
+
{
|
|
2895
|
+
"type": "string"
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"type": "object"
|
|
2899
|
+
}
|
|
2900
|
+
]
|
|
2901
|
+
}
|
|
2902
|
+
},
|
|
2903
|
+
"compute": {
|
|
2904
|
+
"description": "compute parameters",
|
|
2905
|
+
"oneOf": [
|
|
2906
|
+
{
|
|
2907
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2908
|
+
"title": "compute arguments schema",
|
|
2909
|
+
"description": "Custom keywords prefixed with validate correspond to custom validation methods implemented downstream",
|
|
2910
|
+
"type": "object",
|
|
2911
|
+
"properties": {
|
|
2912
|
+
"queue": {
|
|
2913
|
+
"description": "Name of the submission queues: https://docs.mat3ra.com/infrastructure/resource/queues/. Below enums are for Azure, then AWS circa 2022-08, hence the duplication.",
|
|
2914
|
+
"type": "string",
|
|
2915
|
+
"enum": [
|
|
2916
|
+
"D",
|
|
2917
|
+
"OR",
|
|
2918
|
+
"OF",
|
|
2919
|
+
"OFplus",
|
|
2920
|
+
"SR",
|
|
2921
|
+
"SF",
|
|
2922
|
+
"SFplus",
|
|
2923
|
+
"GPOF",
|
|
2924
|
+
"GP2OF",
|
|
2925
|
+
"GP4OF",
|
|
2926
|
+
"GPSF",
|
|
2927
|
+
"GP2SF",
|
|
2928
|
+
"GP4SF",
|
|
2929
|
+
"OR4",
|
|
2930
|
+
"OR8",
|
|
2931
|
+
"OR16",
|
|
2932
|
+
"SR4",
|
|
2933
|
+
"SR8",
|
|
2934
|
+
"SR16",
|
|
2935
|
+
"GOF",
|
|
2936
|
+
"G4OF",
|
|
2937
|
+
"G8OF",
|
|
2938
|
+
"GSF",
|
|
2939
|
+
"G4SF",
|
|
2940
|
+
"G8SF"
|
|
2941
|
+
]
|
|
2942
|
+
},
|
|
2943
|
+
"nodes": {
|
|
2944
|
+
"description": "number of nodes used for the job inside the RMS.",
|
|
2945
|
+
"type": "integer"
|
|
2946
|
+
},
|
|
2947
|
+
"ppn": {
|
|
2948
|
+
"description": "number of CPUs used for the job inside the RMS.",
|
|
2949
|
+
"type": "integer"
|
|
2950
|
+
},
|
|
2951
|
+
"timeLimit": {
|
|
2952
|
+
"description": "Wallclock time limit for computing a job. Clock format: 'hh:mm:ss'",
|
|
2953
|
+
"type": "string"
|
|
2954
|
+
},
|
|
2955
|
+
"timeLimitType": {
|
|
2956
|
+
"description": "Convention to use when reasoning about time limits",
|
|
2957
|
+
"type": "string",
|
|
2958
|
+
"default": "per single attempt",
|
|
2959
|
+
"enum": [
|
|
2960
|
+
"per single attempt",
|
|
2961
|
+
"compound"
|
|
2962
|
+
]
|
|
2963
|
+
},
|
|
2964
|
+
"isRestartable": {
|
|
2965
|
+
"description": "Job is allowed to restart on termination.",
|
|
2966
|
+
"type": "boolean",
|
|
2967
|
+
"default": true
|
|
2968
|
+
},
|
|
2969
|
+
"notify": {
|
|
2970
|
+
"description": "Email notification for the job: n - never, a - job aborted, b - job begins, e - job ends. Last three could be combined.",
|
|
2971
|
+
"type": "string"
|
|
2972
|
+
},
|
|
2973
|
+
"email": {
|
|
2974
|
+
"description": "Email address to notify about job execution.",
|
|
2975
|
+
"type": "string"
|
|
2976
|
+
},
|
|
2977
|
+
"maxCPU": {
|
|
2978
|
+
"description": "Maximum CPU count per node. This parameter is used to let backend job submission infrastructure know that this job is to be charged for the maximum CPU per node instead of the actual ppn. For premium/fast queues where resources are provisioned on-demand and exclusively per user.",
|
|
2979
|
+
"type": "integer"
|
|
2980
|
+
},
|
|
2981
|
+
"arguments": {
|
|
2982
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2983
|
+
"title": "quantum espresso arguments schema",
|
|
2984
|
+
"type": "object",
|
|
2985
|
+
"additionalProperties": false,
|
|
2986
|
+
"properties": {
|
|
2987
|
+
"nimage": {
|
|
2988
|
+
"description": "Processors can be divided into different `images`, each corresponding to a different self-consistent or linear-response calculation, loosely coupled to others.",
|
|
2989
|
+
"type": "integer",
|
|
2990
|
+
"default": 1,
|
|
2991
|
+
"minimum": 1,
|
|
2992
|
+
"maximum": 100
|
|
2993
|
+
},
|
|
2994
|
+
"npools": {
|
|
2995
|
+
"description": "Each image can be subpartitioned into `pools`, each taking care of a group of k-points.",
|
|
2996
|
+
"type": "integer",
|
|
2997
|
+
"default": 1,
|
|
2998
|
+
"minimum": 1,
|
|
2999
|
+
"maximum": 100
|
|
3000
|
+
},
|
|
3001
|
+
"nband": {
|
|
3002
|
+
"description": "Each pool is subpartitioned into `band groups`, each taking care of a group of Kohn-Sham orbitals (also called bands, or wavefunctions).",
|
|
3003
|
+
"type": "integer",
|
|
3004
|
+
"default": 1,
|
|
3005
|
+
"minimum": 1,
|
|
3006
|
+
"maximum": 100
|
|
3007
|
+
},
|
|
3008
|
+
"ntg": {
|
|
3009
|
+
"description": "In order to allow good parallelization of the 3D FFT when the number of processors exceeds the number of FFT planes, FFTs on Kohn-Sham states are redistributed to `task` groups so that each group can process several wavefunctions at the same time.",
|
|
3010
|
+
"type": "integer",
|
|
3011
|
+
"default": 1,
|
|
3012
|
+
"minimum": 1,
|
|
3013
|
+
"maximum": 100
|
|
3014
|
+
},
|
|
3015
|
+
"ndiag": {
|
|
3016
|
+
"description": "A further level of parallelization, independent on PW or k-point parallelization, is the parallelization of subspace diagonalization / iterative orthonormalization. Both operations required the diagonalization of arrays whose dimension is the number of Kohn-Sham states (or a small multiple of it). All such arrays are distributed block-like across the `linear-algebra group`, a subgroup of the pool of processors, organized in a square 2D grid. As a consequence the number of processors in the linear-algebra group is given by n2, where n is an integer; n2 must be smaller than the number of processors in the PW group. The diagonalization is then performed in parallel using standard linear algebra operations.",
|
|
3017
|
+
"type": "integer",
|
|
3018
|
+
"default": 1,
|
|
3019
|
+
"minimum": 1,
|
|
3020
|
+
"maximum": 100
|
|
3021
|
+
}
|
|
3022
|
+
}
|
|
3023
|
+
},
|
|
3024
|
+
"cluster": {
|
|
3025
|
+
"description": "Cluster where the job is executed. Optional on create. Required on job submission.",
|
|
3026
|
+
"type": "object",
|
|
3027
|
+
"properties": {
|
|
3028
|
+
"fqdn": {
|
|
3029
|
+
"description": "FQDN of the cluster. e.g. master-1-staging.exabyte.io",
|
|
3030
|
+
"type": "string"
|
|
3031
|
+
},
|
|
3032
|
+
"jid": {
|
|
3033
|
+
"description": "Job's identity in RMS. e.g. 1234.master-1-staging.exabyte.io",
|
|
3034
|
+
"type": "string"
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
3038
|
+
"errors": {
|
|
3039
|
+
"description": "Computation error. Optional. Appears only if something happens on jobs execution.",
|
|
3040
|
+
"type": "array",
|
|
3041
|
+
"items": {
|
|
3042
|
+
"type": "object",
|
|
3043
|
+
"properties": {
|
|
3044
|
+
"domain": {
|
|
3045
|
+
"description": "Domain of the error appearance (internal).",
|
|
3046
|
+
"type": "string",
|
|
3047
|
+
"enum": [
|
|
3048
|
+
"rupy",
|
|
3049
|
+
"alfred",
|
|
3050
|
+
"celim",
|
|
3051
|
+
"webapp"
|
|
3052
|
+
]
|
|
3053
|
+
},
|
|
3054
|
+
"reason": {
|
|
3055
|
+
"description": "Should be a short, unique, machine-readable error code string. e.g. FileNotFound",
|
|
3056
|
+
"type": "string"
|
|
3057
|
+
},
|
|
3058
|
+
"message": {
|
|
3059
|
+
"description": "Human-readable error message. e.g. 'File Not Found: /home/demo/data/project1/job-123/job-config.json'",
|
|
3060
|
+
"type": "string"
|
|
3061
|
+
},
|
|
3062
|
+
"traceback": {
|
|
3063
|
+
"description": "Full machine-readable error traceback. e.g. FileNotFound",
|
|
3064
|
+
"type": "string"
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
},
|
|
3069
|
+
"excludeFilesPattern": {
|
|
3070
|
+
"description": "A Python compatible regex to exclude files from upload. e.g. ^.*.txt& excludes all files with .txt suffix",
|
|
3071
|
+
"type": "string"
|
|
3072
|
+
}
|
|
3073
|
+
},
|
|
3074
|
+
"required": [
|
|
3075
|
+
"queue",
|
|
3076
|
+
"nodes",
|
|
3077
|
+
"ppn",
|
|
3078
|
+
"timeLimit"
|
|
3079
|
+
]
|
|
3080
|
+
},
|
|
3081
|
+
{
|
|
3082
|
+
"type": "null"
|
|
3083
|
+
}
|
|
3084
|
+
]
|
|
3085
|
+
}
|
|
3086
|
+
}
|
|
3087
|
+
}
|