@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.
- package/dist/js/example/core/reusable/coordinate_conditions/cylinder.json +6 -0
- package/dist/js/example/core/reusable/coordinate_conditions/plane.json +13 -0
- package/dist/js/example/core/reusable/coordinate_conditions/sphere.json +4 -0
- package/dist/js/example/core/reusable/coordinate_conditions/triangular_prism.json +17 -0
- package/dist/js/schema/core/reusable/coordinate_conditions/box.json +1 -0
- package/dist/js/schema/core/reusable/coordinate_conditions/cylinder.json +39 -0
- package/dist/js/schema/core/reusable/coordinate_conditions/plane.json +48 -0
- package/dist/js/schema/core/reusable/coordinate_conditions/sphere.json +31 -0
- package/dist/js/schema/core/reusable/coordinate_conditions/triangular_prism.json +67 -0
- package/dist/js/schema/core/reusable/coordinate_conditions.json +182 -0
- package/dist/js/schema/materials_category/compound_pristine_structures/two_dimensional/interface/configuration.json +30 -25
- package/dist/js/schema/materials_category/defective_structures/one_dimensional/grain_boundary_linear/configuration.json +30 -25
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/adatom/configuration.json +12 -10
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/grain_boundary_planar/configuration.json +30 -25
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/island/configuration.json +200 -15
- package/dist/js/schema/materials_category/defective_structures/two_dimensional/terrace/configuration.json +200 -15
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanoribbon.json +12 -10
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanotape.json +6 -5
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab.json +6 -5
- package/dist/js/schema/materials_category/pristine_structures/two_dimensional/slab_strained_supercell.json +6 -5
- package/dist/js/schema/materials_category_components/entities/auxiliary/zero_dimensional/void_region.json +182 -0
- package/dist/js/schema/materials_category_components/entities/core/three_dimensional/void.json +182 -0
- package/dist/js/schema/materials_category_components/entities/reusable/two_dimensional/slab_stack_configuration.json +12 -10
- package/dist/js/schema/materials_category_components/operations/core/combinations/stack.json +6 -5
- package/dist/js/schemas.json +1 -1
- package/dist/js/types.d.ts +449 -78
- package/example/core/reusable/coordinate_conditions/cylinder.json +6 -0
- package/example/core/reusable/coordinate_conditions/plane.json +9 -0
- package/example/core/reusable/coordinate_conditions/sphere.json +4 -0
- package/example/core/reusable/coordinate_conditions/triangular_prism.json +11 -0
- package/package.json +1 -1
- package/schema/core/reusable/coordinate_conditions/box.json +2 -1
- package/schema/core/reusable/coordinate_conditions/cylinder.json +31 -0
- package/schema/core/reusable/coordinate_conditions/index.json +12 -0
- package/schema/core/reusable/coordinate_conditions/plane.json +26 -0
- package/schema/core/reusable/coordinate_conditions/sphere.json +23 -0
- package/schema/core/reusable/coordinate_conditions/triangular_prism.json +38 -0
- package/schema/materials_category/manifest.yaml +3 -0
- package/schema/materials_category_components/operations/core/combinations/stack.json +3 -4
|
@@ -1778,20 +1778,21 @@
|
|
|
1778
1778
|
]
|
|
1779
1779
|
},
|
|
1780
1780
|
"gaps": {
|
|
1781
|
-
"description": "Gap distances between stack components as
|
|
1781
|
+
"description": "Gap distances between stack components as array of objects with id and value",
|
|
1782
1782
|
"type": "array",
|
|
1783
1783
|
"items": {
|
|
1784
1784
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1785
|
-
"title": "object with id",
|
|
1786
|
-
"description": "object containing integer id",
|
|
1785
|
+
"title": "object with id and value schema",
|
|
1786
|
+
"description": "object containing integer id and value each",
|
|
1787
1787
|
"type": "object",
|
|
1788
1788
|
"required": [
|
|
1789
|
-
"id"
|
|
1789
|
+
"id",
|
|
1790
|
+
"value"
|
|
1790
1791
|
],
|
|
1791
1792
|
"properties": {
|
|
1792
1793
|
"value": {
|
|
1793
1794
|
"type": "number",
|
|
1794
|
-
"
|
|
1795
|
+
"description": "value of this entry"
|
|
1795
1796
|
},
|
|
1796
1797
|
"id": {
|
|
1797
1798
|
"description": "integer id of this entry",
|
|
@@ -3580,20 +3581,21 @@
|
|
|
3580
3581
|
]
|
|
3581
3582
|
},
|
|
3582
3583
|
"gaps": {
|
|
3583
|
-
"description": "Gap distances between stack components as
|
|
3584
|
+
"description": "Gap distances between stack components as array of objects with id and value",
|
|
3584
3585
|
"type": "array",
|
|
3585
3586
|
"items": {
|
|
3586
3587
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3587
|
-
"title": "object with id",
|
|
3588
|
-
"description": "object containing integer id",
|
|
3588
|
+
"title": "object with id and value schema",
|
|
3589
|
+
"description": "object containing integer id and value each",
|
|
3589
3590
|
"type": "object",
|
|
3590
3591
|
"required": [
|
|
3591
|
-
"id"
|
|
3592
|
+
"id",
|
|
3593
|
+
"value"
|
|
3592
3594
|
],
|
|
3593
3595
|
"properties": {
|
|
3594
3596
|
"value": {
|
|
3595
3597
|
"type": "number",
|
|
3596
|
-
"
|
|
3598
|
+
"description": "value of this entry"
|
|
3597
3599
|
},
|
|
3598
3600
|
"id": {
|
|
3599
3601
|
"description": "integer id of this entry",
|
|
@@ -4387,6 +4389,7 @@
|
|
|
4387
4389
|
"properties": {
|
|
4388
4390
|
"shape": {
|
|
4389
4391
|
"const": "box",
|
|
4392
|
+
"default": "box",
|
|
4390
4393
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4391
4394
|
"title": "Coordinate Shape Enum",
|
|
4392
4395
|
"type": "string",
|
|
@@ -4419,6 +4422,187 @@
|
|
|
4419
4422
|
}
|
|
4420
4423
|
}
|
|
4421
4424
|
}
|
|
4425
|
+
},
|
|
4426
|
+
{
|
|
4427
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4428
|
+
"title": "Sphere Coordinate Condition Schema",
|
|
4429
|
+
"required": [
|
|
4430
|
+
"radius",
|
|
4431
|
+
"shape"
|
|
4432
|
+
],
|
|
4433
|
+
"description": "Base interface for coordinate shape filters",
|
|
4434
|
+
"type": "object",
|
|
4435
|
+
"properties": {
|
|
4436
|
+
"shape": {
|
|
4437
|
+
"const": "sphere",
|
|
4438
|
+
"default": "sphere",
|
|
4439
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4440
|
+
"title": "Coordinate Shape Enum",
|
|
4441
|
+
"type": "string",
|
|
4442
|
+
"enum": [
|
|
4443
|
+
"cylinder",
|
|
4444
|
+
"sphere",
|
|
4445
|
+
"box",
|
|
4446
|
+
"triangular_prism",
|
|
4447
|
+
"plane"
|
|
4448
|
+
]
|
|
4449
|
+
},
|
|
4450
|
+
"radius": {
|
|
4451
|
+
"type": "number",
|
|
4452
|
+
"minimum": 0
|
|
4453
|
+
}
|
|
4454
|
+
}
|
|
4455
|
+
},
|
|
4456
|
+
{
|
|
4457
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4458
|
+
"title": "Cylinder Coordinate Condition Schema",
|
|
4459
|
+
"required": [
|
|
4460
|
+
"max_z",
|
|
4461
|
+
"min_z",
|
|
4462
|
+
"radius",
|
|
4463
|
+
"shape"
|
|
4464
|
+
],
|
|
4465
|
+
"description": "Base interface for coordinate shape filters",
|
|
4466
|
+
"type": "object",
|
|
4467
|
+
"properties": {
|
|
4468
|
+
"shape": {
|
|
4469
|
+
"const": "cylinder",
|
|
4470
|
+
"default": "cylinder",
|
|
4471
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4472
|
+
"title": "Coordinate Shape Enum",
|
|
4473
|
+
"type": "string",
|
|
4474
|
+
"enum": [
|
|
4475
|
+
"cylinder",
|
|
4476
|
+
"sphere",
|
|
4477
|
+
"box",
|
|
4478
|
+
"triangular_prism",
|
|
4479
|
+
"plane"
|
|
4480
|
+
]
|
|
4481
|
+
},
|
|
4482
|
+
"radius": {
|
|
4483
|
+
"type": "number",
|
|
4484
|
+
"minimum": 0
|
|
4485
|
+
},
|
|
4486
|
+
"min_z": {
|
|
4487
|
+
"type": "number"
|
|
4488
|
+
},
|
|
4489
|
+
"max_z": {
|
|
4490
|
+
"type": "number"
|
|
4491
|
+
}
|
|
4492
|
+
}
|
|
4493
|
+
},
|
|
4494
|
+
{
|
|
4495
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4496
|
+
"title": "Triangular Prism Coordinate Condition Schema",
|
|
4497
|
+
"required": [
|
|
4498
|
+
"max_z",
|
|
4499
|
+
"min_z",
|
|
4500
|
+
"position_on_surface_1",
|
|
4501
|
+
"position_on_surface_2",
|
|
4502
|
+
"position_on_surface_3",
|
|
4503
|
+
"shape"
|
|
4504
|
+
],
|
|
4505
|
+
"description": "Base interface for coordinate shape filters",
|
|
4506
|
+
"type": "object",
|
|
4507
|
+
"properties": {
|
|
4508
|
+
"shape": {
|
|
4509
|
+
"const": "triangular_prism",
|
|
4510
|
+
"default": "triangular_prism",
|
|
4511
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4512
|
+
"title": "Coordinate Shape Enum",
|
|
4513
|
+
"type": "string",
|
|
4514
|
+
"enum": [
|
|
4515
|
+
"cylinder",
|
|
4516
|
+
"sphere",
|
|
4517
|
+
"box",
|
|
4518
|
+
"triangular_prism",
|
|
4519
|
+
"plane"
|
|
4520
|
+
]
|
|
4521
|
+
},
|
|
4522
|
+
"position_on_surface_1": {
|
|
4523
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4524
|
+
"title": "array of 2 number elements schema",
|
|
4525
|
+
"type": "array",
|
|
4526
|
+
"minItems": 2,
|
|
4527
|
+
"maxItems": 2,
|
|
4528
|
+
"items": {
|
|
4529
|
+
"type": "number"
|
|
4530
|
+
}
|
|
4531
|
+
},
|
|
4532
|
+
"position_on_surface_2": {
|
|
4533
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4534
|
+
"title": "array of 2 number elements schema",
|
|
4535
|
+
"type": "array",
|
|
4536
|
+
"minItems": 2,
|
|
4537
|
+
"maxItems": 2,
|
|
4538
|
+
"items": {
|
|
4539
|
+
"type": "number"
|
|
4540
|
+
}
|
|
4541
|
+
},
|
|
4542
|
+
"position_on_surface_3": {
|
|
4543
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4544
|
+
"title": "array of 2 number elements schema",
|
|
4545
|
+
"type": "array",
|
|
4546
|
+
"minItems": 2,
|
|
4547
|
+
"maxItems": 2,
|
|
4548
|
+
"items": {
|
|
4549
|
+
"type": "number"
|
|
4550
|
+
}
|
|
4551
|
+
},
|
|
4552
|
+
"min_z": {
|
|
4553
|
+
"type": "number"
|
|
4554
|
+
},
|
|
4555
|
+
"max_z": {
|
|
4556
|
+
"type": "number"
|
|
4557
|
+
}
|
|
4558
|
+
}
|
|
4559
|
+
},
|
|
4560
|
+
{
|
|
4561
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4562
|
+
"title": "Plane Coordinate Condition Schema",
|
|
4563
|
+
"required": [
|
|
4564
|
+
"plane_normal",
|
|
4565
|
+
"plane_point_coordinate",
|
|
4566
|
+
"shape"
|
|
4567
|
+
],
|
|
4568
|
+
"description": "Base interface for coordinate shape filters",
|
|
4569
|
+
"type": "object",
|
|
4570
|
+
"properties": {
|
|
4571
|
+
"shape": {
|
|
4572
|
+
"const": "plane",
|
|
4573
|
+
"default": "plane",
|
|
4574
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4575
|
+
"title": "Coordinate Shape Enum",
|
|
4576
|
+
"type": "string",
|
|
4577
|
+
"enum": [
|
|
4578
|
+
"cylinder",
|
|
4579
|
+
"sphere",
|
|
4580
|
+
"box",
|
|
4581
|
+
"triangular_prism",
|
|
4582
|
+
"plane"
|
|
4583
|
+
]
|
|
4584
|
+
},
|
|
4585
|
+
"plane_normal": {
|
|
4586
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4587
|
+
"title": "coordinate 3d schema",
|
|
4588
|
+
"type": "array",
|
|
4589
|
+
"minItems": 3,
|
|
4590
|
+
"maxItems": 3,
|
|
4591
|
+
"items": {
|
|
4592
|
+
"type": "number"
|
|
4593
|
+
}
|
|
4594
|
+
},
|
|
4595
|
+
"plane_point_coordinate": {
|
|
4596
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4597
|
+
"title": "coordinate 3d schema",
|
|
4598
|
+
"type": "array",
|
|
4599
|
+
"minItems": 3,
|
|
4600
|
+
"maxItems": 3,
|
|
4601
|
+
"items": {
|
|
4602
|
+
"type": "number"
|
|
4603
|
+
}
|
|
4604
|
+
}
|
|
4605
|
+
}
|
|
4422
4606
|
}
|
|
4423
4607
|
]
|
|
4424
4608
|
}
|
|
@@ -5257,20 +5441,21 @@
|
|
|
5257
5441
|
]
|
|
5258
5442
|
},
|
|
5259
5443
|
"gaps": {
|
|
5260
|
-
"description": "Gap distances between stack components as
|
|
5444
|
+
"description": "Gap distances between stack components as array of objects with id and value",
|
|
5261
5445
|
"type": "array",
|
|
5262
5446
|
"items": {
|
|
5263
5447
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5264
|
-
"title": "object with id",
|
|
5265
|
-
"description": "object containing integer id",
|
|
5448
|
+
"title": "object with id and value schema",
|
|
5449
|
+
"description": "object containing integer id and value each",
|
|
5266
5450
|
"type": "object",
|
|
5267
5451
|
"required": [
|
|
5268
|
-
"id"
|
|
5452
|
+
"id",
|
|
5453
|
+
"value"
|
|
5269
5454
|
],
|
|
5270
5455
|
"properties": {
|
|
5271
5456
|
"value": {
|
|
5272
5457
|
"type": "number",
|
|
5273
|
-
"
|
|
5458
|
+
"description": "value of this entry"
|
|
5274
5459
|
},
|
|
5275
5460
|
"id": {
|
|
5276
5461
|
"description": "integer id of this entry",
|
package/dist/js/schema/materials_category/pristine_structures/two_dimensional/nanoribbon.json
CHANGED
|
@@ -1929,20 +1929,21 @@
|
|
|
1929
1929
|
]
|
|
1930
1930
|
},
|
|
1931
1931
|
"gaps": {
|
|
1932
|
-
"description": "Gap distances between stack components as
|
|
1932
|
+
"description": "Gap distances between stack components as array of objects with id and value",
|
|
1933
1933
|
"type": "array",
|
|
1934
1934
|
"items": {
|
|
1935
1935
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1936
|
-
"title": "object with id",
|
|
1937
|
-
"description": "object containing integer id",
|
|
1936
|
+
"title": "object with id and value schema",
|
|
1937
|
+
"description": "object containing integer id and value each",
|
|
1938
1938
|
"type": "object",
|
|
1939
1939
|
"required": [
|
|
1940
|
-
"id"
|
|
1940
|
+
"id",
|
|
1941
|
+
"value"
|
|
1941
1942
|
],
|
|
1942
1943
|
"properties": {
|
|
1943
1944
|
"value": {
|
|
1944
1945
|
"type": "number",
|
|
1945
|
-
"
|
|
1946
|
+
"description": "value of this entry"
|
|
1946
1947
|
},
|
|
1947
1948
|
"id": {
|
|
1948
1949
|
"description": "integer id of this entry",
|
|
@@ -2754,20 +2755,21 @@
|
|
|
2754
2755
|
]
|
|
2755
2756
|
},
|
|
2756
2757
|
"gaps": {
|
|
2757
|
-
"description": "Gap distances between stack components as
|
|
2758
|
+
"description": "Gap distances between stack components as array of objects with id and value",
|
|
2758
2759
|
"type": "array",
|
|
2759
2760
|
"items": {
|
|
2760
2761
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2761
|
-
"title": "object with id",
|
|
2762
|
-
"description": "object containing integer id",
|
|
2762
|
+
"title": "object with id and value schema",
|
|
2763
|
+
"description": "object containing integer id and value each",
|
|
2763
2764
|
"type": "object",
|
|
2764
2765
|
"required": [
|
|
2765
|
-
"id"
|
|
2766
|
+
"id",
|
|
2767
|
+
"value"
|
|
2766
2768
|
],
|
|
2767
2769
|
"properties": {
|
|
2768
2770
|
"value": {
|
|
2769
2771
|
"type": "number",
|
|
2770
|
-
"
|
|
2772
|
+
"description": "value of this entry"
|
|
2771
2773
|
},
|
|
2772
2774
|
"id": {
|
|
2773
2775
|
"description": "integer id of this entry",
|
|
@@ -1914,20 +1914,21 @@
|
|
|
1914
1914
|
]
|
|
1915
1915
|
},
|
|
1916
1916
|
"gaps": {
|
|
1917
|
-
"description": "Gap distances between stack components as
|
|
1917
|
+
"description": "Gap distances between stack components as array of objects with id and value",
|
|
1918
1918
|
"type": "array",
|
|
1919
1919
|
"items": {
|
|
1920
1920
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1921
|
-
"title": "object with id",
|
|
1922
|
-
"description": "object containing integer id",
|
|
1921
|
+
"title": "object with id and value schema",
|
|
1922
|
+
"description": "object containing integer id and value each",
|
|
1923
1923
|
"type": "object",
|
|
1924
1924
|
"required": [
|
|
1925
|
-
"id"
|
|
1925
|
+
"id",
|
|
1926
|
+
"value"
|
|
1926
1927
|
],
|
|
1927
1928
|
"properties": {
|
|
1928
1929
|
"value": {
|
|
1929
1930
|
"type": "number",
|
|
1930
|
-
"
|
|
1931
|
+
"description": "value of this entry"
|
|
1931
1932
|
},
|
|
1932
1933
|
"id": {
|
|
1933
1934
|
"description": "integer id of this entry",
|
|
@@ -1762,20 +1762,21 @@
|
|
|
1762
1762
|
]
|
|
1763
1763
|
},
|
|
1764
1764
|
"gaps": {
|
|
1765
|
-
"description": "Gap distances between stack components as
|
|
1765
|
+
"description": "Gap distances between stack components as array of objects with id and value",
|
|
1766
1766
|
"type": "array",
|
|
1767
1767
|
"items": {
|
|
1768
1768
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1769
|
-
"title": "object with id",
|
|
1770
|
-
"description": "object containing integer id",
|
|
1769
|
+
"title": "object with id and value schema",
|
|
1770
|
+
"description": "object containing integer id and value each",
|
|
1771
1771
|
"type": "object",
|
|
1772
1772
|
"required": [
|
|
1773
|
-
"id"
|
|
1773
|
+
"id",
|
|
1774
|
+
"value"
|
|
1774
1775
|
],
|
|
1775
1776
|
"properties": {
|
|
1776
1777
|
"value": {
|
|
1777
1778
|
"type": "number",
|
|
1778
|
-
"
|
|
1779
|
+
"description": "value of this entry"
|
|
1779
1780
|
},
|
|
1780
1781
|
"id": {
|
|
1781
1782
|
"description": "integer id of this entry",
|
|
@@ -1807,20 +1807,21 @@
|
|
|
1807
1807
|
]
|
|
1808
1808
|
},
|
|
1809
1809
|
"gaps": {
|
|
1810
|
-
"description": "Gap distances between stack components as
|
|
1810
|
+
"description": "Gap distances between stack components as array of objects with id and value",
|
|
1811
1811
|
"type": "array",
|
|
1812
1812
|
"items": {
|
|
1813
1813
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1814
|
-
"title": "object with id",
|
|
1815
|
-
"description": "object containing integer id",
|
|
1814
|
+
"title": "object with id and value schema",
|
|
1815
|
+
"description": "object containing integer id and value each",
|
|
1816
1816
|
"type": "object",
|
|
1817
1817
|
"required": [
|
|
1818
|
-
"id"
|
|
1818
|
+
"id",
|
|
1819
|
+
"value"
|
|
1819
1820
|
],
|
|
1820
1821
|
"properties": {
|
|
1821
1822
|
"value": {
|
|
1822
1823
|
"type": "number",
|
|
1823
|
-
"
|
|
1824
|
+
"description": "value of this entry"
|
|
1824
1825
|
},
|
|
1825
1826
|
"id": {
|
|
1826
1827
|
"description": "integer id of this entry",
|
|
@@ -782,6 +782,7 @@
|
|
|
782
782
|
"properties": {
|
|
783
783
|
"shape": {
|
|
784
784
|
"const": "box",
|
|
785
|
+
"default": "box",
|
|
785
786
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
786
787
|
"title": "Coordinate Shape Enum",
|
|
787
788
|
"type": "string",
|
|
@@ -814,6 +815,187 @@
|
|
|
814
815
|
}
|
|
815
816
|
}
|
|
816
817
|
}
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
821
|
+
"title": "Sphere Coordinate Condition Schema",
|
|
822
|
+
"required": [
|
|
823
|
+
"radius",
|
|
824
|
+
"shape"
|
|
825
|
+
],
|
|
826
|
+
"description": "Base interface for coordinate shape filters",
|
|
827
|
+
"type": "object",
|
|
828
|
+
"properties": {
|
|
829
|
+
"shape": {
|
|
830
|
+
"const": "sphere",
|
|
831
|
+
"default": "sphere",
|
|
832
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
833
|
+
"title": "Coordinate Shape Enum",
|
|
834
|
+
"type": "string",
|
|
835
|
+
"enum": [
|
|
836
|
+
"cylinder",
|
|
837
|
+
"sphere",
|
|
838
|
+
"box",
|
|
839
|
+
"triangular_prism",
|
|
840
|
+
"plane"
|
|
841
|
+
]
|
|
842
|
+
},
|
|
843
|
+
"radius": {
|
|
844
|
+
"type": "number",
|
|
845
|
+
"minimum": 0
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
851
|
+
"title": "Cylinder Coordinate Condition Schema",
|
|
852
|
+
"required": [
|
|
853
|
+
"max_z",
|
|
854
|
+
"min_z",
|
|
855
|
+
"radius",
|
|
856
|
+
"shape"
|
|
857
|
+
],
|
|
858
|
+
"description": "Base interface for coordinate shape filters",
|
|
859
|
+
"type": "object",
|
|
860
|
+
"properties": {
|
|
861
|
+
"shape": {
|
|
862
|
+
"const": "cylinder",
|
|
863
|
+
"default": "cylinder",
|
|
864
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
865
|
+
"title": "Coordinate Shape Enum",
|
|
866
|
+
"type": "string",
|
|
867
|
+
"enum": [
|
|
868
|
+
"cylinder",
|
|
869
|
+
"sphere",
|
|
870
|
+
"box",
|
|
871
|
+
"triangular_prism",
|
|
872
|
+
"plane"
|
|
873
|
+
]
|
|
874
|
+
},
|
|
875
|
+
"radius": {
|
|
876
|
+
"type": "number",
|
|
877
|
+
"minimum": 0
|
|
878
|
+
},
|
|
879
|
+
"min_z": {
|
|
880
|
+
"type": "number"
|
|
881
|
+
},
|
|
882
|
+
"max_z": {
|
|
883
|
+
"type": "number"
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
889
|
+
"title": "Triangular Prism Coordinate Condition Schema",
|
|
890
|
+
"required": [
|
|
891
|
+
"max_z",
|
|
892
|
+
"min_z",
|
|
893
|
+
"position_on_surface_1",
|
|
894
|
+
"position_on_surface_2",
|
|
895
|
+
"position_on_surface_3",
|
|
896
|
+
"shape"
|
|
897
|
+
],
|
|
898
|
+
"description": "Base interface for coordinate shape filters",
|
|
899
|
+
"type": "object",
|
|
900
|
+
"properties": {
|
|
901
|
+
"shape": {
|
|
902
|
+
"const": "triangular_prism",
|
|
903
|
+
"default": "triangular_prism",
|
|
904
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
905
|
+
"title": "Coordinate Shape Enum",
|
|
906
|
+
"type": "string",
|
|
907
|
+
"enum": [
|
|
908
|
+
"cylinder",
|
|
909
|
+
"sphere",
|
|
910
|
+
"box",
|
|
911
|
+
"triangular_prism",
|
|
912
|
+
"plane"
|
|
913
|
+
]
|
|
914
|
+
},
|
|
915
|
+
"position_on_surface_1": {
|
|
916
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
917
|
+
"title": "array of 2 number elements schema",
|
|
918
|
+
"type": "array",
|
|
919
|
+
"minItems": 2,
|
|
920
|
+
"maxItems": 2,
|
|
921
|
+
"items": {
|
|
922
|
+
"type": "number"
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
"position_on_surface_2": {
|
|
926
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
927
|
+
"title": "array of 2 number elements schema",
|
|
928
|
+
"type": "array",
|
|
929
|
+
"minItems": 2,
|
|
930
|
+
"maxItems": 2,
|
|
931
|
+
"items": {
|
|
932
|
+
"type": "number"
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
"position_on_surface_3": {
|
|
936
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
937
|
+
"title": "array of 2 number elements schema",
|
|
938
|
+
"type": "array",
|
|
939
|
+
"minItems": 2,
|
|
940
|
+
"maxItems": 2,
|
|
941
|
+
"items": {
|
|
942
|
+
"type": "number"
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
"min_z": {
|
|
946
|
+
"type": "number"
|
|
947
|
+
},
|
|
948
|
+
"max_z": {
|
|
949
|
+
"type": "number"
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
955
|
+
"title": "Plane Coordinate Condition Schema",
|
|
956
|
+
"required": [
|
|
957
|
+
"plane_normal",
|
|
958
|
+
"plane_point_coordinate",
|
|
959
|
+
"shape"
|
|
960
|
+
],
|
|
961
|
+
"description": "Base interface for coordinate shape filters",
|
|
962
|
+
"type": "object",
|
|
963
|
+
"properties": {
|
|
964
|
+
"shape": {
|
|
965
|
+
"const": "plane",
|
|
966
|
+
"default": "plane",
|
|
967
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
968
|
+
"title": "Coordinate Shape Enum",
|
|
969
|
+
"type": "string",
|
|
970
|
+
"enum": [
|
|
971
|
+
"cylinder",
|
|
972
|
+
"sphere",
|
|
973
|
+
"box",
|
|
974
|
+
"triangular_prism",
|
|
975
|
+
"plane"
|
|
976
|
+
]
|
|
977
|
+
},
|
|
978
|
+
"plane_normal": {
|
|
979
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
980
|
+
"title": "coordinate 3d schema",
|
|
981
|
+
"type": "array",
|
|
982
|
+
"minItems": 3,
|
|
983
|
+
"maxItems": 3,
|
|
984
|
+
"items": {
|
|
985
|
+
"type": "number"
|
|
986
|
+
}
|
|
987
|
+
},
|
|
988
|
+
"plane_point_coordinate": {
|
|
989
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
990
|
+
"title": "coordinate 3d schema",
|
|
991
|
+
"type": "array",
|
|
992
|
+
"minItems": 3,
|
|
993
|
+
"maxItems": 3,
|
|
994
|
+
"items": {
|
|
995
|
+
"type": "number"
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
}
|
|
817
999
|
}
|
|
818
1000
|
]
|
|
819
1001
|
}
|