@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/.pre-commit-config.yaml
CHANGED
|
@@ -13,7 +13,7 @@ repos:
|
|
|
13
13
|
name: Regenerate data modules classes from static assets
|
|
14
14
|
# yamllint disable rule:line-length
|
|
15
15
|
entry: |
|
|
16
|
-
bash -c 'if [ "$(git diff --cached --name-only | grep
|
|
16
|
+
bash -c 'if [ ! "$(git diff --cached --name-only | grep schema)" ]; then echo "Skipping model generation because schemas were not changed."; exit 0; fi && \
|
|
17
17
|
datamodel-codegen \
|
|
18
18
|
--input ./dist/js/schema/ \
|
|
19
19
|
--input-file-type jsonschema \
|
|
@@ -24,7 +24,8 @@ repos:
|
|
|
24
24
|
--enable-version-header \
|
|
25
25
|
--use-title-as-name \
|
|
26
26
|
--class-name ESSE \
|
|
27
|
-
--disable-timestamp
|
|
27
|
+
--disable-timestamp \
|
|
28
|
+
--use-default && \
|
|
28
29
|
# Move 3rd party modules to a separate directory with a PEP8 compliant name
|
|
29
30
|
rm -rf ./dist/py/third_party && \
|
|
30
31
|
mv ./dist/py/3pse ./dist/py/third_party'
|
|
@@ -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
|
+
"required": [
|
|
7
|
+
"c",
|
|
8
|
+
"h",
|
|
9
|
+
"e",
|
|
10
|
+
"G",
|
|
11
|
+
"me",
|
|
12
|
+
"eps0",
|
|
13
|
+
"mu0"
|
|
14
|
+
],
|
|
15
|
+
"properties": {
|
|
16
|
+
"c": {
|
|
17
|
+
"description": "speed of light in vacuum, \"units\": \"m/s\"",
|
|
18
|
+
"type": "number",
|
|
19
|
+
"default": 299792458
|
|
20
|
+
},
|
|
21
|
+
"h": {
|
|
22
|
+
"description": "Planck constant, \"units\": \"J s\"",
|
|
23
|
+
"type": "number",
|
|
24
|
+
"default": 6.62607015e-34
|
|
25
|
+
},
|
|
26
|
+
"e": {
|
|
27
|
+
"description": "elementary charge, \"units\": \"C\"",
|
|
28
|
+
"type": "number",
|
|
29
|
+
"default": 1.602176634e-19
|
|
30
|
+
},
|
|
31
|
+
"G": {
|
|
32
|
+
"description": "Newtonian constant of gravitation, \"units\": \"m^3/kg/s^2\"",
|
|
33
|
+
"type": "number",
|
|
34
|
+
"default": 6.6743015e-11
|
|
35
|
+
},
|
|
36
|
+
"me": {
|
|
37
|
+
"description": "electron mass \"units\": \"kg\"",
|
|
38
|
+
"type": "number",
|
|
39
|
+
"default": 9.109383713928e-31
|
|
40
|
+
},
|
|
41
|
+
"eps0": {
|
|
42
|
+
"description": "vacuum permittivity, \"units\": \"F/m\"",
|
|
43
|
+
"type": "number",
|
|
44
|
+
"default": 8.854187818814e-12
|
|
45
|
+
},
|
|
46
|
+
"mu0": {
|
|
47
|
+
"description": "vacuum permeability, \"units\": \"N/A^2\"",
|
|
48
|
+
"type": "number",
|
|
49
|
+
"default": 0.000001256637061272
|
|
50
|
+
}
|
|
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"
|
|
@@ -15,47 +15,6 @@
|
|
|
15
15
|
"systemName": {
|
|
16
16
|
"type": "string"
|
|
17
17
|
},
|
|
18
|
-
"consistencyChecks": {
|
|
19
|
-
"type": "array",
|
|
20
|
-
"items": {
|
|
21
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
22
|
-
"title": "consistency check",
|
|
23
|
-
"type": "object",
|
|
24
|
-
"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.",
|
|
25
|
-
"required": [
|
|
26
|
-
"key",
|
|
27
|
-
"name",
|
|
28
|
-
"severity",
|
|
29
|
-
"message"
|
|
30
|
-
],
|
|
31
|
-
"properties": {
|
|
32
|
-
"key": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
35
|
-
},
|
|
36
|
-
"name": {
|
|
37
|
-
"enum": [
|
|
38
|
-
"default",
|
|
39
|
-
"atomsTooClose",
|
|
40
|
-
"atomsOverlap"
|
|
41
|
-
],
|
|
42
|
-
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
43
|
-
},
|
|
44
|
-
"severity": {
|
|
45
|
-
"enum": [
|
|
46
|
-
"info",
|
|
47
|
-
"warning",
|
|
48
|
-
"error"
|
|
49
|
-
],
|
|
50
|
-
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
51
|
-
},
|
|
52
|
-
"message": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Message generated by the consistency check describing the problem."
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
18
|
"schemaVersion": {
|
|
60
19
|
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
61
20
|
"type": "string",
|
|
@@ -15,47 +15,6 @@
|
|
|
15
15
|
"systemName": {
|
|
16
16
|
"type": "string"
|
|
17
17
|
},
|
|
18
|
-
"consistencyChecks": {
|
|
19
|
-
"type": "array",
|
|
20
|
-
"items": {
|
|
21
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
22
|
-
"title": "consistency check",
|
|
23
|
-
"type": "object",
|
|
24
|
-
"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.",
|
|
25
|
-
"required": [
|
|
26
|
-
"key",
|
|
27
|
-
"name",
|
|
28
|
-
"severity",
|
|
29
|
-
"message"
|
|
30
|
-
],
|
|
31
|
-
"properties": {
|
|
32
|
-
"key": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
35
|
-
},
|
|
36
|
-
"name": {
|
|
37
|
-
"enum": [
|
|
38
|
-
"default",
|
|
39
|
-
"atomsTooClose",
|
|
40
|
-
"atomsOverlap"
|
|
41
|
-
],
|
|
42
|
-
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
43
|
-
},
|
|
44
|
-
"severity": {
|
|
45
|
-
"enum": [
|
|
46
|
-
"info",
|
|
47
|
-
"warning",
|
|
48
|
-
"error"
|
|
49
|
-
],
|
|
50
|
-
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
51
|
-
},
|
|
52
|
-
"message": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Message generated by the consistency check describing the problem."
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
18
|
"schemaVersion": {
|
|
60
19
|
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
61
20
|
"type": "string",
|
package/dist/js/schema/in_memory_entity/has_consistency_check_has_metadata_named_defaultable.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
"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
|
+
"_id": {
|
|
9
|
+
"description": "entity identity",
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"slug": {
|
|
13
|
+
"description": "entity slug",
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"systemName": {
|
|
17
|
+
"type": "string"
|
|
18
|
+
},
|
|
19
|
+
"schemaVersion": {
|
|
20
|
+
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"default": "2022.8.16"
|
|
23
|
+
},
|
|
24
|
+
"name": {
|
|
25
|
+
"description": "entity name",
|
|
26
|
+
"type": "string"
|
|
27
|
+
},
|
|
28
|
+
"isDefault": {
|
|
29
|
+
"description": "Identifies that entity is defaultable",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false
|
|
32
|
+
},
|
|
33
|
+
"metadata": {
|
|
34
|
+
"type": "object"
|
|
35
|
+
},
|
|
36
|
+
"consistencyChecks": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
40
|
+
"title": "consistency check",
|
|
41
|
+
"type": "object",
|
|
42
|
+
"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.",
|
|
43
|
+
"required": [
|
|
44
|
+
"key",
|
|
45
|
+
"name",
|
|
46
|
+
"severity",
|
|
47
|
+
"message"
|
|
48
|
+
],
|
|
49
|
+
"properties": {
|
|
50
|
+
"key": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
53
|
+
},
|
|
54
|
+
"name": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
57
|
+
},
|
|
58
|
+
"severity": {
|
|
59
|
+
"enum": [
|
|
60
|
+
"info",
|
|
61
|
+
"warning",
|
|
62
|
+
"error"
|
|
63
|
+
],
|
|
64
|
+
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
65
|
+
},
|
|
66
|
+
"message": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"description": "Message generated by the consistency check describing the problem."
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -15,47 +15,6 @@
|
|
|
15
15
|
"systemName": {
|
|
16
16
|
"type": "string"
|
|
17
17
|
},
|
|
18
|
-
"consistencyChecks": {
|
|
19
|
-
"type": "array",
|
|
20
|
-
"items": {
|
|
21
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
22
|
-
"title": "consistency check",
|
|
23
|
-
"type": "object",
|
|
24
|
-
"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.",
|
|
25
|
-
"required": [
|
|
26
|
-
"key",
|
|
27
|
-
"name",
|
|
28
|
-
"severity",
|
|
29
|
-
"message"
|
|
30
|
-
],
|
|
31
|
-
"properties": {
|
|
32
|
-
"key": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
35
|
-
},
|
|
36
|
-
"name": {
|
|
37
|
-
"enum": [
|
|
38
|
-
"default",
|
|
39
|
-
"atomsTooClose",
|
|
40
|
-
"atomsOverlap"
|
|
41
|
-
],
|
|
42
|
-
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
43
|
-
},
|
|
44
|
-
"severity": {
|
|
45
|
-
"enum": [
|
|
46
|
-
"info",
|
|
47
|
-
"warning",
|
|
48
|
-
"error"
|
|
49
|
-
],
|
|
50
|
-
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
51
|
-
},
|
|
52
|
-
"message": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Message generated by the consistency check describing the problem."
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
18
|
"schemaVersion": {
|
|
60
19
|
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
61
20
|
"type": "string",
|
|
@@ -15,47 +15,6 @@
|
|
|
15
15
|
"systemName": {
|
|
16
16
|
"type": "string"
|
|
17
17
|
},
|
|
18
|
-
"consistencyChecks": {
|
|
19
|
-
"type": "array",
|
|
20
|
-
"items": {
|
|
21
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
22
|
-
"title": "consistency check",
|
|
23
|
-
"type": "object",
|
|
24
|
-
"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.",
|
|
25
|
-
"required": [
|
|
26
|
-
"key",
|
|
27
|
-
"name",
|
|
28
|
-
"severity",
|
|
29
|
-
"message"
|
|
30
|
-
],
|
|
31
|
-
"properties": {
|
|
32
|
-
"key": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
35
|
-
},
|
|
36
|
-
"name": {
|
|
37
|
-
"enum": [
|
|
38
|
-
"default",
|
|
39
|
-
"atomsTooClose",
|
|
40
|
-
"atomsOverlap"
|
|
41
|
-
],
|
|
42
|
-
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
43
|
-
},
|
|
44
|
-
"severity": {
|
|
45
|
-
"enum": [
|
|
46
|
-
"info",
|
|
47
|
-
"warning",
|
|
48
|
-
"error"
|
|
49
|
-
],
|
|
50
|
-
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
51
|
-
},
|
|
52
|
-
"message": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Message generated by the consistency check describing the problem."
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
18
|
"schemaVersion": {
|
|
60
19
|
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
61
20
|
"type": "string",
|
|
@@ -15,47 +15,6 @@
|
|
|
15
15
|
"systemName": {
|
|
16
16
|
"type": "string"
|
|
17
17
|
},
|
|
18
|
-
"consistencyChecks": {
|
|
19
|
-
"type": "array",
|
|
20
|
-
"items": {
|
|
21
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
22
|
-
"title": "consistency check",
|
|
23
|
-
"type": "object",
|
|
24
|
-
"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.",
|
|
25
|
-
"required": [
|
|
26
|
-
"key",
|
|
27
|
-
"name",
|
|
28
|
-
"severity",
|
|
29
|
-
"message"
|
|
30
|
-
],
|
|
31
|
-
"properties": {
|
|
32
|
-
"key": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
35
|
-
},
|
|
36
|
-
"name": {
|
|
37
|
-
"enum": [
|
|
38
|
-
"default",
|
|
39
|
-
"atomsTooClose",
|
|
40
|
-
"atomsOverlap"
|
|
41
|
-
],
|
|
42
|
-
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
43
|
-
},
|
|
44
|
-
"severity": {
|
|
45
|
-
"enum": [
|
|
46
|
-
"info",
|
|
47
|
-
"warning",
|
|
48
|
-
"error"
|
|
49
|
-
],
|
|
50
|
-
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
51
|
-
},
|
|
52
|
-
"message": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Message generated by the consistency check describing the problem."
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
18
|
"schemaVersion": {
|
|
60
19
|
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
61
20
|
"type": "string",
|
|
@@ -15,47 +15,6 @@
|
|
|
15
15
|
"systemName": {
|
|
16
16
|
"type": "string"
|
|
17
17
|
},
|
|
18
|
-
"consistencyChecks": {
|
|
19
|
-
"type": "array",
|
|
20
|
-
"items": {
|
|
21
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
22
|
-
"title": "consistency check",
|
|
23
|
-
"type": "object",
|
|
24
|
-
"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.",
|
|
25
|
-
"required": [
|
|
26
|
-
"key",
|
|
27
|
-
"name",
|
|
28
|
-
"severity",
|
|
29
|
-
"message"
|
|
30
|
-
],
|
|
31
|
-
"properties": {
|
|
32
|
-
"key": {
|
|
33
|
-
"type": "string",
|
|
34
|
-
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
35
|
-
},
|
|
36
|
-
"name": {
|
|
37
|
-
"enum": [
|
|
38
|
-
"default",
|
|
39
|
-
"atomsTooClose",
|
|
40
|
-
"atomsOverlap"
|
|
41
|
-
],
|
|
42
|
-
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
43
|
-
},
|
|
44
|
-
"severity": {
|
|
45
|
-
"enum": [
|
|
46
|
-
"info",
|
|
47
|
-
"warning",
|
|
48
|
-
"error"
|
|
49
|
-
],
|
|
50
|
-
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
51
|
-
},
|
|
52
|
-
"message": {
|
|
53
|
-
"type": "string",
|
|
54
|
-
"description": "Message generated by the consistency check describing the problem."
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
18
|
"schemaVersion": {
|
|
60
19
|
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
61
20
|
"type": "string",
|
|
@@ -217,6 +217,9 @@
|
|
|
217
217
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
218
218
|
"title": "entity reference schema",
|
|
219
219
|
"type": "object",
|
|
220
|
+
"required": [
|
|
221
|
+
"_id"
|
|
222
|
+
],
|
|
220
223
|
"properties": {
|
|
221
224
|
"_id": {
|
|
222
225
|
"description": "entity identity",
|
|
@@ -236,6 +239,9 @@
|
|
|
236
239
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
237
240
|
"title": "entity reference schema",
|
|
238
241
|
"type": "object",
|
|
242
|
+
"required": [
|
|
243
|
+
"_id"
|
|
244
|
+
],
|
|
239
245
|
"properties": {
|
|
240
246
|
"_id": {
|
|
241
247
|
"description": "entity identity",
|
|
@@ -255,6 +261,9 @@
|
|
|
255
261
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
256
262
|
"title": "entity reference schema",
|
|
257
263
|
"type": "object",
|
|
264
|
+
"required": [
|
|
265
|
+
"_id"
|
|
266
|
+
],
|
|
258
267
|
"properties": {
|
|
259
268
|
"_id": {
|
|
260
269
|
"description": "entity identity",
|
|
@@ -316,47 +325,6 @@
|
|
|
316
325
|
"systemName": {
|
|
317
326
|
"type": "string"
|
|
318
327
|
},
|
|
319
|
-
"consistencyChecks": {
|
|
320
|
-
"type": "array",
|
|
321
|
-
"items": {
|
|
322
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
323
|
-
"title": "consistency check",
|
|
324
|
-
"type": "object",
|
|
325
|
-
"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.",
|
|
326
|
-
"required": [
|
|
327
|
-
"key",
|
|
328
|
-
"name",
|
|
329
|
-
"severity",
|
|
330
|
-
"message"
|
|
331
|
-
],
|
|
332
|
-
"properties": {
|
|
333
|
-
"key": {
|
|
334
|
-
"type": "string",
|
|
335
|
-
"description": "Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'"
|
|
336
|
-
},
|
|
337
|
-
"name": {
|
|
338
|
-
"enum": [
|
|
339
|
-
"default",
|
|
340
|
-
"atomsTooClose",
|
|
341
|
-
"atomsOverlap"
|
|
342
|
-
],
|
|
343
|
-
"description": "Name of the consistency check that is performed, which is listed in an enum."
|
|
344
|
-
},
|
|
345
|
-
"severity": {
|
|
346
|
-
"enum": [
|
|
347
|
-
"info",
|
|
348
|
-
"warning",
|
|
349
|
-
"error"
|
|
350
|
-
],
|
|
351
|
-
"description": "Severity level of the problem, which is used in UI to differentiate."
|
|
352
|
-
},
|
|
353
|
-
"message": {
|
|
354
|
-
"type": "string",
|
|
355
|
-
"description": "Message generated by the consistency check describing the problem."
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
},
|
|
360
328
|
"schemaVersion": {
|
|
361
329
|
"description": "entity's schema version. Used to distinct between different schemas.",
|
|
362
330
|
"type": "string",
|