@mat3ra/esse 2025.7.15-0 → 2025.8.6-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/example/core/abstract/vector_2d.json +4 -0
- package/dist/js/example/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +693 -0
- package/dist/js/example/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +566 -0
- package/dist/js/example/materials_category/defective_structures/two_dimensional/adatom/configuration.json +553 -0
- package/dist/js/example/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +693 -0
- package/dist/js/example/materials_category/defective_structures/two_dimensional/island/configuration.json +841 -0
- package/dist/js/example/materials_category/defective_structures/two_dimensional/terrace/configuration.json +846 -0
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/base_configuration.json +271 -0
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/interstitial.json +271 -0
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/substitutional.json +271 -0
- package/dist/js/example/materials_category/defective_structures/zero_dimensional/point_defect/vacancy.json +136 -0
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/nanoribbon.json +419 -0
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/nanotape.json +282 -0
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/slab.json +1 -11
- package/dist/js/example/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +305 -0
- package/dist/js/example/materials_category/processed_structures/two_dimensional/passivation/configuration.json +551 -0
- package/dist/js/example/materials_category_components/entities/auxiliary/one_dimensional/miller_indices_2d.json +4 -0
- package/dist/js/example/materials_category_components/entities/auxiliary/zero_dimensional/crystal_site.json +128 -0
- package/dist/js/example/materials_category_components/entities/auxiliary/zero_dimensional/point_defect_site.json +138 -0
- package/dist/js/example/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines.json +135 -0
- package/dist/js/example/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated.json +145 -0
- package/dist/js/example/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +547 -0
- package/dist/js/example/materials_category_components/operations/core/combinations/merge.json +1 -1
- package/dist/js/example/materials_category_components/operations/core/combinations/stack.json +11 -1
- package/dist/js/example/materials_category_components/operations/core/modifications/perturb.json +131 -0
- package/dist/js/schema/core/abstract/vector_2d.json +11 -0
- package/dist/js/schema/core/primitive/array_of_2_numbers.json +11 -0
- package/dist/js/schema/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +8103 -0
- package/dist/js/schema/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +8109 -0
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/adatom/configuration.json +3563 -0
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +8103 -0
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/island/configuration.json +5266 -0
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/terrace/configuration.json +5283 -0
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/base_configuration.json +787 -0
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/interstitial.json +1722 -0
- package/dist/js/schema/materials_category/defective_structures/zero_dimensional/point_defect/substitutional.json +1722 -0
- package/dist/js/schema/{materials_category_components/operations/core/combinations/stack_component.json → materials_category/defective_structures/zero_dimensional/point_defect/vacancy.json} +46 -790
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanoribbon.json +2780 -0
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanotape.json +1940 -0
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab.json +1621 -1625
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +1833 -0
- package/dist/js/schema/{materials_category_components/entities/reusable/two_dimensional/slab_unit_cell.json → materials_category/processed_structures/two_dimensional/passivation/configuration.json} +1003 -907
- package/dist/js/schema/materials_category_components/entities/auxiliary/one_dimensional/miller_indices_2d.json +12 -0
- package/dist/js/schema/materials_category_components/entities/auxiliary/two_dimensional/termination.json +1 -0
- package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/crystal_site.json +757 -0
- package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/point_defect_site.json +936 -0
- package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/void_region.json +821 -0
- package/dist/js/schema/materials_category_components/entities/core/zero_dimensional/vacancy.json +20 -0
- package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines.json +785 -0
- package/dist/js/schema/materials_category_components/entities/reusable/one_dimensional/crystal_lattice_lines_unique_repeated.json +1100 -0
- package/dist/js/schema/materials_category_components/entities/reusable/three_dimensional/crystal_lattice_base.json +773 -0
- package/dist/js/schema/materials_category_components/entities/reusable/{repetitions.json → three_dimensional/repetitions.json} +1 -1
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers.json +18 -18
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique.json +18 -18
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/atomic_layers_unique_repeated.json +18 -18
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/crystal_lattice_planes.json +17 -18
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +2631 -0
- package/dist/js/schema/materials_category_components/operations/core/combinations/enums.json +12 -0
- package/dist/js/schema/materials_category_components/operations/core/combinations/merge.json +12 -1627
- package/dist/js/schema/materials_category_components/operations/core/combinations/stack.json +26 -1551
- package/dist/js/schema/materials_category_components/operations/core/modifications/perturb.json +768 -0
- package/dist/js/schemas.json +1 -1
- package/dist/js/types.d.ts +25363 -4551
- package/example/core/abstract/vector_2d.json +4 -0
- package/example/materials_category/compound_pristine_structures/two-dimensional/interface/configuration.json +18 -0
- package/example/materials_category/defective_structures/one-dimensional/grain_boundary_linear/configuration.json +16 -0
- package/example/materials_category/defective_structures/two-dimensional/adatom/configuration.json +24 -0
- package/example/materials_category/defective_structures/two-dimensional/grain_boundary_planar/configuration.json +18 -0
- package/example/materials_category/defective_structures/two-dimensional/island/configuration.json +37 -0
- package/example/materials_category/defective_structures/two-dimensional/terrace/configuration.json +42 -0
- package/example/materials_category/defective_structures/zero-dimensional/point_defect/base_configuration.json +19 -0
- package/example/materials_category/defective_structures/zero-dimensional/point_defect/interstitial.json +21 -0
- package/example/materials_category/defective_structures/zero-dimensional/point_defect/substitutional.json +21 -0
- package/example/materials_category/defective_structures/zero-dimensional/point_defect/vacancy.json +11 -0
- package/example/materials_category/pristine_structures/two-dimensional/nanoribbon.json +42 -0
- package/example/materials_category/pristine_structures/two-dimensional/nanotape.json +30 -0
- package/example/materials_category/pristine_structures/two-dimensional/slab.json +1 -11
- package/example/materials_category/pristine_structures/two-dimensional/slab_strained_supercell.json +55 -0
- package/example/materials_category/processed_structures/two-dimensional/passivation/configuration.json +45 -0
- package/example/materials_category_components/entities/auxiliary/one-dimensional/miller_indices_2d.json +2 -0
- package/example/materials_category_components/entities/auxiliary/zero-dimensional/crystal_site.json +7 -2
- package/example/materials_category_components/entities/auxiliary/zero-dimensional/point_defect_site.json +11 -0
- package/example/materials_category_components/entities/reusable/one-dimensional/crystal_lattice_lines.json +8 -0
- package/example/materials_category_components/entities/reusable/one-dimensional/crystal_lattice_lines_unique_repeated.json +18 -0
- package/example/materials_category_components/entities/reusable/three-dimensional/repetitions.json +3 -0
- package/example/materials_category_components/entities/reusable/two-dimensional/slab_stack_configuration.json +22 -0
- package/example/materials_category_components/operations/core/combinations/merge.json +2 -2
- package/example/materials_category_components/operations/core/combinations/stack.json +12 -2
- package/example/materials_category_components/operations/core/modifications/perturb.json +6 -0
- package/package.json +1 -1
- package/schema/core/abstract/vector_2d.json +10 -0
- package/schema/core/primitive/array_of_2_numbers.json +11 -0
- package/schema/materials_category/compound_pristine_structures/two-dimensional/interface/configuration.json +59 -0
- package/schema/materials_category/defective_structures/one-dimensional/grain_boundary_linear/configuration.json +34 -0
- package/schema/materials_category/defective_structures/two-dimensional/adatom/configuration.json +26 -0
- package/schema/materials_category/defective_structures/two-dimensional/grain_boundary_planar/configuration.json +16 -0
- package/schema/materials_category/defective_structures/two-dimensional/island/configuration.json +48 -0
- package/schema/materials_category/defective_structures/two-dimensional/terrace/configuration.json +55 -0
- package/schema/materials_category/defective_structures/zero-dimensional/point_defect/base_configuration.json +30 -0
- package/schema/materials_category/defective_structures/zero-dimensional/point_defect/interstitial.json +23 -0
- package/schema/materials_category/defective_structures/zero-dimensional/point_defect/substitutional.json +23 -0
- package/schema/materials_category/defective_structures/zero-dimensional/point_defect/vacancy.json +23 -0
- package/schema/materials_category/manifest.yaml +51 -232
- package/schema/materials_category/pristine_structures/two-dimensional/nanoribbon.json +29 -0
- package/schema/materials_category/pristine_structures/two-dimensional/nanotape.json +29 -0
- package/schema/materials_category/pristine_structures/two-dimensional/slab.json +18 -6
- package/schema/materials_category/pristine_structures/two-dimensional/slab_strained_supercell.json +25 -0
- package/schema/materials_category/processed_structures/two-dimensional/passivation/configuration.json +45 -0
- package/schema/materials_category_components/entities/auxiliary/one-dimensional/miller_indices_2d.json +13 -0
- package/schema/materials_category_components/entities/auxiliary/two-dimensional/termination.json +1 -0
- package/schema/materials_category_components/entities/auxiliary/zero-dimensional/crystal_site.json +4 -0
- package/schema/materials_category_components/entities/auxiliary/zero-dimensional/point_defect_site.json +30 -0
- package/schema/materials_category_components/entities/auxiliary/zero-dimensional/void_region.json +18 -0
- package/schema/materials_category_components/entities/core/zero-dimensional/vacancy.json +20 -0
- package/schema/materials_category_components/entities/reusable/one-dimensional/crystal_lattice_lines.json +20 -0
- package/schema/materials_category_components/entities/reusable/one-dimensional/crystal_lattice_lines_unique_repeated.json +37 -0
- package/schema/materials_category_components/entities/reusable/three-dimensional/crystal_lattice_base.json +20 -0
- package/schema/materials_category_components/entities/reusable/{repetitions.json → three-dimensional/repetitions.json} +1 -1
- package/schema/materials_category_components/entities/reusable/two-dimensional/crystal_lattice_planes.json +6 -11
- package/schema/materials_category_components/entities/reusable/two-dimensional/slab_stack_configuration.json +32 -0
- package/schema/materials_category_components/operations/core/combinations/enums.json +12 -0
- package/schema/materials_category_components/operations/core/combinations/merge.json +9 -23
- package/schema/materials_category_components/operations/core/combinations/stack.json +20 -5
- package/schema/materials_category_components/operations/core/modifications/perturb.json +16 -0
- package/dist/js/example/materials_category_components/operations/core/combinations/stack_component.json +0 -128
- package/example/materials_category_components/entities/reusable/repetitions.json +0 -1
- package/example/materials_category_components/operations/core/combinations/stack_component.json +0 -3
- package/schema/materials_category_components/entities/reusable/two-dimensional/slab_unit_cell.json +0 -33
- package/schema/materials_category_components/operations/core/combinations/stack_component.json +0 -14
- /package/dist/js/example/materials_category_components/entities/reusable/{repetitions.json → three_dimensional/repetitions.json} +0 -0
|
@@ -2,16 +2,28 @@
|
|
|
2
2
|
"$id": "materials-category/pristine-structures/two-dimensional/slab",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Slab Configuration Schema",
|
|
5
|
-
"description": "A slab
|
|
5
|
+
"description": "A slab unit cell consisting of repeated unique atomic layers and vacuum.",
|
|
6
6
|
"allOf": [
|
|
7
7
|
{
|
|
8
|
-
"$ref": "../../../materials_category_components/
|
|
8
|
+
"$ref": "../../../materials_category_components/operations/core/combinations/stack.json"
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"properties": {
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
12
|
+
"stack_components": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"minItems": 2,
|
|
15
|
+
"maxItems": 2,
|
|
16
|
+
"items": [
|
|
17
|
+
{
|
|
18
|
+
"$ref": "../../../materials_category_components/entities/reusable/two-dimensional/atomic_layers_unique_repeated.json"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"$ref": "../../../materials_category_components/entities/core/two-dimensional/vacuum.json"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
"direction": {
|
|
26
|
+
"default": "z"
|
|
15
27
|
}
|
|
16
28
|
}
|
|
17
|
-
}
|
|
29
|
+
}
|
package/schema/materials_category/pristine_structures/two-dimensional/slab_strained_supercell.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category/pristine-structures/two-dimensional/slab-strained-supercell",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Slab Strained Supercell Configuration Schema",
|
|
5
|
+
"description": "A slab structure configuration with supercell transformation and strain matrix in the xy plane",
|
|
6
|
+
"allOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "slab.json"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"xy_supercell_matrix": {
|
|
13
|
+
"$ref": "../../../materials_category_components/entities/auxiliary/two-dimensional/supercell_matrix_2d.json",
|
|
14
|
+
"description": "2x2 transformation matrix for creating a supercell in the xy plane"
|
|
15
|
+
},
|
|
16
|
+
"strain_matrix": {
|
|
17
|
+
"$ref": "../../../core/abstract/matrix_3x3.json",
|
|
18
|
+
"description": "3x3 strain matrix for deforming the structure"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"xy_supercell_matrix",
|
|
23
|
+
"strain_matrix"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category/processed-structures/two-dimensional/passivation/configuration",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Passivation Configuration Schema",
|
|
5
|
+
"description": "Configuration for a passivation that adds passivating atoms to a material surface.",
|
|
6
|
+
"allOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "../../../../materials_category_components/operations/core/combinations/merge.json"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"merge_components": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"minItems": 2,
|
|
15
|
+
"items": {
|
|
16
|
+
"anyOf": [
|
|
17
|
+
{
|
|
18
|
+
"$ref": "../../../../material.json"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"$ref": "../../../../materials_category_components/entities/auxiliary/zero-dimensional/point_defect_site.json"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"merge_method": {
|
|
27
|
+
"default": "ADD"
|
|
28
|
+
},
|
|
29
|
+
"passivant": {
|
|
30
|
+
"$ref": "../../../../materials_category_components/entities/core/zero-dimensional/atom.json",
|
|
31
|
+
"description": "The passivating element to add to the surface"
|
|
32
|
+
},
|
|
33
|
+
"bond_length": {
|
|
34
|
+
"type": "number",
|
|
35
|
+
"default": 1.0,
|
|
36
|
+
"description": "The bond length for the passivating atoms"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"required": [
|
|
40
|
+
"merge_components",
|
|
41
|
+
"merge_method",
|
|
42
|
+
"passivant",
|
|
43
|
+
"bond_length"
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category-components/entities/auxiliary/one-dimensional/miller-indices-2d",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "2D Miller Indices Schema",
|
|
5
|
+
"description": "2D Miller indices [u, v] defining crystallographic line directions",
|
|
6
|
+
"type": "array",
|
|
7
|
+
"minItems": 2,
|
|
8
|
+
"maxItems": 2,
|
|
9
|
+
"items": {
|
|
10
|
+
"type": "integer"
|
|
11
|
+
},
|
|
12
|
+
"description": "The (u,v) Miller indices for the line direction"
|
|
13
|
+
}
|
package/schema/materials_category_components/entities/auxiliary/zero-dimensional/crystal_site.json
CHANGED
|
@@ -5,11 +5,15 @@
|
|
|
5
5
|
"description": "A site in a crystal that can be populated with an atom, vacancy, or void. Should be place in a target basis.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
+
"crystal": {
|
|
9
|
+
"$ref": "../../../entities/core/three-dimensional/crystal.json"
|
|
10
|
+
},
|
|
8
11
|
"coordinate": {
|
|
9
12
|
"$ref": "../../../../core/abstract/coordinate_3d.json"
|
|
10
13
|
}
|
|
11
14
|
},
|
|
12
15
|
"required": [
|
|
16
|
+
"crystal",
|
|
13
17
|
"coordinate"
|
|
14
18
|
]
|
|
15
19
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category-components/entities/auxiliary/zero-dimensional/point-defect-site",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Point Defect Site Schema",
|
|
5
|
+
"description": "A crystal site with defect information (atom or vacancy) for point defects",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"allOf": [
|
|
8
|
+
{
|
|
9
|
+
"$ref": "./crystal_site.json"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "object",
|
|
13
|
+
"properties": {
|
|
14
|
+
"element": {
|
|
15
|
+
"anyOf": [
|
|
16
|
+
{
|
|
17
|
+
"$ref": "../../../entities/core/zero-dimensional/atom.json"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"$ref": "../../../entities/core/zero-dimensional/vacancy.json"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"element"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
package/schema/materials_category_components/entities/auxiliary/zero-dimensional/void_region.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category-components/entities/auxiliary/zero-dimensional/void-region",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Void Region Schema",
|
|
5
|
+
"description": "A void region that applies coordinate condition to a crystal or slab and creates a void region",
|
|
6
|
+
"properties": {
|
|
7
|
+
"crystal": {
|
|
8
|
+
"$ref": "../../../../materials_category_components/entities/core/three-dimensional/crystal.json"
|
|
9
|
+
},
|
|
10
|
+
"coordinate_condition": {
|
|
11
|
+
"$ref": "../../../../core/reusable/coordinate_conditions/index.json"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"required": [
|
|
15
|
+
"crystal",
|
|
16
|
+
"coordinate_condition"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category-components/entities/core/zero-dimensional/vacancy",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Vacancy Schema",
|
|
5
|
+
"description": "A chemical element that can be placed at a crystal site",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"chemical_element": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "../../../../definitions/chemical_elements.json#extra"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"default": "Vac"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": [
|
|
18
|
+
"chemical_element"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category-components/entities/reusable/one-dimensional/crystal-lattice-lines",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Crystal Lattice Lines Schema",
|
|
5
|
+
"description": "A set of crystal lattice lines defined by 2D Miller indices",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"allOf": [
|
|
8
|
+
{
|
|
9
|
+
"$ref": "../three-dimensional/crystal_lattice_base.json"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"miller_indices_2d": {
|
|
14
|
+
"$ref": "../../../entities/auxiliary/one-dimensional/miller_indices_2d.json"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": [
|
|
18
|
+
"miller_indices_2d"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category-components/entities/reusable/one-dimensional/crystal-lattice-lines-unique-repeated",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Crystal Lattice Lines Unique Repeated Schema",
|
|
5
|
+
"description": "Crystal lattice lines unique with integer number of repetitions, forming a full periodic structure with terminations",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"allOf": [
|
|
8
|
+
{
|
|
9
|
+
"$ref": "crystal_lattice_lines.json"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"properties": {
|
|
13
|
+
"termination_top": {
|
|
14
|
+
"$ref": "../../../entities/auxiliary/two-dimensional/termination.json",
|
|
15
|
+
"description": "Termination of the top layer"
|
|
16
|
+
},
|
|
17
|
+
"termination_bottom": {
|
|
18
|
+
"$ref": "../../../entities/auxiliary/two-dimensional/termination.json",
|
|
19
|
+
"description": "Termination of the bottom layer"
|
|
20
|
+
},
|
|
21
|
+
"number_of_repetitions_width": {
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"minimum": 1,
|
|
24
|
+
"default": 1,
|
|
25
|
+
"description": "Number of repetitions in width direction"
|
|
26
|
+
},
|
|
27
|
+
"number_of_repetitions_length": {
|
|
28
|
+
"type": "integer",
|
|
29
|
+
"minimum": 1,
|
|
30
|
+
"default": 1,
|
|
31
|
+
"description": "Number of repetitions in length direction"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"termination_top"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category-components/entities/reusable/three-dimensional/crystal-lattice-base",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Crystal Lattice Base Schema",
|
|
5
|
+
"description": "Base schema for crystal lattice structures defined by crystal and miller indices",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"crystal": {
|
|
9
|
+
"$ref": "../../core/three-dimensional/crystal.json"
|
|
10
|
+
},
|
|
11
|
+
"use_conventional_cell": {
|
|
12
|
+
"type": "boolean",
|
|
13
|
+
"description": "Use the conventional cell for the crystal structure",
|
|
14
|
+
"default": true
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"required": [
|
|
18
|
+
"crystal"
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "materials-category-components/entities/reusable/repetitions",
|
|
2
|
+
"$id": "materials-category-components/entities/reusable/three-dimensional/repetitions",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Crystal Repetitions Schema",
|
|
5
5
|
"description": "Number of unit cells to repeat in each direction for a crystal structure.",
|
|
@@ -4,22 +4,17 @@
|
|
|
4
4
|
"title": "Crystal Lattice Planes Schema",
|
|
5
5
|
"description": "A set of all possible planes in a crystal defined by Miller indices",
|
|
6
6
|
"type": "object",
|
|
7
|
+
"allOf": [
|
|
8
|
+
{
|
|
9
|
+
"$ref": "../three-dimensional/crystal_lattice_base.json"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
7
12
|
"properties": {
|
|
8
|
-
"crystal": {
|
|
9
|
-
"$ref": "../../../entities/core/three-dimensional/crystal.json"
|
|
10
|
-
},
|
|
11
13
|
"miller_indices": {
|
|
12
14
|
"$ref": "../../../entities/auxiliary/two-dimensional/miller_indices.json"
|
|
13
|
-
},
|
|
14
|
-
"use_conventional_cell": {
|
|
15
|
-
"type": "boolean",
|
|
16
|
-
"description": "Use the conventional cell for the crystal structure",
|
|
17
|
-
"default": true
|
|
18
15
|
}
|
|
19
16
|
},
|
|
20
17
|
"required": [
|
|
21
|
-
"
|
|
22
|
-
"miller_indices",
|
|
23
|
-
"use_conventional_cell"
|
|
18
|
+
"miller_indices"
|
|
24
19
|
]
|
|
25
20
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category-components/entities/reusable/two-dimensional/slab-stack-configuration",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Slab Stack Configuration Schema",
|
|
5
|
+
"description": "Base configuration for a slab stack with another component and vacuum in the z-direction.",
|
|
6
|
+
"allOf": [
|
|
7
|
+
{
|
|
8
|
+
"$ref": "../../../operations/core/combinations/stack.json"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"stack_components": {
|
|
13
|
+
"type": "array",
|
|
14
|
+
"minItems": 3,
|
|
15
|
+
"maxItems": 3,
|
|
16
|
+
"items": [
|
|
17
|
+
{
|
|
18
|
+
"$ref": "../../../../materials_category/pristine_structures/two-dimensional/slab.json"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "object"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"$ref": "../../core/two-dimensional/vacuum.json"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"direction": {
|
|
29
|
+
"default": "z"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category-components/operations/core/combinations/enums",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Merge Methods Enum",
|
|
5
|
+
"description": "Available methods for merging components",
|
|
6
|
+
"type": "string",
|
|
7
|
+
"enum": [
|
|
8
|
+
"ADD",
|
|
9
|
+
"REPLACE",
|
|
10
|
+
"YIELD"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -5,29 +5,15 @@
|
|
|
5
5
|
"description": "A component of a stack, which can be a crystal or a vacuum",
|
|
6
6
|
"properties": {
|
|
7
7
|
"merge_components": {
|
|
8
|
-
"type": "array"
|
|
9
|
-
"items": {
|
|
10
|
-
"anyOf": [
|
|
11
|
-
{
|
|
12
|
-
"$ref": "../../../entities/core/three-dimensional/crystal.json"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"$ref": "../../../entities/core/two-dimensional/vacuum.json"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"$ref": "../../../entities/core/three-dimensional/void.json"
|
|
19
|
-
}
|
|
20
|
-
]
|
|
21
|
-
}
|
|
8
|
+
"type": "array"
|
|
22
9
|
},
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"description": "Method to merge components: add, subtract (when merging with void), replace (overwrite upon collision), or yield (keep previous upon collision)"
|
|
26
|
-
"enum": [
|
|
27
|
-
"add",
|
|
28
|
-
"replace",
|
|
29
|
-
"yield"
|
|
30
|
-
]
|
|
10
|
+
"merge_method": {
|
|
11
|
+
"$ref": "./enums.json",
|
|
12
|
+
"description": "Method to merge components: add, subtract (when merging with void), replace (overwrite upon collision), or yield (keep previous upon collision)"
|
|
31
13
|
}
|
|
32
|
-
}
|
|
14
|
+
},
|
|
15
|
+
"required": [
|
|
16
|
+
"merge_components",
|
|
17
|
+
"merge_method"
|
|
18
|
+
]
|
|
33
19
|
}
|
|
@@ -2,16 +2,31 @@
|
|
|
2
2
|
"$id": "materials-category-components/operations/core/combinations/stack",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Stack Schema",
|
|
5
|
-
"description": "A stack of components
|
|
5
|
+
"description": "A stack of components in a certain direction. The specific types of components should be defined by the inheriting schema.",
|
|
6
|
+
"type": "object",
|
|
6
7
|
"properties": {
|
|
7
8
|
"stack_components": {
|
|
8
|
-
"type": "array"
|
|
9
|
-
"items": {
|
|
10
|
-
"$ref": "./stack_component.json"
|
|
11
|
-
}
|
|
9
|
+
"type": "array"
|
|
12
10
|
},
|
|
13
11
|
"direction": {
|
|
14
12
|
"$ref": "../../../../core/primitive/axis_3d_names_enum.json"
|
|
13
|
+
},
|
|
14
|
+
"gaps": {
|
|
15
|
+
"description": "Gap distances between stack components as an array of objects with id and value",
|
|
16
|
+
"type": "array",
|
|
17
|
+
"items": {
|
|
18
|
+
"allOf": [
|
|
19
|
+
{
|
|
20
|
+
"$ref": "../../../../core/primitive/object_with_id.json"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"properties": {
|
|
24
|
+
"value": {
|
|
25
|
+
"type": "number",
|
|
26
|
+
"minimum": 0
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
15
30
|
}
|
|
16
31
|
},
|
|
17
32
|
"required": [
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "materials-category-components/operations/core/modifications/perturb",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"title": "Perturbation Schema",
|
|
5
|
+
"description": "A perturbation operation that modifies a configuration by applying a perturbation to atoms coordinates.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"material": {
|
|
9
|
+
"$ref": "../../../../material.json"
|
|
10
|
+
},
|
|
11
|
+
"perturbation_function": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "A function that defines the perturbation (delta in coordinates) to be applied to the atomic coordinates."
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_id": "LCthJ6E2QabYCZqf3",
|
|
3
|
-
"basis": {
|
|
4
|
-
"coordinates": [
|
|
5
|
-
{
|
|
6
|
-
"id": 1,
|
|
7
|
-
"value": [
|
|
8
|
-
0,
|
|
9
|
-
0,
|
|
10
|
-
0
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"id": 2,
|
|
15
|
-
"value": [
|
|
16
|
-
0.25,
|
|
17
|
-
0.25,
|
|
18
|
-
0.25
|
|
19
|
-
]
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"elements": [
|
|
23
|
-
{
|
|
24
|
-
"id": 1,
|
|
25
|
-
"value": "Si"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"id": 2,
|
|
29
|
-
"value": "Si"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"name": "basis",
|
|
33
|
-
"units": "crystal"
|
|
34
|
-
},
|
|
35
|
-
"createdAt": "2016-04-03T05:25:37.430Z",
|
|
36
|
-
"creator": {
|
|
37
|
-
"_id": "HtxACY2wX4b2hS8Rv",
|
|
38
|
-
"cls": "User",
|
|
39
|
-
"slug": "exadmin"
|
|
40
|
-
},
|
|
41
|
-
"derivedProperties": [
|
|
42
|
-
{
|
|
43
|
-
"name": "volume",
|
|
44
|
-
"units": "angstrom^3",
|
|
45
|
-
"value": 131.1
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "density",
|
|
49
|
-
"units": "g/cm^3",
|
|
50
|
-
"value": 2.33
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "symmetry",
|
|
54
|
-
"spaceGroupSymbol": "Fd-3m",
|
|
55
|
-
"tolerance": {
|
|
56
|
-
"units": "angstrom",
|
|
57
|
-
"value": 0.3
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"degree": 10,
|
|
62
|
-
"name": "p-norm",
|
|
63
|
-
"value": 0.71
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"element": "Si",
|
|
67
|
-
"name": "elemental_ratio",
|
|
68
|
-
"value": 0.71
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"name": "inchi",
|
|
72
|
-
"value": ""
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"name": "inchi_key",
|
|
76
|
-
"value": ""
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"exabyteId": "RKiswuxHKkF3uvLyA",
|
|
80
|
-
"formula": "Si",
|
|
81
|
-
"hash": "4ac3fa057e3530628eb1295c77110eaa",
|
|
82
|
-
"isDefault": false,
|
|
83
|
-
"isNonPeriodic": false,
|
|
84
|
-
"lattice": {
|
|
85
|
-
"name": "lattice",
|
|
86
|
-
"a": 5.14,
|
|
87
|
-
"alpha": 90,
|
|
88
|
-
"b": 5.14,
|
|
89
|
-
"beta": 90,
|
|
90
|
-
"c": 5.14,
|
|
91
|
-
"gamma": 90,
|
|
92
|
-
"type": "CUB",
|
|
93
|
-
"units": {
|
|
94
|
-
"angle": "degree",
|
|
95
|
-
"length": "angstrom"
|
|
96
|
-
},
|
|
97
|
-
"vectors": {
|
|
98
|
-
"a": [
|
|
99
|
-
5,
|
|
100
|
-
0.000121312,
|
|
101
|
-
0.000131415
|
|
102
|
-
],
|
|
103
|
-
"alat": 1,
|
|
104
|
-
"b": [
|
|
105
|
-
0.000121312,
|
|
106
|
-
5,
|
|
107
|
-
0.000121314
|
|
108
|
-
],
|
|
109
|
-
"c": [
|
|
110
|
-
0.000121313,
|
|
111
|
-
0.000121312,
|
|
112
|
-
5
|
|
113
|
-
],
|
|
114
|
-
"units": "angstrom"
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"name": "Silicon FCC",
|
|
118
|
-
"owner": {
|
|
119
|
-
"_id": "HtxACY2wX4b2hS8Rv",
|
|
120
|
-
"cls": "Account",
|
|
121
|
-
"slug": "exabyte"
|
|
122
|
-
},
|
|
123
|
-
"scaledHash": "5bd4eb168e3530628eb1295d88221cbb",
|
|
124
|
-
"schemaVersion": "0.2.0",
|
|
125
|
-
"slug": "silicon-fcc",
|
|
126
|
-
"unitCellFormula": "Si2",
|
|
127
|
-
"updatedAt": "2016-04-04T17:58:42.867Z"
|
|
128
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[2, 2, 1]
|
package/schema/materials_category_components/entities/reusable/two-dimensional/slab_unit_cell.json
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$id": "materials-category-components/entities/reusable/two-dimensional/slab-unit-cell",
|
|
3
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
-
"title": "Slab Unit Cell Schema",
|
|
5
|
-
"description": "A slab unit cell consisting of repeated unique atomic layers and vacuum",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"stack_components": {
|
|
9
|
-
"type": "array",
|
|
10
|
-
"items": {
|
|
11
|
-
"oneOf": [
|
|
12
|
-
{
|
|
13
|
-
"$ref": "atomic_layers_unique_repeated.json"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"$ref": "../../../entities/core/two-dimensional/vacuum.json"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"minItems": 2,
|
|
21
|
-
"description": "Components of the slab unit cell: repeated unique atomic layers and vacuum"
|
|
22
|
-
},
|
|
23
|
-
"direction": {
|
|
24
|
-
"$ref": "../../../../core/primitive/axis_3d_names_enum.json",
|
|
25
|
-
"default": "z",
|
|
26
|
-
"description": "Direction along which the components are stacked"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"required": [
|
|
30
|
-
"stack_components",
|
|
31
|
-
"direction"
|
|
32
|
-
]
|
|
33
|
-
}
|