@geode/vease-modeling-back 0.0.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/README.md ADDED
@@ -0,0 +1 @@
1
+ # Vease-Modeling-Back
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@geode/vease-modeling-back",
3
+ "version": "0.0.0",
4
+ "description": "Vease Modeling Backend - Microservice for geological modeling operations",
5
+ "scripts": {
6
+ "json": "npx opengeodeweb-microservice-generate vease_modeling_back routes route /",
7
+ "test": "npm run json",
8
+ "build": "npm run json"
9
+ },
10
+ "dependencies": {
11
+ "@geode/opengeodeweb-microservice": "0.0.0"
12
+ },
13
+ "exports": {
14
+ "./vease_modeling_back_schemas.json": {
15
+ "import": "./vease_modeling_back_schemas.json",
16
+ "require": "./vease_modeling_back_schemas.json"
17
+ },
18
+ "./vease_modeling_config.js": {
19
+ "import": "./vease_modeling_config.js",
20
+ "require": "./vease_modeling_config.js"
21
+ }
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/Geode-solutions/Vease-Modeling-Back.git"
26
+ },
27
+ "author": {
28
+ "name": "Geode-solutions",
29
+ "email": "contact@geode-solutions.com",
30
+ "url": "https://geode-solutions.com/"
31
+ },
32
+ "license": "MIT",
33
+ "bugs": {
34
+ "url": "https://github.com/Geode-solutions/Vease-Modeling-Back/issues"
35
+ },
36
+ "homepage": "https://github.com/Geode-solutions/Vease-Modeling-Back",
37
+ "publishConfig": {
38
+ "access": "public"
39
+ },
40
+ "files": [
41
+ "vease_modeling_back_schemas.json"
42
+ ]
43
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "vease_modeling_back": {
3
+ "voi": {
4
+ "$id": "vease_modeling_back/voi/create",
5
+ "route": "/voi/create",
6
+ "methods": [
7
+ "POST"
8
+ ],
9
+ "type": "object",
10
+ "properties": {
11
+ "name": {
12
+ "type": "string",
13
+ "description": "Name of the VOI"
14
+ },
15
+ "aoi_id": {
16
+ "type": "string",
17
+ "description": "ID of the corresponding AOI"
18
+ },
19
+ "z_min": {
20
+ "type": "number",
21
+ "description": "Minimum Z coordinate"
22
+ },
23
+ "z_max": {
24
+ "type": "number",
25
+ "description": "Maximum Z coordinate"
26
+ },
27
+ "id": {
28
+ "type": "string",
29
+ "description": "Optional ID for updating existing VOI"
30
+ }
31
+ },
32
+ "required": [
33
+ "name",
34
+ "aoi_id",
35
+ "z_min",
36
+ "z_max"
37
+ ],
38
+ "additionalProperties": false
39
+ },
40
+ "aoi": {
41
+ "$id": "vease_modeling_back/aoi/create",
42
+ "route": "/aoi/create",
43
+ "methods": [
44
+ "POST"
45
+ ],
46
+ "type": "object",
47
+ "properties": {
48
+ "name": {
49
+ "type": "string",
50
+ "description": "Name of the AOI"
51
+ },
52
+ "points": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "object",
56
+ "properties": {
57
+ "x": {
58
+ "type": "number"
59
+ },
60
+ "y": {
61
+ "type": "number"
62
+ }
63
+ },
64
+ "required": [
65
+ "x",
66
+ "y"
67
+ ],
68
+ "additionalProperties": false
69
+ },
70
+ "minItems": 3
71
+ },
72
+ "z": {
73
+ "type": "number"
74
+ },
75
+ "id": {
76
+ "type": "string"
77
+ }
78
+ },
79
+ "required": [
80
+ "name",
81
+ "points",
82
+ "z"
83
+ ],
84
+ "additionalProperties": false
85
+ }
86
+ }
87
+ }