@geode/vease-modeling-back 1.10.0-rc.3 → 1.10.0-rc.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/vease-modeling-back",
3
- "version": "1.10.0-rc.3",
3
+ "version": "1.10.0-rc.5",
4
4
  "description": "Vease Modeling Backend - Microservice for geological modeling operations",
5
5
  "homepage": "https://github.com/Geode-solutions/Vease-Modeling-Back",
6
6
  "bugs": {
@@ -1,5 +1,55 @@
1
1
  {
2
2
  "vease_modeling_back": {
3
+ "aoi": {
4
+ "create": {
5
+ "$id": "vease_modeling_back/aoi/create",
6
+ "route": "/create",
7
+ "methods": [
8
+ "POST"
9
+ ],
10
+ "type": "object",
11
+ "properties": {
12
+ "name": {
13
+ "type": "string",
14
+ "description": "Name of the AOI"
15
+ },
16
+ "points": {
17
+ "type": "array",
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "x": {
22
+ "type": "number"
23
+ },
24
+ "y": {
25
+ "type": "number"
26
+ }
27
+ },
28
+ "required": [
29
+ "x",
30
+ "y"
31
+ ],
32
+ "additionalProperties": false
33
+ },
34
+ "minItems": 3
35
+ },
36
+ "z": {
37
+ "type": "number"
38
+ },
39
+ "id": {
40
+ "type": "string",
41
+ "minLength": 32,
42
+ "maxLength": 32
43
+ }
44
+ },
45
+ "required": [
46
+ "name",
47
+ "points",
48
+ "z"
49
+ ],
50
+ "additionalProperties": false
51
+ }
52
+ },
3
53
  "model": {
4
54
  "remesh": {
5
55
  "$id": "vease_modeling_back/model/remesh",
@@ -224,7 +274,9 @@
224
274
  "id": {
225
275
  "type": "array",
226
276
  "items": {
227
- "type": "string"
277
+ "type": "string",
278
+ "minLength": 32,
279
+ "maxLength": 32
228
280
  }
229
281
  }
230
282
  },
@@ -246,7 +298,9 @@
246
298
  "id": {
247
299
  "type": "array",
248
300
  "items": {
249
- "type": "string"
301
+ "type": "string",
302
+ "minLength": 32,
303
+ "maxLength": 32
250
304
  }
251
305
  }
252
306
  },
@@ -296,106 +350,6 @@
296
350
  "additionalProperties": false
297
351
  }
298
352
  },
299
- "voi_curve": {
300
- "$id": "vease_modeling_back/voi/create/curve",
301
- "route": "/voi/create/curve",
302
- "methods": [
303
- "POST"
304
- ],
305
- "type": "object",
306
- "properties": {
307
- "name": {
308
- "type": "string",
309
- "description": "Name of the VOI"
310
- },
311
- "topography_id": {
312
- "type": "string",
313
- "description": "ID of the topography (TriangulatedSurface3D or PolygonalSurface3D)"
314
- },
315
- "curve_id": {
316
- "type": "string",
317
- "description": "ID of the curve (EdgedCurve2D or 3D)"
318
- },
319
- "bottom_surface_depth": {
320
- "type": "number",
321
- "description": "Bottom surface depth"
322
- }
323
- },
324
- "required": [
325
- "name",
326
- "topography_id",
327
- "curve_id",
328
- "bottom_surface_depth"
329
- ],
330
- "additionalProperties": false
331
- },
332
- "voi_aoi": {
333
- "$id": "vease_modeling_back/voi/create/aoi",
334
- "route": "/voi/create/aoi",
335
- "methods": [
336
- "POST"
337
- ],
338
- "type": "object",
339
- "properties": {
340
- "name": {
341
- "type": "string",
342
- "description": "Name of the VOI"
343
- },
344
- "aoi_id": {
345
- "type": "string",
346
- "description": "ID of the corresponding AOI"
347
- },
348
- "z_min": {
349
- "type": "number",
350
- "description": "Minimum Z coordinate"
351
- },
352
- "z_max": {
353
- "type": "number",
354
- "description": "Maximum Z coordinate"
355
- },
356
- "id": {
357
- "type": "string",
358
- "description": "Optional ID for updating existing VOI"
359
- }
360
- },
361
- "required": [
362
- "name",
363
- "aoi_id",
364
- "z_min",
365
- "z_max"
366
- ],
367
- "additionalProperties": false
368
- },
369
- "voi": {
370
- "$id": "vease_modeling_back/voi/create/surfaces",
371
- "route": "/voi/create/surfaces",
372
- "methods": [
373
- "POST"
374
- ],
375
- "type": "object",
376
- "properties": {
377
- "name": {
378
- "type": "string",
379
- "description": "Name of the VOI"
380
- },
381
- "surface_ids": {
382
- "type": "array",
383
- "items": {
384
- "type": "string"
385
- },
386
- "description": "IDs of the surfaces forming the VOI"
387
- },
388
- "id": {
389
- "type": "string",
390
- "description": "Optional ID for updating existing VOI"
391
- }
392
- },
393
- "required": [
394
- "name",
395
- "surface_ids"
396
- ],
397
- "additionalProperties": false
398
- },
399
353
  "microservice_version": {
400
354
  "$id": "vease_modeling_back/microservice_version",
401
355
  "route": "/microservice_version",
@@ -405,51 +359,121 @@
405
359
  "type": "object",
406
360
  "additionalProperties": false
407
361
  },
408
- "aoi": {
409
- "$id": "vease_modeling_back/aoi/create",
410
- "route": "/aoi/create",
411
- "methods": [
412
- "POST"
413
- ],
414
- "type": "object",
415
- "properties": {
416
- "name": {
417
- "type": "string",
418
- "description": "Name of the AOI"
419
- },
420
- "points": {
421
- "type": "array",
422
- "items": {
423
- "type": "object",
424
- "properties": {
425
- "x": {
426
- "type": "number"
362
+ "voi": {
363
+ "create": {
364
+ "surfaces": {
365
+ "$id": "vease_modeling_back/voi/create/surfaces",
366
+ "route": "/surfaces",
367
+ "methods": [
368
+ "POST"
369
+ ],
370
+ "type": "object",
371
+ "properties": {
372
+ "name": {
373
+ "type": "string",
374
+ "description": "Name of the VOI"
375
+ },
376
+ "surface_ids": {
377
+ "type": "array",
378
+ "items": {
379
+ "type": "string",
380
+ "minLength": 32,
381
+ "maxLength": 32
427
382
  },
428
- "y": {
429
- "type": "number"
430
- }
383
+ "description": "IDs of the surfaces forming the VOI"
431
384
  },
432
- "required": [
433
- "x",
434
- "y"
435
- ],
436
- "additionalProperties": false
385
+ "id": {
386
+ "type": "string",
387
+ "minLength": 32,
388
+ "maxLength": 32,
389
+ "description": "Optional ID for updating existing VOI"
390
+ }
437
391
  },
438
- "minItems": 3
392
+ "required": [
393
+ "name",
394
+ "surface_ids"
395
+ ],
396
+ "additionalProperties": false
439
397
  },
440
- "z": {
441
- "type": "number"
398
+ "curve": {
399
+ "$id": "vease_modeling_back/voi/create/curve",
400
+ "route": "/curve",
401
+ "methods": [
402
+ "POST"
403
+ ],
404
+ "type": "object",
405
+ "properties": {
406
+ "name": {
407
+ "type": "string",
408
+ "description": "Name of the VOI"
409
+ },
410
+ "topography_id": {
411
+ "type": "string",
412
+ "minLength": 32,
413
+ "maxLength": 32,
414
+ "description": "ID of the topography (TriangulatedSurface3D or PolygonalSurface3D)"
415
+ },
416
+ "curve_id": {
417
+ "type": "string",
418
+ "minLength": 32,
419
+ "maxLength": 32,
420
+ "description": "ID of the curve (EdgedCurve2D or 3D)"
421
+ },
422
+ "bottom_surface_depth": {
423
+ "type": "number",
424
+ "description": "Bottom surface depth"
425
+ }
426
+ },
427
+ "required": [
428
+ "name",
429
+ "topography_id",
430
+ "curve_id",
431
+ "bottom_surface_depth"
432
+ ],
433
+ "additionalProperties": false
442
434
  },
443
- "id": {
444
- "type": "string"
435
+ "aoi": {
436
+ "$id": "vease_modeling_back/voi/create/aoi",
437
+ "route": "/aoi",
438
+ "methods": [
439
+ "POST"
440
+ ],
441
+ "type": "object",
442
+ "properties": {
443
+ "name": {
444
+ "type": "string",
445
+ "description": "Name of the VOI"
446
+ },
447
+ "aoi_id": {
448
+ "type": "string",
449
+ "minLength": 32,
450
+ "maxLength": 32,
451
+ "description": "ID of the corresponding AOI"
452
+ },
453
+ "z_min": {
454
+ "type": "number",
455
+ "description": "Minimum Z coordinate"
456
+ },
457
+ "z_max": {
458
+ "type": "number",
459
+ "description": "Maximum Z coordinate"
460
+ },
461
+ "id": {
462
+ "type": "string",
463
+ "minLength": 32,
464
+ "maxLength": 32,
465
+ "description": "Optional ID for updating existing VOI"
466
+ }
467
+ },
468
+ "required": [
469
+ "name",
470
+ "aoi_id",
471
+ "z_min",
472
+ "z_max"
473
+ ],
474
+ "additionalProperties": false
445
475
  }
446
- },
447
- "required": [
448
- "name",
449
- "points",
450
- "z"
451
- ],
452
- "additionalProperties": false
476
+ }
453
477
  }
454
478
  }
455
479
  }