Skip to content

Commit 9b36e04

Browse files
committed
Merge branch 'next' of https://github.com/Geode-solutions/OpenGeodeWeb-Back into feat/save_and_load
2 parents 7d98acc + 418c760 commit 9b36e04

18 files changed

+238
-967
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ uploads
1111
node_modules
1212
.mypy_cache
1313
*.db
14+
package-lock.json

opengeodeweb_back_schemas.json

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,43 @@
11
{
22
"opengeodeweb_back": {
33
"create": {
4+
"create_voi": {
5+
"$id": "opengeodeweb_back/create/create_voi",
6+
"route": "/create_voi",
7+
"methods": [
8+
"POST"
9+
],
10+
"type": "object",
11+
"properties": {
12+
"name": {
13+
"type": "string",
14+
"description": "Name of the VOI"
15+
},
16+
"aoi_id": {
17+
"type": "string",
18+
"description": "ID of the corresponding AOI"
19+
},
20+
"z_min": {
21+
"type": "number",
22+
"description": "Minimum Z coordinate"
23+
},
24+
"z_max": {
25+
"type": "number",
26+
"description": "Maximum Z coordinate"
27+
},
28+
"id": {
29+
"type": "string",
30+
"description": "Optional ID for updating existing VOI"
31+
}
32+
},
33+
"required": [
34+
"name",
35+
"aoi_id",
36+
"z_min",
37+
"z_max"
38+
],
39+
"additionalProperties": false
40+
},
441
"create_point": {
542
"$id": "opengeodeweb_back/create/create_point",
643
"route": "/create_point",
@@ -61,8 +98,7 @@
6198
],
6299
"additionalProperties": false
63100
},
64-
"minItems": 4,
65-
"maxItems": 4
101+
"minItems": 3
66102
},
67103
"z": {
68104
"type": "number"

0 commit comments

Comments
 (0)