@mat3ra/esse 2024.3.22-0 → 2024.3.25-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{build_schemas.js → build_schemas.ts} +3 -2
- package/dist/js/utils/ajv.js +4 -0
- package/package.json +26 -29
- package/schema/system/timestampable.json +2 -16
- package/src/js/utils/ajv.ts +5 -1
- package/tsconfig-transpile.json +3 -0
- package/tsconfig.json +1 -5
- package/dist/js/example/3pse/db/nist_jarvis/2024.3.13/db_entry.json +0 -91
- package/dist/js/example/3pse/file/applications/espresso/7.2/pw.x.json +0 -94
- package/dist/js/example/core/abstract/2d_data.json +0 -19
- package/dist/js/example/core/abstract/2d_plot.json +0 -26
- package/dist/js/example/core/abstract/3d_grid.json +0 -12
- package/dist/js/example/core/abstract/3d_tensor.json +0 -17
- package/dist/js/example/core/abstract/3d_vector_basis.json +0 -17
- package/dist/js/example/core/abstract/point.json +0 -5
- package/dist/js/example/core/abstract/vector.json +0 -5
- package/dist/js/example/core/primitive/1d_data_series.json +0 -12
- package/dist/js/example/core/primitive/3d_lattice.json +0 -8
- package/dist/js/example/core/primitive/array_of_3_booleans.json +0 -5
- package/dist/js/example/core/primitive/array_of_3_numbers.json +0 -5
- package/dist/js/example/core/primitive/array_of_ids.json +0 -8
- package/dist/js/example/core/primitive/axis.json +0 -4
- package/dist/js/example/core/primitive/scalar.json +0 -3
- package/dist/js/example/core/primitive/string.json +0 -3
- package/dist/js/example/core/reference/experiment/condition.json +0 -12
- package/dist/js/example/core/reference/experiment/location.json +0 -4
- package/dist/js/example/core/reference/experiment.json +0 -38
- package/dist/js/example/core/reference/literature/name.json +0 -5
- package/dist/js/example/core/reference/literature/pages.json +0 -4
- package/dist/js/example/core/reference/literature.json +0 -10
- package/dist/js/example/core/reference/modeling/exabyte.json +0 -9
- package/dist/js/example/core/reference/modeling.json +0 -9
- package/dist/js/example/core/reference.json +0 -9
- package/dist/js/example/core/reusable/atomic_vectors.json +0 -18
- package/dist/js/example/core/reusable/band_gap.json +0 -16
- package/dist/js/example/core/reusable/energy.json +0 -5
- package/dist/js/example/core/reusable/file_metadata.json +0 -5
- package/dist/js/example/core/reusable/object_storage_container_data.json +0 -8
- package/dist/js/example/element.json +0 -17
- package/dist/js/example/job/compute.json +0 -26
- package/dist/js/example/job.json +0 -183
- package/dist/js/example/material.json +0 -128
- package/dist/js/example/method/categorized_method.json +0 -47
- package/dist/js/example/method/method_parameters.json +0 -3
- package/dist/js/example/method.json +0 -7
- package/dist/js/example/methods_directory/legacy/localorbital.json +0 -4
- package/dist/js/example/methods_directory/legacy/pseudopotential.json +0 -4
- package/dist/js/example/methods_directory/legacy/regression.json +0 -61
- package/dist/js/example/methods_directory/legacy/unknown.json +0 -4
- package/dist/js/example/methods_directory/mathematical/cg.json +0 -10
- package/dist/js/example/methods_directory/mathematical/regression.json +0 -65
- package/dist/js/example/methods_directory/physical/ao/dunning.json +0 -13
- package/dist/js/example/methods_directory/physical/psp/file.json +0 -54
- package/dist/js/example/methods_directory/physical/psp.json +0 -67
- package/dist/js/example/methods_directory/physical/pw.json +0 -9
- package/dist/js/example/methods_directory/physical/smearing.json +0 -10
- package/dist/js/example/methods_directory/physical/tetrahedron.json +0 -10
- package/dist/js/example/model/categorized_model.json +0 -77
- package/dist/js/example/model/model_parameters.json +0 -7
- package/dist/js/example/model.json +0 -11
- package/dist/js/example/models_category/pb/qm/abin/gw.json +0 -7
- package/dist/js/example/models_category/pb/qm/dft/ksdft.json +0 -6
- package/dist/js/example/models_category/pb/qm/semp.json +0 -5
- package/dist/js/example/models_directory/gga.json +0 -15
- package/dist/js/example/models_directory/gw.json +0 -15
- package/dist/js/example/models_directory/hybrid.json +0 -15
- package/dist/js/example/models_directory/lda.json +0 -15
- package/dist/js/example/models_directory/legacy/dft.json +0 -12
- package/dist/js/example/models_directory/legacy/ml.json +0 -11
- package/dist/js/example/models_directory/legacy/unknown.json +0 -11
- package/dist/js/example/models_directory/re.json +0 -10
- package/dist/js/example/project.json +0 -25
- package/dist/js/example/properties_directory/electronic_configuration.json +0 -4
- package/dist/js/example/properties_directory/elemental/atomic_radius.json +0 -4
- package/dist/js/example/properties_directory/elemental/electronegativity.json +0 -4
- package/dist/js/example/properties_directory/elemental/ionization_potential.json +0 -4
- package/dist/js/example/properties_directory/non_scalar/band_gaps.json +0 -25
- package/dist/js/example/properties_directory/non_scalar/band_structure.json +0 -47
- package/dist/js/example/properties_directory/non_scalar/charge_density_profile.json +0 -22
- package/dist/js/example/properties_directory/non_scalar/density_of_states.json +0 -55
- package/dist/js/example/properties_directory/non_scalar/dielectric_tensor.json +0 -133
- package/dist/js/example/properties_directory/non_scalar/file_content.json +0 -13
- package/dist/js/example/properties_directory/non_scalar/hubbard_u.json +0 -24
- package/dist/js/example/properties_directory/non_scalar/hubbard_v.json +0 -22
- package/dist/js/example/properties_directory/non_scalar/hubbard_v_nn.json +0 -24
- package/dist/js/example/properties_directory/non_scalar/phonon_dispersions.json +0 -41
- package/dist/js/example/properties_directory/non_scalar/phonon_dos.json +0 -37
- package/dist/js/example/properties_directory/non_scalar/potential_profile.json +0 -32
- package/dist/js/example/properties_directory/non_scalar/reaction_energy_profile.json +0 -30
- package/dist/js/example/properties_directory/non_scalar/stress_tensor.json +0 -21
- package/dist/js/example/properties_directory/non_scalar/total_energy_contributions.json +0 -44
- package/dist/js/example/properties_directory/non_scalar/vibrational_spectrum.json +0 -25
- package/dist/js/example/properties_directory/scalar/electron_affinity.json +0 -5
- package/dist/js/example/properties_directory/scalar/fermi_energy.json +0 -5
- package/dist/js/example/properties_directory/scalar/formation_energy.json +0 -5
- package/dist/js/example/properties_directory/scalar/ionization_potential.json +0 -5
- package/dist/js/example/properties_directory/scalar/pressure.json +0 -5
- package/dist/js/example/properties_directory/scalar/reaction_energy_barrier.json +0 -5
- package/dist/js/example/properties_directory/scalar/surface_energy.json +0 -5
- package/dist/js/example/properties_directory/scalar/total_energy.json +0 -5
- package/dist/js/example/properties_directory/scalar/total_force.json +0 -5
- package/dist/js/example/properties_directory/scalar/valence_band_offset.json +0 -5
- package/dist/js/example/properties_directory/scalar/zero_point_energy.json +0 -5
- package/dist/js/example/properties_directory/structural/atomic_forces.json +0 -22
- package/dist/js/example/properties_directory/structural/basis/atomic_constraints.json +0 -21
- package/dist/js/example/properties_directory/structural/basis/atomic_coordinate.json +0 -8
- package/dist/js/example/properties_directory/structural/basis/atomic_coordinates.json +0 -21
- package/dist/js/example/properties_directory/structural/basis/atomic_element.json +0 -4
- package/dist/js/example/properties_directory/structural/basis/bonds.json +0 -24
- package/dist/js/example/properties_directory/structural/basis.json +0 -46
- package/dist/js/example/properties_directory/structural/density.json +0 -5
- package/dist/js/example/properties_directory/structural/elemental_ratio.json +0 -5
- package/dist/js/example/properties_directory/structural/inchi.json +0 -4
- package/dist/js/example/properties_directory/structural/inchi_key.json +0 -4
- package/dist/js/example/properties_directory/structural/lattice/lattice_bravais.json +0 -13
- package/dist/js/example/properties_directory/structural/lattice/lattice_vectors.json +0 -19
- package/dist/js/example/properties_directory/structural/lattice.json +0 -33
- package/dist/js/example/properties_directory/structural/magnetic_moments.json +0 -22
- package/dist/js/example/properties_directory/structural/molecular_pattern.json +0 -71
- package/dist/js/example/properties_directory/structural/p_norm.json +0 -5
- package/dist/js/example/properties_directory/structural/symmetry.json +0 -9
- package/dist/js/example/properties_directory/structural/volume.json +0 -5
- package/dist/js/example/properties_directory/workflow/convergence/electronic.json +0 -15
- package/dist/js/example/properties_directory/workflow/convergence/ionic.json +0 -20
- package/dist/js/example/properties_directory/workflow/convergence/kpoint.json +0 -22
- package/dist/js/example/property/base.json +0 -31
- package/dist/js/example/software/application.json +0 -7
- package/dist/js/example/software/executable.json +0 -20
- package/dist/js/example/software/flavor.json +0 -9
- package/dist/js/example/software/template.json +0 -14
- package/dist/js/example/software_directory/ml/exabyteml.json +0 -6
- package/dist/js/example/software_directory/ml/unit/execution/evaluate/cross_validate.json +0 -20
- package/dist/js/example/software_directory/ml/unit/execution/initialize.json +0 -23
- package/dist/js/example/software_directory/ml/unit/execution/score.json +0 -18
- package/dist/js/example/software_directory/ml/unit/execution/train.json +0 -29
- package/dist/js/example/software_directory/ml/unit/processing/data_transformation/manipulation.json +0 -14
- package/dist/js/example/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.json +0 -26
- package/dist/js/example/software_directory/ml/unit/processing/feature_selection/filter_based.json +0 -13
- package/dist/js/example/software_directory/modeling/espresso/arguments.json +0 -5
- package/dist/js/example/software_directory/modeling/espresso.json +0 -6
- package/dist/js/example/software_directory/modeling/nwchem.json +0 -6
- package/dist/js/example/software_directory/modeling/unit/execution.json +0 -19
- package/dist/js/example/software_directory/modeling/vasp.json +0 -6
- package/dist/js/example/software_directory/scripting/jupyter_lab.json +0 -8
- package/dist/js/example/software_directory/scripting/python.json +0 -8
- package/dist/js/example/software_directory/scripting/shell.json +0 -8
- package/dist/js/example/software_directory/scripting/unit/execution.json +0 -22
- package/dist/js/example/system/_material.json +0 -5
- package/dist/js/example/system/_parent_job.json +0 -5
- package/dist/js/example/system/_project.json +0 -5
- package/dist/js/example/system/consistency_check.json +0 -6
- package/dist/js/example/system/creator.json +0 -5
- package/dist/js/example/system/entity_reference.json +0 -5
- package/dist/js/example/system/file_source.json +0 -6
- package/dist/js/example/system/iframe_message.json +0 -9
- package/dist/js/example/system/message.json +0 -16
- package/dist/js/example/system/owner.json +0 -5
- package/dist/js/example/workflow/subworkflow.json +0 -93
- package/dist/js/example/workflow/unit/assignment.json +0 -19
- package/dist/js/example/workflow/unit/condition.json +0 -22
- package/dist/js/example/workflow/unit/execution.json +0 -66
- package/dist/js/example/workflow/unit/input/_inputItemScope.json +0 -4
- package/dist/js/example/workflow/unit/io/api.json +0 -31
- package/dist/js/example/workflow/unit/io/db.json +0 -15
- package/dist/js/example/workflow/unit/io/object_storage.json +0 -12
- package/dist/js/example/workflow/unit/io.json +0 -41
- package/dist/js/example/workflow/unit/map.json +0 -16
- package/dist/js/example/workflow/unit/processing.json +0 -13
- package/dist/js/example/workflow/unit/reduce.json +0 -16
- package/dist/js/example/workflow/unit/runtime/runtime_items.json +0 -14
- package/dist/js/example/workflow.json +0 -129
- package/dist/js/schema/3pse/db/nist_jarvis/2024.3.13/atoms.json +0 -79
- package/dist/js/schema/3pse/db/nist_jarvis/2024.3.13/db_entry.json +0 -91
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x/atomic_positions.json +0 -72
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x/atomic_species.json +0 -30
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x/cell.json +0 -89
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x/cell_parameters.json +0 -54
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x/control.json +0 -181
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x/electrons.json +0 -163
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x/hubbard.json +0 -219
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x/ions.json +0 -216
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x/k_points.json +0 -87
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x/system.json +0 -652
- package/dist/js/schema/3pse/file/applications/espresso/7.2/pw.x.json +0 -1776
- package/dist/js/schema/core/abstract/2d_data.json +0 -31
- package/dist/js/schema/core/abstract/2d_plot.json +0 -74
- package/dist/js/schema/core/abstract/3d_grid.json +0 -32
- package/dist/js/schema/core/abstract/3d_tensor.json +0 -18
- package/dist/js/schema/core/abstract/3d_vector_basis.json +0 -43
- package/dist/js/schema/core/abstract/point.json +0 -11
- package/dist/js/schema/core/abstract/vector.json +0 -27
- package/dist/js/schema/core/primitive/1d_data_series.json +0 -16
- package/dist/js/schema/core/primitive/3d_lattice.json +0 -40
- package/dist/js/schema/core/primitive/array_of_3_booleans.json +0 -11
- package/dist/js/schema/core/primitive/array_of_3_numbers.json +0 -11
- package/dist/js/schema/core/primitive/array_of_ids.json +0 -16
- package/dist/js/schema/core/primitive/array_of_strings.json +0 -11
- package/dist/js/schema/core/primitive/axis.json +0 -19
- package/dist/js/schema/core/primitive/group_info.json +0 -16
- package/dist/js/schema/core/primitive/integer_one_or_zero.json +0 -8
- package/dist/js/schema/core/primitive/linked_list/base_node.json +0 -36
- package/dist/js/schema/core/primitive/linked_list/named_node.json +0 -40
- package/dist/js/schema/core/primitive/linked_list/named_node_in_group.json +0 -48
- package/dist/js/schema/core/primitive/linked_list/node_with_type.json +0 -39
- package/dist/js/schema/core/primitive/linked_list.json +0 -171
- package/dist/js/schema/core/primitive/scalar.json +0 -14
- package/dist/js/schema/core/primitive/slugified_entry.json +0 -21
- package/dist/js/schema/core/primitive/slugified_entry_or_slug.json +0 -31
- package/dist/js/schema/core/primitive/string.json +0 -14
- package/dist/js/schema/core/reference/exabyte.json +0 -19
- package/dist/js/schema/core/reference/experiment/condition.json +0 -31
- package/dist/js/schema/core/reference/experiment/location.json +0 -20
- package/dist/js/schema/core/reference/experiment.json +0 -249
- package/dist/js/schema/core/reference/literature/name.json +0 -24
- package/dist/js/schema/core/reference/literature/pages.json +0 -17
- package/dist/js/schema/core/reference/literature.json +0 -131
- package/dist/js/schema/core/reference/modeling/exabyte.json +0 -46
- package/dist/js/schema/core/reference/modeling.json +0 -52
- package/dist/js/schema/core/reference.json +0 -436
- package/dist/js/schema/core/reusable/atomic_data/per_orbital.json +0 -22
- package/dist/js/schema/core/reusable/atomic_data/per_orbital_pair.json +0 -39
- package/dist/js/schema/core/reusable/atomic_data/value_number.json +0 -13
- package/dist/js/schema/core/reusable/atomic_data/value_string.json +0 -13
- package/dist/js/schema/core/reusable/atomic_data_per_orbital_numeric.json +0 -26
- package/dist/js/schema/core/reusable/atomic_data_per_orbital_pair_numeric.json +0 -43
- package/dist/js/schema/core/reusable/atomic_orbital.json +0 -32
- package/dist/js/schema/core/reusable/atomic_scalars.json +0 -29
- package/dist/js/schema/core/reusable/atomic_strings.json +0 -19
- package/dist/js/schema/core/reusable/atomic_vectors.json +0 -42
- package/dist/js/schema/core/reusable/band_gap.json +0 -64
- package/dist/js/schema/core/reusable/categories.json +0 -159
- package/dist/js/schema/core/reusable/category_path.json +0 -7
- package/dist/js/schema/core/reusable/dielectric_tensor_component.json +0 -46
- package/dist/js/schema/core/reusable/energy.json +0 -39
- package/dist/js/schema/core/reusable/file_metadata.json +0 -21
- package/dist/js/schema/core/reusable/frequency_function_matrix.json +0 -30
- package/dist/js/schema/core/reusable/object_storage_container_data.json +0 -32
- package/dist/js/schema/definitions/units.json +0 -103
- package/dist/js/schema/element.json +0 -103
- package/dist/js/schema/in_memory_entity/base.json +0 -65
- package/dist/js/schema/in_memory_entity/defaultable.json +0 -70
- package/dist/js/schema/in_memory_entity/named.json +0 -69
- package/dist/js/schema/in_memory_entity/named_defaultable.json +0 -74
- package/dist/js/schema/in_memory_entity/named_defaultable_has_metadata.json +0 -77
- package/dist/js/schema/in_memory_entity/named_defaultable_runtime_items.json +0 -194
- package/dist/js/schema/job/base.json +0 -378
- package/dist/js/schema/job/compute.json +0 -178
- package/dist/js/schema/job.json +0 -6866
- package/dist/js/schema/material/conventional.json +0 -11
- package/dist/js/schema/material.json +0 -645
- package/dist/js/schema/method/categorized_method.json +0 -221
- package/dist/js/schema/method/method_parameters.json +0 -47
- package/dist/js/schema/method/unit_method.json +0 -191
- package/dist/js/schema/method.json +0 -28
- package/dist/js/schema/methods_category/mathematical/diff/enum_options.json +0 -8
- package/dist/js/schema/methods_category/mathematical/diff/fd.json +0 -165
- package/dist/js/schema/methods_category/mathematical/diff.json +0 -162
- package/dist/js/schema/methods_category/mathematical/discr/enum_options.json +0 -8
- package/dist/js/schema/methods_category/mathematical/discr/mesh/enum_options.json +0 -18
- package/dist/js/schema/methods_category/mathematical/discr/mesh/hybrid.json +0 -168
- package/dist/js/schema/methods_category/mathematical/discr/mesh/nstruct.json +0 -168
- package/dist/js/schema/methods_category/mathematical/discr/mesh/struct/cartesian.json +0 -171
- package/dist/js/schema/methods_category/mathematical/discr/mesh/struct/enum_options.json +0 -8
- package/dist/js/schema/methods_category/mathematical/discr/mesh/struct.json +0 -168
- package/dist/js/schema/methods_category/mathematical/discr/mesh.json +0 -165
- package/dist/js/schema/methods_category/mathematical/discr.json +0 -162
- package/dist/js/schema/methods_category/mathematical/enum_options.json +0 -45
- package/dist/js/schema/methods_category/mathematical/fapprx/basisexp.json +0 -165
- package/dist/js/schema/methods_category/mathematical/fapprx/enum_options.json +0 -13
- package/dist/js/schema/methods_category/mathematical/fapprx/ipol/enum_options.json +0 -18
- package/dist/js/schema/methods_category/mathematical/fapprx/ipol/lin.json +0 -168
- package/dist/js/schema/methods_category/mathematical/fapprx/ipol/poly.json +0 -168
- package/dist/js/schema/methods_category/mathematical/fapprx/ipol/spline.json +0 -168
- package/dist/js/schema/methods_category/mathematical/fapprx/ipol.json +0 -165
- package/dist/js/schema/methods_category/mathematical/fapprx.json +0 -162
- package/dist/js/schema/methods_category/mathematical/intgr/analytic/enum_options.json +0 -20
- package/dist/js/schema/methods_category/mathematical/intgr/analytic/volume.json +0 -178
- package/dist/js/schema/methods_category/mathematical/intgr/analytic.json +0 -165
- package/dist/js/schema/methods_category/mathematical/intgr/diffeq/enum_options.json +0 -13
- package/dist/js/schema/methods_category/mathematical/intgr/diffeq/order1.json +0 -168
- package/dist/js/schema/methods_category/mathematical/intgr/diffeq/order2.json +0 -168
- package/dist/js/schema/methods_category/mathematical/intgr/diffeq.json +0 -165
- package/dist/js/schema/methods_category/mathematical/intgr/enum_options.json +0 -23
- package/dist/js/schema/methods_category/mathematical/intgr/numquad/enum_options.json +0 -13
- package/dist/js/schema/methods_category/mathematical/intgr/numquad/gauss.json +0 -168
- package/dist/js/schema/methods_category/mathematical/intgr/numquad/newcot.json +0 -168
- package/dist/js/schema/methods_category/mathematical/intgr/numquad.json +0 -165
- package/dist/js/schema/methods_category/mathematical/intgr/transf/enum_options.json +0 -8
- package/dist/js/schema/methods_category/mathematical/intgr/transf/fourier.json +0 -168
- package/dist/js/schema/methods_category/mathematical/intgr/transf.json +0 -165
- package/dist/js/schema/methods_category/mathematical/intgr.json +0 -162
- package/dist/js/schema/methods_category/mathematical/linalg/dcomp.json +0 -165
- package/dist/js/schema/methods_category/mathematical/linalg/diag/davidson.json +0 -168
- package/dist/js/schema/methods_category/mathematical/linalg/diag/enum_options.json +0 -8
- package/dist/js/schema/methods_category/mathematical/linalg/diag.json +0 -165
- package/dist/js/schema/methods_category/mathematical/linalg/enum_options.json +0 -23
- package/dist/js/schema/methods_category/mathematical/linalg/lintra.json +0 -165
- package/dist/js/schema/methods_category/mathematical/linalg/matf.json +0 -165
- package/dist/js/schema/methods_category/mathematical/linalg.json +0 -162
- package/dist/js/schema/methods_category/mathematical/opt/diff/bracket.json +0 -168
- package/dist/js/schema/methods_category/mathematical/opt/diff/enum_options.json +0 -28
- package/dist/js/schema/methods_category/mathematical/opt/diff/local.json +0 -168
- package/dist/js/schema/methods_category/mathematical/opt/diff/order1.json +0 -168
- package/dist/js/schema/methods_category/mathematical/opt/diff/order2.json +0 -168
- package/dist/js/schema/methods_category/mathematical/opt/diff/ordern/cg.json +0 -171
- package/dist/js/schema/methods_category/mathematical/opt/diff/ordern/enum_options.json +0 -8
- package/dist/js/schema/methods_category/mathematical/opt/diff/ordern.json +0 -168
- package/dist/js/schema/methods_category/mathematical/opt/diff.json +0 -165
- package/dist/js/schema/methods_category/mathematical/opt/enum_options.json +0 -18
- package/dist/js/schema/methods_category/mathematical/opt/ndiff/direct.json +0 -168
- package/dist/js/schema/methods_category/mathematical/opt/ndiff/enum_options.json +0 -18
- package/dist/js/schema/methods_category/mathematical/opt/ndiff/pop.json +0 -168
- package/dist/js/schema/methods_category/mathematical/opt/ndiff/stoch.json +0 -168
- package/dist/js/schema/methods_category/mathematical/opt/ndiff.json +0 -165
- package/dist/js/schema/methods_category/mathematical/opt/root/bracket.json +0 -168
- package/dist/js/schema/methods_category/mathematical/opt/root/enum_options.json +0 -13
- package/dist/js/schema/methods_category/mathematical/opt/root/iter.json +0 -168
- package/dist/js/schema/methods_category/mathematical/opt/root.json +0 -165
- package/dist/js/schema/methods_category/mathematical/opt.json +0 -162
- package/dist/js/schema/methods_category/mathematical/regression.json +0 -167
- package/dist/js/schema/methods_category/physical/enum_options.json +0 -8
- package/dist/js/schema/methods_category/physical/qm/enum_options.json +0 -8
- package/dist/js/schema/methods_category/physical/qm/wf/ao/dunning.json +0 -171
- package/dist/js/schema/methods_category/physical/qm/wf/ao/other.json +0 -171
- package/dist/js/schema/methods_category/physical/qm/wf/ao/pople.json +0 -171
- package/dist/js/schema/methods_category/physical/qm/wf/ao.json +0 -173
- package/dist/js/schema/methods_category/physical/qm/wf/enum_options.json +0 -63
- package/dist/js/schema/methods_category/physical/qm/wf/psp.json +0 -174
- package/dist/js/schema/methods_category/physical/qm/wf/pw.json +0 -168
- package/dist/js/schema/methods_category/physical/qm/wf/smearing.json +0 -174
- package/dist/js/schema/methods_category/physical/qm/wf/tetrahedron.json +0 -173
- package/dist/js/schema/methods_category/physical/qm/wf.json +0 -165
- package/dist/js/schema/methods_category/physical/qm.json +0 -162
- package/dist/js/schema/methods_directory/legacy/localorbital.json +0 -34
- package/dist/js/schema/methods_directory/legacy/pseudopotential.json +0 -37
- package/dist/js/schema/methods_directory/legacy/regression.json +0 -185
- package/dist/js/schema/methods_directory/legacy/unknown.json +0 -34
- package/dist/js/schema/methods_directory/mathematical/cg.json +0 -207
- package/dist/js/schema/methods_directory/mathematical/davidson.json +0 -204
- package/dist/js/schema/methods_directory/mathematical/regression/data.json +0 -122
- package/dist/js/schema/methods_directory/mathematical/regression/dataset.json +0 -21
- package/dist/js/schema/methods_directory/mathematical/regression/kernel_ridge/data_per_property.json +0 -47
- package/dist/js/schema/methods_directory/mathematical/regression/linear/data_per_property.json +0 -42
- package/dist/js/schema/methods_directory/mathematical/regression/per_feature_item.json +0 -23
- package/dist/js/schema/methods_directory/mathematical/regression/precision.json +0 -33
- package/dist/js/schema/methods_directory/mathematical/regression/precision_per_property.json +0 -23
- package/dist/js/schema/methods_directory/mathematical/regression.json +0 -354
- package/dist/js/schema/methods_directory/physical/ao/dunning.json +0 -230
- package/dist/js/schema/methods_directory/physical/ao/enum_options.json +0 -28
- package/dist/js/schema/methods_directory/physical/ao/other.json +0 -238
- package/dist/js/schema/methods_directory/physical/ao/pople.json +0 -230
- package/dist/js/schema/methods_directory/physical/psp/file.json +0 -140
- package/dist/js/schema/methods_directory/physical/psp/file_data_item.json +0 -116
- package/dist/js/schema/methods_directory/physical/psp.json +0 -352
- package/dist/js/schema/methods_directory/physical/pw.json +0 -204
- package/dist/js/schema/methods_directory/physical/smearing.json +0 -210
- package/dist/js/schema/methods_directory/physical/tetrahedron.json +0 -208
- package/dist/js/schema/model/categorized_model.json +0 -542
- package/dist/js/schema/model/mixins/dft/double_hybrid_functional.json +0 -13
- package/dist/js/schema/model/mixins/dft/enum_options.json +0 -30
- package/dist/js/schema/model/mixins/dft/gga_functional.json +0 -15
- package/dist/js/schema/model/mixins/dft/hybrid_functional.json +0 -14
- package/dist/js/schema/model/mixins/dft/lda_functional.json +0 -14
- package/dist/js/schema/model/mixins/dft/mgga_functional.json +0 -14
- package/dist/js/schema/model/mixins/dispersion_correction.json +0 -16
- package/dist/js/schema/model/mixins/enum_options.json +0 -22
- package/dist/js/schema/model/mixins/hubbard.json +0 -13
- package/dist/js/schema/model/mixins/spin_orbit_coupling.json +0 -12
- package/dist/js/schema/model/mixins/spin_polarization.json +0 -15
- package/dist/js/schema/model/model_parameters.json +0 -98
- package/dist/js/schema/model/model_without_method.json +0 -321
- package/dist/js/schema/model.json +0 -49
- package/dist/js/schema/models_category/enum_options.json +0 -13
- package/dist/js/schema/models_category/pb/enum_options.json +0 -8
- package/dist/js/schema/models_category/pb/qm/abin/enum_options.json +0 -15
- package/dist/js/schema/models_category/pb/qm/abin/gw.json +0 -176
- package/dist/js/schema/models_category/pb/qm/abin.json +0 -168
- package/dist/js/schema/models_category/pb/qm/dft/enum_options.json +0 -8
- package/dist/js/schema/models_category/pb/qm/dft/ksdft/double_hybrid.json +0 -174
- package/dist/js/schema/models_category/pb/qm/dft/ksdft/enum_options.json +0 -28
- package/dist/js/schema/models_category/pb/qm/dft/ksdft/gga.json +0 -174
- package/dist/js/schema/models_category/pb/qm/dft/ksdft/hybrid.json +0 -174
- package/dist/js/schema/models_category/pb/qm/dft/ksdft/lda.json +0 -174
- package/dist/js/schema/models_category/pb/qm/dft/ksdft/mgga.json +0 -174
- package/dist/js/schema/models_category/pb/qm/dft/ksdft.json +0 -171
- package/dist/js/schema/models_category/pb/qm/dft.json +0 -168
- package/dist/js/schema/models_category/pb/qm/enum_options.json +0 -18
- package/dist/js/schema/models_category/pb/qm/semp.json +0 -168
- package/dist/js/schema/models_category/pb/qm.json +0 -165
- package/dist/js/schema/models_category/pb.json +0 -162
- package/dist/js/schema/models_category/st/det/enum_options.json +0 -8
- package/dist/js/schema/models_category/st/det/ml/enum_options.json +0 -8
- package/dist/js/schema/models_category/st/det/ml/re.json +0 -171
- package/dist/js/schema/models_category/st/det/ml.json +0 -168
- package/dist/js/schema/models_category/st/det.json +0 -165
- package/dist/js/schema/models_category/st/enum_options.json +0 -8
- package/dist/js/schema/models_category/st.json +0 -162
- package/dist/js/schema/models_directory/double_hybrid.json +0 -387
- package/dist/js/schema/models_directory/gga.json +0 -401
- package/dist/js/schema/models_directory/gw.json +0 -415
- package/dist/js/schema/models_directory/hybrid.json +0 -400
- package/dist/js/schema/models_directory/lda.json +0 -400
- package/dist/js/schema/models_directory/legacy/dft.json +0 -154
- package/dist/js/schema/models_directory/legacy/ml.json +0 -55
- package/dist/js/schema/models_directory/legacy/unknown.json +0 -55
- package/dist/js/schema/models_directory/mgga.json +0 -400
- package/dist/js/schema/models_directory/re.json +0 -334
- package/dist/js/schema/project.json +0 -103
- package/dist/js/schema/properties_directory/derived_properties.json +0 -185
- package/dist/js/schema/properties_directory/electronic_configuration.json +0 -16
- package/dist/js/schema/properties_directory/elemental/atomic_radius.json +0 -35
- package/dist/js/schema/properties_directory/elemental/electronegativity.json +0 -20
- package/dist/js/schema/properties_directory/elemental/ionization_potential.json +0 -31
- package/dist/js/schema/properties_directory/non_scalar/average_potential_profile.json +0 -107
- package/dist/js/schema/properties_directory/non_scalar/band_gaps.json +0 -121
- package/dist/js/schema/properties_directory/non_scalar/band_structure.json +0 -118
- package/dist/js/schema/properties_directory/non_scalar/charge_density_profile.json +0 -88
- package/dist/js/schema/properties_directory/non_scalar/density_of_states.json +0 -123
- package/dist/js/schema/properties_directory/non_scalar/dielectric_tensor.json +0 -65
- package/dist/js/schema/properties_directory/non_scalar/file_content.json +0 -67
- package/dist/js/schema/properties_directory/non_scalar/hubbard_u.json +0 -56
- package/dist/js/schema/properties_directory/non_scalar/hubbard_v.json +0 -75
- package/dist/js/schema/properties_directory/non_scalar/hubbard_v_nn.json +0 -75
- package/dist/js/schema/properties_directory/non_scalar/phonon_dispersions.json +0 -103
- package/dist/js/schema/properties_directory/non_scalar/phonon_dos.json +0 -95
- package/dist/js/schema/properties_directory/non_scalar/potential_profile.json +0 -94
- package/dist/js/schema/properties_directory/non_scalar/reaction_energy_profile.json +0 -94
- package/dist/js/schema/properties_directory/non_scalar/stress_tensor.json +0 -36
- package/dist/js/schema/properties_directory/non_scalar/total_energy_contributions.json +0 -271
- package/dist/js/schema/properties_directory/non_scalar/vibrational_spectrum.json +0 -99
- package/dist/js/schema/properties_directory/scalar/electron_affinity.json +0 -42
- package/dist/js/schema/properties_directory/scalar/fermi_energy.json +0 -42
- package/dist/js/schema/properties_directory/scalar/formation_energy.json +0 -42
- package/dist/js/schema/properties_directory/scalar/ionization_potential.json +0 -42
- package/dist/js/schema/properties_directory/scalar/pressure.json +0 -26
- package/dist/js/schema/properties_directory/scalar/reaction_energy_barrier.json +0 -42
- package/dist/js/schema/properties_directory/scalar/surface_energy.json +0 -42
- package/dist/js/schema/properties_directory/scalar/total_energy.json +0 -42
- package/dist/js/schema/properties_directory/scalar/total_force.json +0 -29
- package/dist/js/schema/properties_directory/scalar/valence_band_offset.json +0 -42
- package/dist/js/schema/properties_directory/scalar/zero_point_energy.json +0 -42
- package/dist/js/schema/properties_directory/structural/atomic_forces.json +0 -65
- package/dist/js/schema/properties_directory/structural/basis/atomic_constraints.json +0 -55
- package/dist/js/schema/properties_directory/structural/basis/atomic_coordinate.json +0 -38
- package/dist/js/schema/properties_directory/structural/basis/atomic_coordinates.json +0 -68
- package/dist/js/schema/properties_directory/structural/basis/atomic_element.json +0 -26
- package/dist/js/schema/properties_directory/structural/basis/bonds.json +0 -42
- package/dist/js/schema/properties_directory/structural/basis.json +0 -141
- package/dist/js/schema/properties_directory/structural/density.json +0 -24
- package/dist/js/schema/properties_directory/structural/elemental_ratio.json +0 -26
- package/dist/js/schema/properties_directory/structural/inchi.json +0 -19
- package/dist/js/schema/properties_directory/structural/inchi_key.json +0 -19
- package/dist/js/schema/properties_directory/structural/lattice/lattice_bravais.json +0 -81
- package/dist/js/schema/properties_directory/structural/lattice/lattice_vectors.json +0 -63
- package/dist/js/schema/properties_directory/structural/lattice/type_enum.json +0 -22
- package/dist/js/schema/properties_directory/structural/lattice/type_extended_enum.json +0 -32
- package/dist/js/schema/properties_directory/structural/lattice.json +0 -148
- package/dist/js/schema/properties_directory/structural/magnetic_moments.json +0 -60
- package/dist/js/schema/properties_directory/structural/molecular_pattern.json +0 -111
- package/dist/js/schema/properties_directory/structural/p_norm.json +0 -24
- package/dist/js/schema/properties_directory/structural/patterns/functional_group.json +0 -36
- package/dist/js/schema/properties_directory/structural/patterns/ring.json +0 -35
- package/dist/js/schema/properties_directory/structural/patterns/special_bond.json +0 -33
- package/dist/js/schema/properties_directory/structural/symmetry.json +0 -40
- package/dist/js/schema/properties_directory/structural/volume.json +0 -24
- package/dist/js/schema/properties_directory/workflow/convergence/electronic.json +0 -32
- package/dist/js/schema/properties_directory/workflow/convergence/ionic.json +0 -62
- package/dist/js/schema/properties_directory/workflow/convergence/kpoint.json +0 -48
- package/dist/js/schema/property/base.json +0 -387
- package/dist/js/schema/property/meta.json +0 -387
- package/dist/js/schema/property/raw.json +0 -387
- package/dist/js/schema/property/source.json +0 -286
- package/dist/js/schema/software/application.json +0 -99
- package/dist/js/schema/software/executable.json +0 -208
- package/dist/js/schema/software/flavor.json +0 -228
- package/dist/js/schema/software/template.json +0 -103
- package/dist/js/schema/software_directory/ml/exabyteml.json +0 -23
- package/dist/js/schema/software_directory/ml/unit/execution/evaluate/cross_validate.json +0 -814
- package/dist/js/schema/software_directory/ml/unit/execution/initialize.json +0 -818
- package/dist/js/schema/software_directory/ml/unit/execution/score.json +0 -804
- package/dist/js/schema/software_directory/ml/unit/execution/train.json +0 -827
- package/dist/js/schema/software_directory/ml/unit/execution.json +0 -3264
- package/dist/js/schema/software_directory/ml/unit/processing/data_transformation/manipulation.json +0 -310
- package/dist/js/schema/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.json +0 -330
- package/dist/js/schema/software_directory/ml/unit/processing/data_transformation.json +0 -334
- package/dist/js/schema/software_directory/ml/unit/processing/feature_selection/filter_based.json +0 -305
- package/dist/js/schema/software_directory/ml/unit/processing/feature_selection.json +0 -309
- package/dist/js/schema/software_directory/ml/unit/processing.json +0 -646
- package/dist/js/schema/software_directory/modeling/deepmd.json +0 -115
- package/dist/js/schema/software_directory/modeling/espresso/arguments.json +0 -44
- package/dist/js/schema/software_directory/modeling/espresso.json +0 -34
- package/dist/js/schema/software_directory/modeling/nwchem.json +0 -114
- package/dist/js/schema/software_directory/modeling/unit/execution.json +0 -847
- package/dist/js/schema/software_directory/modeling/vasp.json +0 -120
- package/dist/js/schema/software_directory/scripting/jupyter_lab.json +0 -118
- package/dist/js/schema/software_directory/scripting/python.json +0 -132
- package/dist/js/schema/software_directory/scripting/shell.json +0 -132
- package/dist/js/schema/software_directory/scripting/unit/execution.json +0 -847
- package/dist/js/schema/system/_material.json +0 -23
- package/dist/js/schema/system/_parent_job.json +0 -23
- package/dist/js/schema/system/_project.json +0 -23
- package/dist/js/schema/system/bankable.json +0 -16
- package/dist/js/schema/system/consistency_check.json +0 -39
- package/dist/js/schema/system/creator.json +0 -23
- package/dist/js/schema/system/creator_account.json +0 -27
- package/dist/js/schema/system/database_source.json +0 -45
- package/dist/js/schema/system/defaultable.json +0 -13
- package/dist/js/schema/system/description.json +0 -15
- package/dist/js/schema/system/entity_reference.json +0 -20
- package/dist/js/schema/system/file_source.json +0 -30
- package/dist/js/schema/system/history.json +0 -26
- package/dist/js/schema/system/iframe_message.json +0 -35
- package/dist/js/schema/system/in_set.json +0 -36
- package/dist/js/schema/system/is_multi_material.json +0 -11
- package/dist/js/schema/system/is_outdated.json +0 -11
- package/dist/js/schema/system/job_extended.json +0 -64
- package/dist/js/schema/system/message.json +0 -68
- package/dist/js/schema/system/metadata.json +0 -11
- package/dist/js/schema/system/name.json +0 -12
- package/dist/js/schema/system/owner.json +0 -23
- package/dist/js/schema/system/path.json +0 -14
- package/dist/js/schema/system/path_entity.json +0 -18
- package/dist/js/schema/system/schema_version.json +0 -13
- package/dist/js/schema/system/scope.json +0 -11
- package/dist/js/schema/system/set.json +0 -17
- package/dist/js/schema/system/sharing.json +0 -11
- package/dist/js/schema/system/soft_removable.json +0 -16
- package/dist/js/schema/system/status.json +0 -32
- package/dist/js/schema/system/tags.json +0 -15
- package/dist/js/schema/system/timestampable.json +0 -38
- package/dist/js/schema/system/use_values.json +0 -11
- package/dist/js/schema/workflow/base.json +0 -103
- package/dist/js/schema/workflow/base_flow.json +0 -220
- package/dist/js/schema/workflow/scope.json +0 -20
- package/dist/js/schema/workflow/subworkflow/unit.json +0 -2710
- package/dist/js/schema/workflow/subworkflow.json +0 -3086
- package/dist/js/schema/workflow/unit/assertion.json +0 -277
- package/dist/js/schema/workflow/unit/assignment.json +0 -314
- package/dist/js/schema/workflow/unit/base.json +0 -264
- package/dist/js/schema/workflow/unit/condition.json +0 -315
- package/dist/js/schema/workflow/unit/execution.json +0 -804
- package/dist/js/schema/workflow/unit/input/_input.json +0 -53
- package/dist/js/schema/workflow/unit/input/_inputItem.json +0 -20
- package/dist/js/schema/workflow/unit/input/_inputItemId.json +0 -19
- package/dist/js/schema/workflow/unit/input/_inputItemScope.json +0 -20
- package/dist/js/schema/workflow/unit/input/_map_input/values.json +0 -11
- package/dist/js/schema/workflow/unit/input/_map_input.json +0 -36
- package/dist/js/schema/workflow/unit/io/api.json +0 -25
- package/dist/js/schema/workflow/unit/io/db.json +0 -41
- package/dist/js/schema/workflow/unit/io/object_storage.json +0 -61
- package/dist/js/schema/workflow/unit/io.json +0 -415
- package/dist/js/schema/workflow/unit/map.json +0 -314
- package/dist/js/schema/workflow/unit/processing.json +0 -281
- package/dist/js/schema/workflow/unit/reduce.json +0 -297
- package/dist/js/schema/workflow/unit/runtime/_runtime_item_full_object.json +0 -15
- package/dist/js/schema/workflow/unit/runtime/_runtime_item_name_object.json +0 -15
- package/dist/js/schema/workflow/unit/runtime/_runtime_item_string.json +0 -7
- package/dist/js/schema/workflow/unit/runtime/runtime_item.json +0 -27
- package/dist/js/schema/workflow/unit/runtime/runtime_items.json +0 -128
- package/dist/js/schema/workflow/unit/subworkflow.json +0 -267
- package/dist/js/schema/workflow/unit.json +0 -3289
- package/dist/js/schema/workflow.json +0 -6488
- package/dist/js/schemas.json +0 -1
- package/modules.d.ts +0 -5
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
* at build time and writes them out to a single schemas.js file for
|
|
4
4
|
* downstream consumption to avoid FS calls in the browser.
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
import * as fs from "fs";
|
|
7
|
+
|
|
8
|
+
import JSONSchemasGenerator from "./src/js/esse/JSONSchemasGenerator";
|
|
8
9
|
|
|
9
10
|
// JS Modules
|
|
10
11
|
|
package/dist/js/utils/ajv.js
CHANGED
|
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.validateAndClean = exports.validate = exports.getValidator = void 0;
|
|
7
7
|
const ajv_1 = __importDefault(require("ajv"));
|
|
8
|
+
const ajv_formats_1 = __importDefault(require("ajv-formats"));
|
|
8
9
|
const schemaUtils_1 = require("../esse/schemaUtils");
|
|
9
10
|
function addAdditionalPropertiesToSchema(schema, additionalProperties = false) {
|
|
10
11
|
return (0, schemaUtils_1.mapObjectDeep)(schema, (object) => {
|
|
@@ -37,6 +38,9 @@ const ajvValidatorAndCleanerWithCoercingTypes = new ajv_1.default({
|
|
|
37
38
|
removeAdditional: true,
|
|
38
39
|
coerceTypes: true,
|
|
39
40
|
});
|
|
41
|
+
(0, ajv_formats_1.default)(ajvValidator);
|
|
42
|
+
(0, ajv_formats_1.default)(ajvValidatorAndCleaner);
|
|
43
|
+
(0, ajv_formats_1.default)(ajvValidatorAndCleanerWithCoercingTypes);
|
|
40
44
|
function getAjvInstance({ clean, coerceTypes }) {
|
|
41
45
|
if (clean && coerceTypes) {
|
|
42
46
|
return ajvValidatorAndCleanerWithCoercingTypes;
|
package/package.json
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mat3ra/esse",
|
|
3
|
-
"version": "2024.3.
|
|
3
|
+
"version": "2024.3.25-0",
|
|
4
4
|
"description": "Mat3ra's Excellent Source of Schemas and Examples (ESSE) for Digital Materials R&D",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prepublishOnly": "rm -rf dist; npm run transpile",
|
|
7
|
-
"transpile": "tsc
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"test": "nyc --reporter=text mocha --recursive --bail tests/js",
|
|
13
|
-
"test-only": "nyc --reporter=text mocha --bail",
|
|
7
|
+
"transpile": "tsc -p tsconfig-transpile.json",
|
|
8
|
+
"build-schemas": "BUILD_ASSETS=true BUILD_PYTHON_MODULES=true BUILD_PATH='./dist/js' ts-node build_schemas.ts",
|
|
9
|
+
"compile-types": "ts-node compile_ts.ts",
|
|
10
|
+
"transpile-and-build-assets": "npm run transpile && npm run build-schemas && npm run compile-types",
|
|
11
|
+
"test": "npm run build-schemas && nyc --reporter=text mocha --recursive --bail tests/js",
|
|
12
|
+
"test-only": "nyc --reporter=text mocha --recursive --bail tests/js",
|
|
14
13
|
"lint": "eslint src/js && prettier --write src/js",
|
|
15
14
|
"lint:fix": "eslint --fix --cache src/js && prettier --write src/js",
|
|
16
15
|
"prettier": "prettier --check src/js",
|
|
17
|
-
"postinstall": "npm run transpile-and-build-assets",
|
|
18
16
|
"prepare": "husky install || exit 0",
|
|
19
17
|
"set-schema-ids": "ts-node set_schema_ids.ts"
|
|
20
18
|
},
|
|
@@ -31,7 +29,7 @@
|
|
|
31
29
|
"homepage": "https://github.com/Exabyte-io/esse",
|
|
32
30
|
"devDependencies": {
|
|
33
31
|
"@exabyte-io/eslint-config": "^2023.8.29-1",
|
|
34
|
-
"@mat3ra/tsconfig": "^2024.3.
|
|
32
|
+
"@mat3ra/tsconfig": "^2024.3.25-3",
|
|
35
33
|
"@typescript-eslint/eslint-plugin": "^5.9.1",
|
|
36
34
|
"@typescript-eslint/parser": "^5.9.1",
|
|
37
35
|
"chai": "4.3.4",
|
|
@@ -69,13 +67,12 @@
|
|
|
69
67
|
"@babel/preset-typescript": "^7.22.5",
|
|
70
68
|
"@babel/register": "^7.16.0",
|
|
71
69
|
"@babel/runtime-corejs3": "7.16.8",
|
|
72
|
-
"@tsconfig/node14": "^14.1.0",
|
|
73
|
-
"@tsconfig/node20": "^20.1.2",
|
|
74
70
|
"@types/chai": "^4.3.11",
|
|
71
|
+
"@types/js-yaml": "^4.0.9",
|
|
75
72
|
"@types/json-schema-merge-allof": "^0.6.5",
|
|
76
73
|
"@types/mocha": "^10.0.6",
|
|
77
|
-
"@types/js-yaml": "^4.0.9",
|
|
78
74
|
"ajv": "^8.12.0",
|
|
75
|
+
"ajv-formats": "^2.1.1",
|
|
79
76
|
"js-yaml": "^4.1.0",
|
|
80
77
|
"json-schema": "^0.4.0",
|
|
81
78
|
"json-schema-deref-sync": "0.14.0",
|
|
@@ -91,21 +88,21 @@
|
|
|
91
88
|
"*.{js,css}": "prettier --write"
|
|
92
89
|
},
|
|
93
90
|
"exports": {
|
|
94
|
-
"./lib/js/schema
|
|
95
|
-
"./lib/js/example/*": "./dist/example
|
|
96
|
-
"./lib/js/utils/*": "./dist/utils/*.js",
|
|
97
|
-
"./lib/js/esse/*": "./dist/esse/*.js",
|
|
98
|
-
"./lib/js/json_include/*": "./dist/json_include/*.js",
|
|
99
|
-
"./lib/js/scripts/*": "./dist/scripts/*.js",
|
|
100
|
-
"./lib/js/types
|
|
101
|
-
"./lib/js/schemas.json": "./dist/schemas.
|
|
102
|
-
"./dist/schema
|
|
103
|
-
"./dist/example/*": "./dist/example
|
|
104
|
-
"./dist/utils/*": "./dist/utils/*.js",
|
|
105
|
-
"./dist/esse/*": "./dist/esse/*.js",
|
|
106
|
-
"./dist/json_include/*": "./dist/json_include/*.js",
|
|
107
|
-
"./dist/scripts/*": "./dist/scripts/*.js",
|
|
108
|
-
"./dist/types
|
|
109
|
-
"./dist/schemas.json": "./dist/js/schemas.
|
|
91
|
+
"./lib/js/schema/*.json": "./dist/js/schema/*.json",
|
|
92
|
+
"./lib/js/example/*": "./dist/js/example/*.js",
|
|
93
|
+
"./lib/js/utils/*": "./dist/js/utils/*.js",
|
|
94
|
+
"./lib/js/esse/*": "./dist/js/esse/*.js",
|
|
95
|
+
"./lib/js/json_include/*": "./dist/js/json_include/*.js",
|
|
96
|
+
"./lib/js/scripts/*": "./dist/js/scripts/*.js",
|
|
97
|
+
"./lib/js/types": "./dist/js/types.ts",
|
|
98
|
+
"./lib/js/schemas.json": "./dist/js/schemas.json",
|
|
99
|
+
"./dist/schema/*.json": "./dist/js/schema/*.json",
|
|
100
|
+
"./dist/example/*": "./dist/js/example/*.js",
|
|
101
|
+
"./dist/utils/*": "./dist/js/utils/*.js",
|
|
102
|
+
"./dist/esse/*": "./dist/js/esse/*.js",
|
|
103
|
+
"./dist/json_include/*": "./dist/js/json_include/*.js",
|
|
104
|
+
"./dist/scripts/*": "./dist/js/scripts/*.js",
|
|
105
|
+
"./dist/types": "./dist/js/types.ts",
|
|
106
|
+
"./dist/schemas.json": "./dist/js/schemas.json"
|
|
110
107
|
}
|
|
111
108
|
}
|
|
@@ -15,24 +15,10 @@
|
|
|
15
15
|
"format": "date-time"
|
|
16
16
|
},
|
|
17
17
|
"createdBy": {
|
|
18
|
-
"
|
|
19
|
-
{
|
|
20
|
-
"type": "string"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"type": "number"
|
|
24
|
-
}
|
|
25
|
-
]
|
|
18
|
+
"type": "string"
|
|
26
19
|
},
|
|
27
20
|
"updatedBy": {
|
|
28
|
-
"
|
|
29
|
-
{
|
|
30
|
-
"type": "string"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "number"
|
|
34
|
-
}
|
|
35
|
-
]
|
|
21
|
+
"type": "string"
|
|
36
22
|
}
|
|
37
23
|
}
|
|
38
24
|
}
|
package/src/js/utils/ajv.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {} from "ajv"; // @see https://github.com/microsoft/TypeScript/issues/47663
|
|
2
1
|
import Ajv, { SchemaObject } from "ajv";
|
|
3
2
|
import { AnyValidateFunction } from "ajv/dist/core";
|
|
3
|
+
import addFormats from "ajv-formats";
|
|
4
4
|
|
|
5
5
|
import { mapObjectDeep } from "../esse/schemaUtils";
|
|
6
6
|
import { AnyObject } from "../esse/types";
|
|
@@ -43,6 +43,10 @@ const ajvValidatorAndCleanerWithCoercingTypes = new Ajv({
|
|
|
43
43
|
coerceTypes: true,
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
+
addFormats(ajvValidator);
|
|
47
|
+
addFormats(ajvValidatorAndCleaner);
|
|
48
|
+
addFormats(ajvValidatorAndCleanerWithCoercingTypes);
|
|
49
|
+
|
|
46
50
|
interface AjvInstanceOptions {
|
|
47
51
|
clean: boolean;
|
|
48
52
|
coerceTypes: boolean;
|
package/tsconfig.json
CHANGED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"phi": {
|
|
3
|
-
"nelect": 48,
|
|
4
|
-
"phi": 4.73414095269429,
|
|
5
|
-
"scf_vbm": -1.6519,
|
|
6
|
-
"scf_cbm": -1.6472,
|
|
7
|
-
"Ef": -1.97822464,
|
|
8
|
-
"scf_gap": 0,
|
|
9
|
-
"avg_max": 2.7559163126942896,
|
|
10
|
-
"scf_dir": false
|
|
11
|
-
},
|
|
12
|
-
"atoms": {
|
|
13
|
-
"lattice_mat": [
|
|
14
|
-
[
|
|
15
|
-
3.353617811446221,
|
|
16
|
-
0,
|
|
17
|
-
0
|
|
18
|
-
],
|
|
19
|
-
[
|
|
20
|
-
0,
|
|
21
|
-
6.273423021773385,
|
|
22
|
-
0
|
|
23
|
-
],
|
|
24
|
-
[
|
|
25
|
-
0,
|
|
26
|
-
0,
|
|
27
|
-
33.313518
|
|
28
|
-
]
|
|
29
|
-
],
|
|
30
|
-
"coords": [
|
|
31
|
-
[
|
|
32
|
-
0,
|
|
33
|
-
0.6004615456553349,
|
|
34
|
-
0.2002745956304112
|
|
35
|
-
],
|
|
36
|
-
[
|
|
37
|
-
0.5,
|
|
38
|
-
0.9651745521229684,
|
|
39
|
-
0.205389889617873
|
|
40
|
-
],
|
|
41
|
-
[
|
|
42
|
-
0,
|
|
43
|
-
0.8600702878546368,
|
|
44
|
-
0.2642586539633663
|
|
45
|
-
],
|
|
46
|
-
[
|
|
47
|
-
0.5,
|
|
48
|
-
0.3508476059345406,
|
|
49
|
-
0.2471701152668883
|
|
50
|
-
],
|
|
51
|
-
[
|
|
52
|
-
0.5,
|
|
53
|
-
0.7055702442093444,
|
|
54
|
-
0.1414059027438078
|
|
55
|
-
],
|
|
56
|
-
[
|
|
57
|
-
0,
|
|
58
|
-
0.2147957642231673,
|
|
59
|
-
0.1584938427776558
|
|
60
|
-
]
|
|
61
|
-
],
|
|
62
|
-
"elements": [
|
|
63
|
-
"Mo",
|
|
64
|
-
"Mo",
|
|
65
|
-
"Te",
|
|
66
|
-
"Te",
|
|
67
|
-
"Te",
|
|
68
|
-
"Te"
|
|
69
|
-
],
|
|
70
|
-
"abc": [
|
|
71
|
-
3.35362,
|
|
72
|
-
6.27342,
|
|
73
|
-
33.31352
|
|
74
|
-
],
|
|
75
|
-
"angles": [
|
|
76
|
-
90,
|
|
77
|
-
90,
|
|
78
|
-
90
|
|
79
|
-
],
|
|
80
|
-
"cartesian": false,
|
|
81
|
-
"props": [
|
|
82
|
-
"",
|
|
83
|
-
"",
|
|
84
|
-
"",
|
|
85
|
-
"",
|
|
86
|
-
"",
|
|
87
|
-
""
|
|
88
|
-
]
|
|
89
|
-
},
|
|
90
|
-
"jid": "JVASP-677"
|
|
91
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"&CONTROL": {
|
|
3
|
-
"calculation": "scf",
|
|
4
|
-
"title": "",
|
|
5
|
-
"verbosity": "low",
|
|
6
|
-
"restart_mode": "from_scratch",
|
|
7
|
-
"wf_collect": true,
|
|
8
|
-
"tstress": true,
|
|
9
|
-
"tprnfor": true,
|
|
10
|
-
"outdir": "{{ JOB_WORK_DIR }}/outdir",
|
|
11
|
-
"wfcdir": "{{ JOB_WORK_DIR }}/outdir",
|
|
12
|
-
"prefix": "__prefix__",
|
|
13
|
-
"pseudo_dir": "{{ JOB_WORK_DIR }}/pseudo"
|
|
14
|
-
},
|
|
15
|
-
"&SYSTEM": {
|
|
16
|
-
"ibrav": 0,
|
|
17
|
-
"nat": 2,
|
|
18
|
-
"ntyp": 2,
|
|
19
|
-
"ecutwfc": 40,
|
|
20
|
-
"ecutrho": 200,
|
|
21
|
-
"occupations": "smearing",
|
|
22
|
-
"degauss": 0.005,
|
|
23
|
-
"starting_magnetization": [
|
|
24
|
-
0.01,
|
|
25
|
-
0.02
|
|
26
|
-
],
|
|
27
|
-
"Hubbard_occ": [
|
|
28
|
-
[
|
|
29
|
-
1,
|
|
30
|
-
1,
|
|
31
|
-
0
|
|
32
|
-
],
|
|
33
|
-
[
|
|
34
|
-
1,
|
|
35
|
-
2,
|
|
36
|
-
0.02
|
|
37
|
-
]
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"&ELECTRONS": {
|
|
41
|
-
"diagonalization": "david",
|
|
42
|
-
"diago_david_ndim": 4,
|
|
43
|
-
"diago_full_acc": true,
|
|
44
|
-
"mixing_beta": 0.3,
|
|
45
|
-
"startingwfc": "atomic+random"
|
|
46
|
-
},
|
|
47
|
-
"&IONS": null,
|
|
48
|
-
"&CELL": null,
|
|
49
|
-
"ATOMIC_SPECIES": {
|
|
50
|
-
"values": [
|
|
51
|
-
{
|
|
52
|
-
"X": "Cs",
|
|
53
|
-
"Mass_X": 132.90543,
|
|
54
|
-
"PseudoPot_X": "Cs.upf"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"X": "Cl",
|
|
58
|
-
"Mass_X": 35.4527,
|
|
59
|
-
"PseudoPot_X": "Cl.upf"
|
|
60
|
-
}
|
|
61
|
-
]
|
|
62
|
-
},
|
|
63
|
-
"CELL_PARAMETERS": {
|
|
64
|
-
"card_option": "angstrom",
|
|
65
|
-
"values": {
|
|
66
|
-
"v1": [
|
|
67
|
-
4.324582724,
|
|
68
|
-
0,
|
|
69
|
-
2.496799
|
|
70
|
-
],
|
|
71
|
-
"v2": [
|
|
72
|
-
1.441527575,
|
|
73
|
-
4.077255694,
|
|
74
|
-
2.496799
|
|
75
|
-
],
|
|
76
|
-
"v3": [
|
|
77
|
-
0,
|
|
78
|
-
0,
|
|
79
|
-
4.993598
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
"K_POINTS": {
|
|
84
|
-
"card_option": "automatic",
|
|
85
|
-
"values": {
|
|
86
|
-
"nk1": 2,
|
|
87
|
-
"nk2": 2,
|
|
88
|
-
"nk3": 2,
|
|
89
|
-
"sk1": 0,
|
|
90
|
-
"sk2": 0,
|
|
91
|
-
"sk3": 0
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"xAxis": {
|
|
3
|
-
"label": "kpoint index"
|
|
4
|
-
},
|
|
5
|
-
"xDataArray": [
|
|
6
|
-
0,
|
|
7
|
-
1,
|
|
8
|
-
2
|
|
9
|
-
],
|
|
10
|
-
"yAxis": {
|
|
11
|
-
"label": "eigenvalues",
|
|
12
|
-
"units": "eV"
|
|
13
|
-
},
|
|
14
|
-
"yDataSeries": [
|
|
15
|
-
[
|
|
16
|
-
0,
|
|
17
|
-
0.5,
|
|
18
|
-
1
|
|
19
|
-
],
|
|
20
|
-
[
|
|
21
|
-
0,
|
|
22
|
-
2.5,
|
|
23
|
-
5
|
|
24
|
-
]
|
|
25
|
-
]
|
|
26
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"authors": [
|
|
3
|
-
{
|
|
4
|
-
"affiliation": "Exabyte Inc.",
|
|
5
|
-
"first": "John",
|
|
6
|
-
"last": "Doe"
|
|
7
|
-
}
|
|
8
|
-
],
|
|
9
|
-
"conditions": [
|
|
10
|
-
{
|
|
11
|
-
"name": "pressure",
|
|
12
|
-
"scalar": [
|
|
13
|
-
{
|
|
14
|
-
"value": "1.2"
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"value": "3.3"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"units": "kbar"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"method": "DFT",
|
|
24
|
-
"references": [
|
|
25
|
-
{
|
|
26
|
-
"authors": [
|
|
27
|
-
{
|
|
28
|
-
"affiliation": "Exabyte Inc.",
|
|
29
|
-
"first": "John",
|
|
30
|
-
"last": "Doe"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"doi": "10.1000/xyz123"
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"timestamp": 141182979832,
|
|
37
|
-
"title": "Experiment 1"
|
|
38
|
-
}
|