@mat3ra/esse 2024.12.19-1 → 2025.4.3-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/.pre-commit-config.yaml +3 -2
- package/dist/js/schema/core/primitive/integer_positive_single_digit.json +8 -0
- package/dist/js/schema/core/reference/modeling/exabyte.json +3 -0
- package/dist/js/schema/core/reference/modeling.json +3 -0
- package/dist/js/schema/core/reference.json +3 -0
- package/dist/js/schema/definitions/constants.json +52 -0
- package/dist/js/schema/definitions/units.json +41 -5
- package/dist/js/schema/element.json +4 -5
- package/dist/js/schema/in_memory_entity/base.json +0 -41
- package/dist/js/schema/in_memory_entity/defaultable.json +0 -41
- package/dist/js/schema/in_memory_entity/has_consistency_check_has_metadata_named_defaultable.json +74 -0
- package/dist/js/schema/in_memory_entity/named.json +0 -41
- package/dist/js/schema/in_memory_entity/named_defaultable.json +0 -41
- package/dist/js/schema/in_memory_entity/named_defaultable_has_metadata.json +0 -41
- package/dist/js/schema/in_memory_entity/named_defaultable_runtime_items.json +0 -41
- package/dist/js/schema/job/base.json +9 -41
- package/dist/js/schema/job.json +9 -1025
- package/dist/js/schema/material/consistency_check.json +40 -0
- package/dist/js/schema/material.json +52 -82
- package/dist/js/schema/project.json +0 -41
- package/dist/js/schema/properties_directory/elemental/atomic_radius.json +4 -5
- package/dist/js/schema/properties_directory/non_scalar/average_potential_profile.json +4 -5
- package/dist/js/schema/properties_directory/non_scalar/band_structure.json +2 -10
- package/dist/js/schema/properties_directory/non_scalar/phonon_dispersions.json +2 -10
- package/dist/js/schema/properties_directory/structural/basis/atomic_coordinates.json +4 -5
- package/dist/js/schema/properties_directory/structural/basis/atomic_label.json +19 -0
- package/dist/js/schema/properties_directory/structural/basis.json +19 -50
- package/dist/js/schema/properties_directory/structural/lattice/lattice_bravais.json +12 -6
- package/dist/js/schema/properties_directory/structural/lattice/lattice_vectors.json +4 -5
- package/dist/js/schema/properties_directory/structural/lattice/type_enum.json +3 -2
- package/dist/js/schema/properties_directory/structural/lattice/type_extended_enum.json +3 -2
- package/dist/js/schema/properties_directory/structural/lattice.json +16 -16
- package/dist/js/schema/property/base.json +0 -41
- package/dist/js/schema/property/meta.json +0 -41
- package/dist/js/schema/property/raw.json +0 -41
- package/dist/js/schema/software/application.json +0 -41
- package/dist/js/schema/software/executable.json +0 -41
- package/dist/js/schema/software/flavor.json +0 -41
- package/dist/js/schema/software/template.json +0 -41
- package/dist/js/schema/software_directory/ml/unit/execution/evaluate/cross_validate.json +0 -164
- package/dist/js/schema/software_directory/ml/unit/execution/initialize.json +0 -164
- package/dist/js/schema/software_directory/ml/unit/execution/score.json +0 -164
- package/dist/js/schema/software_directory/ml/unit/execution/train.json +0 -164
- package/dist/js/schema/software_directory/ml/unit/execution.json +0 -656
- package/dist/js/schema/software_directory/ml/unit/processing/data_transformation/manipulation.json +0 -41
- package/dist/js/schema/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.json +0 -41
- package/dist/js/schema/software_directory/ml/unit/processing/data_transformation.json +0 -41
- package/dist/js/schema/software_directory/ml/unit/processing/feature_selection/filter_based.json +0 -41
- package/dist/js/schema/software_directory/ml/unit/processing/feature_selection.json +0 -41
- package/dist/js/schema/software_directory/ml/unit/processing.json +0 -82
- package/dist/js/schema/software_directory/modeling/deepmd.json +0 -41
- package/dist/js/schema/software_directory/modeling/nwchem.json +0 -41
- package/dist/js/schema/software_directory/modeling/unit/execution.json +0 -164
- package/dist/js/schema/software_directory/modeling/vasp.json +0 -41
- package/dist/js/schema/software_directory/scripting/jupyter_lab.json +0 -41
- package/dist/js/schema/software_directory/scripting/python.json +0 -41
- package/dist/js/schema/software_directory/scripting/shell.json +0 -41
- package/dist/js/schema/software_directory/scripting/unit/execution.json +0 -164
- package/dist/js/schema/system/_material.json +3 -0
- package/dist/js/schema/system/_parent_job.json +3 -0
- package/dist/js/schema/system/_project.json +3 -0
- package/dist/js/schema/system/consistency_check.json +1 -5
- package/dist/js/schema/system/creator.json +3 -0
- package/dist/js/schema/system/creator_account.json +3 -0
- package/dist/js/schema/system/description.json +1 -1
- package/dist/js/schema/system/entity_reference.json +3 -0
- package/dist/js/schema/system/has_consistency_check.json +46 -0
- package/dist/js/schema/system/in_set.json +3 -0
- package/dist/js/schema/system/job_extended.json +6 -0
- package/dist/js/schema/system/owner.json +3 -0
- package/dist/js/schema/workflow/base.json +0 -41
- package/dist/js/schema/workflow/subworkflow/unit.json +0 -410
- package/dist/js/schema/workflow/subworkflow.json +0 -451
- package/dist/js/schema/workflow/unit/assertion.json +0 -41
- package/dist/js/schema/workflow/unit/assignment.json +0 -41
- package/dist/js/schema/workflow/unit/base.json +0 -41
- package/dist/js/schema/workflow/unit/condition.json +0 -41
- package/dist/js/schema/workflow/unit/execution.json +0 -164
- package/dist/js/schema/workflow/unit/io.json +0 -41
- package/dist/js/schema/workflow/unit/map.json +0 -41
- package/dist/js/schema/workflow/unit/processing.json +0 -41
- package/dist/js/schema/workflow/unit/reduce.json +0 -41
- package/dist/js/schema/workflow/unit/subworkflow.json +0 -41
- package/dist/js/schema/workflow/unit.json +0 -492
- package/dist/js/schema/workflow.json +0 -984
- package/dist/js/schemas.json +1 -1
- package/dist/js/types.d.ts +221 -3125
- package/package.json +3 -3
- package/schema/core/primitive/integer_positive_single_digit.json +8 -0
- package/schema/definitions/constants.json +52 -0
- package/schema/definitions/units.json +41 -5
- package/schema/in_memory_entity/base.json +0 -6
- package/schema/in_memory_entity/has_consistency_check_has_metadata_named_defaultable.json +13 -0
- package/schema/material/consistency_check.json +22 -0
- package/schema/material.json +6 -0
- package/schema/properties_directory/non-scalar/band_structure.json +1 -1
- package/schema/properties_directory/non-scalar/phonon_dispersions.json +1 -1
- package/schema/properties_directory/structural/basis/atomic_label.json +15 -0
- package/schema/properties_directory/structural/basis.json +12 -20
- package/schema/properties_directory/structural/lattice/lattice_bravais.json +7 -10
- package/schema/properties_directory/structural/lattice/type_enum.json +3 -2
- package/schema/properties_directory/structural/lattice/type_extended_enum.json +3 -2
- package/schema/properties_directory/structural/lattice.json +1 -8
- package/schema/system/consistency_check.json +1 -5
- package/schema/system/description.json +1 -1
- package/schema/system/entity_reference.json +2 -1
- package/schema/system/has_consistency_check.json +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mat3ra/esse",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2025.4.3-0",
|
|
4
4
|
"description": "Mat3ra's Excellent Source of Schemas and Examples (ESSE) for Digital Materials R&D",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"transpile": "tsc -p tsconfig-transpile.json",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://github.com/Exabyte-io/esse",
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@exabyte-io/eslint-config": "
|
|
30
|
+
"@exabyte-io/eslint-config": "git+https://github.com/Exabyte-io/eslint-config.git#53db65c75453137f1e7f4666371078c7cc7a5366",
|
|
31
31
|
"@mat3ra/tsconfig": "^2024.6.3-0",
|
|
32
32
|
"@typescript-eslint/eslint-plugin": "^5.9.1",
|
|
33
33
|
"@typescript-eslint/parser": "^5.9.1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"eslint-import-resolver-meteor": "^0.4.0",
|
|
40
40
|
"eslint-import-resolver-node": "^0.3.9",
|
|
41
41
|
"eslint-plugin-import": "^2.25.3",
|
|
42
|
-
"eslint-plugin-jsdoc": "^
|
|
42
|
+
"eslint-plugin-jsdoc": "^50.6.0",
|
|
43
43
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
44
44
|
"eslint-plugin-mui-path-imports": "0.0.15",
|
|
45
45
|
"eslint-plugin-prettier": "^4.2.1",
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "definitions/constants",
|
|
3
|
+
"title": "fundamental constants",
|
|
4
|
+
"description": "Fundamental physical constants, 2022 NIST CODATA (https://doi.org/10.48550/arXiv.2409.03787)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"c": {
|
|
8
|
+
"description": "speed of light in vacuum, \"units\": \"m/s\"",
|
|
9
|
+
"type": "number",
|
|
10
|
+
"default": 299792458.0
|
|
11
|
+
},
|
|
12
|
+
"h": {
|
|
13
|
+
"description": "Planck constant, \"units\": \"J s\"",
|
|
14
|
+
"type": "number",
|
|
15
|
+
"default": 6.62607015e-34
|
|
16
|
+
},
|
|
17
|
+
"e": {
|
|
18
|
+
"description": "elementary charge, \"units\": \"C\"",
|
|
19
|
+
"type": "number",
|
|
20
|
+
"default": 1.602176634e-19
|
|
21
|
+
},
|
|
22
|
+
"G": {
|
|
23
|
+
"description": "Newtonian constant of gravitation, \"units\": \"m^3/kg/s^2\"",
|
|
24
|
+
"type": "number",
|
|
25
|
+
"default": 6.6743015e-11
|
|
26
|
+
},
|
|
27
|
+
"me": {
|
|
28
|
+
"description": "electron mass \"units\": \"kg\"",
|
|
29
|
+
"type": "number",
|
|
30
|
+
"default": 9.109383713928e-31
|
|
31
|
+
},
|
|
32
|
+
"eps0": {
|
|
33
|
+
"description": "vacuum permittivity, \"units\": \"F/m\"",
|
|
34
|
+
"type": "number",
|
|
35
|
+
"default": 8.854187818814e-12
|
|
36
|
+
},
|
|
37
|
+
"mu0": {
|
|
38
|
+
"description": "vacuum permeability, \"units\": \"N/A^2\"",
|
|
39
|
+
"type": "number",
|
|
40
|
+
"default": 1.2566370612720e-6
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"required": [
|
|
44
|
+
"c",
|
|
45
|
+
"h",
|
|
46
|
+
"e",
|
|
47
|
+
"G",
|
|
48
|
+
"me",
|
|
49
|
+
"eps0",
|
|
50
|
+
"mu0"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
@@ -1,20 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "definitions/units",
|
|
3
|
+
"title": "all units definitions",
|
|
4
|
+
"angle": {
|
|
5
|
+
"enum": [
|
|
6
|
+
"degree",
|
|
7
|
+
"radian"
|
|
8
|
+
],
|
|
9
|
+
"default": "degree"
|
|
10
|
+
},
|
|
11
|
+
"coordinates_basis": {
|
|
12
|
+
"enum": [
|
|
13
|
+
"crystal",
|
|
14
|
+
"cartesian"
|
|
15
|
+
],
|
|
16
|
+
"default": "crystal"
|
|
17
|
+
},
|
|
18
|
+
"coordinates_lattice_reciprocal": {
|
|
19
|
+
"enum": [
|
|
20
|
+
"crystal",
|
|
21
|
+
"cartesian"
|
|
22
|
+
],
|
|
23
|
+
"default": "crystal"
|
|
24
|
+
},
|
|
3
25
|
"length": {
|
|
4
26
|
"enum": [
|
|
5
27
|
"km",
|
|
6
28
|
"m",
|
|
7
|
-
"
|
|
29
|
+
"cm",
|
|
30
|
+
"mm",
|
|
31
|
+
"um",
|
|
8
32
|
"nm",
|
|
9
33
|
"angstrom",
|
|
10
34
|
"a.u.",
|
|
11
35
|
"bohr",
|
|
12
|
-
"
|
|
13
|
-
"crystal",
|
|
14
|
-
"cartesian",
|
|
15
|
-
"alat"
|
|
36
|
+
"pm"
|
|
16
37
|
]
|
|
17
38
|
},
|
|
39
|
+
"length_atomic": {
|
|
40
|
+
"enum": [
|
|
41
|
+
"angstrom",
|
|
42
|
+
"bohr"
|
|
43
|
+
],
|
|
44
|
+
"default": "angstrom"
|
|
45
|
+
},
|
|
18
46
|
"energy": {
|
|
19
47
|
"enum": [
|
|
20
48
|
"kJ/mol",
|
|
@@ -26,6 +54,14 @@
|
|
|
26
54
|
"eV/atom"
|
|
27
55
|
]
|
|
28
56
|
},
|
|
57
|
+
"energy_atomic": {
|
|
58
|
+
"enum": [
|
|
59
|
+
"eV",
|
|
60
|
+
"hartree",
|
|
61
|
+
"rydberg"
|
|
62
|
+
],
|
|
63
|
+
"default": "eV"
|
|
64
|
+
},
|
|
29
65
|
"surface_energy": {
|
|
30
66
|
"enum": [
|
|
31
67
|
"eV/A^2"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "in-memory-entity/has-consistency-check-has-metadata-named-defaultable",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "has consistency check has metadata named defaultable in-memory entity schema",
|
|
5
|
+
"allOf": [
|
|
6
|
+
{
|
|
7
|
+
"$ref": "named_defaultable_has_metadata.json"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"$ref": "../system/has_consistency_check.json"
|
|
11
|
+
}
|
|
12
|
+
]
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "material/consistency-check",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "material consistency check schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"allOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "../system/consistency_check.json"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"name": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": [
|
|
15
|
+
"default",
|
|
16
|
+
"atomsTooClose",
|
|
17
|
+
"atomsOverlap"
|
|
18
|
+
],
|
|
19
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
package/schema/material.json
CHANGED
|
@@ -49,6 +49,12 @@
|
|
|
49
49
|
"isNonPeriodic": {
|
|
50
50
|
"description": "Whether to work in the finite molecular picture (usually with atomic orbital basis)",
|
|
51
51
|
"type": "boolean"
|
|
52
|
+
},
|
|
53
|
+
"consistencyChecks": {
|
|
54
|
+
"type": "array",
|
|
55
|
+
"items": {
|
|
56
|
+
"$ref": "material/consistency_check.json"
|
|
57
|
+
}
|
|
52
58
|
}
|
|
53
59
|
},
|
|
54
60
|
"required": [
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "properties-directory/structural/basis/atomic-label",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "atomic label",
|
|
5
|
+
"description": "Optional numeric label (e.g., 1, 2, as in Fe1, Fe2) to distinguish same atomic species to attach different spin magnetic moment.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"id": {
|
|
9
|
+
"type": "number"
|
|
10
|
+
},
|
|
11
|
+
"value": {
|
|
12
|
+
"$ref": "../../../core/primitive/integer_positive_single_digit.json"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -10,34 +10,26 @@
|
|
|
10
10
|
"$ref": "basis/atomic_element.json"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
-
"labels": {
|
|
14
|
-
"description": "Optional numeric label (e.g., 1, 2, as in Fe1, Fe2) to distinguish same atomic species to attach different spin magnetic moment.",
|
|
15
|
-
"type": "array",
|
|
16
|
-
"items": {
|
|
17
|
-
"properties": {
|
|
18
|
-
"id": {
|
|
19
|
-
"type": "number"
|
|
20
|
-
},
|
|
21
|
-
"value": {
|
|
22
|
-
"type": "number"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
13
|
"coordinates": {
|
|
28
14
|
"type": "array",
|
|
29
15
|
"items": {
|
|
30
16
|
"$ref": "basis/atomic_coordinate.json"
|
|
31
17
|
}
|
|
32
18
|
},
|
|
33
|
-
"name": {
|
|
34
|
-
"type": "string"
|
|
35
|
-
},
|
|
36
19
|
"units": {
|
|
37
|
-
"type": "string"
|
|
20
|
+
"type": "string",
|
|
21
|
+
"enum": [
|
|
22
|
+
"crystal",
|
|
23
|
+
"cartesian"
|
|
24
|
+
],
|
|
25
|
+
"default": "crystal"
|
|
38
26
|
},
|
|
39
|
-
"
|
|
40
|
-
"
|
|
27
|
+
"labels": {
|
|
28
|
+
"type": "array",
|
|
29
|
+
"items": {
|
|
30
|
+
"$ref": "basis/atomic_label.json"
|
|
31
|
+
},
|
|
32
|
+
"default": []
|
|
41
33
|
}
|
|
42
34
|
},
|
|
43
35
|
"required": [
|
|
@@ -14,22 +14,19 @@
|
|
|
14
14
|
"$ref": "type_enum.json"
|
|
15
15
|
},
|
|
16
16
|
"units": {
|
|
17
|
+
"title": "Lattice units schema",
|
|
17
18
|
"type": "object",
|
|
18
19
|
"properties": {
|
|
19
20
|
"length": {
|
|
20
|
-
"
|
|
21
|
-
"enum": [
|
|
22
|
-
"angstrom",
|
|
23
|
-
"bohr"
|
|
24
|
-
]
|
|
21
|
+
"$ref": "../../../definitions/units.json#/length_atomic"
|
|
25
22
|
},
|
|
26
23
|
"angle": {
|
|
27
|
-
"
|
|
28
|
-
"enum": [
|
|
29
|
-
"degree",
|
|
30
|
-
"radian"
|
|
31
|
-
]
|
|
24
|
+
"$ref": "../../../definitions/units.json#/angle"
|
|
32
25
|
}
|
|
26
|
+
},
|
|
27
|
+
"default": {
|
|
28
|
+
"length": "angstrom",
|
|
29
|
+
"angle": "degree"
|
|
33
30
|
}
|
|
34
31
|
}
|
|
35
32
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "properties-directory/structural/lattice/type-enum",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "lattice type
|
|
4
|
+
"title": "lattice type enum",
|
|
5
5
|
"type": "string",
|
|
6
6
|
"enum": [
|
|
7
7
|
"CUB",
|
|
@@ -18,5 +18,6 @@
|
|
|
18
18
|
"TRI",
|
|
19
19
|
"MCLC",
|
|
20
20
|
"RHL"
|
|
21
|
-
]
|
|
21
|
+
],
|
|
22
|
+
"default": "TRI"
|
|
22
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$id": "properties-directory/structural/lattice/type-extended-enum",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "lattice type extended
|
|
4
|
+
"title": "lattice type extended enum",
|
|
5
5
|
"type": "string",
|
|
6
6
|
"enum": [
|
|
7
7
|
"BCC",
|
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"RHL-2",
|
|
27
27
|
"TET",
|
|
28
28
|
"TRI_1a",
|
|
29
|
+
"TRI_1b",
|
|
29
30
|
"TRI_2a",
|
|
30
|
-
"
|
|
31
|
+
"TRI_2b"
|
|
31
32
|
]
|
|
32
33
|
}
|
|
@@ -10,11 +10,7 @@
|
|
|
10
10
|
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
11
11
|
},
|
|
12
12
|
"name": {
|
|
13
|
-
"
|
|
14
|
-
"default",
|
|
15
|
-
"atomsTooClose",
|
|
16
|
-
"atomsOverlap"
|
|
17
|
-
],
|
|
13
|
+
"type": "string",
|
|
18
14
|
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
19
15
|
},
|
|
20
16
|
"severity": {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "system/has-consistency-check",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Has consistency check schema",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"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.",
|
|
7
|
+
"properties": {
|
|
8
|
+
"consistencyChecks": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"$ref": "consistency_check.json"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|