@mat3ra/esse 2026.5.18-2 → 2026.5.27-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/js/esse/JSONSchemasGenerator.d.ts +2 -1
- package/dist/js/esse/JSONSchemasGenerator.js +1 -1
- package/dist/js/esse/JSONSchemasInterface.d.ts +1 -1
- package/dist/js/esse/JSONSchemasInterface.js +1 -1
- package/dist/js/esse/JSONSchemasInterfaceServer.js +3 -2
- package/dist/js/esse/schemaUtils.d.ts +1 -1
- package/dist/js/esse/schemaUtils.js +2 -1
- package/dist/js/esse/server/utils.d.ts +12 -0
- package/dist/js/esse/server/utils.js +68 -0
- package/dist/js/esse/utils.d.ts +0 -11
- package/dist/js/esse/utils.js +3 -60
- package/dist/js/example/job.json +38 -11
- package/dist/js/example/material.json +7 -1
- package/dist/js/example/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +35 -5
- package/dist/js/example/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +28 -4
- package/dist/js/example/materials_category/defective_structures/two_dimensional/adatom/configuration.json +28 -4
- package/dist/js/example/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +35 -5
- package/dist/js/example/materials_category/defective_structures/two_dimensional/island/configuration.json +42 -6
- package/dist/js/example/materials_category/defective_structures/two_dimensional/terrace/configuration.json +42 -6
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/base_configuration.json +14 -2
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/interstitial.json +14 -2
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/substitutional.json +14 -2
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/vacancy.json +7 -1
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/nanoribbon.json +21 -3
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/nanotape.json +14 -2
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/slab.json +14 -2
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +14 -2
- package/dist/js/example/materials_category/processed_structures/two_dimensional/passivation/configuration.json +28 -4
- package/dist/js/example/materials_category_components/entities/auxiliary/zero_dimensional/crystal_site.json +7 -1
- package/dist/js/example/materials_category_components/entities/auxiliary/zero_dimensional/point_defect_site.json +7 -1
- package/dist/js/example/materials_category_components/entities/core/three_dimensional/crystal.json +7 -1
- package/dist/js/example/materials_category_components/entities/core/two_dimensional/vacuum.json +7 -1
- package/dist/js/example/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines.json +7 -1
- package/dist/js/example/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated.json +7 -1
- package/dist/js/example/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +28 -4
- package/dist/js/example/materials_category_components/operations/core/combinations/merge.json +14 -2
- package/dist/js/example/materials_category_components/operations/core/combinations/stack.json +14 -2
- package/dist/js/example/materials_category_components/operations/core/modifications/perturb.json +7 -1
- package/dist/js/example/model.json +2 -1
- package/dist/js/example/software/application.json +1 -0
- package/dist/js/example/software/executable.json +3 -4
- package/dist/js/example/software/flavor.json +9 -2
- package/dist/js/example/software/template.json +5 -8
- package/dist/js/example/software_directory/modeling/espresso.json +2 -1
- package/dist/js/example/software_directory/modeling/nwchem.json +3 -1
- package/dist/js/example/software_directory/modeling/unit/execution.json +57 -15
- package/dist/js/example/software_directory/modeling/vasp.json +2 -1
- package/dist/js/example/software_directory/scripting/jupyter_lab.json +2 -1
- package/dist/js/example/software_directory/scripting/python.json +2 -1
- package/dist/js/example/software_directory/scripting/shell.json +2 -1
- package/dist/js/example/software_directory/scripting/unit/execution.json +57 -15
- package/dist/js/example/system/runtime_items.json +14 -0
- package/dist/js/example/workflow/subworkflow.json +32 -10
- package/dist/js/example/workflow/unit/assignment.json +5 -1
- package/dist/js/example/workflow/unit/condition.json +5 -1
- package/dist/js/example/workflow/unit/execution.json +29 -9
- package/dist/js/example/workflow/unit/io/api.json +1 -0
- package/dist/js/example/workflow/unit/io/db_collection.json +5 -0
- package/dist/js/example/workflow/unit/io/db_ids.json +6 -0
- package/dist/js/example/workflow/unit/io/object_storage.json +2 -1
- package/dist/js/example/workflow/unit/io.json +22 -2
- package/dist/js/example/workflow/unit/map.json +5 -1
- package/dist/js/example/workflow/unit/reduce.json +5 -1
- package/dist/js/example/workflow.json +38 -11
- package/dist/js/schema/apse/file/applications/espresso/7.2/pw.x/atomic_species.json +5 -0
- package/dist/js/schema/apse/file/applications/espresso/7.2/pw.x.json +5 -0
- package/dist/js/schema/context_providers_directory/by_application/nwchem_total_energy_context_provider.json +7 -1
- package/dist/js/schema/context_providers_directory/by_application/qe_neb_context_provider.json +164 -6
- package/dist/js/schema/context_providers_directory/by_application/qe_pwx_base_context_provider.json +10 -0
- package/dist/js/schema/context_providers_directory/by_application/qe_pwx_context_provider.json +17 -1
- package/dist/js/schema/context_providers_directory/by_application/vasp_context_provider.json +7 -1
- package/dist/js/schema/context_providers_directory/by_application/vasp_neb_context_provider.json +7 -1
- package/dist/js/schema/context_providers_directory/collinear_magnetization_context_provider.json +14 -0
- package/dist/js/schema/context_providers_directory/non_collinear_magnetization_context_provider.json +7 -0
- package/dist/js/schema/context_providers_directory/points_grid_data_provider.json +23 -6
- package/dist/js/schema/context_providers_directory/points_path_data_provider.json +6 -2
- package/dist/js/schema/context_providers_directory/points_path_data_provider_rendering.json +32 -0
- package/dist/js/schema/core/primitive/linked_list/named_node.json +2 -1
- package/dist/js/schema/core/primitive/linked_list/named_node_in_group.json +2 -1
- package/dist/js/schema/core/primitive/linked_list.json +4 -2
- package/dist/js/schema/in_memory_entity/has_consistency_check_has_metadata_named_defaultable.json +3 -0
- package/dist/js/schema/in_memory_entity/named.json +3 -0
- package/dist/js/schema/in_memory_entity/named_defaultable.json +3 -0
- package/dist/js/schema/in_memory_entity/named_defaultable_has_metadata.json +3 -0
- package/dist/js/schema/in_memory_entity/named_defaultable_runtime_items.json +3 -0
- package/dist/js/schema/job/base.json +133 -132
- package/dist/js/schema/job/compute.json +1 -1
- package/dist/js/schema/job/compute_property.json +182 -0
- package/dist/js/schema/job.json +3829 -4566
- package/dist/js/schema/material/material_properties.json +736 -0
- package/dist/js/schema/material/metadata/boundary_conditions.json +32 -0
- package/dist/js/schema/material/metadata/bulk_properties.json +13 -0
- package/dist/js/schema/material/metadata/slab_properties.json +41 -0
- package/dist/js/schema/material/metadata.json +101 -0
- package/dist/js/schema/material.json +117 -27
- package/dist/js/schema/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +1069 -268
- package/dist/js/schema/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +1069 -268
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/adatom/configuration.json +464 -108
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +1069 -268
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/island/configuration.json +698 -164
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/terrace/configuration.json +698 -164
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/base_configuration.json +116 -27
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/interstitial.json +232 -54
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/substitutional.json +232 -54
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/vacancy.json +116 -27
- package/dist/js/schema/materials_category/pristine_structures/three_dimensional/ideal_crystal.json +116 -27
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanoribbon.json +348 -81
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanotape.json +232 -54
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab.json +232 -54
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +232 -54
- package/dist/js/schema/materials_category/processed_structures/two_dimensional/passivation/configuration.json +233 -54
- package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/crystal_site.json +116 -27
- package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/point_defect_site.json +116 -27
- package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/void_region.json +116 -27
- package/dist/js/schema/materials_category_components/entities/core/three_dimensional/crystal.json +116 -27
- package/dist/js/schema/materials_category_components/entities/core/two_dimensional/vacuum.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/crystal_lattice_base.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/strained_non_uniform.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/strained_uniform.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/supercell.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/crystal_lattice_planes.json +116 -27
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +348 -81
- package/dist/js/schema/materials_category_components/operations/core/modifications/perturb.json +117 -27
- package/dist/js/schema/method/categorized_method.json +4 -0
- package/dist/js/schema/method/unit_method.json +3 -0
- package/dist/js/schema/method.json +7 -1
- package/dist/js/schema/methods_directory/legacy/localorbital.json +7 -1
- package/dist/js/schema/methods_directory/legacy/pseudopotential.json +7 -1
- package/dist/js/schema/methods_directory/legacy/regression.json +4 -0
- package/dist/js/schema/methods_directory/legacy/unknown.json +7 -1
- package/dist/js/schema/methods_directory/mathematical/cg.json +2 -1
- package/dist/js/schema/methods_directory/mathematical/davidson.json +2 -1
- package/dist/js/schema/methods_directory/mathematical/regression.json +3 -2
- package/dist/js/schema/methods_directory/physical/ao/dunning.json +2 -1
- package/dist/js/schema/methods_directory/physical/ao/other.json +2 -1
- package/dist/js/schema/methods_directory/physical/ao/pople.json +2 -1
- package/dist/js/schema/methods_directory/physical/psp.json +2 -1
- package/dist/js/schema/methods_directory/physical/pw.json +2 -1
- package/dist/js/schema/methods_directory/physical/smearing.json +2 -1
- package/dist/js/schema/methods_directory/physical/tetrahedron.json +2 -1
- package/dist/js/schema/model/categorized_model.json +5 -0
- package/dist/js/schema/model/model_without_method.json +1 -0
- package/dist/js/schema/model.json +7 -2
- package/dist/js/schema/models_directory/double_hybrid.json +1 -0
- package/dist/js/schema/models_directory/gga.json +1 -0
- package/dist/js/schema/models_directory/gw.json +1 -0
- package/dist/js/schema/models_directory/hybrid.json +1 -0
- package/dist/js/schema/models_directory/lda.json +1 -0
- package/dist/js/schema/models_directory/legacy/any.json +488 -0
- package/dist/js/schema/models_directory/legacy/dft.json +267 -39
- package/dist/js/schema/models_directory/legacy/ml.json +10 -9
- package/dist/js/schema/models_directory/legacy/unknown.json +10 -9
- package/dist/js/schema/models_directory/mgga.json +1 -0
- package/dist/js/schema/models_directory/re.json +1 -0
- package/dist/js/schema/project.json +3 -0
- package/dist/js/schema/properties_directory/non_scalar/workflow.json +3682 -4421
- package/dist/js/schema/property/holder.json +3717 -4456
- package/dist/js/schema/software/application.json +53 -24
- package/dist/js/schema/software/application_properties.json +68 -0
- package/dist/js/schema/software/application_with_build_config.json +52 -23
- package/dist/js/schema/software/executable.json +67 -108
- package/dist/js/schema/software/executable_properties.json +24 -0
- package/dist/js/schema/software/flavor.json +90 -128
- package/dist/js/schema/software/flavor_properties.json +50 -0
- package/dist/js/schema/software/template.json +30 -35
- package/dist/js/schema/software/template_properties.json +44 -0
- package/dist/js/schema/software_directory/modeling/deepmd.json +48 -19
- package/dist/js/schema/software_directory/modeling/lammps.json +47 -18
- package/dist/js/schema/software_directory/modeling/nwchem.json +48 -19
- package/dist/js/schema/software_directory/modeling/unit/execution.json +2019 -455
- package/dist/js/schema/software_directory/modeling/vasp.json +48 -19
- package/dist/js/schema/software_directory/scripting/jupyter_lab.json +48 -19
- package/dist/js/schema/software_directory/scripting/python.json +48 -19
- package/dist/js/schema/software_directory/scripting/shell.json +48 -19
- package/dist/js/schema/software_directory/scripting/unit/execution.json +2019 -455
- package/dist/js/schema/system/bankable.json +4 -0
- package/dist/js/schema/system/creator.json +2 -1
- package/dist/js/schema/system/creator_account.json +3 -0
- package/dist/js/schema/system/in_set.json +3 -0
- package/dist/js/schema/system/name.json +3 -0
- package/dist/js/schema/system/owner.json +2 -1
- package/dist/js/schema/system/path_entity.json +3 -0
- package/dist/js/schema/system/runtime_item.json +17 -0
- package/dist/js/schema/system/runtime_items.json +94 -0
- package/dist/js/schema/workflow/base.json +4591 -39
- package/dist/js/schema/workflow/base_flow.json +1 -1
- package/dist/js/schema/workflow/subworkflow/mixin.json +3919 -0
- package/dist/js/schema/workflow/subworkflow/unit.json +2365 -1560
- package/dist/js/schema/workflow/subworkflow.json +3137 -1852
- package/dist/js/schema/workflow/unit/assertion.json +96 -140
- package/dist/js/schema/workflow/unit/assignment.json +129 -173
- package/dist/js/schema/workflow/unit/base.json +90 -133
- package/dist/js/schema/workflow/unit/condition.json +132 -175
- package/dist/js/schema/workflow/unit/context/_base.json +20 -0
- package/dist/js/schema/workflow/unit/context/_extra_data_material_hash.json +14 -0
- package/dist/js/schema/workflow/unit/context/item/boundaryConditions.json +63 -0
- package/dist/js/schema/workflow/unit/context/item/collinearMagnetization.json +82 -0
- package/dist/js/schema/workflow/unit/context/item/cutoffs.json +38 -0
- package/dist/js/schema/workflow/unit/context/item/dynamics.json +48 -0
- package/dist/js/schema/workflow/unit/context/item/grid.json +100 -0
- package/dist/js/schema/workflow/unit/context/item/hubbard_j.json +59 -0
- package/dist/js/schema/workflow/unit/context/item/hubbard_legacy.json +49 -0
- package/dist/js/schema/workflow/unit/context/item/hubbard_u.json +57 -0
- package/dist/js/schema/workflow/unit/context/item/hubbard_v.json +64 -0
- package/dist/js/schema/workflow/unit/context/item/input.json +712 -0
- package/dist/js/schema/workflow/unit/context/item/mlSettings.json +43 -0
- package/dist/js/schema/workflow/unit/context/item/mlTrainTestSplit.json +37 -0
- package/dist/js/schema/workflow/unit/context/item/neb.json +35 -0
- package/dist/js/schema/workflow/unit/context/item/nonCollinearMagnetization.json +150 -0
- package/dist/js/schema/workflow/unit/context/item/path.json +62 -0
- package/dist/js/schema/workflow/unit/context/item.json +1594 -0
- package/dist/js/schema/workflow/unit/execution.json +1928 -423
- package/dist/js/schema/workflow/unit/input/_input.json +74 -12
- package/dist/js/schema/workflow/unit/input/_inputItem.json +70 -10
- package/dist/js/schema/workflow/unit/input/_inputItemId.json +3 -1
- package/dist/js/schema/workflow/unit/io/api.json +5 -1
- package/dist/js/schema/workflow/unit/io/db_collection.json +24 -0
- package/dist/js/schema/workflow/unit/io/db_ids.json +22 -0
- package/dist/js/schema/workflow/unit/io/object_storage.json +5 -1
- package/dist/js/schema/workflow/unit/io.json +182 -253
- package/dist/js/schema/workflow/unit/map.json +134 -177
- package/dist/js/schema/workflow/unit/mixins/assertion.json +23 -0
- package/dist/js/schema/workflow/unit/mixins/assignment.json +57 -0
- package/dist/js/schema/workflow/unit/mixins/base.json +50 -0
- package/dist/js/schema/workflow/unit/mixins/condition.json +61 -0
- package/dist/js/schema/workflow/unit/mixins/execution.json +1998 -0
- package/dist/js/schema/workflow/unit/mixins/io.json +131 -0
- package/dist/js/schema/workflow/unit/mixins/map.json +60 -0
- package/dist/js/schema/workflow/unit/mixins/processing.json +27 -0
- package/dist/js/schema/workflow/unit/mixins/reduce.json +43 -0
- package/dist/js/schema/workflow/unit/mixins/subworkflow.json +11 -0
- package/dist/js/schema/workflow/unit/reduce.json +117 -160
- package/dist/js/schema/workflow/unit/subworkflow.json +91 -134
- package/dist/js/schema/workflow/unit.json +285 -2477
- package/dist/js/schema/workflow.json +3684 -4422
- package/dist/js/schemas.json +1 -1
- package/dist/js/scripts/compileTs.js +1 -1
- package/dist/js/scripts/setSchemaIds.js +2 -1
- package/dist/js/types.d.ts +27163 -15301
- package/dist/js/types.js +5 -5
- package/dist/js/utils/ajv.js +5 -4
- package/dist/js/utils/common.js +3 -2
- package/dist/js/utils/filesystem.js +3 -2
- package/example/material.json +7 -1
- package/example/model.json +2 -1
- package/example/software/application.json +1 -0
- package/example/software/executable.json +3 -4
- package/example/software/flavor.json +9 -2
- package/example/software/template.json +5 -8
- package/example/software_directory/modeling/espresso.json +2 -1
- package/example/software_directory/modeling/nwchem.json +4 -2
- package/example/software_directory/modeling/unit/execution.json +17 -2
- package/example/software_directory/modeling/vasp.json +2 -1
- package/example/software_directory/scripting/jupyter-lab.json +2 -1
- package/example/software_directory/scripting/python.json +2 -1
- package/example/software_directory/scripting/shell.json +2 -1
- package/example/software_directory/scripting/unit/execution.json +17 -2
- package/example/system/runtime_items.json +14 -0
- package/example/workflow/unit/assignment.json +5 -1
- package/example/workflow/unit/condition.json +5 -1
- package/example/workflow/unit/execution.json +7 -3
- package/example/workflow/unit/io/api.json +1 -0
- package/example/workflow/unit/io/db_collection.json +5 -0
- package/example/workflow/unit/io/db_ids.json +6 -0
- package/example/workflow/unit/io/object_storage.json +2 -1
- package/example/workflow/unit/io.json +9 -29
- package/example/workflow/unit/map.json +5 -1
- package/example/workflow/unit/reduce.json +5 -1
- package/example/workflow.json +6 -1
- package/package.json +2 -1
- package/schema/apse/file/applications/espresso/7.2/pw.x/atomic_species.json +6 -1
- package/schema/context_providers_directory/by_application/nwchem_total_energy_context_provider.json +7 -1
- package/schema/context_providers_directory/by_application/qe_neb_context_provider.json +12 -6
- package/schema/context_providers_directory/by_application/qe_pwx_context_provider.json +10 -1
- package/schema/context_providers_directory/by_application/vasp_context_provider.json +7 -1
- package/schema/context_providers_directory/by_application/vasp_neb_context_provider.json +7 -1
- package/schema/context_providers_directory/collinear_magnetization_context_provider.json +18 -4
- package/schema/context_providers_directory/non_collinear_magnetization_context_provider.json +7 -0
- package/schema/context_providers_directory/points_grid_data_provider.json +24 -7
- package/schema/context_providers_directory/points_path_data_provider.json +7 -3
- package/schema/context_providers_directory/points_path_data_provider_rendering.json +32 -0
- package/schema/job/base.json +4 -5
- package/schema/job/compute.json +1 -1
- package/schema/job/compute_property.json +15 -0
- package/schema/material/material_properties.json +65 -0
- package/schema/material/metadata/boundary_conditions.json +24 -0
- package/schema/material/metadata/bulk_properties.json +13 -0
- package/schema/material/metadata/slab_properties.json +41 -0
- package/schema/material/metadata.json +27 -0
- package/schema/material.json +5 -57
- package/schema/method.json +7 -1
- package/schema/model.json +0 -1
- package/schema/models_directory/legacy/any.json +20 -0
- package/schema/models_directory/legacy/dft.json +63 -12
- package/schema/models_directory/legacy/ml.json +10 -7
- package/schema/models_directory/legacy/unknown.json +10 -7
- package/schema/software/application.json +4 -35
- package/schema/software/application_properties.json +68 -0
- package/schema/software/executable.json +5 -23
- package/schema/software/executable_properties.json +24 -0
- package/schema/software/flavor.json +6 -28
- package/schema/software/flavor_properties.json +33 -0
- package/schema/software/template.json +2 -26
- package/schema/software/template_properties.json +44 -0
- package/schema/system/bankable.json +5 -1
- package/schema/system/creator.json +4 -1
- package/schema/system/creator_account.json +4 -1
- package/schema/system/in_set.json +4 -1
- package/schema/system/name.json +4 -1
- package/schema/system/owner.json +4 -1
- package/schema/system/runtime_item.json +17 -0
- package/schema/system/runtime_items.json +42 -0
- package/schema/workflow/base.json +17 -17
- package/schema/workflow/subworkflow/mixin.json +48 -0
- package/schema/workflow/subworkflow/unit.json +0 -6
- package/schema/workflow/subworkflow.json +4 -31
- package/schema/workflow/unit/assertion.json +2 -16
- package/schema/workflow/unit/assignment.json +2 -34
- package/schema/workflow/unit/base.json +6 -51
- package/schema/workflow/unit/condition.json +2 -38
- package/schema/workflow/unit/context/_base.json +20 -0
- package/schema/workflow/unit/context/_extra_data_material_hash.json +14 -0
- package/schema/workflow/unit/context/item/boundaryConditions.json +27 -0
- package/schema/workflow/unit/context/item/collinearMagnetization.json +27 -0
- package/schema/workflow/unit/context/item/cutoffs.json +20 -0
- package/schema/workflow/unit/context/item/dynamics.json +20 -0
- package/schema/workflow/unit/context/item/grid.json +31 -0
- package/schema/workflow/unit/context/item/hubbard_j.json +20 -0
- package/schema/workflow/unit/context/item/hubbard_legacy.json +20 -0
- package/schema/workflow/unit/context/item/hubbard_u.json +27 -0
- package/schema/workflow/unit/context/item/hubbard_v.json +20 -0
- package/schema/workflow/unit/context/item/input.json +47 -0
- package/schema/workflow/unit/context/item/mlSettings.json +20 -0
- package/schema/workflow/unit/context/item/mlTrainTestSplit.json +20 -0
- package/schema/workflow/unit/context/item/neb.json +20 -0
- package/schema/workflow/unit/context/item/nonCollinearMagnetization.json +27 -0
- package/schema/workflow/unit/context/item/path.json +33 -0
- package/schema/workflow/unit/context/item.json +55 -0
- package/schema/workflow/unit/execution.json +4 -25
- package/schema/workflow/unit/input/_input.json +1 -1
- package/schema/workflow/unit/input/_inputItem.json +9 -9
- package/schema/workflow/unit/input/_inputItemId.json +3 -1
- package/schema/workflow/unit/io/api.json +6 -2
- package/schema/workflow/unit/io/db_collection.json +24 -0
- package/schema/workflow/unit/io/db_ids.json +22 -0
- package/schema/workflow/unit/io/object_storage.json +6 -2
- package/schema/workflow/unit/io.json +2 -39
- package/schema/workflow/unit/map.json +2 -53
- package/schema/workflow/unit/mixins/assertion.json +23 -0
- package/schema/workflow/unit/mixins/assignment.json +42 -0
- package/schema/workflow/unit/mixins/base.json +50 -0
- package/schema/workflow/unit/mixins/condition.json +46 -0
- package/schema/workflow/unit/mixins/execution.json +49 -0
- package/schema/workflow/unit/mixins/io.json +46 -0
- package/schema/workflow/unit/mixins/map.json +61 -0
- package/schema/workflow/unit/{processing.json → mixins/processing.json} +3 -7
- package/schema/workflow/unit/mixins/reduce.json +44 -0
- package/schema/workflow/unit/mixins/subworkflow.json +12 -0
- package/schema/workflow/unit/reduce.json +2 -36
- package/schema/workflow/unit/subworkflow.json +4 -6
- package/schema/workflow/unit.json +1 -19
- package/schema/workflow.json +19 -15
- package/src/html/index.html +2 -1
- package/src/js/esse/JSONSchemasGenerator.ts +2 -1
- package/src/js/esse/JSONSchemasInterface.ts +1 -1
- package/src/js/esse/schemaUtils.ts +1 -1
- package/src/js/esse/server/utils.ts +82 -0
- package/src/js/esse/utils.ts +0 -74
- package/src/js/scripts/compileTs.ts +1 -1
- package/src/js/scripts/setSchemaIds.ts +1 -0
- package/src/js/utils/ajv.ts +1 -1
- package/dist/js/example/workflow/unit/io/db.json +0 -15
- package/dist/js/example/workflow/unit/processing.json +0 -13
- package/dist/js/schema/workflow/unit/io/db.json +0 -40
- package/dist/js/schema/workflow/unit/processing.json +0 -242
- package/example/workflow/unit/io/db.json +0 -15
- package/example/workflow/unit/processing.json +0 -13
- package/schema/workflow/unit/io/db.json +0 -40
|
@@ -0,0 +1,736 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "material/material-properties",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "material properties schema",
|
|
5
|
+
"description": "Domain-specific fields of a material entity, kept separate from generic in-memory-entity mixins (name, isDefault, etc.). Full entity schemas compose *_properties.json fragments via allOf (see material.json). The _properties filename suffix marks schemas that serve as the input for generated TypeScript entity mixins — MaterialSchemaMixin in @mat3ra/made, following the same pattern as ApplicationSchemaMixin in @mat3ra/ade (scripts/generate-mixins.ts and generateSchemaMixin in @mat3ra/code).",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": [
|
|
8
|
+
"basis",
|
|
9
|
+
"lattice"
|
|
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
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
22
|
+
"title": "basis schema",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"required": [
|
|
25
|
+
"elements",
|
|
26
|
+
"coordinates"
|
|
27
|
+
],
|
|
28
|
+
"properties": {
|
|
29
|
+
"elements": {
|
|
30
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
31
|
+
"title": "atomic elements schema",
|
|
32
|
+
"description": "atomic elements schema",
|
|
33
|
+
"type": "array",
|
|
34
|
+
"items": {
|
|
35
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
36
|
+
"title": "atomic element schema",
|
|
37
|
+
"description": "chemical element of an atom according to the periodic table",
|
|
38
|
+
"type": "object",
|
|
39
|
+
"required": [
|
|
40
|
+
"id",
|
|
41
|
+
"value"
|
|
42
|
+
],
|
|
43
|
+
"properties": {
|
|
44
|
+
"value": {
|
|
45
|
+
"description": "All elements, including extra elements",
|
|
46
|
+
"anyOf": [
|
|
47
|
+
{
|
|
48
|
+
"enum": [
|
|
49
|
+
"H",
|
|
50
|
+
"He",
|
|
51
|
+
"Li",
|
|
52
|
+
"Be",
|
|
53
|
+
"B",
|
|
54
|
+
"C",
|
|
55
|
+
"N",
|
|
56
|
+
"O",
|
|
57
|
+
"F",
|
|
58
|
+
"Ne",
|
|
59
|
+
"Na",
|
|
60
|
+
"Mg",
|
|
61
|
+
"Al",
|
|
62
|
+
"Si",
|
|
63
|
+
"P",
|
|
64
|
+
"S",
|
|
65
|
+
"Cl",
|
|
66
|
+
"Ar",
|
|
67
|
+
"K",
|
|
68
|
+
"Ca",
|
|
69
|
+
"Sc",
|
|
70
|
+
"Ti",
|
|
71
|
+
"V",
|
|
72
|
+
"Cr",
|
|
73
|
+
"Mn",
|
|
74
|
+
"Fe",
|
|
75
|
+
"Co",
|
|
76
|
+
"Ni",
|
|
77
|
+
"Cu",
|
|
78
|
+
"Zn",
|
|
79
|
+
"Ga",
|
|
80
|
+
"Ge",
|
|
81
|
+
"As",
|
|
82
|
+
"Se",
|
|
83
|
+
"Br",
|
|
84
|
+
"Kr",
|
|
85
|
+
"Rb",
|
|
86
|
+
"Sr",
|
|
87
|
+
"Y",
|
|
88
|
+
"Zr",
|
|
89
|
+
"Nb",
|
|
90
|
+
"Mo",
|
|
91
|
+
"Tc",
|
|
92
|
+
"Ru",
|
|
93
|
+
"Rh",
|
|
94
|
+
"Pd",
|
|
95
|
+
"Ag",
|
|
96
|
+
"Cd",
|
|
97
|
+
"In",
|
|
98
|
+
"Sn",
|
|
99
|
+
"Sb",
|
|
100
|
+
"Te",
|
|
101
|
+
"I",
|
|
102
|
+
"Xe",
|
|
103
|
+
"Cs",
|
|
104
|
+
"Ba",
|
|
105
|
+
"La",
|
|
106
|
+
"Ce",
|
|
107
|
+
"Pr",
|
|
108
|
+
"Nd",
|
|
109
|
+
"Pm",
|
|
110
|
+
"Sm",
|
|
111
|
+
"Eu",
|
|
112
|
+
"Gd",
|
|
113
|
+
"Tb",
|
|
114
|
+
"Dy",
|
|
115
|
+
"Ho",
|
|
116
|
+
"Er",
|
|
117
|
+
"Tm",
|
|
118
|
+
"Yb",
|
|
119
|
+
"Lu",
|
|
120
|
+
"Hf",
|
|
121
|
+
"Ta",
|
|
122
|
+
"W",
|
|
123
|
+
"Re",
|
|
124
|
+
"Os",
|
|
125
|
+
"Ir",
|
|
126
|
+
"Pt",
|
|
127
|
+
"Au",
|
|
128
|
+
"Hg",
|
|
129
|
+
"Tl",
|
|
130
|
+
"Pb",
|
|
131
|
+
"Bi",
|
|
132
|
+
"Po",
|
|
133
|
+
"At",
|
|
134
|
+
"Rn",
|
|
135
|
+
"Fr",
|
|
136
|
+
"Ra",
|
|
137
|
+
"Ac",
|
|
138
|
+
"Th",
|
|
139
|
+
"Pa",
|
|
140
|
+
"U",
|
|
141
|
+
"Np",
|
|
142
|
+
"Pu",
|
|
143
|
+
"Am",
|
|
144
|
+
"Cm",
|
|
145
|
+
"Bk",
|
|
146
|
+
"Cf",
|
|
147
|
+
"Es",
|
|
148
|
+
"Fm",
|
|
149
|
+
"Md",
|
|
150
|
+
"No",
|
|
151
|
+
"Lr",
|
|
152
|
+
"Rf",
|
|
153
|
+
"Db",
|
|
154
|
+
"Sg",
|
|
155
|
+
"Bh",
|
|
156
|
+
"Hs",
|
|
157
|
+
"Mt",
|
|
158
|
+
"Ds",
|
|
159
|
+
"Rg",
|
|
160
|
+
"Cn",
|
|
161
|
+
"Nh",
|
|
162
|
+
"Fl",
|
|
163
|
+
"Mc",
|
|
164
|
+
"Lv",
|
|
165
|
+
"Ts",
|
|
166
|
+
"Og"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"description": "Extra elements, used for convenience purposed",
|
|
171
|
+
"enum": [
|
|
172
|
+
"X",
|
|
173
|
+
"Vac"
|
|
174
|
+
]
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"type": "string"
|
|
178
|
+
},
|
|
179
|
+
"id": {
|
|
180
|
+
"description": "integer id of this entry",
|
|
181
|
+
"type": "integer"
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"coordinates": {
|
|
187
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
188
|
+
"title": "atomic coordinates schema",
|
|
189
|
+
"description": "atomic coordinates schema",
|
|
190
|
+
"type": "array",
|
|
191
|
+
"items": {
|
|
192
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
193
|
+
"title": "atomic coordinate schema",
|
|
194
|
+
"description": "coordinate of an atom",
|
|
195
|
+
"type": "object",
|
|
196
|
+
"required": [
|
|
197
|
+
"id",
|
|
198
|
+
"value"
|
|
199
|
+
],
|
|
200
|
+
"properties": {
|
|
201
|
+
"value": {
|
|
202
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
203
|
+
"title": "coordinate 3d schema",
|
|
204
|
+
"type": "array",
|
|
205
|
+
"minItems": 3,
|
|
206
|
+
"maxItems": 3,
|
|
207
|
+
"description": "value of this entry",
|
|
208
|
+
"items": {
|
|
209
|
+
"type": "number"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"id": {
|
|
213
|
+
"description": "integer id of this entry",
|
|
214
|
+
"type": "integer"
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
"units": {
|
|
220
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
221
|
+
"title": "basis units enum",
|
|
222
|
+
"enum": [
|
|
223
|
+
"crystal",
|
|
224
|
+
"cartesian"
|
|
225
|
+
],
|
|
226
|
+
"default": "crystal"
|
|
227
|
+
},
|
|
228
|
+
"labels": {
|
|
229
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
230
|
+
"title": "atomic labels schema",
|
|
231
|
+
"description": "atomic labels schema",
|
|
232
|
+
"type": "array",
|
|
233
|
+
"items": {
|
|
234
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
235
|
+
"title": "atomic label schema",
|
|
236
|
+
"description": "Optional label (e.g., 1, 2, as in Fe1, Fe2) to distinguish species, e.g. to have magnetic moment.",
|
|
237
|
+
"type": "object",
|
|
238
|
+
"required": [
|
|
239
|
+
"id",
|
|
240
|
+
"value"
|
|
241
|
+
],
|
|
242
|
+
"properties": {
|
|
243
|
+
"value": {
|
|
244
|
+
"anyOf": [
|
|
245
|
+
{
|
|
246
|
+
"type": [
|
|
247
|
+
"integer",
|
|
248
|
+
"string",
|
|
249
|
+
"number"
|
|
250
|
+
]
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
254
|
+
"title": "integer positive single digit",
|
|
255
|
+
"type": "integer",
|
|
256
|
+
"minimum": 1,
|
|
257
|
+
"maximum": 9
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"description": "value of this entry"
|
|
261
|
+
},
|
|
262
|
+
"id": {
|
|
263
|
+
"description": "integer id of this entry",
|
|
264
|
+
"type": "integer"
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"lattice": {
|
|
272
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
273
|
+
"title": "lattice schema",
|
|
274
|
+
"type": "object",
|
|
275
|
+
"required": [
|
|
276
|
+
"a",
|
|
277
|
+
"b",
|
|
278
|
+
"c",
|
|
279
|
+
"alpha",
|
|
280
|
+
"beta",
|
|
281
|
+
"gamma"
|
|
282
|
+
],
|
|
283
|
+
"properties": {
|
|
284
|
+
"a": {
|
|
285
|
+
"description": "length of the first lattice vector",
|
|
286
|
+
"type": "number"
|
|
287
|
+
},
|
|
288
|
+
"b": {
|
|
289
|
+
"description": "length of the second lattice vector",
|
|
290
|
+
"type": "number"
|
|
291
|
+
},
|
|
292
|
+
"c": {
|
|
293
|
+
"description": "length of the third lattice vector",
|
|
294
|
+
"type": "number"
|
|
295
|
+
},
|
|
296
|
+
"alpha": {
|
|
297
|
+
"description": "angle between first and second lattice vector",
|
|
298
|
+
"type": "number"
|
|
299
|
+
},
|
|
300
|
+
"beta": {
|
|
301
|
+
"description": "angle between second and third lattice vector",
|
|
302
|
+
"type": "number"
|
|
303
|
+
},
|
|
304
|
+
"gamma": {
|
|
305
|
+
"description": "angle between first and third lattice vector",
|
|
306
|
+
"type": "number"
|
|
307
|
+
},
|
|
308
|
+
"vectors": {
|
|
309
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
310
|
+
"title": "lattice vectors schema",
|
|
311
|
+
"type": "object",
|
|
312
|
+
"required": [
|
|
313
|
+
"a",
|
|
314
|
+
"b",
|
|
315
|
+
"c"
|
|
316
|
+
],
|
|
317
|
+
"properties": {
|
|
318
|
+
"a": {
|
|
319
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
320
|
+
"title": "vector 3d schema",
|
|
321
|
+
"type": "array",
|
|
322
|
+
"minItems": 3,
|
|
323
|
+
"maxItems": 3,
|
|
324
|
+
"items": {
|
|
325
|
+
"type": "number"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"b": {
|
|
329
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
330
|
+
"title": "vector 3d schema",
|
|
331
|
+
"type": "array",
|
|
332
|
+
"minItems": 3,
|
|
333
|
+
"maxItems": 3,
|
|
334
|
+
"items": {
|
|
335
|
+
"type": "number"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"c": {
|
|
339
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
340
|
+
"title": "vector 3d schema",
|
|
341
|
+
"type": "array",
|
|
342
|
+
"minItems": 3,
|
|
343
|
+
"maxItems": 3,
|
|
344
|
+
"items": {
|
|
345
|
+
"type": "number"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
"alat": {
|
|
349
|
+
"description": "lattice parameter for fractional coordinates",
|
|
350
|
+
"type": "number",
|
|
351
|
+
"default": 1
|
|
352
|
+
},
|
|
353
|
+
"units": {
|
|
354
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
355
|
+
"title": "lattice vectors units enum",
|
|
356
|
+
"enum": [
|
|
357
|
+
"angstrom",
|
|
358
|
+
"bohr"
|
|
359
|
+
],
|
|
360
|
+
"default": "angstrom"
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"type": {
|
|
365
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
366
|
+
"title": "lattice type enum",
|
|
367
|
+
"type": "string",
|
|
368
|
+
"enum": [
|
|
369
|
+
"CUB",
|
|
370
|
+
"BCC",
|
|
371
|
+
"FCC",
|
|
372
|
+
"TET",
|
|
373
|
+
"MCL",
|
|
374
|
+
"ORC",
|
|
375
|
+
"ORCC",
|
|
376
|
+
"ORCF",
|
|
377
|
+
"ORCI",
|
|
378
|
+
"HEX",
|
|
379
|
+
"BCT",
|
|
380
|
+
"TRI",
|
|
381
|
+
"MCLC",
|
|
382
|
+
"RHL"
|
|
383
|
+
],
|
|
384
|
+
"default": "TRI"
|
|
385
|
+
},
|
|
386
|
+
"units": {
|
|
387
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
388
|
+
"title": "Lattice units schema",
|
|
389
|
+
"type": "object",
|
|
390
|
+
"default": {
|
|
391
|
+
"length": "angstrom",
|
|
392
|
+
"angle": "degree"
|
|
393
|
+
},
|
|
394
|
+
"properties": {
|
|
395
|
+
"length": {
|
|
396
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
397
|
+
"title": "lattice units length enum",
|
|
398
|
+
"enum": [
|
|
399
|
+
"angstrom",
|
|
400
|
+
"bohr"
|
|
401
|
+
],
|
|
402
|
+
"default": "angstrom"
|
|
403
|
+
},
|
|
404
|
+
"angle": {
|
|
405
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
406
|
+
"title": "lattice units angle enum",
|
|
407
|
+
"enum": [
|
|
408
|
+
"degree",
|
|
409
|
+
"radian"
|
|
410
|
+
],
|
|
411
|
+
"default": "degree"
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"derivedProperties": {
|
|
418
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
419
|
+
"title": "derived properties schema",
|
|
420
|
+
"type": "array",
|
|
421
|
+
"items": {
|
|
422
|
+
"oneOf": [
|
|
423
|
+
{
|
|
424
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
425
|
+
"title": "volume schema",
|
|
426
|
+
"type": "object",
|
|
427
|
+
"required": [
|
|
428
|
+
"value"
|
|
429
|
+
],
|
|
430
|
+
"properties": {
|
|
431
|
+
"name": {
|
|
432
|
+
"enum": [
|
|
433
|
+
"volume"
|
|
434
|
+
]
|
|
435
|
+
},
|
|
436
|
+
"units": {
|
|
437
|
+
"enum": [
|
|
438
|
+
"angstrom^3"
|
|
439
|
+
]
|
|
440
|
+
},
|
|
441
|
+
"value": {
|
|
442
|
+
"type": "number"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
448
|
+
"title": "density schema",
|
|
449
|
+
"type": "object",
|
|
450
|
+
"required": [
|
|
451
|
+
"value"
|
|
452
|
+
],
|
|
453
|
+
"properties": {
|
|
454
|
+
"name": {
|
|
455
|
+
"enum": [
|
|
456
|
+
"density"
|
|
457
|
+
]
|
|
458
|
+
},
|
|
459
|
+
"units": {
|
|
460
|
+
"enum": [
|
|
461
|
+
"g/cm^3"
|
|
462
|
+
]
|
|
463
|
+
},
|
|
464
|
+
"value": {
|
|
465
|
+
"type": "number"
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
471
|
+
"title": "symmetry schema",
|
|
472
|
+
"type": "object",
|
|
473
|
+
"properties": {
|
|
474
|
+
"pointGroupSymbol": {
|
|
475
|
+
"description": "point group symbol in Schoenflies notation",
|
|
476
|
+
"type": "string"
|
|
477
|
+
},
|
|
478
|
+
"spaceGroupSymbol": {
|
|
479
|
+
"description": "space group symbol in Hermann–Mauguin notation",
|
|
480
|
+
"type": "string"
|
|
481
|
+
},
|
|
482
|
+
"tolerance": {
|
|
483
|
+
"type": "object",
|
|
484
|
+
"description": "tolerance used for symmetry calculation",
|
|
485
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
486
|
+
"title": "scalar schema",
|
|
487
|
+
"required": [
|
|
488
|
+
"value"
|
|
489
|
+
],
|
|
490
|
+
"properties": {
|
|
491
|
+
"units": {
|
|
492
|
+
"enum": [
|
|
493
|
+
"angstrom"
|
|
494
|
+
]
|
|
495
|
+
},
|
|
496
|
+
"value": {
|
|
497
|
+
"type": "number"
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"name": {
|
|
502
|
+
"enum": [
|
|
503
|
+
"symmetry"
|
|
504
|
+
]
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
510
|
+
"title": "elemental-ratio",
|
|
511
|
+
"description": "ration of this element in the compound",
|
|
512
|
+
"type": "object",
|
|
513
|
+
"required": [
|
|
514
|
+
"value"
|
|
515
|
+
],
|
|
516
|
+
"properties": {
|
|
517
|
+
"name": {
|
|
518
|
+
"enum": [
|
|
519
|
+
"elemental_ratio"
|
|
520
|
+
]
|
|
521
|
+
},
|
|
522
|
+
"value": {
|
|
523
|
+
"type": "number",
|
|
524
|
+
"minimum": 0,
|
|
525
|
+
"maximum": 1
|
|
526
|
+
},
|
|
527
|
+
"element": {
|
|
528
|
+
"type": "string",
|
|
529
|
+
"description": "the element this ratio is for"
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
535
|
+
"title": "p_norm",
|
|
536
|
+
"description": "https://en.wikipedia.org/wiki/Norm_(mathematics)#p-norm",
|
|
537
|
+
"type": "object",
|
|
538
|
+
"required": [
|
|
539
|
+
"value"
|
|
540
|
+
],
|
|
541
|
+
"properties": {
|
|
542
|
+
"name": {
|
|
543
|
+
"enum": [
|
|
544
|
+
"p-norm"
|
|
545
|
+
]
|
|
546
|
+
},
|
|
547
|
+
"degree": {
|
|
548
|
+
"type": "integer",
|
|
549
|
+
"description": "degree of the dimensionality of the norm"
|
|
550
|
+
},
|
|
551
|
+
"value": {
|
|
552
|
+
"type": "number"
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
558
|
+
"title": "InChI representation schema",
|
|
559
|
+
"type": "object",
|
|
560
|
+
"required": [
|
|
561
|
+
"value"
|
|
562
|
+
],
|
|
563
|
+
"properties": {
|
|
564
|
+
"name": {
|
|
565
|
+
"enum": [
|
|
566
|
+
"inchi"
|
|
567
|
+
]
|
|
568
|
+
},
|
|
569
|
+
"value": {
|
|
570
|
+
"type": "string"
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
576
|
+
"title": "InChI key representation schema",
|
|
577
|
+
"type": "object",
|
|
578
|
+
"required": [
|
|
579
|
+
"value"
|
|
580
|
+
],
|
|
581
|
+
"properties": {
|
|
582
|
+
"name": {
|
|
583
|
+
"enum": [
|
|
584
|
+
"inchi_key"
|
|
585
|
+
]
|
|
586
|
+
},
|
|
587
|
+
"value": {
|
|
588
|
+
"type": "string"
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
],
|
|
593
|
+
"discriminator": {
|
|
594
|
+
"propertyName": "name"
|
|
595
|
+
},
|
|
596
|
+
"required": [
|
|
597
|
+
"name"
|
|
598
|
+
]
|
|
599
|
+
}
|
|
600
|
+
},
|
|
601
|
+
"external": {
|
|
602
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
603
|
+
"title": "database source schema",
|
|
604
|
+
"description": "information about a database source",
|
|
605
|
+
"type": "object",
|
|
606
|
+
"required": [
|
|
607
|
+
"id",
|
|
608
|
+
"origin",
|
|
609
|
+
"source"
|
|
610
|
+
],
|
|
611
|
+
"properties": {
|
|
612
|
+
"id": {
|
|
613
|
+
"description": "ID string for the materials uploaded from a third party source inside the third party source. For materialsproject.org an example ID is mp-32",
|
|
614
|
+
"oneOf": [
|
|
615
|
+
{
|
|
616
|
+
"type": "string"
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"type": "number"
|
|
620
|
+
}
|
|
621
|
+
]
|
|
622
|
+
},
|
|
623
|
+
"source": {
|
|
624
|
+
"description": "Third party source name, e.g. materials project, 2dmatpedia, ICSD, etc.",
|
|
625
|
+
"type": "string",
|
|
626
|
+
"enum": [
|
|
627
|
+
"MaterialsProject",
|
|
628
|
+
"MaterialsProjectLegacy",
|
|
629
|
+
"ICSD",
|
|
630
|
+
"2dmatpedia",
|
|
631
|
+
"MaterialsVirtualLab"
|
|
632
|
+
]
|
|
633
|
+
},
|
|
634
|
+
"origin": {
|
|
635
|
+
"description": "Deprecated. To be removed. A flag that is true when material is initially imported from a third party * (as opposed to being independently designed from scratch).",
|
|
636
|
+
"type": "boolean"
|
|
637
|
+
},
|
|
638
|
+
"data": {
|
|
639
|
+
"description": "Original response from external source.",
|
|
640
|
+
"type": "object"
|
|
641
|
+
},
|
|
642
|
+
"doi": {
|
|
643
|
+
"description": "Digital Object Identifier, e.g. 10.1088/0953-8984/25/10/105506",
|
|
644
|
+
"type": "string"
|
|
645
|
+
},
|
|
646
|
+
"url": {
|
|
647
|
+
"description": "The URL of the original record, e.g. https://next-gen.materialsproject.org/materials/mp-48; ToDo: update to use URI type per https://json-schema.org/understanding-json-schema/reference/string#resource-identifiers",
|
|
648
|
+
"type": "string"
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
},
|
|
652
|
+
"src": {
|
|
653
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
654
|
+
"title": "file source schema",
|
|
655
|
+
"description": "file source with the information inside",
|
|
656
|
+
"type": "object",
|
|
657
|
+
"required": [
|
|
658
|
+
"filename",
|
|
659
|
+
"text",
|
|
660
|
+
"hash"
|
|
661
|
+
],
|
|
662
|
+
"properties": {
|
|
663
|
+
"extension": {
|
|
664
|
+
"description": "file extension",
|
|
665
|
+
"type": "string"
|
|
666
|
+
},
|
|
667
|
+
"filename": {
|
|
668
|
+
"description": "file name without extension",
|
|
669
|
+
"type": "string"
|
|
670
|
+
},
|
|
671
|
+
"text": {
|
|
672
|
+
"description": "file content as raw text",
|
|
673
|
+
"type": "string"
|
|
674
|
+
},
|
|
675
|
+
"hash": {
|
|
676
|
+
"description": "MD5 hash based on file content",
|
|
677
|
+
"type": "string"
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
},
|
|
681
|
+
"scaledHash": {
|
|
682
|
+
"description": "Hash string for a scaled structure with lattice vector a set to 1 (eg. for materials under pressure).",
|
|
683
|
+
"type": "string"
|
|
684
|
+
},
|
|
685
|
+
"icsdId": {
|
|
686
|
+
"description": "Corresponding ICSD id of the material",
|
|
687
|
+
"type": "integer"
|
|
688
|
+
},
|
|
689
|
+
"isNonPeriodic": {
|
|
690
|
+
"description": "Whether to work in the finite molecular picture (usually with atomic orbital basis)",
|
|
691
|
+
"type": "boolean"
|
|
692
|
+
},
|
|
693
|
+
"consistencyChecks": {
|
|
694
|
+
"type": "array",
|
|
695
|
+
"items": {
|
|
696
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
697
|
+
"title": "material consistency check schema",
|
|
698
|
+
"type": "object",
|
|
699
|
+
"description": "The output of consistency checks performed on data adhering to JSON schema, but inconsistent with scientific or logical rules, to show problems in UI.",
|
|
700
|
+
"required": [
|
|
701
|
+
"key",
|
|
702
|
+
"name",
|
|
703
|
+
"severity",
|
|
704
|
+
"message"
|
|
705
|
+
],
|
|
706
|
+
"properties": {
|
|
707
|
+
"name": {
|
|
708
|
+
"type": "string",
|
|
709
|
+
"enum": [
|
|
710
|
+
"default",
|
|
711
|
+
"atomsTooClose",
|
|
712
|
+
"atomsOverlap"
|
|
713
|
+
],
|
|
714
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
715
|
+
},
|
|
716
|
+
"key": {
|
|
717
|
+
"type": "string",
|
|
718
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
719
|
+
},
|
|
720
|
+
"severity": {
|
|
721
|
+
"enum": [
|
|
722
|
+
"info",
|
|
723
|
+
"warning",
|
|
724
|
+
"error"
|
|
725
|
+
],
|
|
726
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
727
|
+
},
|
|
728
|
+
"message": {
|
|
729
|
+
"type": "string",
|
|
730
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
}
|