@geode/vease-modeling-back 1.3.0 → 1.4.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.3.0",
3
+ "version": "1.4.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,5 +1,218 @@
1
1
  {
2
2
  "vease_modeling_back": {
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
+ "remesh": {
28
+ "$id": "vease_modeling_back/model/remesh",
29
+ "route": "/remesh",
30
+ "methods": [
31
+ "POST"
32
+ ],
33
+ "type": "object",
34
+ "properties": {
35
+ "id": {
36
+ "type": "string",
37
+ "minLength": 32,
38
+ "maxLength": 32
39
+ },
40
+ "name": {
41
+ "type": "string"
42
+ },
43
+ "default": {
44
+ "type": "number",
45
+ "description": "Default mesh size",
46
+ "exclusiveMinimum": 0
47
+ },
48
+ "gradation": {
49
+ "type": "number",
50
+ "exclusiveMinimum": 0
51
+ },
52
+ "corners": {
53
+ "type": "array",
54
+ "items": {
55
+ "type": "object",
56
+ "properties": {
57
+ "id": {
58
+ "type": "string",
59
+ "minLength": 36,
60
+ "maxLength": 36
61
+ },
62
+ "metric": {
63
+ "type": "number",
64
+ "exclusiveMinimum": 0
65
+ }
66
+ },
67
+ "required": [
68
+ "id",
69
+ "metric"
70
+ ],
71
+ "additionalProperties": false
72
+ }
73
+ },
74
+ "lines": {
75
+ "type": "array",
76
+ "items": {
77
+ "type": "object",
78
+ "properties": {
79
+ "id": {
80
+ "type": "string",
81
+ "minLength": 36,
82
+ "maxLength": 36
83
+ },
84
+ "metric": {
85
+ "type": "number",
86
+ "exclusiveMinimum": 0
87
+ }
88
+ },
89
+ "required": [
90
+ "id",
91
+ "metric"
92
+ ],
93
+ "additionalProperties": false
94
+ }
95
+ },
96
+ "surfaces": {
97
+ "type": "array",
98
+ "items": {
99
+ "type": "object",
100
+ "properties": {
101
+ "id": {
102
+ "type": "string",
103
+ "minLength": 36,
104
+ "maxLength": 36
105
+ },
106
+ "metric": {
107
+ "type": "number",
108
+ "exclusiveMinimum": 0
109
+ }
110
+ },
111
+ "required": [
112
+ "id",
113
+ "metric"
114
+ ],
115
+ "additionalProperties": false
116
+ }
117
+ },
118
+ "blocks": {
119
+ "type": "array",
120
+ "items": {
121
+ "type": "object",
122
+ "properties": {
123
+ "id": {
124
+ "type": "string",
125
+ "minLength": 36,
126
+ "maxLength": 36
127
+ },
128
+ "metric": {
129
+ "type": "number",
130
+ "exclusiveMinimum": 0
131
+ }
132
+ },
133
+ "required": [
134
+ "id",
135
+ "metric"
136
+ ],
137
+ "additionalProperties": false
138
+ }
139
+ }
140
+ },
141
+ "required": [
142
+ "id",
143
+ "name",
144
+ "default"
145
+ ],
146
+ "additionalProperties": false
147
+ },
148
+ "explicit": {
149
+ "$id": "vease_modeling_back/model/explicit",
150
+ "route": "/explicit",
151
+ "methods": [
152
+ "POST"
153
+ ],
154
+ "type": "object",
155
+ "properties": {
156
+ "id": {
157
+ "type": "string",
158
+ "minLength": 32,
159
+ "maxLength": 32
160
+ },
161
+ "name": {
162
+ "type": "string"
163
+ },
164
+ "faults": {
165
+ "type": "array",
166
+ "items": {
167
+ "type": "object",
168
+ "properties": {
169
+ "name": {
170
+ "type": "string"
171
+ },
172
+ "id": {
173
+ "type": "array",
174
+ "items": {
175
+ "type": "string"
176
+ }
177
+ }
178
+ },
179
+ "required": [
180
+ "id",
181
+ "name"
182
+ ],
183
+ "additionalProperties": false
184
+ }
185
+ },
186
+ "horizons": {
187
+ "type": "array",
188
+ "items": {
189
+ "type": "object",
190
+ "properties": {
191
+ "name": {
192
+ "type": "string"
193
+ },
194
+ "id": {
195
+ "type": "array",
196
+ "items": {
197
+ "type": "string"
198
+ }
199
+ }
200
+ },
201
+ "required": [
202
+ "id",
203
+ "name"
204
+ ],
205
+ "additionalProperties": false
206
+ }
207
+ }
208
+ },
209
+ "required": [
210
+ "id",
211
+ "name"
212
+ ],
213
+ "additionalProperties": false
214
+ }
215
+ },
3
216
  "voi": {
4
217
  "$id": "vease_modeling_back/voi/create",
5
218
  "route": "/voi/create",