@geode/vease-modeling-back 1.6.1 → 1.7.0-rc.1

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.6.1",
3
+ "version": "1.7.0-rc.1",
4
4
  "description": "Vease Modeling Backend - Microservice for geological modeling operations",
5
5
  "scripts": {
6
6
  "json": "npx opengeodeweb-microservice-generate vease_modeling_back routes route /",
@@ -8,7 +8,7 @@
8
8
  "build": "npm run json"
9
9
  },
10
10
  "dependencies": {
11
- "@geode/opengeodeweb-microservice": "latest"
11
+ "@geode/opengeodeweb-microservice": "next"
12
12
  },
13
13
  "exports": {
14
14
  "./vease_modeling_back_schemas.json": {
@@ -1,29 +1,6 @@
1
1
  {
2
2
  "vease_modeling_back": {
3
3
  "model": {
4
- "voi": {
5
- "$id": "vease_modeling_back/model/voi",
6
- "route": "/voi",
7
- "methods": [
8
- "POST"
9
- ],
10
- "type": "object",
11
- "properties": {
12
- "id": {
13
- "type": "string",
14
- "minLength": 32,
15
- "maxLength": 32
16
- },
17
- "name": {
18
- "type": "string"
19
- }
20
- },
21
- "required": [
22
- "id",
23
- "name"
24
- ],
25
- "additionalProperties": false
26
- },
27
4
  "remesh": {
28
5
  "$id": "vease_modeling_back/model/remesh",
29
6
  "route": "/remesh",
@@ -213,9 +190,42 @@
213
190
  "additionalProperties": false
214
191
  }
215
192
  },
216
- "voi": {
217
- "$id": "vease_modeling_back/voi/create",
218
- "route": "/voi/create",
193
+ "voi_curve": {
194
+ "$id": "vease_modeling_back/voi/create/curve",
195
+ "route": "/voi/create/curve",
196
+ "methods": [
197
+ "POST"
198
+ ],
199
+ "type": "object",
200
+ "properties": {
201
+ "name": {
202
+ "type": "string",
203
+ "description": "Name of the VOI"
204
+ },
205
+ "topography_id": {
206
+ "type": "string",
207
+ "description": "ID of the topography (TriangulatedSurface3D or PolygonalSurface3D)"
208
+ },
209
+ "curve_id": {
210
+ "type": "string",
211
+ "description": "ID of the curve (EdgedCurve2D or 3D)"
212
+ },
213
+ "bottom_surface_depth": {
214
+ "type": "number",
215
+ "description": "Bottom surface depth"
216
+ }
217
+ },
218
+ "required": [
219
+ "name",
220
+ "topography_id",
221
+ "curve_id",
222
+ "bottom_surface_depth"
223
+ ],
224
+ "additionalProperties": false
225
+ },
226
+ "voi_aoi": {
227
+ "$id": "vease_modeling_back/voi/create/aoi",
228
+ "route": "/voi/create/aoi",
219
229
  "methods": [
220
230
  "POST"
221
231
  ],
@@ -243,7 +253,10 @@
243
253
  }
244
254
  },
245
255
  "required": [
246
- "name"
256
+ "name",
257
+ "aoi_id",
258
+ "z_min",
259
+ "z_max"
247
260
  ],
248
261
  "additionalProperties": false
249
262
  },