fmea-api-mcp-server 1.1.26 → 1.1.27

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.
@@ -21,9 +21,9 @@
21
21
  "schema": {
22
22
  "type": "string",
23
23
  "enum": [
24
- "stress",
25
- "design",
26
- "process"
24
+ "STRESS",
25
+ "DESIGN",
26
+ "PROCESS"
27
27
  ]
28
28
  }
29
29
  },
@@ -67,9 +67,9 @@
67
67
  "schema": {
68
68
  "type": "string",
69
69
  "enum": [
70
- "stress",
71
- "design",
72
- "process"
70
+ "STRESS",
71
+ "DESIGN",
72
+ "PROCESS"
73
73
  ]
74
74
  }
75
75
  },
@@ -162,9 +162,9 @@
162
162
  "schema": {
163
163
  "type": "string",
164
164
  "enum": [
165
- "stress",
166
- "design",
167
- "process"
165
+ "STRESS",
166
+ "DESIGN",
167
+ "PROCESS"
168
168
  ]
169
169
  }
170
170
  }
@@ -217,9 +217,9 @@
217
217
  "schema": {
218
218
  "type": "string",
219
219
  "enum": [
220
- "stress",
221
- "design",
222
- "process"
220
+ "STRESS",
221
+ "DESIGN",
222
+ "PROCESS"
223
223
  ]
224
224
  }
225
225
  }
@@ -287,9 +287,9 @@
287
287
  "schema": {
288
288
  "type": "string",
289
289
  "enum": [
290
- "stress",
291
- "design",
292
- "process"
290
+ "STRESS",
291
+ "DESIGN",
292
+ "PROCESS"
293
293
  ]
294
294
  }
295
295
  },
@@ -402,9 +402,9 @@
402
402
  "schema": {
403
403
  "type": "string",
404
404
  "enum": [
405
- "stress",
406
- "design",
407
- "process"
405
+ "STRESS",
406
+ "DESIGN",
407
+ "PROCESS"
408
408
  ]
409
409
  }
410
410
  },
@@ -21,9 +21,9 @@
21
21
  "schema": {
22
22
  "type": "string",
23
23
  "enum": [
24
- "stress",
25
- "design",
26
- "process"
24
+ "STRESS",
25
+ "DESIGN",
26
+ "PROCESS"
27
27
  ]
28
28
  }
29
29
  },
@@ -0,0 +1,537 @@
1
+ {
2
+ "category": "Evaluation",
3
+ "version": "v2",
4
+ "description": "",
5
+ "endpoints": [
6
+ {
7
+ "path": "/api/v2/evaluation/tree",
8
+ "method": "GET",
9
+ "operationId": "getTree",
10
+ "summary": "Get evaluation criteria tree",
11
+ "description": "Returns the full tree structure of significance evaluation criteria. Returned as a recursive children structure from the root node down to SOD items.",
12
+ "tags": [
13
+ "Evaluation Criteria"
14
+ ],
15
+ "parameters": [],
16
+ "requestBody": null,
17
+ "responses": {
18
+ "default": {
19
+ "description": "default response",
20
+ "content": {
21
+ "application/json": {
22
+ "schema": {
23
+ "type": "object",
24
+ "properties": {
25
+ "id": {
26
+ "type": "string"
27
+ },
28
+ "title": {
29
+ "type": "string"
30
+ },
31
+ "type": {
32
+ "type": "string"
33
+ },
34
+ "children": {
35
+ "type": "array",
36
+ "items": {
37
+ "type": "object",
38
+ "description": "(circular: EvaluationTreeNodeDTO)"
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }
46
+ }
47
+ },
48
+ {
49
+ "path": "/api/v2/evaluation/display",
50
+ "method": "PATCH",
51
+ "operationId": "updateDisplay",
52
+ "summary": "Bulk update display visibility",
53
+ "description": "Updates the display visibility of evaluation criteria items in bulk. At least one item must remain visible.",
54
+ "tags": [
55
+ "Evaluation Criteria"
56
+ ],
57
+ "parameters": [],
58
+ "requestBody": {
59
+ "content": {
60
+ "application/json": {
61
+ "schema": {
62
+ "type": "object",
63
+ "properties": {
64
+ "items": {
65
+ "type": "array",
66
+ "items": {
67
+ "type": "object",
68
+ "properties": {
69
+ "id": {
70
+ "type": "string"
71
+ },
72
+ "display": {
73
+ "type": "boolean"
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ },
83
+ "responses": {
84
+ "default": {
85
+ "description": "default response",
86
+ "content": {
87
+ "application/json": {}
88
+ }
89
+ }
90
+ }
91
+ },
92
+ {
93
+ "path": "/api/v2/evaluation/{id}",
94
+ "method": "DELETE",
95
+ "operationId": "deleteItem_1",
96
+ "summary": "Delete evaluation criteria item",
97
+ "description": "Deletes the evaluation criteria item for the specified ID. Returns 400 if the item is in use by any project.",
98
+ "tags": [
99
+ "Evaluation Criteria"
100
+ ],
101
+ "parameters": [
102
+ {
103
+ "name": "id",
104
+ "in": "path",
105
+ "description": "Unique ID of the evaluation criteria item",
106
+ "required": true,
107
+ "schema": {
108
+ "type": "string"
109
+ }
110
+ }
111
+ ],
112
+ "requestBody": null,
113
+ "responses": {
114
+ "default": {
115
+ "description": "default response",
116
+ "content": {
117
+ "application/json": {}
118
+ }
119
+ }
120
+ }
121
+ },
122
+ {
123
+ "path": "/api/v2/evaluation/{id}",
124
+ "method": "GET",
125
+ "operationId": "getItem",
126
+ "summary": "Get evaluation criteria item",
127
+ "description": "Returns the details of the evaluation criteria item for the specified ID. Returns 404 if the ID does not exist.",
128
+ "tags": [
129
+ "Evaluation Criteria"
130
+ ],
131
+ "parameters": [
132
+ {
133
+ "name": "id",
134
+ "in": "path",
135
+ "description": "Unique ID of the evaluation criteria item",
136
+ "required": true,
137
+ "schema": {
138
+ "type": "string"
139
+ }
140
+ }
141
+ ],
142
+ "requestBody": null,
143
+ "responses": {
144
+ "default": {
145
+ "description": "default response",
146
+ "content": {
147
+ "application/json": {
148
+ "schema": {
149
+ "type": "object",
150
+ "properties": {
151
+ "id": {
152
+ "type": "string"
153
+ },
154
+ "title": {
155
+ "type": "string"
156
+ },
157
+ "description": {
158
+ "type": "string"
159
+ },
160
+ "type": {
161
+ "type": "string"
162
+ },
163
+ "count": {
164
+ "type": "integer"
165
+ },
166
+ "defaultSelected": {
167
+ "type": "boolean"
168
+ },
169
+ "displayed": {
170
+ "type": "boolean"
171
+ }
172
+ }
173
+ }
174
+ }
175
+ }
176
+ }
177
+ }
178
+ },
179
+ {
180
+ "path": "/api/v2/evaluation/{id}/items",
181
+ "method": "GET",
182
+ "operationId": "getItems",
183
+ "summary": "List child evaluation criteria items",
184
+ "description": "Returns the direct child evaluation criteria items of the specified parent ID.",
185
+ "tags": [
186
+ "Evaluation Criteria"
187
+ ],
188
+ "parameters": [
189
+ {
190
+ "name": "id",
191
+ "in": "path",
192
+ "description": "ID of the parent item",
193
+ "required": true,
194
+ "schema": {
195
+ "type": "string"
196
+ }
197
+ }
198
+ ],
199
+ "requestBody": null,
200
+ "responses": {
201
+ "default": {
202
+ "description": "default response",
203
+ "content": {
204
+ "application/json": {
205
+ "schema": {
206
+ "type": "array",
207
+ "items": {
208
+ "type": "object",
209
+ "properties": {
210
+ "id": {
211
+ "type": "string"
212
+ },
213
+ "title": {
214
+ "type": "string"
215
+ },
216
+ "description": {
217
+ "type": "string"
218
+ },
219
+ "type": {
220
+ "type": "string"
221
+ },
222
+ "count": {
223
+ "type": "integer"
224
+ },
225
+ "defaultSelected": {
226
+ "type": "boolean"
227
+ },
228
+ "displayed": {
229
+ "type": "boolean"
230
+ }
231
+ }
232
+ }
233
+ }
234
+ }
235
+ }
236
+ }
237
+ }
238
+ },
239
+ {
240
+ "path": "/api/v2/evaluation/{id}/significance-criteria",
241
+ "method": "GET",
242
+ "operationId": "getSignificanceCriteria",
243
+ "summary": "Get significance criteria",
244
+ "description": "Returns the significance criteria (S/O/D/RPN thresholds) for the specified evaluation criteria ID. Returns an empty DTO if not configured.",
245
+ "tags": [
246
+ "Evaluation Criteria"
247
+ ],
248
+ "parameters": [
249
+ {
250
+ "name": "id",
251
+ "in": "path",
252
+ "description": "ID of the evaluation criteria item",
253
+ "required": true,
254
+ "schema": {
255
+ "type": "string"
256
+ }
257
+ }
258
+ ],
259
+ "requestBody": null,
260
+ "responses": {
261
+ "default": {
262
+ "description": "default response",
263
+ "content": {
264
+ "application/json": {
265
+ "schema": {
266
+ "type": "object",
267
+ "properties": {
268
+ "rpn": {
269
+ "type": "integer"
270
+ },
271
+ "s": {
272
+ "type": "integer"
273
+ },
274
+ "o": {
275
+ "type": "integer"
276
+ },
277
+ "d": {
278
+ "type": "integer"
279
+ },
280
+ "rpnRating": {
281
+ "type": "string"
282
+ },
283
+ "limitType": {
284
+ "type": "string"
285
+ }
286
+ }
287
+ }
288
+ }
289
+ }
290
+ }
291
+ }
292
+ },
293
+ {
294
+ "path": "/api/v2/evaluation/{parentId}/items",
295
+ "method": "POST",
296
+ "operationId": "createItem_1",
297
+ "summary": "Create evaluation criteria item",
298
+ "description": "Adds a new evaluation criteria item under the specified parent. The type is automatically determined by the parent's type.",
299
+ "tags": [
300
+ "Evaluation Criteria"
301
+ ],
302
+ "parameters": [
303
+ {
304
+ "name": "parentId",
305
+ "in": "path",
306
+ "description": "ID of the parent item",
307
+ "required": true,
308
+ "schema": {
309
+ "type": "string"
310
+ }
311
+ }
312
+ ],
313
+ "requestBody": {
314
+ "content": {
315
+ "application/json": {
316
+ "schema": {
317
+ "type": "object",
318
+ "properties": {
319
+ "title": {
320
+ "type": "string"
321
+ },
322
+ "description": {
323
+ "type": "string"
324
+ },
325
+ "count": {
326
+ "type": "integer",
327
+ "format": "int32"
328
+ }
329
+ }
330
+ }
331
+ }
332
+ }
333
+ },
334
+ "responses": {
335
+ "default": {
336
+ "description": "default response",
337
+ "content": {
338
+ "application/json": {}
339
+ }
340
+ }
341
+ }
342
+ },
343
+ {
344
+ "path": "/api/v2/evaluation/{id}",
345
+ "method": "PUT",
346
+ "operationId": "updateItem_1",
347
+ "summary": "Update evaluation criteria item",
348
+ "description": "Updates the evaluation criteria item for the specified ID. When the name is changed, mainproject sync is also performed.",
349
+ "tags": [
350
+ "Evaluation Criteria"
351
+ ],
352
+ "parameters": [
353
+ {
354
+ "name": "id",
355
+ "in": "path",
356
+ "description": "Unique ID of the evaluation criteria item",
357
+ "required": true,
358
+ "schema": {
359
+ "type": "string"
360
+ }
361
+ }
362
+ ],
363
+ "requestBody": {
364
+ "content": {
365
+ "application/json": {
366
+ "schema": {
367
+ "type": "object",
368
+ "properties": {
369
+ "title": {
370
+ "type": "string"
371
+ },
372
+ "description": {
373
+ "type": "string"
374
+ },
375
+ "count": {
376
+ "type": "integer",
377
+ "format": "int32"
378
+ }
379
+ }
380
+ }
381
+ }
382
+ }
383
+ },
384
+ "responses": {
385
+ "default": {
386
+ "description": "default response",
387
+ "content": {
388
+ "application/json": {
389
+ "schema": {
390
+ "type": "object",
391
+ "properties": {
392
+ "id": {
393
+ "type": "string"
394
+ },
395
+ "title": {
396
+ "type": "string"
397
+ },
398
+ "description": {
399
+ "type": "string"
400
+ },
401
+ "type": {
402
+ "type": "string"
403
+ },
404
+ "count": {
405
+ "type": "integer"
406
+ },
407
+ "defaultSelected": {
408
+ "type": "boolean"
409
+ },
410
+ "displayed": {
411
+ "type": "boolean"
412
+ }
413
+ }
414
+ }
415
+ }
416
+ }
417
+ }
418
+ }
419
+ },
420
+ {
421
+ "path": "/api/v2/evaluation/{id}/default",
422
+ "method": "PUT",
423
+ "operationId": "setDefault",
424
+ "summary": "Set default evaluation criteria item",
425
+ "description": "Sets the specified item as the default. The existing default under the same parent is unset.",
426
+ "tags": [
427
+ "Evaluation Criteria"
428
+ ],
429
+ "parameters": [
430
+ {
431
+ "name": "id",
432
+ "in": "path",
433
+ "description": "ID of the item to set as default",
434
+ "required": true,
435
+ "schema": {
436
+ "type": "string"
437
+ }
438
+ }
439
+ ],
440
+ "requestBody": null,
441
+ "responses": {
442
+ "default": {
443
+ "description": "default response",
444
+ "content": {
445
+ "application/json": {}
446
+ }
447
+ }
448
+ }
449
+ },
450
+ {
451
+ "path": "/api/v2/evaluation/{id}/significance-criteria",
452
+ "method": "PUT",
453
+ "operationId": "saveSignificanceCriteria",
454
+ "summary": "Save significance criteria",
455
+ "description": "Creates or updates the significance criteria (S/O/D/RPN thresholds) for the specified evaluation criteria ID.",
456
+ "tags": [
457
+ "Evaluation Criteria"
458
+ ],
459
+ "parameters": [
460
+ {
461
+ "name": "id",
462
+ "in": "path",
463
+ "description": "ID of the evaluation criteria item",
464
+ "required": true,
465
+ "schema": {
466
+ "type": "string"
467
+ }
468
+ }
469
+ ],
470
+ "requestBody": {
471
+ "content": {
472
+ "application/json": {
473
+ "schema": {
474
+ "type": "object",
475
+ "properties": {
476
+ "rpn": {
477
+ "type": "integer",
478
+ "format": "int32"
479
+ },
480
+ "s": {
481
+ "type": "integer",
482
+ "format": "int32"
483
+ },
484
+ "o": {
485
+ "type": "integer",
486
+ "format": "int32"
487
+ },
488
+ "d": {
489
+ "type": "integer",
490
+ "format": "int32"
491
+ },
492
+ "rpnRating": {
493
+ "type": "string"
494
+ },
495
+ "limitType": {
496
+ "type": "string"
497
+ }
498
+ }
499
+ }
500
+ }
501
+ }
502
+ },
503
+ "responses": {
504
+ "default": {
505
+ "description": "default response",
506
+ "content": {
507
+ "application/json": {
508
+ "schema": {
509
+ "type": "object",
510
+ "properties": {
511
+ "rpn": {
512
+ "type": "integer"
513
+ },
514
+ "s": {
515
+ "type": "integer"
516
+ },
517
+ "o": {
518
+ "type": "integer"
519
+ },
520
+ "d": {
521
+ "type": "integer"
522
+ },
523
+ "rpnRating": {
524
+ "type": "string"
525
+ },
526
+ "limitType": {
527
+ "type": "string"
528
+ }
529
+ }
530
+ }
531
+ }
532
+ }
533
+ }
534
+ }
535
+ }
536
+ ]
537
+ }
@@ -228,12 +228,12 @@
228
228
  "fmeaType": {
229
229
  "type": "string",
230
230
  "enum": [
231
- "Design",
232
- "Process",
233
- "Equipment",
231
+ "DESIGN",
232
+ "PROCESS",
233
+ "EQUIPMENT",
234
234
  "FA",
235
235
  "FTA",
236
- "CPlan"
236
+ "CPLAN"
237
237
  ]
238
238
  },
239
239
  "completed": {