@mat3ra/esse 2023.12.25-2
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/.babelrc +10 -0
- package/.eslintrc.json +3 -0
- package/.pre-commit-config.yaml +20 -0
- package/.prettierrc +6 -0
- package/LICENSE.md +15 -0
- package/README.md +157 -0
- package/build_schemas.js +42 -0
- package/build_schemas.py +61 -0
- package/docs/README.md +3 -0
- package/example/3pse/file/applications/espresso/7.2/pw.x.json +94 -0
- package/example/core/abstract/2d_data.json +19 -0
- package/example/core/abstract/2d_plot.json +26 -0
- package/example/core/abstract/3d_grid.json +12 -0
- package/example/core/abstract/3d_tensor.json +17 -0
- package/example/core/abstract/3d_vector_basis.json +17 -0
- package/example/core/abstract/point.json +5 -0
- package/example/core/abstract/vector.json +5 -0
- package/example/core/primitive/1d_data_series.json +12 -0
- package/example/core/primitive/3d_lattice.json +8 -0
- package/example/core/primitive/array_of_3_booleans.json +5 -0
- package/example/core/primitive/array_of_3_numbers.json +5 -0
- package/example/core/primitive/array_of_ids.json +8 -0
- package/example/core/primitive/axis.json +4 -0
- package/example/core/primitive/scalar.json +3 -0
- package/example/core/primitive/string.json +3 -0
- package/example/core/reference/experiment/condition.json +12 -0
- package/example/core/reference/experiment/location.json +4 -0
- package/example/core/reference/experiment.json +22 -0
- package/example/core/reference/literature/name.json +5 -0
- package/example/core/reference/literature/pages.json +4 -0
- package/example/core/reference/literature.json +8 -0
- package/example/core/reference/modeling/exabyte.json +7 -0
- package/example/core/reference/modeling.json +3 -0
- package/example/core/reference.json +3 -0
- package/example/core/reusable/atomic_vectors.json +18 -0
- package/example/core/reusable/band_gap.json +16 -0
- package/example/core/reusable/energy.json +5 -0
- package/example/core/reusable/file_metadata.json +5 -0
- package/example/core/reusable/object_storage_container_data.json +8 -0
- package/example/element.json +14 -0
- package/example/job/compute.json +26 -0
- package/example/job.json +26 -0
- package/example/material.json +94 -0
- package/example/method/categorized_method.json +47 -0
- package/example/method/method_parameters.json +3 -0
- package/example/method.json +7 -0
- package/example/methods_directory/legacy/localorbital.json +4 -0
- package/example/methods_directory/legacy/pseudopotential.json +4 -0
- package/example/methods_directory/legacy/regression.json +61 -0
- package/example/methods_directory/legacy/unknown.json +4 -0
- package/example/methods_directory/mathematical/cg.json +10 -0
- package/example/methods_directory/mathematical/regression.json +65 -0
- package/example/methods_directory/physical/ao/dunning.json +13 -0
- package/example/methods_directory/physical/psp/file.json +49 -0
- package/example/methods_directory/physical/psp.json +16 -0
- package/example/methods_directory/physical/pw.json +9 -0
- package/example/methods_directory/physical/smearing.json +10 -0
- package/example/methods_directory/physical/tetrahedron.json +10 -0
- package/example/model/categorized_model.json +33 -0
- package/example/model/model_parameters.json +7 -0
- package/example/model.json +7 -0
- package/example/models_category/pb/qm/abin/gw.json +7 -0
- package/example/models_category/pb/qm/dft/ksdft.json +6 -0
- package/example/models_category/pb/qm/semp.json +5 -0
- package/example/models_directory/gga.json +15 -0
- package/example/models_directory/gw.json +15 -0
- package/example/models_directory/hybrid.json +15 -0
- package/example/models_directory/lda.json +15 -0
- package/example/models_directory/legacy/dft.json +8 -0
- package/example/models_directory/legacy/ml.json +7 -0
- package/example/models_directory/legacy/unknown.json +7 -0
- package/example/models_directory/re.json +9 -0
- package/example/project.json +21 -0
- package/example/properties_directory/electronic_configuration.json +4 -0
- package/example/properties_directory/elemental/atomic_radius.json +4 -0
- package/example/properties_directory/elemental/electronegativity.json +4 -0
- package/example/properties_directory/elemental/ionization_potential.json +4 -0
- package/example/properties_directory/non-scalar/band_gaps.json +25 -0
- package/example/properties_directory/non-scalar/band_structure.json +47 -0
- package/example/properties_directory/non-scalar/charge_density_profile.json +22 -0
- package/example/properties_directory/non-scalar/density_of_states.json +55 -0
- package/example/properties_directory/non-scalar/dielectric_tensor.json +133 -0
- package/example/properties_directory/non-scalar/file_content.json +8 -0
- package/example/properties_directory/non-scalar/hubbard_u.json +24 -0
- package/example/properties_directory/non-scalar/hubbard_v.json +22 -0
- package/example/properties_directory/non-scalar/hubbard_v_nn.json +24 -0
- package/example/properties_directory/non-scalar/phonon_dispersions.json +41 -0
- package/example/properties_directory/non-scalar/phonon_dos.json +37 -0
- package/example/properties_directory/non-scalar/potential_profile.json +32 -0
- package/example/properties_directory/non-scalar/reaction_energy_profile.json +30 -0
- package/example/properties_directory/non-scalar/stress_tensor.json +21 -0
- package/example/properties_directory/non-scalar/total_energy_contributions.json +44 -0
- package/example/properties_directory/non-scalar/vibrational_spectrum.json +25 -0
- package/example/properties_directory/scalar/electron_affinity.json +5 -0
- package/example/properties_directory/scalar/fermi_energy.json +5 -0
- package/example/properties_directory/scalar/formation_energy.json +5 -0
- package/example/properties_directory/scalar/ionization_potential.json +5 -0
- package/example/properties_directory/scalar/pressure.json +5 -0
- package/example/properties_directory/scalar/reaction_energy_barrier.json +5 -0
- package/example/properties_directory/scalar/surface_energy.json +5 -0
- package/example/properties_directory/scalar/total_energy.json +5 -0
- package/example/properties_directory/scalar/total_force.json +5 -0
- package/example/properties_directory/scalar/valence_band_offset.json +5 -0
- package/example/properties_directory/scalar/zero_point_energy.json +5 -0
- package/example/properties_directory/structural/atomic_forces.json +22 -0
- package/example/properties_directory/structural/basis/atomic_constraints.json +21 -0
- package/example/properties_directory/structural/basis/atomic_coordinate.json +8 -0
- package/example/properties_directory/structural/basis/atomic_coordinates.json +21 -0
- package/example/properties_directory/structural/basis/atomic_element.json +4 -0
- package/example/properties_directory/structural/basis/bonds.json +24 -0
- package/example/properties_directory/structural/basis.json +19 -0
- package/example/properties_directory/structural/density.json +5 -0
- package/example/properties_directory/structural/elemental_ratio.json +5 -0
- package/example/properties_directory/structural/inchi.json +4 -0
- package/example/properties_directory/structural/inchi_key.json +4 -0
- package/example/properties_directory/structural/lattice/lattice_bravais.json +13 -0
- package/example/properties_directory/structural/lattice/lattice_vectors.json +19 -0
- package/example/properties_directory/structural/lattice.json +7 -0
- package/example/properties_directory/structural/magnetic_moments.json +22 -0
- package/example/properties_directory/structural/molecular_pattern.json +71 -0
- package/example/properties_directory/structural/p-norm.json +5 -0
- package/example/properties_directory/structural/symmetry.json +9 -0
- package/example/properties_directory/structural/volume.json +5 -0
- package/example/properties_directory/workflow/convergence/electronic.json +15 -0
- package/example/properties_directory/workflow/convergence/ionic.json +20 -0
- package/example/properties_directory/workflow/convergence/kpoint.json +22 -0
- package/example/property/base.json +21 -0
- package/example/software/application.json +7 -0
- package/example/software/executable.json +20 -0
- package/example/software/flavor.json +9 -0
- package/example/software/template.json +14 -0
- package/example/software_directory/ml/exabyteml.json +6 -0
- package/example/software_directory/ml/unit/execution/evaluate/cross-validate.json +17 -0
- package/example/software_directory/ml/unit/execution/initialize.json +20 -0
- package/example/software_directory/ml/unit/execution/score.json +15 -0
- package/example/software_directory/ml/unit/execution/train.json +26 -0
- package/example/software_directory/ml/unit/processing/data_transformation/manipulation.json +14 -0
- package/example/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.json +26 -0
- package/example/software_directory/ml/unit/processing/feature_selection/filter_based.json +13 -0
- package/example/software_directory/modeling/espresso/arguments.json +5 -0
- package/example/software_directory/modeling/espresso.json +6 -0
- package/example/software_directory/modeling/nwchem.json +6 -0
- package/example/software_directory/modeling/unit/execution.json +16 -0
- package/example/software_directory/modeling/vasp.json +6 -0
- package/example/software_directory/scripting/jupyter-lab.json +8 -0
- package/example/software_directory/scripting/python.json +8 -0
- package/example/software_directory/scripting/shell.json +8 -0
- package/example/software_directory/scripting/unit/execution.json +17 -0
- package/example/system/_material.json +5 -0
- package/example/system/_parent_job.json +5 -0
- package/example/system/_project.json +5 -0
- package/example/system/consistency_check.json +6 -0
- package/example/system/creator.json +5 -0
- package/example/system/entity_reference.json +5 -0
- package/example/system/file_source.json +6 -0
- package/example/system/message.json +14 -0
- package/example/system/owner.json +5 -0
- package/example/workflow/subworkflow.json +18 -0
- package/example/workflow/unit/assignment.json +19 -0
- package/example/workflow/unit/condition.json +22 -0
- package/example/workflow/unit/execution.json +39 -0
- package/example/workflow/unit/input/_inputItemScope.json +4 -0
- package/example/workflow/unit/io/api.json +31 -0
- package/example/workflow/unit/io/db.json +15 -0
- package/example/workflow/unit/io/object_storage.json +7 -0
- package/example/workflow/unit/io.json +41 -0
- package/example/workflow/unit/map.json +16 -0
- package/example/workflow/unit/processing.json +13 -0
- package/example/workflow/unit/reduce.json +16 -0
- package/example/workflow/unit/runtime/runtime_items.json +14 -0
- package/example/workflow/unit.json +8 -0
- package/example/workflow.json +34 -0
- package/lib/js/esse/index.js +83 -0
- package/lib/js/esse/schemaUtils.js +78 -0
- package/lib/js/esse/settings.js +18 -0
- package/lib/js/esse/utils.js +74 -0
- package/lib/js/json_include/index.js +110 -0
- package/lib/js/json_include/settings.js +13 -0
- package/lib/js/json_include/utils.js +22 -0
- package/lib/js/scripts/createEnumsFromYaml.js +74 -0
- package/lib/js/scripts/setSchemaIds.js +156 -0
- package/npmignore +6 -0
- package/package.json +75 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x/atomic_positions.json +66 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x/atomic_species.json +30 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x/cell.json +89 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x/cell_parameters.json +36 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x/control.json +181 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x/electrons.json +157 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x/hubbard.json +219 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x/ions.json +216 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x/k_points.json +87 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x/system.json +649 -0
- package/schema/3pse/file/applications/espresso/7.2/pw.x.json +52 -0
- package/schema/core/abstract/2d_data.json +19 -0
- package/schema/core/abstract/2d_plot.json +29 -0
- package/schema/core/abstract/3d_grid.json +17 -0
- package/schema/core/abstract/3d_tensor.json +11 -0
- package/schema/core/abstract/3d_vector_basis.json +25 -0
- package/schema/core/abstract/point.json +10 -0
- package/schema/core/abstract/vector.json +13 -0
- package/schema/core/primitive/1d_data_series.json +16 -0
- package/schema/core/primitive/3d_lattice.json +40 -0
- package/schema/core/primitive/array_of_3_booleans.json +11 -0
- package/schema/core/primitive/array_of_3_numbers.json +11 -0
- package/schema/core/primitive/array_of_ids.json +17 -0
- package/schema/core/primitive/array_of_strings.json +11 -0
- package/schema/core/primitive/axis.json +18 -0
- package/schema/core/primitive/group_info.json +16 -0
- package/schema/core/primitive/integer_one_or_zero.json +8 -0
- package/schema/core/primitive/linked_list/base_node.json +34 -0
- package/schema/core/primitive/linked_list/named_node.json +14 -0
- package/schema/core/primitive/linked_list/named_node_in_group.json +14 -0
- package/schema/core/primitive/linked_list/node_with_type.json +16 -0
- package/schema/core/primitive/linked_list.json +24 -0
- package/schema/core/primitive/scalar.json +14 -0
- package/schema/core/primitive/slugified_entry.json +21 -0
- package/schema/core/primitive/slugified_entry_or_slug.json +14 -0
- package/schema/core/primitive/string.json +14 -0
- package/schema/core/reference/exabyte.json +19 -0
- package/schema/core/reference/experiment/condition.json +29 -0
- package/schema/core/reference/experiment/location.json +19 -0
- package/schema/core/reference/experiment.json +58 -0
- package/schema/core/reference/literature/name.json +24 -0
- package/schema/core/reference/literature/pages.json +17 -0
- package/schema/core/reference/literature.json +82 -0
- package/schema/core/reference/modeling/exabyte.json +30 -0
- package/schema/core/reference/modeling.json +10 -0
- package/schema/core/reference.json +16 -0
- package/schema/core/reusable/atomic_data/per_orbital.json +22 -0
- package/schema/core/reusable/atomic_data/per_orbital_pair.json +39 -0
- package/schema/core/reusable/atomic_data/value_number.json +13 -0
- package/schema/core/reusable/atomic_data/value_string.json +13 -0
- package/schema/core/reusable/atomic_data_per_orbital_numeric.json +15 -0
- package/schema/core/reusable/atomic_data_per_orbital_pair_numeric.json +15 -0
- package/schema/core/reusable/atomic_orbital.json +32 -0
- package/schema/core/reusable/atomic_scalars.json +17 -0
- package/schema/core/reusable/atomic_strings.json +17 -0
- package/schema/core/reusable/atomic_vectors.json +17 -0
- package/schema/core/reusable/band_gap.json +44 -0
- package/schema/core/reusable/categories.json +29 -0
- package/schema/core/reusable/category_path.json +7 -0
- package/schema/core/reusable/dielectric_tensor_component.json +28 -0
- package/schema/core/reusable/energy.json +29 -0
- package/schema/core/reusable/file_metadata.json +20 -0
- package/schema/core/reusable/frequency_function_matrix.json +23 -0
- package/schema/core/reusable/object_storage_container_data.json +37 -0
- package/schema/definitions/units.json +103 -0
- package/schema/element.json +28 -0
- package/schema/in_memory_entity/base.json +30 -0
- package/schema/in_memory_entity/defaultable.json +13 -0
- package/schema/in_memory_entity/named.json +13 -0
- package/schema/in_memory_entity/named_defaultable.json +16 -0
- package/schema/in_memory_entity/named_defaultable_has_metadata.json +19 -0
- package/schema/in_memory_entity/named_defaultable_runtime_items.json +19 -0
- package/schema/job/base.json +80 -0
- package/schema/job/compute.json +145 -0
- package/schema/job.json +19 -0
- package/schema/material/conventional.json +10 -0
- package/schema/material.json +57 -0
- package/schema/method/categorized_method.json +24 -0
- package/schema/method/method_parameters.json +20 -0
- package/schema/method/unit_method.json +27 -0
- package/schema/method.json +27 -0
- package/schema/methods_category/mathematical/diff/enum_options.json +8 -0
- package/schema/methods_category/mathematical/diff/enum_options.yml +3 -0
- package/schema/methods_category/mathematical/diff/fd.json +15 -0
- package/schema/methods_category/mathematical/diff.json +15 -0
- package/schema/methods_category/mathematical/discr/enum_options.json +8 -0
- package/schema/methods_category/mathematical/discr/enum_options.yml +3 -0
- package/schema/methods_category/mathematical/discr/mesh/enum_options.json +18 -0
- package/schema/methods_category/mathematical/discr/mesh/enum_options.yml +7 -0
- package/schema/methods_category/mathematical/discr/mesh/hybrid.json +15 -0
- package/schema/methods_category/mathematical/discr/mesh/nstruct.json +15 -0
- package/schema/methods_category/mathematical/discr/mesh/struct/cartesian.json +15 -0
- package/schema/methods_category/mathematical/discr/mesh/struct/enum_options.json +8 -0
- package/schema/methods_category/mathematical/discr/mesh/struct/enum_options.yml +3 -0
- package/schema/methods_category/mathematical/discr/mesh/struct.json +15 -0
- package/schema/methods_category/mathematical/discr/mesh.json +15 -0
- package/schema/methods_category/mathematical/discr.json +15 -0
- package/schema/methods_category/mathematical/enum_options.json +45 -0
- package/schema/methods_category/mathematical/enum_options.yml +22 -0
- package/schema/methods_category/mathematical/fapprx/basisexp.json +15 -0
- package/schema/methods_category/mathematical/fapprx/enum_options.json +13 -0
- package/schema/methods_category/mathematical/fapprx/enum_options.yml +5 -0
- package/schema/methods_category/mathematical/fapprx/ipol/enum_options.json +18 -0
- package/schema/methods_category/mathematical/fapprx/ipol/enum_options.yml +7 -0
- package/schema/methods_category/mathematical/fapprx/ipol/lin.json +15 -0
- package/schema/methods_category/mathematical/fapprx/ipol/poly.json +15 -0
- package/schema/methods_category/mathematical/fapprx/ipol/spline.json +15 -0
- package/schema/methods_category/mathematical/fapprx/ipol.json +15 -0
- package/schema/methods_category/mathematical/fapprx.json +15 -0
- package/schema/methods_category/mathematical/intgr/analytic/enum_options.json +20 -0
- package/schema/methods_category/mathematical/intgr/analytic/enum_options.yml +14 -0
- package/schema/methods_category/mathematical/intgr/analytic/volume.json +18 -0
- package/schema/methods_category/mathematical/intgr/analytic.json +15 -0
- package/schema/methods_category/mathematical/intgr/diffeq/enum_options.json +13 -0
- package/schema/methods_category/mathematical/intgr/diffeq/enum_options.yml +5 -0
- package/schema/methods_category/mathematical/intgr/diffeq/order1.json +15 -0
- package/schema/methods_category/mathematical/intgr/diffeq/order2.json +15 -0
- package/schema/methods_category/mathematical/intgr/diffeq.json +15 -0
- package/schema/methods_category/mathematical/intgr/enum_options.json +23 -0
- package/schema/methods_category/mathematical/intgr/enum_options.yml +9 -0
- package/schema/methods_category/mathematical/intgr/numquad/enum_options.json +13 -0
- package/schema/methods_category/mathematical/intgr/numquad/enum_options.yml +5 -0
- package/schema/methods_category/mathematical/intgr/numquad/gauss.json +15 -0
- package/schema/methods_category/mathematical/intgr/numquad/newcot.json +15 -0
- package/schema/methods_category/mathematical/intgr/numquad.json +15 -0
- package/schema/methods_category/mathematical/intgr/transf/enum_options.json +8 -0
- package/schema/methods_category/mathematical/intgr/transf/enum_options.yml +3 -0
- package/schema/methods_category/mathematical/intgr/transf/fourier.json +15 -0
- package/schema/methods_category/mathematical/intgr/transf.json +15 -0
- package/schema/methods_category/mathematical/intgr.json +15 -0
- package/schema/methods_category/mathematical/linalg/dcomp.json +15 -0
- package/schema/methods_category/mathematical/linalg/diag/davidson.json +15 -0
- package/schema/methods_category/mathematical/linalg/diag/enum_options.json +8 -0
- package/schema/methods_category/mathematical/linalg/diag/enum_options.yml +3 -0
- package/schema/methods_category/mathematical/linalg/diag.json +15 -0
- package/schema/methods_category/mathematical/linalg/enum_options.json +23 -0
- package/schema/methods_category/mathematical/linalg/enum_options.yml +9 -0
- package/schema/methods_category/mathematical/linalg/lintra.json +15 -0
- package/schema/methods_category/mathematical/linalg/matf.json +15 -0
- package/schema/methods_category/mathematical/linalg.json +15 -0
- package/schema/methods_category/mathematical/opt/diff/bracket.json +15 -0
- package/schema/methods_category/mathematical/opt/diff/enum_options.json +28 -0
- package/schema/methods_category/mathematical/opt/diff/enum_options.yml +11 -0
- package/schema/methods_category/mathematical/opt/diff/local.json +15 -0
- package/schema/methods_category/mathematical/opt/diff/order1.json +15 -0
- package/schema/methods_category/mathematical/opt/diff/order2.json +15 -0
- package/schema/methods_category/mathematical/opt/diff/ordern/cg.json +15 -0
- package/schema/methods_category/mathematical/opt/diff/ordern/enum_options.json +8 -0
- package/schema/methods_category/mathematical/opt/diff/ordern/enum_options.yml +3 -0
- package/schema/methods_category/mathematical/opt/diff/ordern.json +15 -0
- package/schema/methods_category/mathematical/opt/diff.json +15 -0
- package/schema/methods_category/mathematical/opt/enum_options.json +18 -0
- package/schema/methods_category/mathematical/opt/enum_options.yml +7 -0
- package/schema/methods_category/mathematical/opt/ndiff/direct.json +15 -0
- package/schema/methods_category/mathematical/opt/ndiff/enum_options.json +18 -0
- package/schema/methods_category/mathematical/opt/ndiff/enum_options.yml +7 -0
- package/schema/methods_category/mathematical/opt/ndiff/pop.json +15 -0
- package/schema/methods_category/mathematical/opt/ndiff/stoch.json +15 -0
- package/schema/methods_category/mathematical/opt/ndiff.json +15 -0
- package/schema/methods_category/mathematical/opt/root/bracket.json +15 -0
- package/schema/methods_category/mathematical/opt/root/enum_options.json +13 -0
- package/schema/methods_category/mathematical/opt/root/enum_options.yml +5 -0
- package/schema/methods_category/mathematical/opt/root/iter.json +15 -0
- package/schema/methods_category/mathematical/opt/root.json +15 -0
- package/schema/methods_category/mathematical/opt.json +15 -0
- package/schema/methods_category/mathematical/regression.json +18 -0
- package/schema/methods_category/physical/enum_options.json +8 -0
- package/schema/methods_category/physical/enum_options.yml +3 -0
- package/schema/methods_category/physical/qm/enum_options.json +8 -0
- package/schema/methods_category/physical/qm/enum_options.yml +3 -0
- package/schema/methods_category/physical/qm/wf/ao/dunning.json +17 -0
- package/schema/methods_category/physical/qm/wf/ao/other.json +17 -0
- package/schema/methods_category/physical/qm/wf/ao/pople.json +17 -0
- package/schema/methods_category/physical/qm/wf/ao.json +18 -0
- package/schema/methods_category/physical/qm/wf/enum_options.json +63 -0
- package/schema/methods_category/physical/qm/wf/enum_options.yml +43 -0
- package/schema/methods_category/physical/qm/wf/psp.json +18 -0
- package/schema/methods_category/physical/qm/wf/pw.json +15 -0
- package/schema/methods_category/physical/qm/wf/smearing.json +19 -0
- package/schema/methods_category/physical/qm/wf/tetrahedron.json +18 -0
- package/schema/methods_category/physical/qm/wf.json +15 -0
- package/schema/methods_category/physical/qm.json +15 -0
- package/schema/methods_directory/legacy/localorbital.json +22 -0
- package/schema/methods_directory/legacy/pseudopotential.json +25 -0
- package/schema/methods_directory/legacy/regression.json +34 -0
- package/schema/methods_directory/legacy/unknown.json +22 -0
- package/schema/methods_directory/mathematical/cg.json +17 -0
- package/schema/methods_directory/mathematical/davidson.json +17 -0
- package/schema/methods_directory/mathematical/regression/data.json +24 -0
- package/schema/methods_directory/mathematical/regression/dataset.json +21 -0
- package/schema/methods_directory/mathematical/regression/kernel_ridge/data_per_property.json +27 -0
- package/schema/methods_directory/mathematical/regression/linear/data_per_property.json +22 -0
- package/schema/methods_directory/mathematical/regression/per_feature_item.json +22 -0
- package/schema/methods_directory/mathematical/regression/precision.json +14 -0
- package/schema/methods_directory/mathematical/regression/precision_per_property.json +23 -0
- package/schema/methods_directory/mathematical/regression.json +26 -0
- package/schema/methods_directory/physical/ao/dunning.json +33 -0
- package/schema/methods_directory/physical/ao/enum_options.json +28 -0
- package/schema/methods_directory/physical/ao/enum_options.yml +19 -0
- package/schema/methods_directory/physical/ao/other.json +33 -0
- package/schema/methods_directory/physical/ao/pople.json +33 -0
- package/schema/methods_directory/physical/psp/file.json +26 -0
- package/schema/methods_directory/physical/psp/file_data_item.json +80 -0
- package/schema/methods_directory/physical/psp.json +24 -0
- package/schema/methods_directory/physical/pw.json +17 -0
- package/schema/methods_directory/physical/smearing.json +17 -0
- package/schema/methods_directory/physical/tetrahedron.json +16 -0
- package/schema/model/categorized_model.json +18 -0
- package/schema/model/mixins/dft/double_hybrid_functional.json +12 -0
- package/schema/model/mixins/dft/enum_options.json +30 -0
- package/schema/model/mixins/dft/enum_options.yml +13 -0
- package/schema/model/mixins/dft/gga_functional.json +12 -0
- package/schema/model/mixins/dft/hybrid_functional.json +12 -0
- package/schema/model/mixins/dft/lda_functional.json +12 -0
- package/schema/model/mixins/dft/mgga_functional.json +12 -0
- package/schema/model/mixins/dispersion_correction.json +12 -0
- package/schema/model/mixins/enum_options.json +22 -0
- package/schema/model/mixins/enum_options.yml +10 -0
- package/schema/model/mixins/hubbard.json +12 -0
- package/schema/model/mixins/spin_orbit_coupling.json +11 -0
- package/schema/model/mixins/spin_polarization.json +12 -0
- package/schema/model/model_parameters.json +38 -0
- package/schema/model/model_without_method.json +30 -0
- package/schema/model.json +24 -0
- package/schema/models_category/enum_options.json +13 -0
- package/schema/models_category/enum_options.yml +5 -0
- package/schema/models_category/pb/enum_options.json +8 -0
- package/schema/models_category/pb/enum_options.yml +3 -0
- package/schema/models_category/pb/qm/abin/enum_options.json +15 -0
- package/schema/models_category/pb/qm/abin/enum_options.yml +10 -0
- package/schema/models_category/pb/qm/abin/gw.json +18 -0
- package/schema/models_category/pb/qm/abin.json +15 -0
- package/schema/models_category/pb/qm/dft/enum_options.json +8 -0
- package/schema/models_category/pb/qm/dft/enum_options.yml +3 -0
- package/schema/models_category/pb/qm/dft/ksdft/double_hybrid.json +15 -0
- package/schema/models_category/pb/qm/dft/ksdft/enum_options.json +28 -0
- package/schema/models_category/pb/qm/dft/ksdft/enum_options.yml +11 -0
- package/schema/models_category/pb/qm/dft/ksdft/gga.json +15 -0
- package/schema/models_category/pb/qm/dft/ksdft/hybrid.json +15 -0
- package/schema/models_category/pb/qm/dft/ksdft/lda.json +15 -0
- package/schema/models_category/pb/qm/dft/ksdft/mgga.json +15 -0
- package/schema/models_category/pb/qm/dft/ksdft.json +15 -0
- package/schema/models_category/pb/qm/dft.json +15 -0
- package/schema/models_category/pb/qm/enum_options.json +18 -0
- package/schema/models_category/pb/qm/enum_options.yml +7 -0
- package/schema/models_category/pb/qm/semp.json +15 -0
- package/schema/models_category/pb/qm.json +15 -0
- package/schema/models_category/pb.json +15 -0
- package/schema/models_category/st/det/enum_options.json +8 -0
- package/schema/models_category/st/det/enum_options.yml +3 -0
- package/schema/models_category/st/det/ml/enum_options.json +8 -0
- package/schema/models_category/st/det/ml/enum_options.yml +3 -0
- package/schema/models_category/st/det/ml/re.json +15 -0
- package/schema/models_category/st/det/ml.json +15 -0
- package/schema/models_category/st/det.json +15 -0
- package/schema/models_category/st/enum_options.json +8 -0
- package/schema/models_category/st/enum_options.yml +3 -0
- package/schema/models_category/st.json +15 -0
- package/schema/models_directory/double_hybrid.json +39 -0
- package/schema/models_directory/gga.json +42 -0
- package/schema/models_directory/gw.json +54 -0
- package/schema/models_directory/hybrid.json +42 -0
- package/schema/models_directory/lda.json +42 -0
- package/schema/models_directory/legacy/dft.json +81 -0
- package/schema/models_directory/legacy/ml.json +22 -0
- package/schema/models_directory/legacy/unknown.json +22 -0
- package/schema/models_directory/mgga.json +42 -0
- package/schema/models_directory/re.json +23 -0
- package/schema/project.json +40 -0
- package/schema/properties_directory/derived_properties.json +31 -0
- package/schema/properties_directory/electronic_configuration.json +16 -0
- package/schema/properties_directory/elemental/atomic_radius.json +21 -0
- package/schema/properties_directory/elemental/electronegativity.json +18 -0
- package/schema/properties_directory/elemental/ionization_potential.json +21 -0
- package/schema/properties_directory/non-scalar/average_potential_profile.json +41 -0
- package/schema/properties_directory/non-scalar/band_gaps.json +51 -0
- package/schema/properties_directory/non-scalar/band_structure.json +52 -0
- package/schema/properties_directory/non-scalar/charge_density_profile.json +38 -0
- package/schema/properties_directory/non-scalar/density_of_states.json +70 -0
- package/schema/properties_directory/non-scalar/dielectric_tensor.json +22 -0
- package/schema/properties_directory/non-scalar/file_content.json +34 -0
- package/schema/properties_directory/non-scalar/hubbard_u.json +32 -0
- package/schema/properties_directory/non-scalar/hubbard_v.json +33 -0
- package/schema/properties_directory/non-scalar/hubbard_v_nn.json +11 -0
- package/schema/properties_directory/non-scalar/phonon_dispersions.json +41 -0
- package/schema/properties_directory/non-scalar/phonon_dos.json +42 -0
- package/schema/properties_directory/non-scalar/potential_profile.json +38 -0
- package/schema/properties_directory/non-scalar/reaction_energy_profile.json +38 -0
- package/schema/properties_directory/non-scalar/stress_tensor.json +18 -0
- package/schema/properties_directory/non-scalar/total_energy_contributions.json +211 -0
- package/schema/properties_directory/non-scalar/vibrational_spectrum.json +45 -0
- package/schema/properties_directory/scalar/electron_affinity.json +17 -0
- package/schema/properties_directory/scalar/fermi_energy.json +17 -0
- package/schema/properties_directory/scalar/formation_energy.json +17 -0
- package/schema/properties_directory/scalar/ionization_potential.json +17 -0
- package/schema/properties_directory/scalar/pressure.json +21 -0
- package/schema/properties_directory/scalar/reaction_energy_barrier.json +17 -0
- package/schema/properties_directory/scalar/surface_energy.json +17 -0
- package/schema/properties_directory/scalar/total_energy.json +17 -0
- package/schema/properties_directory/scalar/total_force.json +20 -0
- package/schema/properties_directory/scalar/valence_band_offset.json +17 -0
- package/schema/properties_directory/scalar/zero_point_energy.json +17 -0
- package/schema/properties_directory/structural/atomic_forces.json +19 -0
- package/schema/properties_directory/structural/basis/atomic_constraints.json +16 -0
- package/schema/properties_directory/structural/basis/atomic_coordinate.json +14 -0
- package/schema/properties_directory/structural/basis/atomic_coordinates.json +21 -0
- package/schema/properties_directory/structural/basis/atomic_element.json +25 -0
- package/schema/properties_directory/structural/basis/bonds.json +35 -0
- package/schema/properties_directory/structural/basis.json +33 -0
- package/schema/properties_directory/structural/density.json +22 -0
- package/schema/properties_directory/structural/elemental_ratio.json +27 -0
- package/schema/properties_directory/structural/inchi.json +17 -0
- package/schema/properties_directory/structural/inchi_key.json +17 -0
- package/schema/properties_directory/structural/lattice/lattice_bravais.json +38 -0
- package/schema/properties_directory/structural/lattice/lattice_vectors.json +20 -0
- package/schema/properties_directory/structural/lattice/type_enum.json +23 -0
- package/schema/properties_directory/structural/lattice/type_extended_enum.json +32 -0
- package/schema/properties_directory/structural/lattice.json +25 -0
- package/schema/properties_directory/structural/magnetic_moments.json +19 -0
- package/schema/properties_directory/structural/molecular_pattern.json +19 -0
- package/schema/properties_directory/structural/p-norm.json +22 -0
- package/schema/properties_directory/structural/patterns/functional_group.json +32 -0
- package/schema/properties_directory/structural/patterns/ring.json +31 -0
- package/schema/properties_directory/structural/patterns/special_bond.json +29 -0
- package/schema/properties_directory/structural/symmetry.json +35 -0
- package/schema/properties_directory/structural/volume.json +22 -0
- package/schema/properties_directory/workflow/convergence/electronic.json +31 -0
- package/schema/properties_directory/workflow/convergence/ionic.json +60 -0
- package/schema/properties_directory/workflow/convergence/kpoint.json +46 -0
- package/schema/property/base.json +57 -0
- package/schema/property/meta.json +10 -0
- package/schema/property/raw.json +57 -0
- package/schema/property/source.json +26 -0
- package/schema/software/application.json +40 -0
- package/schema/software/executable.json +32 -0
- package/schema/software/flavor.json +40 -0
- package/schema/software/template.json +33 -0
- package/schema/software_directory/ml/exabyteml.json +23 -0
- package/schema/software_directory/ml/unit/execution/evaluate/cross-validate.json +25 -0
- package/schema/software_directory/ml/unit/execution/initialize.json +29 -0
- package/schema/software_directory/ml/unit/execution/score.json +13 -0
- package/schema/software_directory/ml/unit/execution/train.json +38 -0
- package/schema/software_directory/ml/unit/execution.json +17 -0
- package/schema/software_directory/ml/unit/processing/data_transformation/manipulation.json +50 -0
- package/schema/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.json +70 -0
- package/schema/software_directory/ml/unit/processing/data_transformation.json +8 -0
- package/schema/software_directory/ml/unit/processing/feature_selection/filter_based.json +45 -0
- package/schema/software_directory/ml/unit/processing/feature_selection.json +8 -0
- package/schema/software_directory/ml/unit/processing.json +11 -0
- package/schema/software_directory/modeling/espresso/arguments.json +44 -0
- package/schema/software_directory/modeling/espresso.json +26 -0
- package/schema/software_directory/modeling/nwchem.json +34 -0
- package/schema/software_directory/modeling/unit/execution.json +14 -0
- package/schema/software_directory/modeling/vasp.json +40 -0
- package/schema/software_directory/scripting/jupyter-lab.json +38 -0
- package/schema/software_directory/scripting/python.json +52 -0
- package/schema/software_directory/scripting/shell.json +52 -0
- package/schema/software_directory/scripting/unit/execution.json +14 -0
- package/schema/system/_material.json +19 -0
- package/schema/system/_parent_job.json +19 -0
- package/schema/system/_project.json +19 -0
- package/schema/system/bankable.json +15 -0
- package/schema/system/consistency_check.json +39 -0
- package/schema/system/creator.json +19 -0
- package/schema/system/creator_account.json +10 -0
- package/schema/system/database_source.json +40 -0
- package/schema/system/defaultable.json +12 -0
- package/schema/system/description.json +14 -0
- package/schema/system/entity_reference.json +19 -0
- package/schema/system/file_source.json +30 -0
- package/schema/system/history.json +25 -0
- package/schema/system/in_set.json +28 -0
- package/schema/system/is_multi_material.json +10 -0
- package/schema/system/is_outdated.json +10 -0
- package/schema/system/job_extended.json +39 -0
- package/schema/system/message.json +67 -0
- package/schema/system/metadata.json +10 -0
- package/schema/system/name.json +11 -0
- package/schema/system/owner.json +19 -0
- package/schema/system/path.json +11 -0
- package/schema/system/path_entity.json +13 -0
- package/schema/system/schema_version.json +12 -0
- package/schema/system/scope.json +10 -0
- package/schema/system/set.json +16 -0
- package/schema/system/sharing.json +10 -0
- package/schema/system/soft_removable.json +15 -0
- package/schema/system/status.json +31 -0
- package/schema/system/tags.json +14 -0
- package/schema/system/timestampable.json +37 -0
- package/schema/system/use_values.json +10 -0
- package/schema/workflow/base.json +39 -0
- package/schema/workflow/base_flow.json +39 -0
- package/schema/workflow/scope.json +20 -0
- package/schema/workflow/subworkflow.json +37 -0
- package/schema/workflow/unit/assertion.json +28 -0
- package/schema/workflow/unit/assignment.json +37 -0
- package/schema/workflow/unit/condition.json +51 -0
- package/schema/workflow/unit/execution.json +40 -0
- package/schema/workflow/unit/input/_input.json +22 -0
- package/schema/workflow/unit/input/_inputItem.json +20 -0
- package/schema/workflow/unit/input/_inputItemId.json +21 -0
- package/schema/workflow/unit/input/_inputItemScope.json +20 -0
- package/schema/workflow/unit/io/api.json +24 -0
- package/schema/workflow/unit/io/db.json +39 -0
- package/schema/workflow/unit/io/object_storage.json +25 -0
- package/schema/workflow/unit/io.json +53 -0
- package/schema/workflow/unit/map.json +67 -0
- package/schema/workflow/unit/processing.json +34 -0
- package/schema/workflow/unit/reduce.json +50 -0
- package/schema/workflow/unit/runtime/_runtime_item_full_object.json +15 -0
- package/schema/workflow/unit/runtime/_runtime_item_name_object.json +15 -0
- package/schema/workflow/unit/runtime/_runtime_item_string.json +7 -0
- package/schema/workflow/unit/runtime/runtime_item.json +13 -0
- package/schema/workflow/unit/runtime/runtime_items.json +36 -0
- package/schema/workflow/unit.json +65 -0
- package/schema/workflow.json +63 -0
- package/src/__init__.py +0 -0
- package/src/js/esse/index.js +47 -0
- package/src/js/esse/schemaUtils.js +45 -0
- package/src/js/esse/settings.js +4 -0
- package/src/js/esse/utils.js +52 -0
- package/src/js/json_include/index.js +71 -0
- package/src/js/json_include/settings.js +3 -0
- package/src/js/json_include/utils.js +11 -0
- package/src/js/scripts/createEnumsFromYaml.mjs +43 -0
- package/src/js/scripts/setSchemaIds.mjs +34 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "definitions/units",
|
|
3
|
+
"length": {
|
|
4
|
+
"enum": [
|
|
5
|
+
"km",
|
|
6
|
+
"m",
|
|
7
|
+
"pm",
|
|
8
|
+
"nm",
|
|
9
|
+
"angstrom",
|
|
10
|
+
"a.u.",
|
|
11
|
+
"bohr",
|
|
12
|
+
"fractional",
|
|
13
|
+
"crystal",
|
|
14
|
+
"cartesian",
|
|
15
|
+
"alat"
|
|
16
|
+
]
|
|
17
|
+
},
|
|
18
|
+
"energy": {
|
|
19
|
+
"enum": [
|
|
20
|
+
"kJ/mol",
|
|
21
|
+
"eV",
|
|
22
|
+
"J/mol",
|
|
23
|
+
"hartree",
|
|
24
|
+
"cm-1",
|
|
25
|
+
"rydberg",
|
|
26
|
+
"eV/atom"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"surface_energy": {
|
|
30
|
+
"enum": [
|
|
31
|
+
"eV/A^2"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"force": {
|
|
35
|
+
"enum": [
|
|
36
|
+
"eV/bohr",
|
|
37
|
+
"eV/angstrom",
|
|
38
|
+
"rydberg/a.u.",
|
|
39
|
+
"newton",
|
|
40
|
+
"kg*m/s^2",
|
|
41
|
+
"eV/a.u."
|
|
42
|
+
]
|
|
43
|
+
},
|
|
44
|
+
"volume": {
|
|
45
|
+
"enum": [
|
|
46
|
+
"cm^3",
|
|
47
|
+
"angstrom^3"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"numberDensity": {
|
|
51
|
+
"enum": [
|
|
52
|
+
"1/angstrom^3"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"density": {
|
|
56
|
+
"enum": [
|
|
57
|
+
"g/cm^3"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"frequency": {
|
|
61
|
+
"enum": [
|
|
62
|
+
"cm-1",
|
|
63
|
+
"THz",
|
|
64
|
+
"meV"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"pressure": {
|
|
68
|
+
"enum": [
|
|
69
|
+
"kbar",
|
|
70
|
+
"pa"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"phononDOS": {
|
|
74
|
+
"enum": [
|
|
75
|
+
"states/cm-1",
|
|
76
|
+
"states/THz",
|
|
77
|
+
"states/meV"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"electronicDOS": {
|
|
81
|
+
"enum": [
|
|
82
|
+
"states/unitcell"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"magnetic": {
|
|
86
|
+
"enum": [
|
|
87
|
+
"uB"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"chargeDensity": {
|
|
91
|
+
"enum": [
|
|
92
|
+
"e/A"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"spectralIntensity": {
|
|
96
|
+
"enum": [
|
|
97
|
+
"(debye/angstrom)^2",
|
|
98
|
+
"km/mol",
|
|
99
|
+
"m/mol",
|
|
100
|
+
"a.u."
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "element",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "element schema",
|
|
5
|
+
"properties": {
|
|
6
|
+
"symbol": {
|
|
7
|
+
"description": "Element symbol.",
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"properties": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"description": "list of elemental properties",
|
|
13
|
+
"items": {
|
|
14
|
+
"anyOf": [
|
|
15
|
+
{
|
|
16
|
+
"$ref": "properties_directory/elemental/atomic_radius.json"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"$ref": "properties_directory/elemental/electronegativity.json"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"$ref": "properties_directory/elemental/ionization_potential.json"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "in-memory-entity/base",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "Base in-memory entity schema",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"description": "entity schema version",
|
|
8
|
+
"$ref": "../system/schema_version.json"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"_id": {
|
|
13
|
+
"description": "entity identity",
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"slug": {
|
|
17
|
+
"description": "entity slug",
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"systemName": {
|
|
21
|
+
"type": "string"
|
|
22
|
+
},
|
|
23
|
+
"consistencyChecks": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": {
|
|
26
|
+
"$ref": "../system/consistency_check.json"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "in-memory-entity/named-defaultable",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "Named defaultable in-memory entity schema",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "base.json"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"$ref": "../system/name.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"$ref": "../system/defaultable.json"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "in-memory-entity/named-defaultable-has-metadata",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "Named defaultable has metadata in-memory entity schema",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "base.json"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"$ref": "../system/name.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"$ref": "../system/defaultable.json"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"$ref": "../system/metadata.json"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "in-memory-entity/named-defaultable-runtime-items",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "Named defaultable runtime items in-memory entity schema",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "base.json"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"$ref": "../system/name.json"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"$ref": "../system/defaultable.json"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"$ref": "../workflow/unit/runtime/runtime_items.json"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "job/base",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "base job schema",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"description": "in-memory entity",
|
|
8
|
+
"$ref": "../in_memory_entity/named_defaultable_has_metadata.json"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"rmsId": {
|
|
13
|
+
"description": "Identity used to track jobs originated from command-line",
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"status": {
|
|
17
|
+
"description": "job status",
|
|
18
|
+
"enum": [
|
|
19
|
+
"pre-submission",
|
|
20
|
+
"queued",
|
|
21
|
+
"submitted",
|
|
22
|
+
"active",
|
|
23
|
+
"finished",
|
|
24
|
+
"terminate-queued",
|
|
25
|
+
"terminated",
|
|
26
|
+
"error",
|
|
27
|
+
"deleted",
|
|
28
|
+
"timeout"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"startTime": {
|
|
32
|
+
"description": "Approximate start time of the job. e.g. within 10 min",
|
|
33
|
+
"type": "string"
|
|
34
|
+
},
|
|
35
|
+
"workDir": {
|
|
36
|
+
"description": "The path to the working directory of this job, when the job originates from command-line",
|
|
37
|
+
"type": "string"
|
|
38
|
+
},
|
|
39
|
+
"compute": {
|
|
40
|
+
"description": "Job's compute parameters",
|
|
41
|
+
"$ref": "./compute.json"
|
|
42
|
+
},
|
|
43
|
+
"_project": {
|
|
44
|
+
"description": "Subset of the full information about the project that this job belongs to.",
|
|
45
|
+
"$ref": "../system/entity_reference.json"
|
|
46
|
+
},
|
|
47
|
+
"_material": {
|
|
48
|
+
"description": "Subset of the full information about the materials used inside this job.",
|
|
49
|
+
"$ref": "../system/entity_reference.json"
|
|
50
|
+
},
|
|
51
|
+
"parent": {
|
|
52
|
+
"description": "Subset of the full information about the parent job for the job. Only a job from the same project can be assigned as a parent one.",
|
|
53
|
+
"$ref": "../system/entity_reference.json"
|
|
54
|
+
},
|
|
55
|
+
"runtimeContext": {
|
|
56
|
+
"description": "Context variables that the job will have access to at runtime",
|
|
57
|
+
"type": "object"
|
|
58
|
+
},
|
|
59
|
+
"scopeTrack": {
|
|
60
|
+
"description": "history of the workflow scope on each update",
|
|
61
|
+
"type": "array",
|
|
62
|
+
"items": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"repetition": {
|
|
66
|
+
"type": "number"
|
|
67
|
+
},
|
|
68
|
+
"scope": {
|
|
69
|
+
"$ref": "../workflow/scope.json"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": [
|
|
76
|
+
"status",
|
|
77
|
+
"compute",
|
|
78
|
+
"_project"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "job/compute",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "compute arguments schema",
|
|
5
|
+
"description": "Custom keywords prefixed with validate correspond to custom validation methods implemented downstream",
|
|
6
|
+
"properties": {
|
|
7
|
+
"queue": {
|
|
8
|
+
"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.",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"enum": [
|
|
11
|
+
"D",
|
|
12
|
+
"OR",
|
|
13
|
+
"OF",
|
|
14
|
+
"OFplus",
|
|
15
|
+
"SR",
|
|
16
|
+
"SF",
|
|
17
|
+
"SFplus",
|
|
18
|
+
"GPOF",
|
|
19
|
+
"GP2OF",
|
|
20
|
+
"GP4OF",
|
|
21
|
+
"GPSF",
|
|
22
|
+
"GP2SF",
|
|
23
|
+
"GP4SF",
|
|
24
|
+
"OR4",
|
|
25
|
+
"OR8",
|
|
26
|
+
"OR16",
|
|
27
|
+
"SR4",
|
|
28
|
+
"SR8",
|
|
29
|
+
"SR16",
|
|
30
|
+
"GOF",
|
|
31
|
+
"G4OF",
|
|
32
|
+
"G8OF",
|
|
33
|
+
"GSF",
|
|
34
|
+
"G4SF",
|
|
35
|
+
"G8SF"
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
"nodes": {
|
|
39
|
+
"description": "number of nodes used for the job inside the RMS.",
|
|
40
|
+
"type": "integer",
|
|
41
|
+
"validateNodes": {}
|
|
42
|
+
},
|
|
43
|
+
"ppn": {
|
|
44
|
+
"description": "number of CPUs used for the job inside the RMS.",
|
|
45
|
+
"type": "integer",
|
|
46
|
+
"validatePpn": {}
|
|
47
|
+
},
|
|
48
|
+
"timeLimit": {
|
|
49
|
+
"description": "Wallclock time limit for computing a job. Clock format: 'hh:mm:ss'",
|
|
50
|
+
"type": "string",
|
|
51
|
+
"validateTimeLimit": {}
|
|
52
|
+
},
|
|
53
|
+
"timeLimitType": {
|
|
54
|
+
"description": "Convention to use when reasoning about time limits",
|
|
55
|
+
"type": "string",
|
|
56
|
+
"default": "per single attempt",
|
|
57
|
+
"enum": [
|
|
58
|
+
"per single attempt",
|
|
59
|
+
"compound"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"isRestartable": {
|
|
63
|
+
"description": "Job is allowed to restart on termination.",
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"default": true
|
|
66
|
+
},
|
|
67
|
+
"notify": {
|
|
68
|
+
"description": "Email notification for the job: n - never, a - job aborted, b - job begins, e - job ends. Last three could be combined.",
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"email": {
|
|
72
|
+
"description": "Email address to notify about job execution.",
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"maxCPU": {
|
|
76
|
+
"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.",
|
|
77
|
+
"type": "integer"
|
|
78
|
+
},
|
|
79
|
+
"arguments": {
|
|
80
|
+
"description": "Optional arguments specific to using application - VASP, Quantum Espresso, etc. Specified elsewhere",
|
|
81
|
+
"type": "object",
|
|
82
|
+
"default": {},
|
|
83
|
+
"oneOf": [
|
|
84
|
+
{
|
|
85
|
+
"$ref": "../software_directory/modeling/espresso/arguments.json"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"cluster": {
|
|
90
|
+
"description": "Cluster where the job is executed. Optional on create. Required on job submission.",
|
|
91
|
+
"type": "object",
|
|
92
|
+
"properties": {
|
|
93
|
+
"fqdn": {
|
|
94
|
+
"description": "FQDN of the cluster. e.g. master-1-staging.exabyte.io",
|
|
95
|
+
"type": "string"
|
|
96
|
+
},
|
|
97
|
+
"jid": {
|
|
98
|
+
"description": "Job's identity in RMS. e.g. 1234.master-1-staging.exabyte.io",
|
|
99
|
+
"type": "string"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"errors": {
|
|
104
|
+
"description": "Computation error. Optional. Appears only if something happens on jobs execution.",
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "object",
|
|
108
|
+
"properties": {
|
|
109
|
+
"domain": {
|
|
110
|
+
"description": "Domain of the error appearance (internal).",
|
|
111
|
+
"type": "string",
|
|
112
|
+
"enum": [
|
|
113
|
+
"rupy",
|
|
114
|
+
"alfred",
|
|
115
|
+
"celim",
|
|
116
|
+
"webapp"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"reason": {
|
|
120
|
+
"description": "Should be a short, unique, machine-readable error code string. e.g. FileNotFound",
|
|
121
|
+
"type": "string"
|
|
122
|
+
},
|
|
123
|
+
"message": {
|
|
124
|
+
"description": "Human-readable error message. e.g. 'File Not Found: /home/demo/data/project1/job-123/job-config.json'",
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
"traceback": {
|
|
128
|
+
"description": "Full machine-readable error traceback. e.g. FileNotFound",
|
|
129
|
+
"type": "string"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
"excludeFilesPattern": {
|
|
135
|
+
"description": "A Python compatible regex to exclude files from upload. e.g. ^.*.txt& excludes all files with .txt suffix",
|
|
136
|
+
"type": "string"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"required": [
|
|
140
|
+
"queue",
|
|
141
|
+
"nodes",
|
|
142
|
+
"ppn",
|
|
143
|
+
"timeLimit"
|
|
144
|
+
]
|
|
145
|
+
}
|
package/schema/job.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "job",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "job schema",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "job/base.json"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"properties": {
|
|
11
|
+
"workflow": {
|
|
12
|
+
"description": "Arch-workflow for the job",
|
|
13
|
+
"$ref": "workflow.json"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"workflow"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "material",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "material schema",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"description": "in-memory entity",
|
|
8
|
+
"$ref": "in_memory_entity/named_defaultable_has_metadata.json"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"formula": {
|
|
13
|
+
"description": "reduced chemical formula",
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"unitCellFormula": {
|
|
17
|
+
"description": "chemical formula based on the number of atoms of each element in the supercell",
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"basis": {
|
|
21
|
+
"description": "object containing an array of elements and coordinates in the supercell",
|
|
22
|
+
"$ref": "properties_directory/structural/basis.json"
|
|
23
|
+
},
|
|
24
|
+
"lattice": {
|
|
25
|
+
"description": "object defining the lattice cell size and shape",
|
|
26
|
+
"$ref": "properties_directory/structural/lattice.json"
|
|
27
|
+
},
|
|
28
|
+
"derivedProperties": {
|
|
29
|
+
"description": "object defining the lattice cell size and shape",
|
|
30
|
+
"$ref": "properties_directory/derived_properties.json"
|
|
31
|
+
},
|
|
32
|
+
"external": {
|
|
33
|
+
"description": "information about external sources of this material",
|
|
34
|
+
"$ref": "system/database_source.json"
|
|
35
|
+
},
|
|
36
|
+
"src": {
|
|
37
|
+
"description": "File information if material was exported from POSCAR, XYZ or UPF file.",
|
|
38
|
+
"$ref": "system/file_source.json"
|
|
39
|
+
},
|
|
40
|
+
"scaledHash": {
|
|
41
|
+
"description": "Hash string for a scaled structure with lattice vector a set to 1 (eg. for materials under pressure).",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"icsdId": {
|
|
45
|
+
"description": "Corresponding ICSD id of the material",
|
|
46
|
+
"type": "integer"
|
|
47
|
+
},
|
|
48
|
+
"isNonPeriodic": {
|
|
49
|
+
"description": "Whether to work in the finite molecular picture (usually with atomic orbital basis)",
|
|
50
|
+
"type": "boolean"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"required": [
|
|
54
|
+
"basis",
|
|
55
|
+
"lattice"
|
|
56
|
+
]
|
|
57
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "method/categorized-method",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "categorized method",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "../system/path_entity.json"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"$ref": "../system/tags.json"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"units": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": {
|
|
17
|
+
"$ref": "./unit_method.json"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"units"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "method/method-parameters",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "MethodParameters",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"oneOf": [
|
|
8
|
+
{
|
|
9
|
+
"$ref": "../methods_directory/physical/ao/dunning.json#/definitions/ao-basis-dunning"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"$ref": "../methods_directory/physical/ao/pople.json#/definitions/ao-basis-pople"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"$ref": "../methods_directory/physical/ao/other.json#/definitions/ao-basis-other"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "method/unit-method",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "categorized unit method",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "../system/path_entity.json"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"$ref": "../system/tags.json"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"properties": {
|
|
14
|
+
"categories": {
|
|
15
|
+
"description": "Method categories",
|
|
16
|
+
"$ref": "../core/reusable/categories.json"
|
|
17
|
+
},
|
|
18
|
+
"parameters": {
|
|
19
|
+
"description": "Instructive parameters defining the method",
|
|
20
|
+
"type": "object"
|
|
21
|
+
},
|
|
22
|
+
"precision": {
|
|
23
|
+
"description": "Object showing the actual possible precision based on theory and implementation",
|
|
24
|
+
"type": "object"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "method",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
4
|
+
"title": "base method",
|
|
5
|
+
"properties": {
|
|
6
|
+
"type": {
|
|
7
|
+
"description": "general type of this method, eg. `pseudopotential`",
|
|
8
|
+
"type": "string"
|
|
9
|
+
},
|
|
10
|
+
"subtype": {
|
|
11
|
+
"description": "general subtype of this method, eg. `ultra-soft`",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"precision": {
|
|
15
|
+
"description": "Object showing the actual possible precision based on theory and implementation",
|
|
16
|
+
"type": "object"
|
|
17
|
+
},
|
|
18
|
+
"data": {
|
|
19
|
+
"description": "additional data specific to method, eg. array of pseudopotentials",
|
|
20
|
+
"type": "object"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"type",
|
|
25
|
+
"subtype"
|
|
26
|
+
]
|
|
27
|
+
}
|