@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
@@ -37,6 +37,7 @@
37
37
  "properties": {
38
38
  "shape": {
39
39
  "const": "box",
40
+ "default": "box",
40
41
  "$schema": "http://json-schema.org/draft-07/schema#",
41
42
  "title": "Coordinate Shape Enum",
42
43
  "type": "string",
@@ -69,6 +70,187 @@
69
70
  }
70
71
  }
71
72
  }
73
+ },
74
+ {
75
+ "$schema": "http://json-schema.org/draft-07/schema#",
76
+ "title": "Sphere Coordinate Condition Schema",
77
+ "required": [
78
+ "radius",
79
+ "shape"
80
+ ],
81
+ "description": "Base interface for coordinate shape filters",
82
+ "type": "object",
83
+ "properties": {
84
+ "shape": {
85
+ "const": "sphere",
86
+ "default": "sphere",
87
+ "$schema": "http://json-schema.org/draft-07/schema#",
88
+ "title": "Coordinate Shape Enum",
89
+ "type": "string",
90
+ "enum": [
91
+ "cylinder",
92
+ "sphere",
93
+ "box",
94
+ "triangular_prism",
95
+ "plane"
96
+ ]
97
+ },
98
+ "radius": {
99
+ "type": "number",
100
+ "minimum": 0
101
+ }
102
+ }
103
+ },
104
+ {
105
+ "$schema": "http://json-schema.org/draft-07/schema#",
106
+ "title": "Cylinder Coordinate Condition Schema",
107
+ "required": [
108
+ "max_z",
109
+ "min_z",
110
+ "radius",
111
+ "shape"
112
+ ],
113
+ "description": "Base interface for coordinate shape filters",
114
+ "type": "object",
115
+ "properties": {
116
+ "shape": {
117
+ "const": "cylinder",
118
+ "default": "cylinder",
119
+ "$schema": "http://json-schema.org/draft-07/schema#",
120
+ "title": "Coordinate Shape Enum",
121
+ "type": "string",
122
+ "enum": [
123
+ "cylinder",
124
+ "sphere",
125
+ "box",
126
+ "triangular_prism",
127
+ "plane"
128
+ ]
129
+ },
130
+ "radius": {
131
+ "type": "number",
132
+ "minimum": 0
133
+ },
134
+ "min_z": {
135
+ "type": "number"
136
+ },
137
+ "max_z": {
138
+ "type": "number"
139
+ }
140
+ }
141
+ },
142
+ {
143
+ "$schema": "http://json-schema.org/draft-07/schema#",
144
+ "title": "Triangular Prism Coordinate Condition Schema",
145
+ "required": [
146
+ "max_z",
147
+ "min_z",
148
+ "position_on_surface_1",
149
+ "position_on_surface_2",
150
+ "position_on_surface_3",
151
+ "shape"
152
+ ],
153
+ "description": "Base interface for coordinate shape filters",
154
+ "type": "object",
155
+ "properties": {
156
+ "shape": {
157
+ "const": "triangular_prism",
158
+ "default": "triangular_prism",
159
+ "$schema": "http://json-schema.org/draft-07/schema#",
160
+ "title": "Coordinate Shape Enum",
161
+ "type": "string",
162
+ "enum": [
163
+ "cylinder",
164
+ "sphere",
165
+ "box",
166
+ "triangular_prism",
167
+ "plane"
168
+ ]
169
+ },
170
+ "position_on_surface_1": {
171
+ "$schema": "http://json-schema.org/draft-07/schema#",
172
+ "title": "array of 2 number elements schema",
173
+ "type": "array",
174
+ "minItems": 2,
175
+ "maxItems": 2,
176
+ "items": {
177
+ "type": "number"
178
+ }
179
+ },
180
+ "position_on_surface_2": {
181
+ "$schema": "http://json-schema.org/draft-07/schema#",
182
+ "title": "array of 2 number elements schema",
183
+ "type": "array",
184
+ "minItems": 2,
185
+ "maxItems": 2,
186
+ "items": {
187
+ "type": "number"
188
+ }
189
+ },
190
+ "position_on_surface_3": {
191
+ "$schema": "http://json-schema.org/draft-07/schema#",
192
+ "title": "array of 2 number elements schema",
193
+ "type": "array",
194
+ "minItems": 2,
195
+ "maxItems": 2,
196
+ "items": {
197
+ "type": "number"
198
+ }
199
+ },
200
+ "min_z": {
201
+ "type": "number"
202
+ },
203
+ "max_z": {
204
+ "type": "number"
205
+ }
206
+ }
207
+ },
208
+ {
209
+ "$schema": "http://json-schema.org/draft-07/schema#",
210
+ "title": "Plane Coordinate Condition Schema",
211
+ "required": [
212
+ "plane_normal",
213
+ "plane_point_coordinate",
214
+ "shape"
215
+ ],
216
+ "description": "Base interface for coordinate shape filters",
217
+ "type": "object",
218
+ "properties": {
219
+ "shape": {
220
+ "const": "plane",
221
+ "default": "plane",
222
+ "$schema": "http://json-schema.org/draft-07/schema#",
223
+ "title": "Coordinate Shape Enum",
224
+ "type": "string",
225
+ "enum": [
226
+ "cylinder",
227
+ "sphere",
228
+ "box",
229
+ "triangular_prism",
230
+ "plane"
231
+ ]
232
+ },
233
+ "plane_normal": {
234
+ "$schema": "http://json-schema.org/draft-07/schema#",
235
+ "title": "coordinate 3d schema",
236
+ "type": "array",
237
+ "minItems": 3,
238
+ "maxItems": 3,
239
+ "items": {
240
+ "type": "number"
241
+ }
242
+ },
243
+ "plane_point_coordinate": {
244
+ "$schema": "http://json-schema.org/draft-07/schema#",
245
+ "title": "coordinate 3d schema",
246
+ "type": "array",
247
+ "minItems": 3,
248
+ "maxItems": 3,
249
+ "items": {
250
+ "type": "number"
251
+ }
252
+ }
253
+ }
72
254
  }
73
255
  ]
74
256
  }
@@ -1777,20 +1777,21 @@
1777
1777
  ]
1778
1778
  },
1779
1779
  "gaps": {
1780
- "description": "Gap distances between stack components as an array of objects with id and value",
1780
+ "description": "Gap distances between stack components as array of objects with id and value",
1781
1781
  "type": "array",
1782
1782
  "items": {
1783
1783
  "$schema": "http://json-schema.org/draft-07/schema#",
1784
- "title": "object with id",
1785
- "description": "object containing integer id",
1784
+ "title": "object with id and value schema",
1785
+ "description": "object containing integer id and value each",
1786
1786
  "type": "object",
1787
1787
  "required": [
1788
- "id"
1788
+ "id",
1789
+ "value"
1789
1790
  ],
1790
1791
  "properties": {
1791
1792
  "value": {
1792
1793
  "type": "number",
1793
- "minimum": 0
1794
+ "description": "value of this entry"
1794
1795
  },
1795
1796
  "id": {
1796
1797
  "description": "integer id of this entry",
@@ -2605,20 +2606,21 @@
2605
2606
  ]
2606
2607
  },
2607
2608
  "gaps": {
2608
- "description": "Gap distances between stack components as an array of objects with id and value",
2609
+ "description": "Gap distances between stack components as array of objects with id and value",
2609
2610
  "type": "array",
2610
2611
  "items": {
2611
2612
  "$schema": "http://json-schema.org/draft-07/schema#",
2612
- "title": "object with id",
2613
- "description": "object containing integer id",
2613
+ "title": "object with id and value schema",
2614
+ "description": "object containing integer id and value each",
2614
2615
  "type": "object",
2615
2616
  "required": [
2616
- "id"
2617
+ "id",
2618
+ "value"
2617
2619
  ],
2618
2620
  "properties": {
2619
2621
  "value": {
2620
2622
  "type": "number",
2621
- "minimum": 0
2623
+ "description": "value of this entry"
2622
2624
  },
2623
2625
  "id": {
2624
2626
  "description": "integer id of this entry",
@@ -24,20 +24,21 @@
24
24
  ]
25
25
  },
26
26
  "gaps": {
27
- "description": "Gap distances between stack components as an array of objects with id and value",
27
+ "description": "Gap distances between stack components as array of objects with id and value",
28
28
  "type": "array",
29
29
  "items": {
30
30
  "$schema": "http://json-schema.org/draft-07/schema#",
31
- "title": "object with id",
32
- "description": "object containing integer id",
31
+ "title": "object with id and value schema",
32
+ "description": "object containing integer id and value each",
33
33
  "type": "object",
34
34
  "required": [
35
- "id"
35
+ "id",
36
+ "value"
36
37
  ],
37
38
  "properties": {
38
39
  "value": {
39
40
  "type": "number",
40
- "minimum": 0
41
+ "description": "value of this entry"
41
42
  },
42
43
  "id": {
43
44
  "description": "integer id of this entry",