@mat3ra/esse 2025.8.6-1 → 2025.8.9-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.
Files changed (39) hide show
  1. package/dist/js/example/core/reusable/coordinate_conditions/cylinder.json +6 -0
  2. package/dist/js/example/core/reusable/coordinate_conditions/plane.json +13 -0
  3. package/dist/js/example/core/reusable/coordinate_conditions/sphere.json +4 -0
  4. package/dist/js/example/core/reusable/coordinate_conditions/triangular_prism.json +17 -0
  5. package/dist/js/schema/core/reusable/coordinate_conditions/box.json +1 -0
  6. package/dist/js/schema/core/reusable/coordinate_conditions/cylinder.json +39 -0
  7. package/dist/js/schema/core/reusable/coordinate_conditions/plane.json +48 -0
  8. package/dist/js/schema/core/reusable/coordinate_conditions/sphere.json +31 -0
  9. package/dist/js/schema/core/reusable/coordinate_conditions/triangular_prism.json +67 -0
  10. package/dist/js/schema/core/reusable/coordinate_conditions.json +182 -0
  11. package/dist/js/schema/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +30 -25
  12. package/dist/js/schema/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +30 -25
  13. package/dist/js/schema/materials_category/defective_structures/two_dimensional/adatom/configuration.json +12 -10
  14. package/dist/js/schema/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +30 -25
  15. package/dist/js/schema/materials_category/defective_structures/two_dimensional/island/configuration.json +200 -15
  16. package/dist/js/schema/materials_category/defective_structures/two_dimensional/terrace/configuration.json +200 -15
  17. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanoribbon.json +12 -10
  18. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanotape.json +6 -5
  19. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab.json +6 -5
  20. package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +6 -5
  21. package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/void_region.json +182 -0
  22. package/dist/js/schema/materials_category_components/entities/core/three_dimensional/void.json +182 -0
  23. package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +12 -10
  24. package/dist/js/schema/materials_category_components/operations/core/combinations/stack.json +6 -5
  25. package/dist/js/schemas.json +1 -1
  26. package/dist/js/types.d.ts +449 -78
  27. package/example/core/reusable/coordinate_conditions/cylinder.json +6 -0
  28. package/example/core/reusable/coordinate_conditions/plane.json +9 -0
  29. package/example/core/reusable/coordinate_conditions/sphere.json +4 -0
  30. package/example/core/reusable/coordinate_conditions/triangular_prism.json +11 -0
  31. package/package.json +1 -1
  32. package/schema/core/reusable/coordinate_conditions/box.json +2 -1
  33. package/schema/core/reusable/coordinate_conditions/cylinder.json +31 -0
  34. package/schema/core/reusable/coordinate_conditions/index.json +12 -0
  35. package/schema/core/reusable/coordinate_conditions/plane.json +26 -0
  36. package/schema/core/reusable/coordinate_conditions/sphere.json +23 -0
  37. package/schema/core/reusable/coordinate_conditions/triangular_prism.json +38 -0
  38. package/schema/materials_category/manifest.yaml +3 -0
  39. package/schema/materials_category_components/operations/core/combinations/stack.json +3 -4
@@ -0,0 +1,6 @@
1
+ {
2
+ "shape": "cylinder",
3
+ "radius": 0.25,
4
+ "min_z": 0,
5
+ "max_z": 1
6
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "shape": "plane",
3
+ "plane_normal": [ 0.0,
4
+ 0.0,
5
+ 1.0 ],
6
+ "plane_point_coordinate": [ 0.0,
7
+ 0.0,
8
+ 0.5 ]
9
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "shape": "sphere",
3
+ "radius": 0.25
4
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "shape": "triangular_prism",
3
+ "position_on_surface_1": [ 0.25,
4
+ 0.25 ],
5
+ "position_on_surface_2": [ 0.75,
6
+ 0.25 ],
7
+ "position_on_surface_3": [ 0.5,
8
+ 0.75 ],
9
+ "min_z": 0,
10
+ "max_z": 1
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mat3ra/esse",
3
- "version": "2025.8.6-1",
3
+ "version": "2025.8.9-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",
@@ -9,7 +9,8 @@
9
9
  ],
10
10
  "properties": {
11
11
  "shape": {
12
- "const": "box"
12
+ "const": "box",
13
+ "default": "box"
13
14
  },
14
15
  "min_coordinate": {
15
16
  "$ref": "../../abstract/coordinate_3d.json"
@@ -0,0 +1,31 @@
1
+ {
2
+ "$id": "core/reusable/coordinate-conditions/cylinder",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Cylinder Coordinate Condition Schema",
5
+ "allOf": [
6
+ {
7
+ "$ref": "base.json"
8
+ }
9
+ ],
10
+ "properties": {
11
+ "shape": {
12
+ "const": "cylinder",
13
+ "default": "cylinder"
14
+ },
15
+ "radius": {
16
+ "type": "number",
17
+ "minimum": 0
18
+ },
19
+ "min_z": {
20
+ "type": "number"
21
+ },
22
+ "max_z": {
23
+ "type": "number"
24
+ }
25
+ },
26
+ "required": [
27
+ "radius",
28
+ "min_z",
29
+ "max_z"
30
+ ]
31
+ }
@@ -6,6 +6,18 @@
6
6
  "oneOf": [
7
7
  {
8
8
  "$ref": "box.json"
9
+ },
10
+ {
11
+ "$ref": "sphere.json"
12
+ },
13
+ {
14
+ "$ref": "cylinder.json"
15
+ },
16
+ {
17
+ "$ref": "triangular_prism.json"
18
+ },
19
+ {
20
+ "$ref": "plane.json"
9
21
  }
10
22
  ]
11
23
  }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$id": "core/reusable/coordinate-conditions/plane",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Plane Coordinate Condition Schema",
5
+ "allOf": [
6
+ {
7
+ "$ref": "base.json"
8
+ }
9
+ ],
10
+ "properties": {
11
+ "shape": {
12
+ "const": "plane",
13
+ "default": "plane"
14
+ },
15
+ "plane_normal": {
16
+ "$ref": "../../abstract/coordinate_3d.json"
17
+ },
18
+ "plane_point_coordinate": {
19
+ "$ref": "../../abstract/coordinate_3d.json"
20
+ }
21
+ },
22
+ "required": [
23
+ "plane_normal",
24
+ "plane_point_coordinate"
25
+ ]
26
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "$id": "core/reusable/coordinate-conditions/sphere",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Sphere Coordinate Condition Schema",
5
+ "allOf": [
6
+ {
7
+ "$ref": "base.json"
8
+ }
9
+ ],
10
+ "properties": {
11
+ "shape": {
12
+ "const": "sphere",
13
+ "default": "sphere"
14
+ },
15
+ "radius": {
16
+ "type": "number",
17
+ "minimum": 0
18
+ }
19
+ },
20
+ "required": [
21
+ "radius"
22
+ ]
23
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "$id": "core/reusable/coordinate-conditions/triangular-prism",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "title": "Triangular Prism Coordinate Condition Schema",
5
+ "allOf": [
6
+ {
7
+ "$ref": "base.json"
8
+ }
9
+ ],
10
+ "properties": {
11
+ "shape": {
12
+ "const": "triangular_prism",
13
+ "default": "triangular_prism"
14
+ },
15
+ "position_on_surface_1": {
16
+ "$ref": "../../primitive/array_of_2_numbers.json"
17
+ },
18
+ "position_on_surface_2": {
19
+ "$ref": "../../primitive/array_of_2_numbers.json"
20
+ },
21
+ "position_on_surface_3": {
22
+ "$ref": "../../primitive/array_of_2_numbers.json"
23
+ },
24
+ "min_z": {
25
+ "type": "number"
26
+ },
27
+ "max_z": {
28
+ "type": "number"
29
+ }
30
+ },
31
+ "required": [
32
+ "position_on_surface_1",
33
+ "position_on_surface_2",
34
+ "position_on_surface_3",
35
+ "min_z",
36
+ "max_z"
37
+ ]
38
+ }
@@ -63,6 +63,8 @@ materials_category:
63
63
  - nanotape
64
64
  - slab
65
65
  - slab_strained_supercell
66
+ zero-dimensional:
67
+ - nanoparticle
66
68
 
67
69
  compound_pristine_structures:
68
70
  two-dimensional:
@@ -81,6 +83,7 @@ materials_category:
81
83
  - interstitial
82
84
  - substitutional
83
85
  - vacancy
86
+
84
87
 
85
88
  processed_structures:
86
89
  two-dimensional:
@@ -12,18 +12,17 @@
12
12
  "$ref": "../../../../core/primitive/axis_3d_names_enum.json"
13
13
  },
14
14
  "gaps": {
15
- "description": "Gap distances between stack components as an array of objects with id and value",
15
+ "description": "Gap distances between stack components as array of objects with id and value",
16
16
  "type": "array",
17
17
  "items": {
18
18
  "allOf": [
19
19
  {
20
- "$ref": "../../../../core/primitive/object_with_id.json"
20
+ "$ref": "../../../../core/primitive/object_with_id_and_value.json"
21
21
  }
22
22
  ],
23
23
  "properties": {
24
24
  "value": {
25
- "type": "number",
26
- "minimum": 0
25
+ "type": "number"
27
26
  }
28
27
  }
29
28
  }