@seedtactics/insight-client 17.0.2 → 17.0.4

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.
Files changed (30) hide show
  1. package/README.md +14 -2
  2. package/dist/assets/ProgramHighlight-C5uXGNDz.js +3 -0
  3. package/dist/assets/index-B0B_a7c8.js +366 -0
  4. package/dist/cell-status/alarms.d.ts +16 -0
  5. package/dist/cell-status/alarms.js +71 -0
  6. package/dist/cell-status/loading.js +5 -0
  7. package/dist/cell-status/material-details.d.ts +1 -0
  8. package/dist/cell-status/material-details.js +10 -1
  9. package/dist/components/App.js +0 -1
  10. package/dist/components/Navigation.js +10 -5
  11. package/dist/components/station-monitor/BasketLoadStationWork.js +15 -8
  12. package/dist/components/station-monitor/BulkRawMaterial.js +31 -18
  13. package/dist/components/station-monitor/CancelLoadButton.js +8 -4
  14. package/dist/components/station-monitor/InvalidateCycle.js +23 -18
  15. package/dist/components/station-monitor/LoadStation.js +21 -17
  16. package/dist/components/station-monitor/Material.js +34 -29
  17. package/dist/components/station-monitor/MoveMaterialArrows.js +13 -2
  18. package/dist/components/station-monitor/QuarantineButton.js +12 -4
  19. package/dist/components/station-monitor/QueuesAddMaterial.js +54 -49
  20. package/dist/components/station-monitor/SystemAlarmTooltip.d.ts +6 -0
  21. package/dist/components/station-monitor/SystemAlarmTooltip.js +5 -0
  22. package/dist/fms-insight-api.json +4786 -0
  23. package/dist/index.html +1 -1
  24. package/dist/network/api.d.ts +28 -0
  25. package/dist/network/api.js +54 -0
  26. package/dist/network/current-status-session.d.ts +13 -1
  27. package/dist/network/current-status-session.js +15 -0
  28. package/package.json +12 -11
  29. package/dist/assets/ProgramHighlight-mKbZxoXO.js +0 -3
  30. package/dist/assets/index-Cjt4dPv7.js +0 -367
@@ -0,0 +1,4786 @@
1
+ {
2
+ "x-generator": "NSwag v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))",
3
+ "openapi": "3.0.0",
4
+ "info": {
5
+ "title": "SeedTactic FMS Insight",
6
+ "description": "API for access to FMS Insight for flexible manufacturing system control",
7
+ "version": "1.14"
8
+ },
9
+ "paths": {
10
+ "/api/v1/fms/fms-information": {
11
+ "get": {
12
+ "tags": ["Fms"],
13
+ "operationId": "Fms_FMSInformation",
14
+ "responses": {
15
+ "200": {
16
+ "description": "",
17
+ "content": {
18
+ "application/json": {
19
+ "schema": {
20
+ "$ref": "#/components/schemas/FMSInfo"
21
+ }
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
27
+ },
28
+ "/api/v1/fms/find-instructions/{part}": {
29
+ "get": {
30
+ "tags": ["Fms"],
31
+ "operationId": "Fms_FindInstructions",
32
+ "parameters": [
33
+ {
34
+ "name": "part",
35
+ "in": "path",
36
+ "required": true,
37
+ "schema": {
38
+ "type": "string"
39
+ },
40
+ "x-position": 1
41
+ },
42
+ {
43
+ "name": "type",
44
+ "in": "query",
45
+ "required": true,
46
+ "schema": {
47
+ "type": "string"
48
+ },
49
+ "x-position": 2
50
+ },
51
+ {
52
+ "name": "process",
53
+ "in": "query",
54
+ "schema": {
55
+ "type": "integer",
56
+ "format": "int32",
57
+ "nullable": true
58
+ },
59
+ "x-position": 3
60
+ },
61
+ {
62
+ "name": "materialID",
63
+ "in": "query",
64
+ "schema": {
65
+ "type": "integer",
66
+ "format": "int64",
67
+ "nullable": true
68
+ },
69
+ "x-position": 4
70
+ },
71
+ {
72
+ "name": "operatorName",
73
+ "in": "query",
74
+ "schema": {
75
+ "type": "string",
76
+ "nullable": true
77
+ },
78
+ "x-position": 5
79
+ },
80
+ {
81
+ "name": "pallet",
82
+ "in": "query",
83
+ "schema": {
84
+ "type": "integer",
85
+ "format": "int32",
86
+ "default": 0
87
+ },
88
+ "x-position": 6
89
+ }
90
+ ],
91
+ "responses": {
92
+ "302": {
93
+ "description": ""
94
+ },
95
+ "404": {
96
+ "description": "",
97
+ "content": {
98
+ "application/json": {
99
+ "schema": {
100
+ "$ref": "#/components/schemas/ProblemDetails"
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ }
107
+ },
108
+ "/api/v1/fms/print-label/{materialId}": {
109
+ "post": {
110
+ "tags": ["Fms"],
111
+ "operationId": "Fms_PrintLabel",
112
+ "parameters": [
113
+ {
114
+ "name": "materialId",
115
+ "in": "path",
116
+ "required": true,
117
+ "schema": {
118
+ "type": "integer",
119
+ "format": "int64"
120
+ },
121
+ "x-position": 1
122
+ },
123
+ {
124
+ "name": "process",
125
+ "in": "query",
126
+ "schema": {
127
+ "type": "integer",
128
+ "format": "int32",
129
+ "default": 1
130
+ },
131
+ "x-position": 2
132
+ }
133
+ ],
134
+ "responses": {
135
+ "200": {
136
+ "description": ""
137
+ },
138
+ "400": {
139
+ "description": "",
140
+ "content": {
141
+ "application/json": {
142
+ "schema": {
143
+ "$ref": "#/components/schemas/ProblemDetails"
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
149
+ }
150
+ },
151
+ "/api/v1/fms/parse-barcode": {
152
+ "post": {
153
+ "tags": ["Fms"],
154
+ "operationId": "Fms_ParseBarcode",
155
+ "parameters": [
156
+ {
157
+ "name": "barcode",
158
+ "in": "query",
159
+ "required": true,
160
+ "schema": {
161
+ "type": "string"
162
+ },
163
+ "x-position": 1
164
+ },
165
+ {
166
+ "name": "queuesToAddTo",
167
+ "in": "query",
168
+ "style": "form",
169
+ "explode": true,
170
+ "schema": {
171
+ "type": "array",
172
+ "nullable": true,
173
+ "items": {
174
+ "type": "string"
175
+ }
176
+ },
177
+ "x-position": 2
178
+ }
179
+ ],
180
+ "responses": {
181
+ "200": {
182
+ "description": "",
183
+ "content": {
184
+ "application/json": {
185
+ "schema": {
186
+ "nullable": true,
187
+ "oneOf": [
188
+ {
189
+ "$ref": "#/components/schemas/ScannedMaterial"
190
+ }
191
+ ]
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ }
198
+ },
199
+ "/api/v1/fms/enable-verbose-logging-for-five-minutes": {
200
+ "post": {
201
+ "tags": ["Fms"],
202
+ "operationId": "Fms_EnableVerboseLoggingForFiveMinutes",
203
+ "responses": {
204
+ "200": {
205
+ "description": ""
206
+ }
207
+ }
208
+ }
209
+ },
210
+ "/api/v1/jobs/history": {
211
+ "get": {
212
+ "tags": ["Jobs"],
213
+ "operationId": "Jobs_History",
214
+ "parameters": [
215
+ {
216
+ "name": "startUTC",
217
+ "in": "query",
218
+ "required": true,
219
+ "schema": {
220
+ "type": "string",
221
+ "format": "date-time"
222
+ },
223
+ "x-position": 1
224
+ },
225
+ {
226
+ "name": "endUTC",
227
+ "in": "query",
228
+ "required": true,
229
+ "schema": {
230
+ "type": "string",
231
+ "format": "date-time"
232
+ },
233
+ "x-position": 2
234
+ }
235
+ ],
236
+ "responses": {
237
+ "200": {
238
+ "description": "",
239
+ "content": {
240
+ "application/json": {
241
+ "schema": {
242
+ "$ref": "#/components/schemas/HistoricData"
243
+ }
244
+ }
245
+ }
246
+ }
247
+ }
248
+ },
249
+ "post": {
250
+ "tags": ["Jobs"],
251
+ "operationId": "Jobs_FilteredHistory",
252
+ "parameters": [
253
+ {
254
+ "name": "startUTC",
255
+ "in": "query",
256
+ "required": true,
257
+ "schema": {
258
+ "type": "string",
259
+ "format": "date-time"
260
+ },
261
+ "x-position": 1
262
+ },
263
+ {
264
+ "name": "endUTC",
265
+ "in": "query",
266
+ "required": true,
267
+ "schema": {
268
+ "type": "string",
269
+ "format": "date-time"
270
+ },
271
+ "x-position": 2
272
+ }
273
+ ],
274
+ "requestBody": {
275
+ "x-name": "alreadyKnownSchIds",
276
+ "content": {
277
+ "application/json": {
278
+ "schema": {
279
+ "type": "array",
280
+ "items": {
281
+ "type": "string"
282
+ }
283
+ }
284
+ }
285
+ },
286
+ "x-position": 3
287
+ },
288
+ "responses": {
289
+ "200": {
290
+ "description": "",
291
+ "content": {
292
+ "application/json": {
293
+ "schema": {
294
+ "$ref": "#/components/schemas/HistoricData"
295
+ }
296
+ }
297
+ }
298
+ }
299
+ }
300
+ }
301
+ },
302
+ "/api/v1/jobs/recent": {
303
+ "post": {
304
+ "tags": ["Jobs"],
305
+ "operationId": "Jobs_Recent",
306
+ "parameters": [
307
+ {
308
+ "name": "startUTC",
309
+ "in": "query",
310
+ "required": true,
311
+ "schema": {
312
+ "type": "string",
313
+ "format": "date-time"
314
+ },
315
+ "x-position": 1
316
+ }
317
+ ],
318
+ "requestBody": {
319
+ "x-name": "alreadyKnownSchIds",
320
+ "content": {
321
+ "application/json": {
322
+ "schema": {
323
+ "type": "array",
324
+ "items": {
325
+ "type": "string"
326
+ }
327
+ }
328
+ }
329
+ },
330
+ "x-position": 2
331
+ },
332
+ "responses": {
333
+ "200": {
334
+ "description": "",
335
+ "content": {
336
+ "application/json": {
337
+ "schema": {
338
+ "$ref": "#/components/schemas/RecentHistoricData"
339
+ }
340
+ }
341
+ }
342
+ }
343
+ }
344
+ }
345
+ },
346
+ "/api/v1/jobs/latest-schedule": {
347
+ "get": {
348
+ "tags": ["Jobs"],
349
+ "operationId": "Jobs_LatestSchedule",
350
+ "responses": {
351
+ "200": {
352
+ "description": "",
353
+ "content": {
354
+ "application/json": {
355
+ "schema": {
356
+ "$ref": "#/components/schemas/MostRecentSchedule"
357
+ }
358
+ }
359
+ }
360
+ }
361
+ }
362
+ }
363
+ },
364
+ "/api/v1/jobs/basket-load-station/complete": {
365
+ "post": {
366
+ "tags": ["Jobs"],
367
+ "operationId": "Jobs_CompleteBasketLoadStation",
368
+ "requestBody": {
369
+ "x-name": "completion",
370
+ "content": {
371
+ "application/json": {
372
+ "schema": {
373
+ "$ref": "#/components/schemas/BasketLoadStationCompletion"
374
+ }
375
+ }
376
+ },
377
+ "required": true,
378
+ "x-position": 1
379
+ },
380
+ "responses": {
381
+ "200": {
382
+ "description": ""
383
+ }
384
+ }
385
+ }
386
+ },
387
+ "/api/v1/jobs/status": {
388
+ "get": {
389
+ "tags": ["Jobs"],
390
+ "operationId": "Jobs_CurrentStatus",
391
+ "responses": {
392
+ "200": {
393
+ "description": "",
394
+ "content": {
395
+ "application/json": {
396
+ "schema": {
397
+ "$ref": "#/components/schemas/CurrentStatus"
398
+ }
399
+ }
400
+ }
401
+ }
402
+ }
403
+ }
404
+ },
405
+ "/api/v1/jobs/unscheduled-rebookings": {
406
+ "get": {
407
+ "tags": ["Jobs"],
408
+ "operationId": "Jobs_UnscheduledRebookings",
409
+ "responses": {
410
+ "200": {
411
+ "description": "",
412
+ "content": {
413
+ "application/json": {
414
+ "schema": {
415
+ "type": "array",
416
+ "items": {
417
+ "$ref": "#/components/schemas/Rebooking"
418
+ }
419
+ }
420
+ }
421
+ }
422
+ }
423
+ }
424
+ }
425
+ },
426
+ "/api/v1/jobs/add-from-sim": {
427
+ "post": {
428
+ "tags": ["Jobs"],
429
+ "operationId": "Jobs_AddFromSim",
430
+ "parameters": [
431
+ {
432
+ "name": "expectedPreviousScheduleId",
433
+ "in": "query",
434
+ "required": true,
435
+ "schema": {
436
+ "type": "string",
437
+ "nullable": true
438
+ },
439
+ "x-position": 2
440
+ }
441
+ ],
442
+ "requestBody": {
443
+ "x-name": "simResults",
444
+ "content": {
445
+ "application/json": {
446
+ "schema": {
447
+ "$ref": "#/components/schemas/SimulationResults"
448
+ }
449
+ }
450
+ },
451
+ "required": true,
452
+ "x-position": 1
453
+ },
454
+ "responses": {
455
+ "200": {
456
+ "description": ""
457
+ }
458
+ }
459
+ }
460
+ },
461
+ "/api/v1/jobs/add": {
462
+ "post": {
463
+ "tags": ["Jobs"],
464
+ "operationId": "Jobs_Add",
465
+ "parameters": [
466
+ {
467
+ "name": "expectedPreviousScheduleId",
468
+ "in": "query",
469
+ "required": true,
470
+ "schema": {
471
+ "type": "string",
472
+ "nullable": true
473
+ },
474
+ "x-position": 2
475
+ }
476
+ ],
477
+ "requestBody": {
478
+ "x-name": "newJobs",
479
+ "content": {
480
+ "application/json": {
481
+ "schema": {
482
+ "$ref": "#/components/schemas/NewJobs"
483
+ }
484
+ }
485
+ },
486
+ "required": true,
487
+ "x-position": 1
488
+ },
489
+ "responses": {
490
+ "200": {
491
+ "description": ""
492
+ }
493
+ }
494
+ }
495
+ },
496
+ "/api/v1/jobs/casting/{castingName}": {
497
+ "post": {
498
+ "tags": ["Jobs"],
499
+ "operationId": "Jobs_AddUnallocatedCastingToQueue",
500
+ "parameters": [
501
+ {
502
+ "name": "castingName",
503
+ "in": "path",
504
+ "required": true,
505
+ "schema": {
506
+ "type": "string"
507
+ },
508
+ "x-position": 1
509
+ },
510
+ {
511
+ "name": "queue",
512
+ "in": "query",
513
+ "required": true,
514
+ "schema": {
515
+ "type": "string"
516
+ },
517
+ "x-position": 2
518
+ },
519
+ {
520
+ "name": "qty",
521
+ "in": "query",
522
+ "schema": {
523
+ "type": "integer",
524
+ "format": "int32",
525
+ "default": 1
526
+ },
527
+ "x-position": 4
528
+ },
529
+ {
530
+ "name": "operName",
531
+ "in": "query",
532
+ "schema": {
533
+ "type": "string",
534
+ "nullable": true
535
+ },
536
+ "x-position": 5
537
+ },
538
+ {
539
+ "name": "workorder",
540
+ "in": "query",
541
+ "schema": {
542
+ "type": "string",
543
+ "nullable": true
544
+ },
545
+ "x-position": 6
546
+ }
547
+ ],
548
+ "requestBody": {
549
+ "x-name": "serials",
550
+ "content": {
551
+ "application/json": {
552
+ "schema": {
553
+ "type": "array",
554
+ "items": {
555
+ "type": "string"
556
+ }
557
+ }
558
+ }
559
+ },
560
+ "required": true,
561
+ "x-position": 3
562
+ },
563
+ "responses": {
564
+ "200": {
565
+ "description": "",
566
+ "content": {
567
+ "application/json": {
568
+ "schema": {
569
+ "type": "array",
570
+ "items": {
571
+ "$ref": "#/components/schemas/InProcessMaterial"
572
+ }
573
+ }
574
+ }
575
+ }
576
+ }
577
+ }
578
+ }
579
+ },
580
+ "/api/v1/jobs/job/{jobUnique}/plan": {
581
+ "get": {
582
+ "tags": ["Jobs"],
583
+ "operationId": "Jobs_GetJobPlan",
584
+ "parameters": [
585
+ {
586
+ "name": "jobUnique",
587
+ "in": "path",
588
+ "required": true,
589
+ "schema": {
590
+ "type": "string"
591
+ },
592
+ "x-position": 1
593
+ }
594
+ ],
595
+ "responses": {
596
+ "200": {
597
+ "description": "",
598
+ "content": {
599
+ "application/json": {
600
+ "schema": {
601
+ "$ref": "#/components/schemas/HistoricJob"
602
+ }
603
+ }
604
+ }
605
+ }
606
+ }
607
+ }
608
+ },
609
+ "/api/v1/jobs/job/{jobUnique}/unprocessed-material": {
610
+ "post": {
611
+ "tags": ["Jobs"],
612
+ "operationId": "Jobs_AddUnprocessedMaterialToQueue",
613
+ "parameters": [
614
+ {
615
+ "name": "jobUnique",
616
+ "in": "path",
617
+ "required": true,
618
+ "schema": {
619
+ "type": "string"
620
+ },
621
+ "x-position": 1
622
+ },
623
+ {
624
+ "name": "lastCompletedProcess",
625
+ "in": "query",
626
+ "required": true,
627
+ "schema": {
628
+ "type": "integer",
629
+ "format": "int32"
630
+ },
631
+ "x-position": 2
632
+ },
633
+ {
634
+ "name": "queue",
635
+ "in": "query",
636
+ "required": true,
637
+ "schema": {
638
+ "type": "string"
639
+ },
640
+ "x-position": 3
641
+ },
642
+ {
643
+ "name": "pos",
644
+ "in": "query",
645
+ "required": true,
646
+ "schema": {
647
+ "type": "integer",
648
+ "format": "int32"
649
+ },
650
+ "x-position": 4
651
+ },
652
+ {
653
+ "name": "operName",
654
+ "in": "query",
655
+ "schema": {
656
+ "type": "string",
657
+ "nullable": true
658
+ },
659
+ "x-position": 6
660
+ },
661
+ {
662
+ "name": "workorder",
663
+ "in": "query",
664
+ "schema": {
665
+ "type": "string",
666
+ "nullable": true
667
+ },
668
+ "x-position": 7
669
+ }
670
+ ],
671
+ "requestBody": {
672
+ "x-name": "serial",
673
+ "content": {
674
+ "application/json": {
675
+ "schema": {
676
+ "type": "string"
677
+ }
678
+ }
679
+ },
680
+ "required": true,
681
+ "x-position": 5
682
+ },
683
+ "responses": {
684
+ "200": {
685
+ "description": "",
686
+ "content": {
687
+ "application/json": {
688
+ "schema": {
689
+ "$ref": "#/components/schemas/InProcessMaterial"
690
+ }
691
+ }
692
+ }
693
+ }
694
+ }
695
+ }
696
+ },
697
+ "/api/v1/jobs/job/{jobUnique}/comment": {
698
+ "put": {
699
+ "tags": ["Jobs"],
700
+ "operationId": "Jobs_SetJobComment",
701
+ "parameters": [
702
+ {
703
+ "name": "jobUnique",
704
+ "in": "path",
705
+ "required": true,
706
+ "schema": {
707
+ "type": "string"
708
+ },
709
+ "x-position": 1
710
+ }
711
+ ],
712
+ "requestBody": {
713
+ "x-name": "comment",
714
+ "content": {
715
+ "application/json": {
716
+ "schema": {
717
+ "type": "string"
718
+ }
719
+ }
720
+ },
721
+ "required": true,
722
+ "x-position": 2
723
+ },
724
+ "responses": {
725
+ "200": {
726
+ "description": ""
727
+ }
728
+ }
729
+ }
730
+ },
731
+ "/api/v1/jobs/material/{materialId}/queue": {
732
+ "put": {
733
+ "tags": ["Jobs"],
734
+ "operationId": "Jobs_SetMaterialInQueue",
735
+ "parameters": [
736
+ {
737
+ "name": "materialId",
738
+ "in": "path",
739
+ "required": true,
740
+ "schema": {
741
+ "type": "integer",
742
+ "format": "int64"
743
+ },
744
+ "x-position": 1
745
+ },
746
+ {
747
+ "name": "operName",
748
+ "in": "query",
749
+ "schema": {
750
+ "type": "string",
751
+ "nullable": true
752
+ },
753
+ "x-position": 3
754
+ }
755
+ ],
756
+ "requestBody": {
757
+ "x-name": "queue",
758
+ "content": {
759
+ "application/json": {
760
+ "schema": {
761
+ "$ref": "#/components/schemas/QueuePosition"
762
+ }
763
+ }
764
+ },
765
+ "required": true,
766
+ "x-position": 2
767
+ },
768
+ "responses": {
769
+ "200": {
770
+ "description": ""
771
+ }
772
+ }
773
+ },
774
+ "delete": {
775
+ "tags": ["Jobs"],
776
+ "operationId": "Jobs_RemoveMaterialFromAllQueues",
777
+ "parameters": [
778
+ {
779
+ "name": "materialId",
780
+ "in": "path",
781
+ "required": true,
782
+ "schema": {
783
+ "type": "integer",
784
+ "format": "int64"
785
+ },
786
+ "x-position": 1
787
+ },
788
+ {
789
+ "name": "operName",
790
+ "in": "query",
791
+ "schema": {
792
+ "type": "string",
793
+ "nullable": true
794
+ },
795
+ "x-position": 2
796
+ }
797
+ ],
798
+ "responses": {
799
+ "200": {
800
+ "description": ""
801
+ },
802
+ "400": {
803
+ "description": ""
804
+ },
805
+ "409": {
806
+ "description": ""
807
+ }
808
+ }
809
+ }
810
+ },
811
+ "/api/v1/jobs/material/{materialId}/signal-quarantine": {
812
+ "put": {
813
+ "tags": ["Jobs"],
814
+ "operationId": "Jobs_SignalMaterialForQuarantine",
815
+ "parameters": [
816
+ {
817
+ "name": "materialId",
818
+ "in": "path",
819
+ "required": true,
820
+ "schema": {
821
+ "type": "integer",
822
+ "format": "int64"
823
+ },
824
+ "x-position": 1
825
+ },
826
+ {
827
+ "name": "operName",
828
+ "in": "query",
829
+ "schema": {
830
+ "type": "string",
831
+ "nullable": true
832
+ },
833
+ "x-position": 2
834
+ }
835
+ ],
836
+ "requestBody": {
837
+ "x-name": "reason",
838
+ "content": {
839
+ "application/json": {
840
+ "schema": {
841
+ "type": "string"
842
+ }
843
+ }
844
+ },
845
+ "x-position": 3
846
+ },
847
+ "responses": {
848
+ "200": {
849
+ "description": ""
850
+ },
851
+ "400": {
852
+ "description": ""
853
+ },
854
+ "409": {
855
+ "description": ""
856
+ }
857
+ }
858
+ }
859
+ },
860
+ "/api/v1/jobs/material/{materialId}/quarantine-queued": {
861
+ "put": {
862
+ "tags": ["Jobs"],
863
+ "operationId": "Jobs_QuarantineQueuedMaterial",
864
+ "parameters": [
865
+ {
866
+ "name": "materialId",
867
+ "in": "path",
868
+ "required": true,
869
+ "schema": {
870
+ "type": "integer",
871
+ "format": "int64"
872
+ },
873
+ "x-position": 1
874
+ },
875
+ {
876
+ "name": "operName",
877
+ "in": "query",
878
+ "schema": {
879
+ "type": "string",
880
+ "nullable": true
881
+ },
882
+ "x-position": 2
883
+ }
884
+ ],
885
+ "requestBody": {
886
+ "x-name": "reason",
887
+ "content": {
888
+ "application/json": {
889
+ "schema": {
890
+ "type": "string"
891
+ }
892
+ }
893
+ },
894
+ "x-position": 3
895
+ },
896
+ "responses": {
897
+ "200": {
898
+ "description": ""
899
+ },
900
+ "400": {
901
+ "description": ""
902
+ },
903
+ "409": {
904
+ "description": ""
905
+ }
906
+ }
907
+ }
908
+ },
909
+ "/api/v1/jobs/material/{materialId}/cancel-load": {
910
+ "put": {
911
+ "tags": ["Jobs"],
912
+ "operationId": "Jobs_CancelLoad",
913
+ "parameters": [
914
+ {
915
+ "name": "materialId",
916
+ "in": "path",
917
+ "required": true,
918
+ "schema": {
919
+ "type": "integer",
920
+ "format": "int64"
921
+ },
922
+ "x-position": 1
923
+ },
924
+ {
925
+ "name": "operName",
926
+ "in": "query",
927
+ "schema": {
928
+ "type": "string",
929
+ "nullable": true
930
+ },
931
+ "x-position": 3
932
+ }
933
+ ],
934
+ "requestBody": {
935
+ "x-name": "request",
936
+ "content": {
937
+ "application/json": {
938
+ "schema": {
939
+ "$ref": "#/components/schemas/CancelLoadRequest"
940
+ }
941
+ }
942
+ },
943
+ "required": true,
944
+ "x-position": 2
945
+ },
946
+ "responses": {
947
+ "200": {
948
+ "description": ""
949
+ },
950
+ "400": {
951
+ "description": ""
952
+ },
953
+ "409": {
954
+ "description": ""
955
+ },
956
+ "500": {
957
+ "description": ""
958
+ }
959
+ }
960
+ }
961
+ },
962
+ "/api/v1/jobs/material/{materialId}/invalidate-process": {
963
+ "put": {
964
+ "tags": ["Jobs"],
965
+ "operationId": "Jobs_InvalidatePalletCycle",
966
+ "parameters": [
967
+ {
968
+ "name": "materialId",
969
+ "in": "path",
970
+ "required": true,
971
+ "schema": {
972
+ "type": "integer",
973
+ "format": "int64"
974
+ },
975
+ "x-position": 1
976
+ },
977
+ {
978
+ "name": "operName",
979
+ "in": "query",
980
+ "schema": {
981
+ "type": "string",
982
+ "nullable": true
983
+ },
984
+ "x-position": 3
985
+ },
986
+ {
987
+ "name": "changeCastingTo",
988
+ "in": "query",
989
+ "schema": {
990
+ "type": "string",
991
+ "nullable": true
992
+ },
993
+ "x-position": 4
994
+ },
995
+ {
996
+ "name": "changeJobUniqueTo",
997
+ "in": "query",
998
+ "schema": {
999
+ "type": "string",
1000
+ "nullable": true
1001
+ },
1002
+ "x-position": 5
1003
+ }
1004
+ ],
1005
+ "requestBody": {
1006
+ "x-name": "process",
1007
+ "content": {
1008
+ "application/json": {
1009
+ "schema": {
1010
+ "type": "integer",
1011
+ "format": "int32"
1012
+ }
1013
+ }
1014
+ },
1015
+ "required": true,
1016
+ "x-position": 2
1017
+ },
1018
+ "responses": {
1019
+ "200": {
1020
+ "description": "",
1021
+ "content": {
1022
+ "application/json": {
1023
+ "schema": {
1024
+ "$ref": "#/components/schemas/MaterialDetails"
1025
+ }
1026
+ }
1027
+ }
1028
+ },
1029
+ "400": {
1030
+ "description": ""
1031
+ },
1032
+ "409": {
1033
+ "description": ""
1034
+ }
1035
+ }
1036
+ }
1037
+ },
1038
+ "/api/v1/jobs/material": {
1039
+ "delete": {
1040
+ "tags": ["Jobs"],
1041
+ "operationId": "Jobs_BulkRemoveMaterialFromQueues",
1042
+ "parameters": [
1043
+ {
1044
+ "name": "operName",
1045
+ "in": "query",
1046
+ "schema": {
1047
+ "type": "string",
1048
+ "nullable": true
1049
+ },
1050
+ "x-position": 2
1051
+ }
1052
+ ],
1053
+ "requestBody": {
1054
+ "x-name": "id",
1055
+ "content": {
1056
+ "application/json": {
1057
+ "schema": {
1058
+ "type": "array",
1059
+ "items": {
1060
+ "type": "integer",
1061
+ "format": "int64"
1062
+ }
1063
+ }
1064
+ }
1065
+ },
1066
+ "required": true,
1067
+ "x-position": 1
1068
+ },
1069
+ "responses": {
1070
+ "200": {
1071
+ "description": ""
1072
+ }
1073
+ }
1074
+ }
1075
+ },
1076
+ "/api/v1/jobs/planned-cycles": {
1077
+ "delete": {
1078
+ "tags": ["Jobs"],
1079
+ "operationId": "Jobs_DecrementQuantities",
1080
+ "parameters": [
1081
+ {
1082
+ "name": "loadDecrementsStrictlyAfterDecrementId",
1083
+ "in": "query",
1084
+ "schema": {
1085
+ "type": "integer",
1086
+ "format": "int64",
1087
+ "nullable": true
1088
+ },
1089
+ "x-position": 1
1090
+ },
1091
+ {
1092
+ "name": "loadDecrementsAfterTimeUTC",
1093
+ "in": "query",
1094
+ "schema": {
1095
+ "type": "string",
1096
+ "format": "date-time",
1097
+ "nullable": true
1098
+ },
1099
+ "x-position": 2
1100
+ }
1101
+ ],
1102
+ "responses": {
1103
+ "200": {
1104
+ "description": "",
1105
+ "content": {
1106
+ "application/json": {
1107
+ "schema": {
1108
+ "type": "array",
1109
+ "items": {
1110
+ "$ref": "#/components/schemas/JobAndDecrementQuantity"
1111
+ }
1112
+ }
1113
+ }
1114
+ }
1115
+ }
1116
+ }
1117
+ }
1118
+ },
1119
+ "/api/v1/log/events/all": {
1120
+ "get": {
1121
+ "tags": ["Log"],
1122
+ "operationId": "Log_Get",
1123
+ "parameters": [
1124
+ {
1125
+ "name": "startUTC",
1126
+ "in": "query",
1127
+ "required": true,
1128
+ "schema": {
1129
+ "type": "string",
1130
+ "format": "date-time"
1131
+ },
1132
+ "x-position": 1
1133
+ },
1134
+ {
1135
+ "name": "endUTC",
1136
+ "in": "query",
1137
+ "required": true,
1138
+ "schema": {
1139
+ "type": "string",
1140
+ "format": "date-time"
1141
+ },
1142
+ "x-position": 2
1143
+ }
1144
+ ],
1145
+ "responses": {
1146
+ "200": {
1147
+ "description": "",
1148
+ "content": {
1149
+ "application/json": {
1150
+ "schema": {
1151
+ "type": "array",
1152
+ "items": {
1153
+ "$ref": "#/components/schemas/LogEntry"
1154
+ }
1155
+ }
1156
+ }
1157
+ }
1158
+ }
1159
+ }
1160
+ }
1161
+ },
1162
+ "/api/v1/log/events.csv": {
1163
+ "get": {
1164
+ "tags": ["Log"],
1165
+ "operationId": "Log_GetEventCSV",
1166
+ "parameters": [
1167
+ {
1168
+ "name": "startUTC",
1169
+ "in": "query",
1170
+ "required": true,
1171
+ "schema": {
1172
+ "type": "string",
1173
+ "format": "date-time"
1174
+ },
1175
+ "x-position": 1
1176
+ },
1177
+ {
1178
+ "name": "endUTC",
1179
+ "in": "query",
1180
+ "required": true,
1181
+ "schema": {
1182
+ "type": "string",
1183
+ "format": "date-time"
1184
+ },
1185
+ "x-position": 2
1186
+ }
1187
+ ],
1188
+ "responses": {
1189
+ "200": {
1190
+ "description": "",
1191
+ "content": {
1192
+ "application/octet-stream": {
1193
+ "schema": {
1194
+ "type": "string",
1195
+ "format": "binary"
1196
+ }
1197
+ }
1198
+ }
1199
+ }
1200
+ }
1201
+ }
1202
+ },
1203
+ "/api/v1/log/events/all-completed-parts": {
1204
+ "get": {
1205
+ "tags": ["Log"],
1206
+ "operationId": "Log_GetCompletedParts",
1207
+ "parameters": [
1208
+ {
1209
+ "name": "startUTC",
1210
+ "in": "query",
1211
+ "required": true,
1212
+ "schema": {
1213
+ "type": "string",
1214
+ "format": "date-time"
1215
+ },
1216
+ "x-position": 1
1217
+ },
1218
+ {
1219
+ "name": "endUTC",
1220
+ "in": "query",
1221
+ "required": true,
1222
+ "schema": {
1223
+ "type": "string",
1224
+ "format": "date-time"
1225
+ },
1226
+ "x-position": 2
1227
+ }
1228
+ ],
1229
+ "responses": {
1230
+ "200": {
1231
+ "description": "",
1232
+ "content": {
1233
+ "application/json": {
1234
+ "schema": {
1235
+ "type": "array",
1236
+ "items": {
1237
+ "$ref": "#/components/schemas/LogEntry"
1238
+ }
1239
+ }
1240
+ }
1241
+ }
1242
+ }
1243
+ }
1244
+ }
1245
+ },
1246
+ "/api/v1/log/events/recent": {
1247
+ "get": {
1248
+ "tags": ["Log"],
1249
+ "operationId": "Log_Recent",
1250
+ "parameters": [
1251
+ {
1252
+ "name": "lastSeenCounter",
1253
+ "in": "query",
1254
+ "required": true,
1255
+ "schema": {
1256
+ "type": "integer",
1257
+ "format": "int64"
1258
+ },
1259
+ "x-position": 1
1260
+ },
1261
+ {
1262
+ "name": "expectedEndUTCofLastSeen",
1263
+ "in": "query",
1264
+ "schema": {
1265
+ "type": "string",
1266
+ "format": "date-time",
1267
+ "nullable": true
1268
+ },
1269
+ "x-position": 2
1270
+ }
1271
+ ],
1272
+ "responses": {
1273
+ "200": {
1274
+ "description": "",
1275
+ "content": {
1276
+ "application/json": {
1277
+ "schema": {
1278
+ "type": "array",
1279
+ "items": {
1280
+ "$ref": "#/components/schemas/LogEntry"
1281
+ }
1282
+ }
1283
+ }
1284
+ }
1285
+ }
1286
+ }
1287
+ }
1288
+ },
1289
+ "/api/v1/log/events/for-material/{materialID}": {
1290
+ "get": {
1291
+ "tags": ["Log"],
1292
+ "operationId": "Log_LogForMaterial",
1293
+ "parameters": [
1294
+ {
1295
+ "name": "materialID",
1296
+ "in": "path",
1297
+ "required": true,
1298
+ "schema": {
1299
+ "type": "integer",
1300
+ "format": "int64"
1301
+ },
1302
+ "x-position": 1
1303
+ }
1304
+ ],
1305
+ "responses": {
1306
+ "200": {
1307
+ "description": "",
1308
+ "content": {
1309
+ "application/json": {
1310
+ "schema": {
1311
+ "type": "array",
1312
+ "items": {
1313
+ "$ref": "#/components/schemas/LogEntry"
1314
+ }
1315
+ }
1316
+ }
1317
+ }
1318
+ }
1319
+ }
1320
+ }
1321
+ },
1322
+ "/api/v1/log/events/for-material": {
1323
+ "get": {
1324
+ "tags": ["Log"],
1325
+ "operationId": "Log_LogForMaterials",
1326
+ "parameters": [
1327
+ {
1328
+ "name": "id",
1329
+ "in": "query",
1330
+ "style": "form",
1331
+ "explode": true,
1332
+ "schema": {
1333
+ "type": "array",
1334
+ "nullable": true,
1335
+ "items": {
1336
+ "type": "integer",
1337
+ "format": "int64"
1338
+ }
1339
+ },
1340
+ "x-position": 1
1341
+ }
1342
+ ],
1343
+ "responses": {
1344
+ "200": {
1345
+ "description": "",
1346
+ "content": {
1347
+ "application/json": {
1348
+ "schema": {
1349
+ "type": "array",
1350
+ "items": {
1351
+ "$ref": "#/components/schemas/LogEntry"
1352
+ }
1353
+ }
1354
+ }
1355
+ }
1356
+ }
1357
+ }
1358
+ }
1359
+ },
1360
+ "/api/v1/log/events/for-serial/{serial}": {
1361
+ "get": {
1362
+ "tags": ["Log"],
1363
+ "operationId": "Log_LogForSerial",
1364
+ "parameters": [
1365
+ {
1366
+ "name": "serial",
1367
+ "in": "path",
1368
+ "required": true,
1369
+ "schema": {
1370
+ "type": "string"
1371
+ },
1372
+ "x-position": 1
1373
+ }
1374
+ ],
1375
+ "responses": {
1376
+ "200": {
1377
+ "description": "",
1378
+ "content": {
1379
+ "application/json": {
1380
+ "schema": {
1381
+ "type": "array",
1382
+ "items": {
1383
+ "$ref": "#/components/schemas/LogEntry"
1384
+ }
1385
+ }
1386
+ }
1387
+ }
1388
+ }
1389
+ }
1390
+ }
1391
+ },
1392
+ "/api/v1/log/events/for-workorder/{workorder}": {
1393
+ "get": {
1394
+ "tags": ["Log"],
1395
+ "operationId": "Log_LogForWorkorder",
1396
+ "parameters": [
1397
+ {
1398
+ "name": "workorder",
1399
+ "in": "path",
1400
+ "required": true,
1401
+ "schema": {
1402
+ "type": "string"
1403
+ },
1404
+ "x-position": 1
1405
+ }
1406
+ ],
1407
+ "responses": {
1408
+ "200": {
1409
+ "description": "",
1410
+ "content": {
1411
+ "application/json": {
1412
+ "schema": {
1413
+ "type": "array",
1414
+ "items": {
1415
+ "$ref": "#/components/schemas/LogEntry"
1416
+ }
1417
+ }
1418
+ }
1419
+ }
1420
+ }
1421
+ }
1422
+ }
1423
+ },
1424
+ "/api/v1/log/material-details/{materialID}": {
1425
+ "get": {
1426
+ "tags": ["Log"],
1427
+ "operationId": "Log_MaterialDetails",
1428
+ "parameters": [
1429
+ {
1430
+ "name": "materialID",
1431
+ "in": "path",
1432
+ "required": true,
1433
+ "schema": {
1434
+ "type": "integer",
1435
+ "format": "int64"
1436
+ },
1437
+ "x-position": 1
1438
+ }
1439
+ ],
1440
+ "responses": {
1441
+ "200": {
1442
+ "description": "",
1443
+ "content": {
1444
+ "application/json": {
1445
+ "schema": {
1446
+ "$ref": "#/components/schemas/MaterialDetails"
1447
+ }
1448
+ }
1449
+ }
1450
+ }
1451
+ }
1452
+ }
1453
+ },
1454
+ "/api/v1/log/material-for-job/{jobUnique}": {
1455
+ "get": {
1456
+ "tags": ["Log"],
1457
+ "operationId": "Log_MaterialDetailsForJob",
1458
+ "parameters": [
1459
+ {
1460
+ "name": "jobUnique",
1461
+ "in": "path",
1462
+ "required": true,
1463
+ "schema": {
1464
+ "type": "string"
1465
+ },
1466
+ "x-position": 1
1467
+ }
1468
+ ],
1469
+ "responses": {
1470
+ "200": {
1471
+ "description": "",
1472
+ "content": {
1473
+ "application/json": {
1474
+ "schema": {
1475
+ "type": "array",
1476
+ "items": {
1477
+ "$ref": "#/components/schemas/MaterialDetails"
1478
+ }
1479
+ }
1480
+ }
1481
+ }
1482
+ }
1483
+ }
1484
+ }
1485
+ },
1486
+ "/api/v1/log/material-for-serial/{serial}": {
1487
+ "get": {
1488
+ "tags": ["Log"],
1489
+ "operationId": "Log_MaterialForSerial",
1490
+ "parameters": [
1491
+ {
1492
+ "name": "serial",
1493
+ "in": "path",
1494
+ "required": true,
1495
+ "schema": {
1496
+ "type": "string"
1497
+ },
1498
+ "x-position": 1
1499
+ }
1500
+ ],
1501
+ "responses": {
1502
+ "200": {
1503
+ "description": "",
1504
+ "content": {
1505
+ "application/json": {
1506
+ "schema": {
1507
+ "type": "array",
1508
+ "items": {
1509
+ "$ref": "#/components/schemas/MaterialDetails"
1510
+ }
1511
+ }
1512
+ }
1513
+ }
1514
+ }
1515
+ }
1516
+ }
1517
+ },
1518
+ "/api/v1/log/material-details/{materialID}/serial": {
1519
+ "post": {
1520
+ "tags": ["Log"],
1521
+ "operationId": "Log_SetSerial",
1522
+ "parameters": [
1523
+ {
1524
+ "name": "materialID",
1525
+ "in": "path",
1526
+ "required": true,
1527
+ "schema": {
1528
+ "type": "integer",
1529
+ "format": "int64"
1530
+ },
1531
+ "x-position": 1
1532
+ },
1533
+ {
1534
+ "name": "process",
1535
+ "in": "query",
1536
+ "schema": {
1537
+ "type": "integer",
1538
+ "format": "int32",
1539
+ "default": 1
1540
+ },
1541
+ "x-position": 3
1542
+ }
1543
+ ],
1544
+ "requestBody": {
1545
+ "x-name": "serial",
1546
+ "content": {
1547
+ "application/json": {
1548
+ "schema": {
1549
+ "type": "string"
1550
+ }
1551
+ }
1552
+ },
1553
+ "required": true,
1554
+ "x-position": 2
1555
+ },
1556
+ "responses": {
1557
+ "200": {
1558
+ "description": "",
1559
+ "content": {
1560
+ "application/json": {
1561
+ "schema": {
1562
+ "$ref": "#/components/schemas/LogEntry"
1563
+ }
1564
+ }
1565
+ }
1566
+ }
1567
+ }
1568
+ }
1569
+ },
1570
+ "/api/v1/log/material-details/{materialID}/workorder": {
1571
+ "post": {
1572
+ "tags": ["Log"],
1573
+ "operationId": "Log_SetWorkorder",
1574
+ "parameters": [
1575
+ {
1576
+ "name": "materialID",
1577
+ "in": "path",
1578
+ "required": true,
1579
+ "schema": {
1580
+ "type": "integer",
1581
+ "format": "int64"
1582
+ },
1583
+ "x-position": 1
1584
+ },
1585
+ {
1586
+ "name": "process",
1587
+ "in": "query",
1588
+ "schema": {
1589
+ "type": "integer",
1590
+ "format": "int32",
1591
+ "default": 1
1592
+ },
1593
+ "x-position": 3
1594
+ }
1595
+ ],
1596
+ "requestBody": {
1597
+ "x-name": "workorder",
1598
+ "content": {
1599
+ "application/json": {
1600
+ "schema": {
1601
+ "type": "string"
1602
+ }
1603
+ }
1604
+ },
1605
+ "required": true,
1606
+ "x-position": 2
1607
+ },
1608
+ "responses": {
1609
+ "200": {
1610
+ "description": "",
1611
+ "content": {
1612
+ "application/json": {
1613
+ "schema": {
1614
+ "$ref": "#/components/schemas/LogEntry"
1615
+ }
1616
+ }
1617
+ }
1618
+ }
1619
+ }
1620
+ }
1621
+ },
1622
+ "/api/v1/log/material-details/{materialID}/inspections/{inspType}": {
1623
+ "post": {
1624
+ "tags": ["Log"],
1625
+ "operationId": "Log_SetInspectionDecision",
1626
+ "parameters": [
1627
+ {
1628
+ "name": "materialID",
1629
+ "in": "path",
1630
+ "required": true,
1631
+ "schema": {
1632
+ "type": "integer",
1633
+ "format": "int64"
1634
+ },
1635
+ "x-position": 1
1636
+ },
1637
+ {
1638
+ "name": "inspType",
1639
+ "in": "path",
1640
+ "required": true,
1641
+ "schema": {
1642
+ "type": "string"
1643
+ },
1644
+ "x-position": 2
1645
+ },
1646
+ {
1647
+ "name": "process",
1648
+ "in": "query",
1649
+ "schema": {
1650
+ "type": "integer",
1651
+ "format": "int32",
1652
+ "default": 1
1653
+ },
1654
+ "x-position": 4
1655
+ }
1656
+ ],
1657
+ "requestBody": {
1658
+ "x-name": "inspect",
1659
+ "content": {
1660
+ "application/json": {
1661
+ "schema": {
1662
+ "type": "boolean"
1663
+ }
1664
+ }
1665
+ },
1666
+ "required": true,
1667
+ "x-position": 3
1668
+ },
1669
+ "responses": {
1670
+ "200": {
1671
+ "description": "",
1672
+ "content": {
1673
+ "application/json": {
1674
+ "schema": {
1675
+ "$ref": "#/components/schemas/LogEntry"
1676
+ }
1677
+ }
1678
+ }
1679
+ }
1680
+ }
1681
+ }
1682
+ },
1683
+ "/api/v1/log/material-details/{materialID}/notes": {
1684
+ "post": {
1685
+ "tags": ["Log"],
1686
+ "operationId": "Log_RecordOperatorNotes",
1687
+ "parameters": [
1688
+ {
1689
+ "name": "materialID",
1690
+ "in": "path",
1691
+ "required": true,
1692
+ "schema": {
1693
+ "type": "integer",
1694
+ "format": "int64"
1695
+ },
1696
+ "x-position": 1
1697
+ },
1698
+ {
1699
+ "name": "process",
1700
+ "in": "query",
1701
+ "schema": {
1702
+ "type": "integer",
1703
+ "format": "int32",
1704
+ "default": 1
1705
+ },
1706
+ "x-position": 3
1707
+ },
1708
+ {
1709
+ "name": "operatorName",
1710
+ "in": "query",
1711
+ "schema": {
1712
+ "type": "string",
1713
+ "nullable": true
1714
+ },
1715
+ "x-position": 4
1716
+ }
1717
+ ],
1718
+ "requestBody": {
1719
+ "x-name": "notes",
1720
+ "content": {
1721
+ "application/json": {
1722
+ "schema": {
1723
+ "type": "string"
1724
+ }
1725
+ }
1726
+ },
1727
+ "required": true,
1728
+ "x-position": 2
1729
+ },
1730
+ "responses": {
1731
+ "200": {
1732
+ "description": "",
1733
+ "content": {
1734
+ "application/json": {
1735
+ "schema": {
1736
+ "$ref": "#/components/schemas/LogEntry"
1737
+ }
1738
+ }
1739
+ }
1740
+ }
1741
+ }
1742
+ }
1743
+ },
1744
+ "/api/v1/log/events/rebooking": {
1745
+ "post": {
1746
+ "tags": ["Log"],
1747
+ "operationId": "Log_RequestRebooking",
1748
+ "parameters": [
1749
+ {
1750
+ "name": "partName",
1751
+ "in": "query",
1752
+ "required": true,
1753
+ "schema": {
1754
+ "type": "string"
1755
+ },
1756
+ "x-position": 1
1757
+ },
1758
+ {
1759
+ "name": "qty",
1760
+ "in": "query",
1761
+ "schema": {
1762
+ "type": "integer",
1763
+ "format": "int32",
1764
+ "default": 1
1765
+ },
1766
+ "x-position": 2
1767
+ },
1768
+ {
1769
+ "name": "workorder",
1770
+ "in": "query",
1771
+ "schema": {
1772
+ "type": "string",
1773
+ "nullable": true
1774
+ },
1775
+ "x-position": 4
1776
+ },
1777
+ {
1778
+ "name": "priority",
1779
+ "in": "query",
1780
+ "schema": {
1781
+ "type": "integer",
1782
+ "format": "int32",
1783
+ "nullable": true
1784
+ },
1785
+ "x-position": 5
1786
+ }
1787
+ ],
1788
+ "requestBody": {
1789
+ "x-name": "notes",
1790
+ "content": {
1791
+ "application/json": {
1792
+ "schema": {
1793
+ "type": "string"
1794
+ }
1795
+ }
1796
+ },
1797
+ "x-position": 3
1798
+ },
1799
+ "responses": {
1800
+ "200": {
1801
+ "description": "",
1802
+ "content": {
1803
+ "application/json": {
1804
+ "schema": {
1805
+ "$ref": "#/components/schemas/LogEntry"
1806
+ }
1807
+ }
1808
+ }
1809
+ }
1810
+ }
1811
+ }
1812
+ },
1813
+ "/api/v1/log/events/cancel-rebooking/{bookingId}": {
1814
+ "post": {
1815
+ "tags": ["Log"],
1816
+ "operationId": "Log_CancelRebooking",
1817
+ "parameters": [
1818
+ {
1819
+ "name": "bookingId",
1820
+ "in": "path",
1821
+ "required": true,
1822
+ "schema": {
1823
+ "type": "string"
1824
+ },
1825
+ "x-position": 1
1826
+ }
1827
+ ],
1828
+ "responses": {
1829
+ "200": {
1830
+ "description": "",
1831
+ "content": {
1832
+ "application/json": {
1833
+ "schema": {
1834
+ "$ref": "#/components/schemas/LogEntry"
1835
+ }
1836
+ }
1837
+ }
1838
+ }
1839
+ }
1840
+ }
1841
+ },
1842
+ "/api/v1/log/events/inspection-result": {
1843
+ "post": {
1844
+ "tags": ["Log"],
1845
+ "operationId": "Log_RecordInspectionCompleted",
1846
+ "requestBody": {
1847
+ "x-name": "insp",
1848
+ "content": {
1849
+ "application/json": {
1850
+ "schema": {
1851
+ "$ref": "#/components/schemas/NewInspectionCompleted"
1852
+ }
1853
+ }
1854
+ },
1855
+ "required": true,
1856
+ "x-position": 1
1857
+ },
1858
+ "responses": {
1859
+ "200": {
1860
+ "description": "",
1861
+ "content": {
1862
+ "application/json": {
1863
+ "schema": {
1864
+ "$ref": "#/components/schemas/LogEntry"
1865
+ }
1866
+ }
1867
+ }
1868
+ }
1869
+ }
1870
+ }
1871
+ },
1872
+ "/api/v1/log/events/closeout": {
1873
+ "post": {
1874
+ "tags": ["Log"],
1875
+ "operationId": "Log_RecordCloseoutCompleted",
1876
+ "requestBody": {
1877
+ "x-name": "insp",
1878
+ "content": {
1879
+ "application/json": {
1880
+ "schema": {
1881
+ "$ref": "#/components/schemas/NewCloseout"
1882
+ }
1883
+ }
1884
+ },
1885
+ "required": true,
1886
+ "x-position": 1
1887
+ },
1888
+ "responses": {
1889
+ "200": {
1890
+ "description": "",
1891
+ "content": {
1892
+ "application/json": {
1893
+ "schema": {
1894
+ "$ref": "#/components/schemas/LogEntry"
1895
+ }
1896
+ }
1897
+ }
1898
+ }
1899
+ }
1900
+ }
1901
+ },
1902
+ "/api/v1/log/workorder/{workorder}/comment": {
1903
+ "post": {
1904
+ "tags": ["Log"],
1905
+ "operationId": "Log_RecordWorkorderComment",
1906
+ "parameters": [
1907
+ {
1908
+ "name": "workorder",
1909
+ "in": "path",
1910
+ "required": true,
1911
+ "schema": {
1912
+ "type": "string"
1913
+ },
1914
+ "x-position": 1
1915
+ },
1916
+ {
1917
+ "name": "operatorName",
1918
+ "in": "query",
1919
+ "schema": {
1920
+ "type": "string",
1921
+ "nullable": true
1922
+ },
1923
+ "x-position": 3
1924
+ }
1925
+ ],
1926
+ "requestBody": {
1927
+ "x-name": "comment",
1928
+ "content": {
1929
+ "application/json": {
1930
+ "schema": {
1931
+ "type": "string"
1932
+ }
1933
+ }
1934
+ },
1935
+ "required": true,
1936
+ "x-position": 2
1937
+ },
1938
+ "responses": {
1939
+ "200": {
1940
+ "description": "",
1941
+ "content": {
1942
+ "application/json": {
1943
+ "schema": {
1944
+ "$ref": "#/components/schemas/LogEntry"
1945
+ }
1946
+ }
1947
+ }
1948
+ }
1949
+ }
1950
+ }
1951
+ },
1952
+ "/api/v1/log/workorder/{workorder}": {
1953
+ "get": {
1954
+ "tags": ["Log"],
1955
+ "operationId": "Log_GetActiveWorkorder",
1956
+ "parameters": [
1957
+ {
1958
+ "name": "workorder",
1959
+ "in": "path",
1960
+ "required": true,
1961
+ "schema": {
1962
+ "type": "string"
1963
+ },
1964
+ "x-position": 1
1965
+ }
1966
+ ],
1967
+ "responses": {
1968
+ "200": {
1969
+ "description": "",
1970
+ "content": {
1971
+ "application/json": {
1972
+ "schema": {
1973
+ "type": "array",
1974
+ "items": {
1975
+ "$ref": "#/components/schemas/ActiveWorkorder"
1976
+ }
1977
+ }
1978
+ }
1979
+ }
1980
+ }
1981
+ }
1982
+ }
1983
+ },
1984
+ "/api/v1/machines/tools": {
1985
+ "get": {
1986
+ "tags": ["Machines"],
1987
+ "operationId": "Machines_GetToolsInMachines",
1988
+ "responses": {
1989
+ "200": {
1990
+ "description": "",
1991
+ "content": {
1992
+ "application/json": {
1993
+ "schema": {
1994
+ "type": "array",
1995
+ "items": {
1996
+ "$ref": "#/components/schemas/ToolInMachine"
1997
+ }
1998
+ }
1999
+ }
2000
+ }
2001
+ }
2002
+ }
2003
+ }
2004
+ },
2005
+ "/api/v1/machines/programs-in-cell-controller": {
2006
+ "get": {
2007
+ "tags": ["Machines"],
2008
+ "operationId": "Machines_GetProgramsInCellController",
2009
+ "responses": {
2010
+ "200": {
2011
+ "description": "",
2012
+ "content": {
2013
+ "application/json": {
2014
+ "schema": {
2015
+ "type": "array",
2016
+ "items": {
2017
+ "$ref": "#/components/schemas/ProgramInCellController"
2018
+ }
2019
+ }
2020
+ }
2021
+ }
2022
+ }
2023
+ }
2024
+ }
2025
+ },
2026
+ "/api/v1/machines/program/{programName}/revisions": {
2027
+ "get": {
2028
+ "tags": ["Machines"],
2029
+ "operationId": "Machines_GetProgramRevisionsInDescendingOrderOfRevision",
2030
+ "parameters": [
2031
+ {
2032
+ "name": "programName",
2033
+ "in": "path",
2034
+ "required": true,
2035
+ "schema": {
2036
+ "type": "string"
2037
+ },
2038
+ "x-position": 1
2039
+ },
2040
+ {
2041
+ "name": "count",
2042
+ "in": "query",
2043
+ "required": true,
2044
+ "schema": {
2045
+ "type": "integer",
2046
+ "format": "int32"
2047
+ },
2048
+ "x-position": 2
2049
+ },
2050
+ {
2051
+ "name": "revisionToStart",
2052
+ "in": "query",
2053
+ "schema": {
2054
+ "type": "integer",
2055
+ "format": "int64",
2056
+ "nullable": true
2057
+ },
2058
+ "x-position": 3
2059
+ }
2060
+ ],
2061
+ "responses": {
2062
+ "200": {
2063
+ "description": "",
2064
+ "content": {
2065
+ "application/json": {
2066
+ "schema": {
2067
+ "type": "array",
2068
+ "items": {
2069
+ "$ref": "#/components/schemas/ProgramRevision"
2070
+ }
2071
+ }
2072
+ }
2073
+ }
2074
+ }
2075
+ }
2076
+ }
2077
+ },
2078
+ "/api/v1/machines/program/{programName}/revision/{revision}/content": {
2079
+ "get": {
2080
+ "tags": ["Machines"],
2081
+ "operationId": "Machines_GetProgramRevisionContent",
2082
+ "parameters": [
2083
+ {
2084
+ "name": "programName",
2085
+ "in": "path",
2086
+ "required": true,
2087
+ "schema": {
2088
+ "type": "string"
2089
+ },
2090
+ "x-position": 1
2091
+ },
2092
+ {
2093
+ "name": "revision",
2094
+ "in": "path",
2095
+ "required": true,
2096
+ "schema": {
2097
+ "type": "integer",
2098
+ "format": "int64"
2099
+ },
2100
+ "x-position": 2
2101
+ }
2102
+ ],
2103
+ "responses": {
2104
+ "200": {
2105
+ "description": "",
2106
+ "content": {
2107
+ "application/json": {
2108
+ "schema": {
2109
+ "type": "string"
2110
+ }
2111
+ }
2112
+ }
2113
+ }
2114
+ }
2115
+ }
2116
+ },
2117
+ "/api/v1/machines/program/{programName}/latest-revision/content": {
2118
+ "get": {
2119
+ "tags": ["Machines"],
2120
+ "operationId": "Machines_GetLatestProgramRevisionContent",
2121
+ "parameters": [
2122
+ {
2123
+ "name": "programName",
2124
+ "in": "path",
2125
+ "required": true,
2126
+ "schema": {
2127
+ "type": "string"
2128
+ },
2129
+ "x-position": 1
2130
+ }
2131
+ ],
2132
+ "responses": {
2133
+ "200": {
2134
+ "description": "",
2135
+ "content": {
2136
+ "application/json": {
2137
+ "schema": {
2138
+ "type": "string"
2139
+ }
2140
+ }
2141
+ }
2142
+ }
2143
+ }
2144
+ }
2145
+ }
2146
+ },
2147
+ "components": {
2148
+ "schemas": {
2149
+ "FMSInfo": {
2150
+ "type": "object",
2151
+ "additionalProperties": false,
2152
+ "required": ["Name", "Version", "Name", "Version"],
2153
+ "properties": {
2154
+ "Name": {
2155
+ "type": "string"
2156
+ },
2157
+ "Version": {
2158
+ "type": "string"
2159
+ },
2160
+ "LicenseExpires": {
2161
+ "type": "string",
2162
+ "format": "date-time",
2163
+ "nullable": true
2164
+ },
2165
+ "AdditionalLogServers": {
2166
+ "type": "array",
2167
+ "nullable": true,
2168
+ "items": {
2169
+ "type": "string"
2170
+ }
2171
+ },
2172
+ "OpenIDConnectAuthority": {
2173
+ "type": "string",
2174
+ "nullable": true
2175
+ },
2176
+ "LocalhostOpenIDConnectAuthority": {
2177
+ "type": "string",
2178
+ "nullable": true
2179
+ },
2180
+ "OpenIDConnectClientId": {
2181
+ "type": "string",
2182
+ "nullable": true
2183
+ },
2184
+ "UsingLabelPrinterForSerials": {
2185
+ "type": "boolean",
2186
+ "nullable": true
2187
+ },
2188
+ "UseClientPrinterForLabels": {
2189
+ "type": "boolean",
2190
+ "nullable": true
2191
+ },
2192
+ "QuarantineQueue": {
2193
+ "type": "string",
2194
+ "nullable": true
2195
+ },
2196
+ "CustomStationMonitorDialogUrl": {
2197
+ "type": "string",
2198
+ "nullable": true
2199
+ },
2200
+ "SupportsRebookings": {
2201
+ "type": "string",
2202
+ "nullable": true
2203
+ },
2204
+ "AllowChangeWorkorderAtLoadStation": {
2205
+ "type": "boolean",
2206
+ "nullable": true
2207
+ },
2208
+ "AllowInvalidateMaterialAtLoadStation": {
2209
+ "type": "boolean",
2210
+ "nullable": true
2211
+ },
2212
+ "LoadStationNames": {
2213
+ "type": "object",
2214
+ "nullable": true,
2215
+ "additionalProperties": {
2216
+ "type": "string"
2217
+ }
2218
+ },
2219
+ "RequireScanAtCloseout": {
2220
+ "type": "boolean",
2221
+ "nullable": true
2222
+ },
2223
+ "RequireWorkorderBeforeAllowCloseoutComplete": {
2224
+ "type": "boolean",
2225
+ "nullable": true
2226
+ },
2227
+ "AddToQueueButton": {
2228
+ "nullable": true,
2229
+ "oneOf": [
2230
+ {
2231
+ "$ref": "#/components/schemas/AddToQueueButton"
2232
+ }
2233
+ ]
2234
+ },
2235
+ "RequireOperatorNamePromptWhenAddingMaterial": {
2236
+ "type": "boolean",
2237
+ "nullable": true
2238
+ },
2239
+ "AllowEditJobPlanQuantityFromQueuesPage": {
2240
+ "type": "string",
2241
+ "nullable": true
2242
+ },
2243
+ "AllowInvalidateMaterialOnQueuesPage": {
2244
+ "type": "boolean",
2245
+ "nullable": true
2246
+ },
2247
+ "BasketName": {
2248
+ "type": "string",
2249
+ "nullable": true
2250
+ }
2251
+ }
2252
+ },
2253
+ "AddToQueueButton": {
2254
+ "type": "string",
2255
+ "description": "",
2256
+ "x-enumNames": [
2257
+ "DoNotShow",
2258
+ "AddBulkUnassigned",
2259
+ "LookupExistingSerial",
2260
+ "ManualBarcodeScan"
2261
+ ],
2262
+ "enum": ["DoNotShow", "AddBulkUnassigned", "LookupExistingSerial", "ManualBarcodeScan"]
2263
+ },
2264
+ "ServerEvent": {
2265
+ "type": "object",
2266
+ "additionalProperties": false,
2267
+ "properties": {
2268
+ "LogEntry": {
2269
+ "nullable": true,
2270
+ "oneOf": [
2271
+ {
2272
+ "$ref": "#/components/schemas/LogEntry"
2273
+ }
2274
+ ]
2275
+ },
2276
+ "NewJobs": {
2277
+ "nullable": true,
2278
+ "oneOf": [
2279
+ {
2280
+ "$ref": "#/components/schemas/NewJobs"
2281
+ }
2282
+ ]
2283
+ },
2284
+ "NewCurrentStatus": {
2285
+ "nullable": true,
2286
+ "oneOf": [
2287
+ {
2288
+ "$ref": "#/components/schemas/CurrentStatus"
2289
+ }
2290
+ ]
2291
+ }
2292
+ }
2293
+ },
2294
+ "LogEntry": {
2295
+ "type": "object",
2296
+ "additionalProperties": false,
2297
+ "required": [
2298
+ "counter",
2299
+ "material",
2300
+ "type",
2301
+ "startofcycle",
2302
+ "endUTC",
2303
+ "loc",
2304
+ "locnum",
2305
+ "pal",
2306
+ "program",
2307
+ "result",
2308
+ "elapsed",
2309
+ "active",
2310
+ "counter",
2311
+ "material",
2312
+ "type",
2313
+ "startofcycle",
2314
+ "endUTC",
2315
+ "loc",
2316
+ "locnum",
2317
+ "pal",
2318
+ "program",
2319
+ "result",
2320
+ "elapsed",
2321
+ "active"
2322
+ ],
2323
+ "properties": {
2324
+ "counter": {
2325
+ "type": "integer",
2326
+ "format": "int64"
2327
+ },
2328
+ "material": {
2329
+ "type": "array",
2330
+ "items": {
2331
+ "$ref": "#/components/schemas/LogMaterial"
2332
+ }
2333
+ },
2334
+ "type": {
2335
+ "$ref": "#/components/schemas/LogType"
2336
+ },
2337
+ "startofcycle": {
2338
+ "type": "boolean"
2339
+ },
2340
+ "endUTC": {
2341
+ "type": "string",
2342
+ "format": "date-time"
2343
+ },
2344
+ "loc": {
2345
+ "type": "string"
2346
+ },
2347
+ "locnum": {
2348
+ "type": "integer",
2349
+ "format": "int32"
2350
+ },
2351
+ "pal": {
2352
+ "type": "integer",
2353
+ "format": "int32"
2354
+ },
2355
+ "program": {
2356
+ "type": "string"
2357
+ },
2358
+ "result": {
2359
+ "type": "string"
2360
+ },
2361
+ "elapsed": {
2362
+ "type": "string",
2363
+ "format": "duration"
2364
+ },
2365
+ "active": {
2366
+ "type": "string",
2367
+ "format": "duration"
2368
+ },
2369
+ "details": {
2370
+ "type": "object",
2371
+ "nullable": true,
2372
+ "additionalProperties": {
2373
+ "type": "string"
2374
+ }
2375
+ },
2376
+ "tooluse": {
2377
+ "type": "array",
2378
+ "nullable": true,
2379
+ "items": {
2380
+ "$ref": "#/components/schemas/ToolUse"
2381
+ }
2382
+ }
2383
+ }
2384
+ },
2385
+ "LogMaterial": {
2386
+ "type": "object",
2387
+ "additionalProperties": false,
2388
+ "required": [
2389
+ "id",
2390
+ "uniq",
2391
+ "part",
2392
+ "proc",
2393
+ "numproc",
2394
+ "face",
2395
+ "id",
2396
+ "uniq",
2397
+ "part",
2398
+ "proc",
2399
+ "numproc",
2400
+ "face"
2401
+ ],
2402
+ "properties": {
2403
+ "id": {
2404
+ "type": "integer",
2405
+ "format": "int64"
2406
+ },
2407
+ "uniq": {
2408
+ "type": "string"
2409
+ },
2410
+ "part": {
2411
+ "type": "string"
2412
+ },
2413
+ "proc": {
2414
+ "type": "integer",
2415
+ "format": "int32"
2416
+ },
2417
+ "path": {
2418
+ "type": "integer",
2419
+ "format": "int32",
2420
+ "nullable": true
2421
+ },
2422
+ "numproc": {
2423
+ "type": "integer",
2424
+ "format": "int32"
2425
+ },
2426
+ "face": {
2427
+ "type": "integer",
2428
+ "format": "int32"
2429
+ },
2430
+ "serial": {
2431
+ "type": "string",
2432
+ "nullable": true
2433
+ },
2434
+ "workorder": {
2435
+ "type": "string",
2436
+ "nullable": true
2437
+ }
2438
+ }
2439
+ },
2440
+ "LogType": {
2441
+ "type": "string",
2442
+ "description": "",
2443
+ "x-enumNames": [
2444
+ "LoadUnloadCycle",
2445
+ "MachineCycle",
2446
+ "PartMark",
2447
+ "Inspection",
2448
+ "OrderAssignment",
2449
+ "GeneralMessage",
2450
+ "PalletCycle",
2451
+ "WorkorderComment",
2452
+ "InspectionResult",
2453
+ "CloseOut",
2454
+ "AddToQueue",
2455
+ "RemoveFromQueue",
2456
+ "InspectionForce",
2457
+ "PalletOnRotaryInbound",
2458
+ "PalletInStocker",
2459
+ "SignalQuarantine",
2460
+ "InvalidateCycle",
2461
+ "SwapMaterialOnPallet",
2462
+ "Rebooking",
2463
+ "CancelRebooking",
2464
+ "BasketLoadUnload",
2465
+ "BasketCycle"
2466
+ ],
2467
+ "enum": [
2468
+ "LoadUnloadCycle",
2469
+ "MachineCycle",
2470
+ "PartMark",
2471
+ "Inspection",
2472
+ "OrderAssignment",
2473
+ "GeneralMessage",
2474
+ "PalletCycle",
2475
+ "WorkorderComment",
2476
+ "InspectionResult",
2477
+ "CloseOut",
2478
+ "AddToQueue",
2479
+ "RemoveFromQueue",
2480
+ "InspectionForce",
2481
+ "PalletOnRotaryInbound",
2482
+ "PalletInStocker",
2483
+ "SignalQuarantine",
2484
+ "InvalidateCycle",
2485
+ "SwapMaterialOnPallet",
2486
+ "Rebooking",
2487
+ "CancelRebooking",
2488
+ "BasketLoadUnload",
2489
+ "BasketCycle"
2490
+ ]
2491
+ },
2492
+ "ToolUse": {
2493
+ "type": "object",
2494
+ "additionalProperties": false,
2495
+ "required": ["Tool", "Pocket", "Tool", "Pocket"],
2496
+ "properties": {
2497
+ "Tool": {
2498
+ "type": "string"
2499
+ },
2500
+ "Pocket": {
2501
+ "type": "integer",
2502
+ "format": "int32"
2503
+ },
2504
+ "ToolChangeOccurred": {
2505
+ "type": "boolean",
2506
+ "nullable": true
2507
+ },
2508
+ "ToolSerialAtStartOfCycle": {
2509
+ "type": "string",
2510
+ "nullable": true
2511
+ },
2512
+ "ToolSerialAtEndOfCycle": {
2513
+ "type": "string",
2514
+ "nullable": true
2515
+ },
2516
+ "ToolUseDuringCycle": {
2517
+ "type": "string",
2518
+ "format": "duration",
2519
+ "nullable": true
2520
+ },
2521
+ "TotalToolUseAtEndOfCycle": {
2522
+ "type": "string",
2523
+ "format": "duration",
2524
+ "nullable": true
2525
+ },
2526
+ "ConfiguredToolLife": {
2527
+ "type": "string",
2528
+ "format": "duration",
2529
+ "nullable": true
2530
+ },
2531
+ "ToolUseCountDuringCycle": {
2532
+ "type": "integer",
2533
+ "format": "int32",
2534
+ "nullable": true
2535
+ },
2536
+ "TotalToolUseCountAtEndOfCycle": {
2537
+ "type": "integer",
2538
+ "format": "int32",
2539
+ "nullable": true
2540
+ },
2541
+ "ConfiguredToolLifeCount": {
2542
+ "type": "integer",
2543
+ "format": "int32",
2544
+ "nullable": true
2545
+ }
2546
+ }
2547
+ },
2548
+ "MaterialProcessActualPath": {
2549
+ "type": "object",
2550
+ "additionalProperties": false,
2551
+ "required": [
2552
+ "MaterialID",
2553
+ "Process",
2554
+ "Pallet",
2555
+ "LoadStation",
2556
+ "Stops",
2557
+ "UnloadStation",
2558
+ "MaterialID",
2559
+ "Process",
2560
+ "Pallet",
2561
+ "LoadStation",
2562
+ "Stops",
2563
+ "UnloadStation"
2564
+ ],
2565
+ "properties": {
2566
+ "MaterialID": {
2567
+ "type": "integer",
2568
+ "format": "int64"
2569
+ },
2570
+ "Process": {
2571
+ "type": "integer",
2572
+ "format": "int32"
2573
+ },
2574
+ "Pallet": {
2575
+ "type": "integer",
2576
+ "format": "int32"
2577
+ },
2578
+ "LoadStation": {
2579
+ "type": "integer",
2580
+ "format": "int32"
2581
+ },
2582
+ "Stops": {
2583
+ "type": "array",
2584
+ "items": {
2585
+ "$ref": "#/components/schemas/Stop"
2586
+ }
2587
+ },
2588
+ "UnloadStation": {
2589
+ "type": "integer",
2590
+ "format": "int32"
2591
+ }
2592
+ }
2593
+ },
2594
+ "Stop": {
2595
+ "type": "object",
2596
+ "additionalProperties": false,
2597
+ "required": ["StationName", "StationNum", "StationName", "StationNum"],
2598
+ "properties": {
2599
+ "StationName": {
2600
+ "type": "string"
2601
+ },
2602
+ "StationNum": {
2603
+ "type": "integer",
2604
+ "format": "int32"
2605
+ }
2606
+ }
2607
+ },
2608
+ "NewJobs": {
2609
+ "type": "object",
2610
+ "additionalProperties": false,
2611
+ "required": ["ScheduleId", "Jobs", "ScheduleId", "Jobs"],
2612
+ "properties": {
2613
+ "ScheduleId": {
2614
+ "type": "string"
2615
+ },
2616
+ "Jobs": {
2617
+ "type": "array",
2618
+ "items": {
2619
+ "$ref": "#/components/schemas/Job"
2620
+ }
2621
+ },
2622
+ "ExtraParts": {
2623
+ "type": "object",
2624
+ "nullable": true,
2625
+ "additionalProperties": {
2626
+ "type": "integer",
2627
+ "format": "int32"
2628
+ }
2629
+ },
2630
+ "StationUse": {
2631
+ "type": "array",
2632
+ "nullable": true,
2633
+ "items": {
2634
+ "$ref": "#/components/schemas/SimulatedStationUtilization"
2635
+ }
2636
+ },
2637
+ "StationUseForCurrentStatus": {
2638
+ "type": "array",
2639
+ "nullable": true,
2640
+ "items": {
2641
+ "$ref": "#/components/schemas/SimulatedStationUtilization"
2642
+ }
2643
+ },
2644
+ "SimDayUsage": {
2645
+ "type": "array",
2646
+ "nullable": true,
2647
+ "items": {
2648
+ "$ref": "#/components/schemas/SimulatedDayUsage"
2649
+ }
2650
+ },
2651
+ "SimWorkordersFilled": {
2652
+ "type": "array",
2653
+ "nullable": true,
2654
+ "items": {
2655
+ "$ref": "#/components/schemas/WorkorderSimFilled"
2656
+ }
2657
+ },
2658
+ "CurrentUnfilledWorkorders": {
2659
+ "type": "array",
2660
+ "nullable": true,
2661
+ "items": {
2662
+ "$ref": "#/components/schemas/Workorder"
2663
+ }
2664
+ },
2665
+ "Programs": {
2666
+ "type": "array",
2667
+ "nullable": true,
2668
+ "items": {
2669
+ "$ref": "#/components/schemas/NewProgramContent"
2670
+ }
2671
+ },
2672
+ "AllocationWarning": {
2673
+ "type": "array",
2674
+ "nullable": true,
2675
+ "items": {
2676
+ "type": "string"
2677
+ }
2678
+ },
2679
+ "DebugMessage": {
2680
+ "type": "string",
2681
+ "format": "byte",
2682
+ "nullable": true
2683
+ }
2684
+ }
2685
+ },
2686
+ "Job": {
2687
+ "type": "object",
2688
+ "additionalProperties": false,
2689
+ "required": [
2690
+ "Unique",
2691
+ "RouteStartUTC",
2692
+ "RouteEndUTC",
2693
+ "Archived",
2694
+ "PartName",
2695
+ "Cycles",
2696
+ "ProcsAndPaths",
2697
+ "Unique",
2698
+ "RouteStartUTC",
2699
+ "RouteEndUTC",
2700
+ "Archived",
2701
+ "PartName",
2702
+ "Cycles",
2703
+ "ProcsAndPaths"
2704
+ ],
2705
+ "properties": {
2706
+ "Unique": {
2707
+ "type": "string"
2708
+ },
2709
+ "RouteStartUTC": {
2710
+ "type": "string",
2711
+ "format": "date-time"
2712
+ },
2713
+ "RouteEndUTC": {
2714
+ "type": "string",
2715
+ "format": "date-time"
2716
+ },
2717
+ "Archived": {
2718
+ "type": "boolean"
2719
+ },
2720
+ "PartName": {
2721
+ "type": "string"
2722
+ },
2723
+ "Comment": {
2724
+ "type": "string",
2725
+ "nullable": true
2726
+ },
2727
+ "AllocationAlgorithm": {
2728
+ "type": "string",
2729
+ "nullable": true
2730
+ },
2731
+ "Bookings": {
2732
+ "type": "array",
2733
+ "nullable": true,
2734
+ "items": {
2735
+ "type": "string"
2736
+ }
2737
+ },
2738
+ "ProvisionalWorkorderId": {
2739
+ "type": "string",
2740
+ "nullable": true
2741
+ },
2742
+ "ArtifactRunDate": {
2743
+ "type": "string",
2744
+ "format": "date",
2745
+ "nullable": true
2746
+ },
2747
+ "ManuallyCreated": {
2748
+ "type": "boolean"
2749
+ },
2750
+ "HoldEntireJob": {
2751
+ "nullable": true,
2752
+ "oneOf": [
2753
+ {
2754
+ "$ref": "#/components/schemas/HoldPattern"
2755
+ }
2756
+ ]
2757
+ },
2758
+ "Cycles": {
2759
+ "type": "integer",
2760
+ "format": "int32"
2761
+ },
2762
+ "ProcsAndPaths": {
2763
+ "type": "array",
2764
+ "items": {
2765
+ "$ref": "#/components/schemas/ProcessInfo"
2766
+ }
2767
+ }
2768
+ }
2769
+ },
2770
+ "HoldPattern": {
2771
+ "type": "object",
2772
+ "additionalProperties": false,
2773
+ "required": [
2774
+ "UserHold",
2775
+ "ReasonForUserHold",
2776
+ "HoldUnholdPattern",
2777
+ "HoldUnholdPatternStartUTC",
2778
+ "HoldUnholdPatternRepeats",
2779
+ "UserHold",
2780
+ "ReasonForUserHold",
2781
+ "HoldUnholdPattern",
2782
+ "HoldUnholdPatternStartUTC",
2783
+ "HoldUnholdPatternRepeats"
2784
+ ],
2785
+ "properties": {
2786
+ "UserHold": {
2787
+ "type": "boolean"
2788
+ },
2789
+ "ReasonForUserHold": {
2790
+ "type": "string"
2791
+ },
2792
+ "HoldUnholdPattern": {
2793
+ "type": "array",
2794
+ "items": {
2795
+ "type": "string",
2796
+ "format": "duration"
2797
+ }
2798
+ },
2799
+ "HoldUnholdPatternStartUTC": {
2800
+ "type": "string",
2801
+ "format": "date-time"
2802
+ },
2803
+ "HoldUnholdPatternRepeats": {
2804
+ "type": "boolean"
2805
+ }
2806
+ }
2807
+ },
2808
+ "ProcessInfo": {
2809
+ "type": "object",
2810
+ "additionalProperties": false,
2811
+ "required": ["paths", "paths"],
2812
+ "properties": {
2813
+ "ExtraFields": {
2814
+ "type": "object",
2815
+ "nullable": true,
2816
+ "additionalProperties": {
2817
+ "type": "number",
2818
+ "format": "double"
2819
+ }
2820
+ },
2821
+ "BasketLoadStations": {
2822
+ "type": "array",
2823
+ "nullable": true,
2824
+ "items": {
2825
+ "type": "integer",
2826
+ "format": "int32"
2827
+ }
2828
+ },
2829
+ "ExpectedBasketLoadTime": {
2830
+ "type": "string",
2831
+ "format": "duration",
2832
+ "nullable": true
2833
+ },
2834
+ "BasketUnloadStations": {
2835
+ "type": "array",
2836
+ "nullable": true,
2837
+ "items": {
2838
+ "type": "integer",
2839
+ "format": "int32"
2840
+ }
2841
+ },
2842
+ "ExpectedBasketUnloadTime": {
2843
+ "type": "string",
2844
+ "format": "duration",
2845
+ "nullable": true
2846
+ },
2847
+ "paths": {
2848
+ "type": "array",
2849
+ "items": {
2850
+ "$ref": "#/components/schemas/ProcPathInfo"
2851
+ }
2852
+ }
2853
+ }
2854
+ },
2855
+ "ProcPathInfo": {
2856
+ "type": "object",
2857
+ "additionalProperties": false,
2858
+ "required": [
2859
+ "PalletNums",
2860
+ "Load",
2861
+ "ExpectedLoadTime",
2862
+ "Unload",
2863
+ "ExpectedUnloadTime",
2864
+ "Stops",
2865
+ "SimulatedStartingUTC",
2866
+ "SimulatedAverageFlowTime",
2867
+ "PartsPerPallet",
2868
+ "PalletNums",
2869
+ "Load",
2870
+ "ExpectedLoadTime",
2871
+ "Unload",
2872
+ "ExpectedUnloadTime",
2873
+ "Stops",
2874
+ "SimulatedStartingUTC",
2875
+ "SimulatedAverageFlowTime",
2876
+ "PartsPerPallet"
2877
+ ],
2878
+ "properties": {
2879
+ "PalletNums": {
2880
+ "type": "array",
2881
+ "items": {
2882
+ "type": "integer",
2883
+ "format": "int32"
2884
+ }
2885
+ },
2886
+ "Fixture": {
2887
+ "type": "string",
2888
+ "nullable": true
2889
+ },
2890
+ "Face": {
2891
+ "type": "integer",
2892
+ "format": "int32",
2893
+ "nullable": true
2894
+ },
2895
+ "Load": {
2896
+ "type": "array",
2897
+ "items": {
2898
+ "type": "integer",
2899
+ "format": "int32"
2900
+ }
2901
+ },
2902
+ "ExpectedLoadTime": {
2903
+ "type": "string",
2904
+ "format": "duration"
2905
+ },
2906
+ "Unload": {
2907
+ "type": "array",
2908
+ "items": {
2909
+ "type": "integer",
2910
+ "format": "int32"
2911
+ }
2912
+ },
2913
+ "ExpectedUnloadTime": {
2914
+ "type": "string",
2915
+ "format": "duration"
2916
+ },
2917
+ "Stops": {
2918
+ "type": "array",
2919
+ "items": {
2920
+ "$ref": "#/components/schemas/MachiningStop"
2921
+ }
2922
+ },
2923
+ "SimulatedProduction": {
2924
+ "type": "array",
2925
+ "nullable": true,
2926
+ "items": {
2927
+ "$ref": "#/components/schemas/SimulatedProduction"
2928
+ }
2929
+ },
2930
+ "SimulatedStartTimePerPallet": {
2931
+ "type": "object",
2932
+ "nullable": true,
2933
+ "additionalProperties": {
2934
+ "type": "string",
2935
+ "format": "date-time"
2936
+ }
2937
+ },
2938
+ "SimulatedStartingUTC": {
2939
+ "type": "string",
2940
+ "format": "date-time"
2941
+ },
2942
+ "SimulatedAverageFlowTime": {
2943
+ "type": "string",
2944
+ "format": "duration"
2945
+ },
2946
+ "HoldMachining": {
2947
+ "nullable": true,
2948
+ "oneOf": [
2949
+ {
2950
+ "$ref": "#/components/schemas/HoldPattern"
2951
+ }
2952
+ ]
2953
+ },
2954
+ "HoldLoadUnload": {
2955
+ "nullable": true,
2956
+ "oneOf": [
2957
+ {
2958
+ "$ref": "#/components/schemas/HoldPattern"
2959
+ }
2960
+ ]
2961
+ },
2962
+ "PartsPerPallet": {
2963
+ "type": "integer",
2964
+ "format": "int32"
2965
+ },
2966
+ "InputQueue": {
2967
+ "type": "string",
2968
+ "nullable": true
2969
+ },
2970
+ "OutputQueue": {
2971
+ "type": "string",
2972
+ "nullable": true
2973
+ },
2974
+ "Inspections": {
2975
+ "type": "array",
2976
+ "nullable": true,
2977
+ "items": {
2978
+ "$ref": "#/components/schemas/PathInspection"
2979
+ }
2980
+ },
2981
+ "Casting": {
2982
+ "type": "string",
2983
+ "nullable": true
2984
+ }
2985
+ }
2986
+ },
2987
+ "MachiningStop": {
2988
+ "type": "object",
2989
+ "additionalProperties": false,
2990
+ "required": [
2991
+ "StationGroup",
2992
+ "StationNums",
2993
+ "ExpectedCycleTime",
2994
+ "StationGroup",
2995
+ "StationNums",
2996
+ "ExpectedCycleTime"
2997
+ ],
2998
+ "properties": {
2999
+ "StationGroup": {
3000
+ "type": "string"
3001
+ },
3002
+ "StationNums": {
3003
+ "type": "array",
3004
+ "items": {
3005
+ "type": "integer",
3006
+ "format": "int32"
3007
+ }
3008
+ },
3009
+ "ExpectedCycleTime": {
3010
+ "type": "string",
3011
+ "format": "duration"
3012
+ },
3013
+ "Program": {
3014
+ "type": "string",
3015
+ "nullable": true
3016
+ },
3017
+ "ProgramRevision": {
3018
+ "type": "integer",
3019
+ "format": "int64",
3020
+ "nullable": true
3021
+ }
3022
+ }
3023
+ },
3024
+ "SimulatedProduction": {
3025
+ "type": "object",
3026
+ "additionalProperties": false,
3027
+ "required": ["TimeUTC", "Quantity", "TimeUTC", "Quantity"],
3028
+ "properties": {
3029
+ "TimeUTC": {
3030
+ "type": "string",
3031
+ "format": "date-time"
3032
+ },
3033
+ "Quantity": {
3034
+ "type": "integer",
3035
+ "format": "int32"
3036
+ }
3037
+ }
3038
+ },
3039
+ "PathInspection": {
3040
+ "type": "object",
3041
+ "additionalProperties": false,
3042
+ "required": [
3043
+ "InspectionType",
3044
+ "Counter",
3045
+ "MaxVal",
3046
+ "RandomFreq",
3047
+ "TimeInterval",
3048
+ "InspectionType",
3049
+ "Counter",
3050
+ "MaxVal",
3051
+ "RandomFreq",
3052
+ "TimeInterval"
3053
+ ],
3054
+ "properties": {
3055
+ "InspectionType": {
3056
+ "type": "string"
3057
+ },
3058
+ "Counter": {
3059
+ "type": "string"
3060
+ },
3061
+ "MaxVal": {
3062
+ "type": "integer",
3063
+ "format": "int32"
3064
+ },
3065
+ "RandomFreq": {
3066
+ "type": "number",
3067
+ "format": "double"
3068
+ },
3069
+ "TimeInterval": {
3070
+ "type": "string",
3071
+ "format": "duration"
3072
+ },
3073
+ "ExpectedInspectionTime": {
3074
+ "type": "string",
3075
+ "format": "duration",
3076
+ "nullable": true
3077
+ }
3078
+ }
3079
+ },
3080
+ "SimulatedStationUtilization": {
3081
+ "type": "object",
3082
+ "additionalProperties": false,
3083
+ "required": [
3084
+ "ScheduleId",
3085
+ "StationGroup",
3086
+ "StationNum",
3087
+ "StartUTC",
3088
+ "EndUTC",
3089
+ "ScheduleId",
3090
+ "StationGroup",
3091
+ "StationNum",
3092
+ "StartUTC",
3093
+ "EndUTC"
3094
+ ],
3095
+ "properties": {
3096
+ "ScheduleId": {
3097
+ "type": "string"
3098
+ },
3099
+ "StationGroup": {
3100
+ "type": "string"
3101
+ },
3102
+ "StationNum": {
3103
+ "type": "integer",
3104
+ "format": "int32"
3105
+ },
3106
+ "StartUTC": {
3107
+ "type": "string",
3108
+ "format": "date-time"
3109
+ },
3110
+ "EndUTC": {
3111
+ "type": "string",
3112
+ "format": "date-time"
3113
+ },
3114
+ "PlanDown": {
3115
+ "type": "boolean",
3116
+ "nullable": true
3117
+ },
3118
+ "Pallet": {
3119
+ "type": "integer",
3120
+ "format": "int32",
3121
+ "nullable": true
3122
+ },
3123
+ "Parts": {
3124
+ "type": "array",
3125
+ "nullable": true,
3126
+ "items": {
3127
+ "$ref": "#/components/schemas/SimulatedStationPart"
3128
+ }
3129
+ }
3130
+ }
3131
+ },
3132
+ "SimulatedStationPart": {
3133
+ "type": "object",
3134
+ "additionalProperties": false,
3135
+ "required": ["JobUnique", "Process", "Path", "JobUnique", "Process", "Path"],
3136
+ "properties": {
3137
+ "JobUnique": {
3138
+ "type": "string"
3139
+ },
3140
+ "Process": {
3141
+ "type": "integer",
3142
+ "format": "int32"
3143
+ },
3144
+ "Path": {
3145
+ "type": "integer",
3146
+ "format": "int32"
3147
+ }
3148
+ }
3149
+ },
3150
+ "SimulatedDayUsage": {
3151
+ "type": "object",
3152
+ "additionalProperties": false,
3153
+ "required": ["Day", "MachineGroup", "Usage", "Day", "MachineGroup", "Usage"],
3154
+ "properties": {
3155
+ "Day": {
3156
+ "type": "string",
3157
+ "format": "date"
3158
+ },
3159
+ "MachineGroup": {
3160
+ "type": "string"
3161
+ },
3162
+ "Usage": {
3163
+ "type": "number",
3164
+ "format": "double"
3165
+ }
3166
+ }
3167
+ },
3168
+ "WorkorderSimFilled": {
3169
+ "type": "object",
3170
+ "additionalProperties": false,
3171
+ "required": ["WorkorderId", "Part", "WorkorderId", "Part"],
3172
+ "properties": {
3173
+ "WorkorderId": {
3174
+ "type": "string"
3175
+ },
3176
+ "Part": {
3177
+ "type": "string"
3178
+ },
3179
+ "Started": {
3180
+ "type": "string",
3181
+ "format": "date",
3182
+ "nullable": true
3183
+ },
3184
+ "Filled": {
3185
+ "type": "string",
3186
+ "format": "date",
3187
+ "nullable": true
3188
+ }
3189
+ }
3190
+ },
3191
+ "Workorder": {
3192
+ "type": "object",
3193
+ "additionalProperties": false,
3194
+ "required": [
3195
+ "WorkorderId",
3196
+ "Part",
3197
+ "Quantity",
3198
+ "DueDate",
3199
+ "Priority",
3200
+ "WorkorderId",
3201
+ "Part",
3202
+ "Quantity",
3203
+ "DueDate",
3204
+ "Priority"
3205
+ ],
3206
+ "properties": {
3207
+ "WorkorderId": {
3208
+ "type": "string"
3209
+ },
3210
+ "Part": {
3211
+ "type": "string"
3212
+ },
3213
+ "Quantity": {
3214
+ "type": "integer",
3215
+ "format": "int32"
3216
+ },
3217
+ "DueDate": {
3218
+ "type": "string",
3219
+ "format": "date-time"
3220
+ },
3221
+ "Priority": {
3222
+ "type": "integer",
3223
+ "format": "int32"
3224
+ },
3225
+ "Programs": {
3226
+ "type": "array",
3227
+ "nullable": true,
3228
+ "items": {
3229
+ "$ref": "#/components/schemas/ProgramForJobStep"
3230
+ }
3231
+ }
3232
+ }
3233
+ },
3234
+ "ProgramForJobStep": {
3235
+ "type": "object",
3236
+ "additionalProperties": false,
3237
+ "required": ["ProcessNumber", "ProgramName", "ProcessNumber", "ProgramName"],
3238
+ "properties": {
3239
+ "ProcessNumber": {
3240
+ "type": "integer",
3241
+ "format": "int32"
3242
+ },
3243
+ "StopIndex": {
3244
+ "type": "integer",
3245
+ "format": "int32",
3246
+ "nullable": true
3247
+ },
3248
+ "ProgramName": {
3249
+ "type": "string"
3250
+ },
3251
+ "Revision": {
3252
+ "type": "integer",
3253
+ "format": "int64",
3254
+ "nullable": true
3255
+ }
3256
+ }
3257
+ },
3258
+ "NewProgramContent": {
3259
+ "type": "object",
3260
+ "additionalProperties": false,
3261
+ "required": [
3262
+ "ProgramName",
3263
+ "ProgramContent",
3264
+ "Revision",
3265
+ "ProgramName",
3266
+ "ProgramContent",
3267
+ "Revision"
3268
+ ],
3269
+ "properties": {
3270
+ "ProgramName": {
3271
+ "type": "string"
3272
+ },
3273
+ "Comment": {
3274
+ "type": "string",
3275
+ "nullable": true
3276
+ },
3277
+ "ProgramContent": {
3278
+ "type": "string"
3279
+ },
3280
+ "Revision": {
3281
+ "type": "integer",
3282
+ "format": "int64"
3283
+ }
3284
+ }
3285
+ },
3286
+ "CurrentStatus": {
3287
+ "type": "object",
3288
+ "additionalProperties": false,
3289
+ "required": [
3290
+ "Revision",
3291
+ "TimeOfCurrentStatusUTC",
3292
+ "Jobs",
3293
+ "Pallets",
3294
+ "Material",
3295
+ "Alarms",
3296
+ "Queues",
3297
+ "Revision",
3298
+ "TimeOfCurrentStatusUTC",
3299
+ "Jobs",
3300
+ "Pallets",
3301
+ "Material",
3302
+ "Alarms",
3303
+ "Queues"
3304
+ ],
3305
+ "properties": {
3306
+ "Revision": {
3307
+ "type": "integer",
3308
+ "format": "int64"
3309
+ },
3310
+ "TimeOfCurrentStatusUTC": {
3311
+ "type": "string",
3312
+ "format": "date-time"
3313
+ },
3314
+ "Jobs": {
3315
+ "type": "object",
3316
+ "additionalProperties": {
3317
+ "$ref": "#/components/schemas/ActiveJob"
3318
+ }
3319
+ },
3320
+ "Pallets": {
3321
+ "type": "object",
3322
+ "additionalProperties": {
3323
+ "$ref": "#/components/schemas/PalletStatus"
3324
+ }
3325
+ },
3326
+ "Material": {
3327
+ "type": "array",
3328
+ "items": {
3329
+ "$ref": "#/components/schemas/InProcessMaterial"
3330
+ }
3331
+ },
3332
+ "Alarms": {
3333
+ "type": "array",
3334
+ "items": {
3335
+ "type": "string"
3336
+ }
3337
+ },
3338
+ "AlarmDetails": {
3339
+ "type": "array",
3340
+ "nullable": true,
3341
+ "items": {
3342
+ "$ref": "#/components/schemas/CurrentStatusAlarm"
3343
+ }
3344
+ },
3345
+ "Queues": {
3346
+ "type": "object",
3347
+ "additionalProperties": {
3348
+ "$ref": "#/components/schemas/QueueInfo"
3349
+ }
3350
+ },
3351
+ "MachineLocations": {
3352
+ "type": "array",
3353
+ "nullable": true,
3354
+ "items": {
3355
+ "$ref": "#/components/schemas/MachineLocation"
3356
+ }
3357
+ },
3358
+ "Workorders": {
3359
+ "type": "array",
3360
+ "nullable": true,
3361
+ "items": {
3362
+ "$ref": "#/components/schemas/ActiveWorkorder"
3363
+ }
3364
+ },
3365
+ "Baskets": {
3366
+ "type": "object",
3367
+ "nullable": true,
3368
+ "additionalProperties": {
3369
+ "$ref": "#/components/schemas/BasketStatus"
3370
+ }
3371
+ },
3372
+ "CustomState": {
3373
+ "nullable": true
3374
+ }
3375
+ }
3376
+ },
3377
+ "ActiveJob": {
3378
+ "allOf": [
3379
+ {
3380
+ "$ref": "#/components/schemas/HistoricJob"
3381
+ },
3382
+ {
3383
+ "type": "object",
3384
+ "additionalProperties": false,
3385
+ "properties": {
3386
+ "Completed": {
3387
+ "type": "array",
3388
+ "nullable": true,
3389
+ "items": {
3390
+ "type": "array",
3391
+ "items": {
3392
+ "type": "integer",
3393
+ "format": "int32"
3394
+ }
3395
+ }
3396
+ },
3397
+ "Precedence": {
3398
+ "type": "array",
3399
+ "nullable": true,
3400
+ "items": {
3401
+ "type": "array",
3402
+ "items": {
3403
+ "type": "integer",
3404
+ "format": "int64"
3405
+ }
3406
+ }
3407
+ },
3408
+ "AssignedWorkorders": {
3409
+ "type": "array",
3410
+ "nullable": true,
3411
+ "items": {
3412
+ "type": "string"
3413
+ }
3414
+ },
3415
+ "RemainingToStart": {
3416
+ "type": "integer",
3417
+ "format": "int64",
3418
+ "nullable": true
3419
+ }
3420
+ }
3421
+ }
3422
+ ]
3423
+ },
3424
+ "HistoricJob": {
3425
+ "allOf": [
3426
+ {
3427
+ "$ref": "#/components/schemas/Job"
3428
+ },
3429
+ {
3430
+ "type": "object",
3431
+ "additionalProperties": false,
3432
+ "required": ["CopiedToSystem", "CopiedToSystem"],
3433
+ "properties": {
3434
+ "ScheduleId": {
3435
+ "type": "string",
3436
+ "nullable": true
3437
+ },
3438
+ "CopiedToSystem": {
3439
+ "type": "boolean"
3440
+ },
3441
+ "Decrements": {
3442
+ "type": "array",
3443
+ "nullable": true,
3444
+ "items": {
3445
+ "$ref": "#/components/schemas/DecrementQuantity"
3446
+ }
3447
+ }
3448
+ }
3449
+ }
3450
+ ]
3451
+ },
3452
+ "DecrementQuantity": {
3453
+ "type": "object",
3454
+ "additionalProperties": false,
3455
+ "required": ["DecrementId", "TimeUTC", "Quantity", "DecrementId", "TimeUTC", "Quantity"],
3456
+ "properties": {
3457
+ "DecrementId": {
3458
+ "type": "integer",
3459
+ "format": "int64"
3460
+ },
3461
+ "TimeUTC": {
3462
+ "type": "string",
3463
+ "format": "date-time"
3464
+ },
3465
+ "Quantity": {
3466
+ "type": "integer",
3467
+ "format": "int32"
3468
+ }
3469
+ }
3470
+ },
3471
+ "PalletStatus": {
3472
+ "type": "object",
3473
+ "additionalProperties": false,
3474
+ "required": [
3475
+ "PalletNum",
3476
+ "FixtureOnPallet",
3477
+ "OnHold",
3478
+ "CurrentPalletLocation",
3479
+ "NumFaces",
3480
+ "PalletNum",
3481
+ "FixtureOnPallet",
3482
+ "OnHold",
3483
+ "CurrentPalletLocation",
3484
+ "NumFaces"
3485
+ ],
3486
+ "properties": {
3487
+ "PalletNum": {
3488
+ "type": "integer",
3489
+ "format": "int32"
3490
+ },
3491
+ "FixtureOnPallet": {
3492
+ "type": "string"
3493
+ },
3494
+ "OnHold": {
3495
+ "type": "boolean"
3496
+ },
3497
+ "CurrentPalletLocation": {
3498
+ "$ref": "#/components/schemas/PalletLocation"
3499
+ },
3500
+ "NewFixture": {
3501
+ "type": "string",
3502
+ "nullable": true
3503
+ },
3504
+ "NumFaces": {
3505
+ "type": "integer",
3506
+ "format": "int32"
3507
+ },
3508
+ "FaceNames": {
3509
+ "type": "array",
3510
+ "nullable": true,
3511
+ "items": {
3512
+ "type": "string"
3513
+ }
3514
+ },
3515
+ "TargetLocation": {
3516
+ "nullable": true,
3517
+ "oneOf": [
3518
+ {
3519
+ "$ref": "#/components/schemas/PalletLocation"
3520
+ }
3521
+ ]
3522
+ },
3523
+ "PercentMoveCompleted": {
3524
+ "type": "number",
3525
+ "format": "decimal",
3526
+ "nullable": true
3527
+ }
3528
+ }
3529
+ },
3530
+ "PalletLocation": {
3531
+ "type": "object",
3532
+ "additionalProperties": false,
3533
+ "required": ["loc", "group", "num", "loc", "group", "num"],
3534
+ "properties": {
3535
+ "loc": {
3536
+ "$ref": "#/components/schemas/PalletLocationEnum"
3537
+ },
3538
+ "group": {
3539
+ "type": "string"
3540
+ },
3541
+ "num": {
3542
+ "type": "integer",
3543
+ "format": "int32"
3544
+ }
3545
+ }
3546
+ },
3547
+ "PalletLocationEnum": {
3548
+ "type": "string",
3549
+ "description": "",
3550
+ "x-enumNames": ["LoadUnload", "Machine", "MachineQueue", "Buffer", "Cart"],
3551
+ "enum": ["LoadUnload", "Machine", "MachineQueue", "Buffer", "Cart"]
3552
+ },
3553
+ "InProcessMaterial": {
3554
+ "type": "object",
3555
+ "additionalProperties": false,
3556
+ "required": [
3557
+ "MaterialID",
3558
+ "JobUnique",
3559
+ "PartName",
3560
+ "Process",
3561
+ "Path",
3562
+ "SignaledInspections",
3563
+ "Location",
3564
+ "Action",
3565
+ "MaterialID",
3566
+ "JobUnique",
3567
+ "PartName",
3568
+ "Process",
3569
+ "Path",
3570
+ "SignaledInspections",
3571
+ "Location",
3572
+ "Action"
3573
+ ],
3574
+ "properties": {
3575
+ "MaterialID": {
3576
+ "type": "integer",
3577
+ "format": "int64"
3578
+ },
3579
+ "JobUnique": {
3580
+ "type": "string"
3581
+ },
3582
+ "PartName": {
3583
+ "type": "string"
3584
+ },
3585
+ "Process": {
3586
+ "type": "integer",
3587
+ "format": "int32"
3588
+ },
3589
+ "Path": {
3590
+ "type": "integer",
3591
+ "format": "int32"
3592
+ },
3593
+ "Serial": {
3594
+ "type": "string",
3595
+ "nullable": true
3596
+ },
3597
+ "WorkorderId": {
3598
+ "type": "string",
3599
+ "nullable": true
3600
+ },
3601
+ "SignaledInspections": {
3602
+ "type": "array",
3603
+ "items": {
3604
+ "type": "string"
3605
+ }
3606
+ },
3607
+ "QuarantineAfterUnload": {
3608
+ "type": "boolean",
3609
+ "nullable": true
3610
+ },
3611
+ "Problem": {
3612
+ "type": "string",
3613
+ "nullable": true
3614
+ },
3615
+ "LastCompletedMachiningRouteStopIndex": {
3616
+ "type": "integer",
3617
+ "format": "int32",
3618
+ "nullable": true
3619
+ },
3620
+ "Location": {
3621
+ "$ref": "#/components/schemas/InProcessMaterialLocation"
3622
+ },
3623
+ "Action": {
3624
+ "$ref": "#/components/schemas/InProcessMaterialAction"
3625
+ }
3626
+ }
3627
+ },
3628
+ "InProcessMaterialLocation": {
3629
+ "type": "object",
3630
+ "additionalProperties": false,
3631
+ "required": ["Type", "Type"],
3632
+ "properties": {
3633
+ "Type": {
3634
+ "$ref": "#/components/schemas/LocType"
3635
+ },
3636
+ "PalletNum": {
3637
+ "type": "integer",
3638
+ "format": "int32",
3639
+ "nullable": true
3640
+ },
3641
+ "Face": {
3642
+ "type": "integer",
3643
+ "format": "int32",
3644
+ "nullable": true
3645
+ },
3646
+ "CurrentQueue": {
3647
+ "type": "string",
3648
+ "nullable": true
3649
+ },
3650
+ "QueuePosition": {
3651
+ "type": "integer",
3652
+ "format": "int32",
3653
+ "nullable": true
3654
+ },
3655
+ "BasketId": {
3656
+ "type": "integer",
3657
+ "format": "int32",
3658
+ "nullable": true
3659
+ },
3660
+ "BasketSlot": {
3661
+ "type": "integer",
3662
+ "format": "int32",
3663
+ "nullable": true
3664
+ }
3665
+ }
3666
+ },
3667
+ "LocType": {
3668
+ "type": "string",
3669
+ "description": "",
3670
+ "x-enumNames": ["Free", "OnPallet", "InQueue", "InBasket"],
3671
+ "enum": ["Free", "OnPallet", "InQueue", "InBasket"]
3672
+ },
3673
+ "InProcessMaterialAction": {
3674
+ "type": "object",
3675
+ "additionalProperties": false,
3676
+ "required": ["Type", "Type"],
3677
+ "properties": {
3678
+ "Type": {
3679
+ "$ref": "#/components/schemas/ActionType"
3680
+ },
3681
+ "AutomatedTransfer": {
3682
+ "type": "boolean"
3683
+ },
3684
+ "WorkId": {
3685
+ "type": "string",
3686
+ "nullable": true
3687
+ },
3688
+ "LoadCancellationId": {
3689
+ "type": "string",
3690
+ "nullable": true
3691
+ },
3692
+ "LoadOntoPalletNum": {
3693
+ "type": "integer",
3694
+ "format": "int32",
3695
+ "nullable": true
3696
+ },
3697
+ "LoadOntoFace": {
3698
+ "type": "integer",
3699
+ "format": "int32",
3700
+ "nullable": true
3701
+ },
3702
+ "ProcessAfterLoad": {
3703
+ "type": "integer",
3704
+ "format": "int32",
3705
+ "nullable": true
3706
+ },
3707
+ "PathAfterLoad": {
3708
+ "type": "integer",
3709
+ "format": "int32",
3710
+ "nullable": true
3711
+ },
3712
+ "LoadFromBasketId": {
3713
+ "type": "integer",
3714
+ "format": "int32",
3715
+ "nullable": true
3716
+ },
3717
+ "LoadToBasketId": {
3718
+ "type": "integer",
3719
+ "format": "int32",
3720
+ "nullable": true
3721
+ },
3722
+ "LoadToBasketSlot": {
3723
+ "type": "integer",
3724
+ "format": "int32",
3725
+ "nullable": true
3726
+ },
3727
+ "UnloadIntoQueue": {
3728
+ "type": "string",
3729
+ "nullable": true
3730
+ },
3731
+ "UnloadToBasketId": {
3732
+ "type": "integer",
3733
+ "format": "int32",
3734
+ "nullable": true
3735
+ },
3736
+ "UnloadToBasketSlot": {
3737
+ "type": "integer",
3738
+ "format": "int32",
3739
+ "nullable": true
3740
+ },
3741
+ "ElapsedLoadUnloadTime": {
3742
+ "type": "string",
3743
+ "format": "duration",
3744
+ "nullable": true
3745
+ },
3746
+ "Program": {
3747
+ "type": "string",
3748
+ "nullable": true
3749
+ },
3750
+ "ElapsedMachiningTime": {
3751
+ "type": "string",
3752
+ "format": "duration",
3753
+ "nullable": true
3754
+ },
3755
+ "ExpectedRemainingMachiningTime": {
3756
+ "type": "string",
3757
+ "format": "duration",
3758
+ "nullable": true
3759
+ }
3760
+ }
3761
+ },
3762
+ "ActionType": {
3763
+ "type": "string",
3764
+ "description": "",
3765
+ "x-enumNames": [
3766
+ "Waiting",
3767
+ "Loading",
3768
+ "UnloadToInProcess",
3769
+ "UnloadToCompletedMaterial",
3770
+ "Machining",
3771
+ "LoadingToBasket"
3772
+ ],
3773
+ "enum": [
3774
+ "Waiting",
3775
+ "Loading",
3776
+ "UnloadToInProcess",
3777
+ "UnloadToCompletedMaterial",
3778
+ "Machining",
3779
+ "LoadingToBasket"
3780
+ ]
3781
+ },
3782
+ "CurrentStatusAlarm": {
3783
+ "type": "object",
3784
+ "additionalProperties": false,
3785
+ "required": ["Code", "Message", "Impact", "Code", "Message", "Impact"],
3786
+ "properties": {
3787
+ "Code": {
3788
+ "type": "string"
3789
+ },
3790
+ "Message": {
3791
+ "type": "string"
3792
+ },
3793
+ "Impact": {
3794
+ "$ref": "#/components/schemas/AlarmImpact"
3795
+ },
3796
+ "Activity": {
3797
+ "nullable": true,
3798
+ "oneOf": [
3799
+ {
3800
+ "$ref": "#/components/schemas/AlarmActivity"
3801
+ }
3802
+ ]
3803
+ },
3804
+ "BasketId": {
3805
+ "type": "integer",
3806
+ "format": "int32",
3807
+ "nullable": true
3808
+ }
3809
+ }
3810
+ },
3811
+ "AlarmImpact": {
3812
+ "type": "string",
3813
+ "description": "",
3814
+ "x-enumNames": ["Informational", "SuspendChanges"],
3815
+ "enum": ["Informational", "SuspendChanges"]
3816
+ },
3817
+ "AlarmActivity": {
3818
+ "type": "string",
3819
+ "description": "",
3820
+ "x-enumNames": ["BasketMovement", "BasketLoadStation"],
3821
+ "enum": ["BasketMovement", "BasketLoadStation"]
3822
+ },
3823
+ "QueueInfo": {
3824
+ "type": "object",
3825
+ "additionalProperties": false,
3826
+ "properties": {
3827
+ "MaxSizeBeforeStopUnloading": {
3828
+ "type": "integer",
3829
+ "format": "int32",
3830
+ "nullable": true
3831
+ },
3832
+ "Role": {
3833
+ "nullable": true,
3834
+ "oneOf": [
3835
+ {
3836
+ "$ref": "#/components/schemas/QueueRole"
3837
+ }
3838
+ ]
3839
+ }
3840
+ }
3841
+ },
3842
+ "QueueRole": {
3843
+ "type": "string",
3844
+ "description": "",
3845
+ "x-enumNames": ["RawMaterial", "InProcessTransfer", "Quarantine", "Other"],
3846
+ "enum": ["RawMaterial", "InProcessTransfer", "Quarantine", "Other"]
3847
+ },
3848
+ "MachineLocation": {
3849
+ "type": "object",
3850
+ "additionalProperties": false,
3851
+ "required": [
3852
+ "MachineGroup",
3853
+ "MachineNum",
3854
+ "Moving",
3855
+ "PossibleLoadStations",
3856
+ "MachineGroup",
3857
+ "MachineNum",
3858
+ "Moving",
3859
+ "PossibleLoadStations"
3860
+ ],
3861
+ "properties": {
3862
+ "MachineGroup": {
3863
+ "type": "string"
3864
+ },
3865
+ "MachineNum": {
3866
+ "type": "integer",
3867
+ "format": "int32"
3868
+ },
3869
+ "Moving": {
3870
+ "type": "boolean"
3871
+ },
3872
+ "PossibleLoadStations": {
3873
+ "type": "array",
3874
+ "items": {
3875
+ "type": "integer",
3876
+ "format": "int32"
3877
+ }
3878
+ },
3879
+ "CurrentLoadStation": {
3880
+ "type": "integer",
3881
+ "format": "int32",
3882
+ "nullable": true
3883
+ }
3884
+ }
3885
+ },
3886
+ "ActiveWorkorder": {
3887
+ "type": "object",
3888
+ "additionalProperties": false,
3889
+ "required": [
3890
+ "WorkorderId",
3891
+ "Part",
3892
+ "PlannedQuantity",
3893
+ "DueDate",
3894
+ "Priority",
3895
+ "CompletedQuantity",
3896
+ "ElapsedStationTime",
3897
+ "ActiveStationTime",
3898
+ "WorkorderId",
3899
+ "Part",
3900
+ "PlannedQuantity",
3901
+ "DueDate",
3902
+ "Priority",
3903
+ "CompletedQuantity",
3904
+ "ElapsedStationTime",
3905
+ "ActiveStationTime"
3906
+ ],
3907
+ "properties": {
3908
+ "WorkorderId": {
3909
+ "type": "string"
3910
+ },
3911
+ "Part": {
3912
+ "type": "string"
3913
+ },
3914
+ "PlannedQuantity": {
3915
+ "type": "integer",
3916
+ "format": "int32"
3917
+ },
3918
+ "DueDate": {
3919
+ "type": "string",
3920
+ "format": "date-time"
3921
+ },
3922
+ "Priority": {
3923
+ "type": "integer",
3924
+ "format": "int32"
3925
+ },
3926
+ "SimulatedStart": {
3927
+ "type": "string",
3928
+ "format": "date",
3929
+ "nullable": true
3930
+ },
3931
+ "SimulatedFilled": {
3932
+ "type": "string",
3933
+ "format": "date",
3934
+ "nullable": true
3935
+ },
3936
+ "CompletedQuantity": {
3937
+ "type": "integer",
3938
+ "format": "int32"
3939
+ },
3940
+ "Comments": {
3941
+ "type": "array",
3942
+ "nullable": true,
3943
+ "items": {
3944
+ "$ref": "#/components/schemas/WorkorderComment"
3945
+ }
3946
+ },
3947
+ "ElapsedStationTime": {
3948
+ "type": "object",
3949
+ "additionalProperties": {
3950
+ "type": "string",
3951
+ "format": "duration"
3952
+ }
3953
+ },
3954
+ "ActiveStationTime": {
3955
+ "type": "object",
3956
+ "additionalProperties": {
3957
+ "type": "string",
3958
+ "format": "duration"
3959
+ }
3960
+ },
3961
+ "Material": {
3962
+ "type": "array",
3963
+ "nullable": true,
3964
+ "items": {
3965
+ "$ref": "#/components/schemas/WorkorderMaterial"
3966
+ }
3967
+ }
3968
+ }
3969
+ },
3970
+ "WorkorderComment": {
3971
+ "type": "object",
3972
+ "additionalProperties": false,
3973
+ "required": ["Comment", "TimeUTC", "Comment", "TimeUTC"],
3974
+ "properties": {
3975
+ "Comment": {
3976
+ "type": "string"
3977
+ },
3978
+ "TimeUTC": {
3979
+ "type": "string",
3980
+ "format": "date-time"
3981
+ }
3982
+ }
3983
+ },
3984
+ "WorkorderMaterial": {
3985
+ "type": "object",
3986
+ "additionalProperties": false,
3987
+ "required": [
3988
+ "MaterialID",
3989
+ "Quarantined",
3990
+ "InspectionFailed",
3991
+ "Closeout",
3992
+ "MaterialID",
3993
+ "Quarantined",
3994
+ "InspectionFailed",
3995
+ "Closeout"
3996
+ ],
3997
+ "properties": {
3998
+ "MaterialID": {
3999
+ "type": "integer",
4000
+ "format": "int64"
4001
+ },
4002
+ "Serial": {
4003
+ "type": "string",
4004
+ "nullable": true
4005
+ },
4006
+ "Quarantined": {
4007
+ "type": "boolean"
4008
+ },
4009
+ "InspectionFailed": {
4010
+ "type": "boolean"
4011
+ },
4012
+ "Closeout": {
4013
+ "$ref": "#/components/schemas/WorkorderSerialCloseout"
4014
+ }
4015
+ }
4016
+ },
4017
+ "WorkorderSerialCloseout": {
4018
+ "type": "string",
4019
+ "description": "",
4020
+ "x-enumNames": ["None", "ClosedOut", "CloseOutFailed"],
4021
+ "enum": ["None", "ClosedOut", "CloseOutFailed"]
4022
+ },
4023
+ "BasketStatus": {
4024
+ "type": "object",
4025
+ "additionalProperties": false,
4026
+ "required": ["BasketId", "BasketId"],
4027
+ "properties": {
4028
+ "BasketId": {
4029
+ "type": "integer",
4030
+ "format": "int32"
4031
+ },
4032
+ "SlotCount": {
4033
+ "type": "integer",
4034
+ "format": "int32",
4035
+ "nullable": true
4036
+ },
4037
+ "LoadStationWork": {
4038
+ "nullable": true,
4039
+ "oneOf": [
4040
+ {
4041
+ "$ref": "#/components/schemas/BasketLoadStationWork"
4042
+ }
4043
+ ]
4044
+ },
4045
+ "Position": {
4046
+ "nullable": true,
4047
+ "oneOf": [
4048
+ {
4049
+ "$ref": "#/components/schemas/BasketPosition"
4050
+ }
4051
+ ]
4052
+ },
4053
+ "EmptySlots": {
4054
+ "type": "array",
4055
+ "items": {
4056
+ "type": "integer",
4057
+ "format": "int32"
4058
+ }
4059
+ },
4060
+ "UnknownSlots": {
4061
+ "type": "array",
4062
+ "items": {
4063
+ "type": "integer",
4064
+ "format": "int32"
4065
+ }
4066
+ }
4067
+ }
4068
+ },
4069
+ "BasketLoadStationWork": {
4070
+ "type": "object",
4071
+ "additionalProperties": false,
4072
+ "required": ["WorkId", "Type", "ReadyToConfirm", "WorkId", "Type", "ReadyToConfirm"],
4073
+ "properties": {
4074
+ "WorkId": {
4075
+ "type": "string"
4076
+ },
4077
+ "Type": {
4078
+ "$ref": "#/components/schemas/BasketLoadStationWorkType"
4079
+ },
4080
+ "ReadyToConfirm": {
4081
+ "type": "boolean"
4082
+ },
4083
+ "ConfirmationBlockedReason": {
4084
+ "type": "string",
4085
+ "nullable": true
4086
+ },
4087
+ "InstructionWarning": {
4088
+ "type": "string",
4089
+ "nullable": true
4090
+ },
4091
+ "AwaitingMaterialSlots": {
4092
+ "type": "array",
4093
+ "items": {
4094
+ "type": "integer",
4095
+ "format": "int32"
4096
+ }
4097
+ }
4098
+ }
4099
+ },
4100
+ "BasketLoadStationWorkType": {
4101
+ "type": "string",
4102
+ "description": "",
4103
+ "x-enumNames": ["Material", "ConfirmEmptyBasket"],
4104
+ "enum": ["Material", "ConfirmEmptyBasket"]
4105
+ },
4106
+ "BasketPosition": {
4107
+ "type": "object",
4108
+ "additionalProperties": false,
4109
+ "required": ["Location", "LocationNum", "Location", "LocationNum"],
4110
+ "properties": {
4111
+ "Location": {
4112
+ "$ref": "#/components/schemas/BasketLocationEnum"
4113
+ },
4114
+ "LocationNum": {
4115
+ "type": "integer",
4116
+ "format": "int32"
4117
+ },
4118
+ "LocationTitle": {
4119
+ "type": "string",
4120
+ "nullable": true
4121
+ },
4122
+ "Zone": {
4123
+ "type": "integer",
4124
+ "format": "int32",
4125
+ "nullable": true
4126
+ }
4127
+ }
4128
+ },
4129
+ "BasketLocationEnum": {
4130
+ "type": "string",
4131
+ "description": "",
4132
+ "x-enumNames": ["LoadUnload", "LoadStationStaging", "Storage", "InTransit"],
4133
+ "enum": ["LoadUnload", "LoadStationStaging", "Storage", "InTransit"]
4134
+ },
4135
+ "ProblemDetails": {
4136
+ "type": "object",
4137
+ "additionalProperties": {
4138
+ "nullable": true
4139
+ },
4140
+ "properties": {
4141
+ "type": {
4142
+ "type": "string",
4143
+ "nullable": true
4144
+ },
4145
+ "title": {
4146
+ "type": "string",
4147
+ "nullable": true
4148
+ },
4149
+ "status": {
4150
+ "type": "integer",
4151
+ "format": "int32",
4152
+ "nullable": true
4153
+ },
4154
+ "detail": {
4155
+ "type": "string",
4156
+ "nullable": true
4157
+ },
4158
+ "instance": {
4159
+ "type": "string",
4160
+ "nullable": true
4161
+ }
4162
+ }
4163
+ },
4164
+ "ScannedMaterial": {
4165
+ "type": "object",
4166
+ "additionalProperties": false,
4167
+ "properties": {
4168
+ "ExistingMaterial": {
4169
+ "nullable": true,
4170
+ "oneOf": [
4171
+ {
4172
+ "$ref": "#/components/schemas/MaterialDetails"
4173
+ }
4174
+ ]
4175
+ },
4176
+ "PotentialNewMaterial": {
4177
+ "nullable": true,
4178
+ "oneOf": [
4179
+ {
4180
+ "$ref": "#/components/schemas/ScannedPotentialNewMaterial"
4181
+ }
4182
+ ]
4183
+ }
4184
+ }
4185
+ },
4186
+ "MaterialDetails": {
4187
+ "type": "object",
4188
+ "additionalProperties": false,
4189
+ "required": ["MaterialID", "PartName", "MaterialID", "PartName"],
4190
+ "properties": {
4191
+ "MaterialID": {
4192
+ "type": "integer",
4193
+ "format": "int64"
4194
+ },
4195
+ "JobUnique": {
4196
+ "type": "string",
4197
+ "nullable": true
4198
+ },
4199
+ "PartName": {
4200
+ "type": "string"
4201
+ },
4202
+ "NumProcesses": {
4203
+ "type": "integer",
4204
+ "format": "int32"
4205
+ },
4206
+ "Workorder": {
4207
+ "type": "string",
4208
+ "nullable": true
4209
+ },
4210
+ "Serial": {
4211
+ "type": "string",
4212
+ "nullable": true
4213
+ },
4214
+ "Paths": {
4215
+ "type": "object",
4216
+ "nullable": true,
4217
+ "additionalProperties": {
4218
+ "type": "integer",
4219
+ "format": "int32"
4220
+ }
4221
+ }
4222
+ }
4223
+ },
4224
+ "ScannedPotentialNewMaterial": {
4225
+ "type": "object",
4226
+ "additionalProperties": false,
4227
+ "properties": {
4228
+ "PossibleCastingsByQueue": {
4229
+ "type": "object",
4230
+ "nullable": true,
4231
+ "additionalProperties": {
4232
+ "type": "array",
4233
+ "items": {
4234
+ "type": "string"
4235
+ }
4236
+ }
4237
+ },
4238
+ "PossibleJobsByQueue": {
4239
+ "type": "object",
4240
+ "nullable": true,
4241
+ "additionalProperties": {
4242
+ "type": "array",
4243
+ "items": {
4244
+ "$ref": "#/components/schemas/PossibleJobAndProcess"
4245
+ }
4246
+ }
4247
+ },
4248
+ "Workorder": {
4249
+ "type": "string",
4250
+ "nullable": true
4251
+ },
4252
+ "Serial": {
4253
+ "type": "string",
4254
+ "nullable": true
4255
+ }
4256
+ }
4257
+ },
4258
+ "PossibleJobAndProcess": {
4259
+ "type": "object",
4260
+ "additionalProperties": false,
4261
+ "required": ["JobUnique", "LastCompletedProcess", "JobUnique", "LastCompletedProcess"],
4262
+ "properties": {
4263
+ "JobUnique": {
4264
+ "type": "string"
4265
+ },
4266
+ "LastCompletedProcess": {
4267
+ "type": "integer",
4268
+ "format": "int32"
4269
+ },
4270
+ "Workorder": {
4271
+ "type": "string",
4272
+ "nullable": true
4273
+ }
4274
+ }
4275
+ },
4276
+ "HistoricData": {
4277
+ "type": "object",
4278
+ "additionalProperties": false,
4279
+ "required": ["Jobs", "StationUse", "Jobs", "StationUse"],
4280
+ "properties": {
4281
+ "Jobs": {
4282
+ "type": "object",
4283
+ "additionalProperties": {
4284
+ "$ref": "#/components/schemas/HistoricJob"
4285
+ }
4286
+ },
4287
+ "StationUse": {
4288
+ "type": "array",
4289
+ "items": {
4290
+ "$ref": "#/components/schemas/SimulatedStationUtilization"
4291
+ }
4292
+ }
4293
+ }
4294
+ },
4295
+ "RecentHistoricData": {
4296
+ "allOf": [
4297
+ {
4298
+ "$ref": "#/components/schemas/HistoricData"
4299
+ },
4300
+ {
4301
+ "type": "object",
4302
+ "additionalProperties": false,
4303
+ "properties": {
4304
+ "MostRecentSimulationId": {
4305
+ "type": "string",
4306
+ "nullable": true
4307
+ },
4308
+ "MostRecentSimDayUsage": {
4309
+ "type": "array",
4310
+ "nullable": true,
4311
+ "items": {
4312
+ "$ref": "#/components/schemas/SimulatedDayUsage"
4313
+ }
4314
+ }
4315
+ }
4316
+ }
4317
+ ]
4318
+ },
4319
+ "MostRecentSchedule": {
4320
+ "type": "object",
4321
+ "additionalProperties": false,
4322
+ "required": [
4323
+ "LatestScheduleId",
4324
+ "Jobs",
4325
+ "ExtraParts",
4326
+ "LatestScheduleId",
4327
+ "Jobs",
4328
+ "ExtraParts"
4329
+ ],
4330
+ "properties": {
4331
+ "LatestScheduleId": {
4332
+ "type": "string"
4333
+ },
4334
+ "Jobs": {
4335
+ "type": "array",
4336
+ "items": {
4337
+ "$ref": "#/components/schemas/HistoricJob"
4338
+ }
4339
+ },
4340
+ "ExtraParts": {
4341
+ "type": "object",
4342
+ "additionalProperties": {
4343
+ "type": "integer",
4344
+ "format": "int32"
4345
+ }
4346
+ },
4347
+ "RecentArtifactRuns": {
4348
+ "type": "array",
4349
+ "nullable": true,
4350
+ "items": {
4351
+ "$ref": "#/components/schemas/ScheduledArtifactRun"
4352
+ }
4353
+ },
4354
+ "UnscheduledRebookings": {
4355
+ "type": "array",
4356
+ "nullable": true,
4357
+ "items": {
4358
+ "$ref": "#/components/schemas/Rebooking"
4359
+ }
4360
+ }
4361
+ }
4362
+ },
4363
+ "ScheduledArtifactRun": {
4364
+ "type": "object",
4365
+ "additionalProperties": false,
4366
+ "required": [
4367
+ "JobUnique",
4368
+ "PartName",
4369
+ "ArtifactRunDate",
4370
+ "JobUnique",
4371
+ "PartName",
4372
+ "ArtifactRunDate"
4373
+ ],
4374
+ "properties": {
4375
+ "JobUnique": {
4376
+ "type": "string"
4377
+ },
4378
+ "PartName": {
4379
+ "type": "string"
4380
+ },
4381
+ "ArtifactRunDate": {
4382
+ "type": "string",
4383
+ "format": "date"
4384
+ }
4385
+ }
4386
+ },
4387
+ "Rebooking": {
4388
+ "type": "object",
4389
+ "additionalProperties": false,
4390
+ "required": [
4391
+ "BookingId",
4392
+ "PartName",
4393
+ "Quantity",
4394
+ "TimeUTC",
4395
+ "BookingId",
4396
+ "PartName",
4397
+ "Quantity",
4398
+ "TimeUTC"
4399
+ ],
4400
+ "properties": {
4401
+ "BookingId": {
4402
+ "type": "string"
4403
+ },
4404
+ "PartName": {
4405
+ "type": "string"
4406
+ },
4407
+ "Quantity": {
4408
+ "type": "integer",
4409
+ "format": "int32"
4410
+ },
4411
+ "TimeUTC": {
4412
+ "type": "string",
4413
+ "format": "date-time"
4414
+ },
4415
+ "Priority": {
4416
+ "type": "integer",
4417
+ "format": "int32",
4418
+ "nullable": true
4419
+ },
4420
+ "Notes": {
4421
+ "type": "string",
4422
+ "nullable": true
4423
+ },
4424
+ "Workorder": {
4425
+ "type": "string",
4426
+ "nullable": true
4427
+ }
4428
+ }
4429
+ },
4430
+ "BasketLoadStationCompletion": {
4431
+ "type": "object",
4432
+ "additionalProperties": false,
4433
+ "required": ["WorkId", "WorkId"],
4434
+ "properties": {
4435
+ "WorkId": {
4436
+ "type": "string"
4437
+ }
4438
+ }
4439
+ },
4440
+ "SimulationResults": {
4441
+ "type": "object",
4442
+ "additionalProperties": false,
4443
+ "required": ["ScheduleId", "Jobs", "SimStations", "ScheduleId", "Jobs", "SimStations"],
4444
+ "properties": {
4445
+ "ScheduleId": {
4446
+ "type": "string"
4447
+ },
4448
+ "Jobs": {
4449
+ "type": "array",
4450
+ "items": {
4451
+ "$ref": "#/components/schemas/Job"
4452
+ }
4453
+ },
4454
+ "NewExtraParts": {
4455
+ "type": "object",
4456
+ "nullable": true,
4457
+ "additionalProperties": {
4458
+ "type": "integer",
4459
+ "format": "int32"
4460
+ }
4461
+ },
4462
+ "SimStations": {
4463
+ "type": "array",
4464
+ "items": {
4465
+ "$ref": "#/components/schemas/SimulatedStationUtilization"
4466
+ }
4467
+ },
4468
+ "SimStationsForExecutionOfCurrentStatus": {
4469
+ "type": "array",
4470
+ "nullable": true,
4471
+ "items": {
4472
+ "$ref": "#/components/schemas/SimulatedStationUtilization"
4473
+ }
4474
+ },
4475
+ "SimDayUsage": {
4476
+ "type": "array",
4477
+ "nullable": true,
4478
+ "items": {
4479
+ "$ref": "#/components/schemas/SimulatedDayUsage"
4480
+ }
4481
+ },
4482
+ "SimWorkordersFilled": {
4483
+ "type": "array",
4484
+ "nullable": true,
4485
+ "items": {
4486
+ "$ref": "#/components/schemas/WorkorderSimFilled"
4487
+ }
4488
+ },
4489
+ "AllocationWarning": {
4490
+ "type": "array",
4491
+ "nullable": true,
4492
+ "items": {
4493
+ "type": "string"
4494
+ }
4495
+ },
4496
+ "DebugMessage": {
4497
+ "type": "string",
4498
+ "format": "byte",
4499
+ "nullable": true
4500
+ }
4501
+ }
4502
+ },
4503
+ "QueuePosition": {
4504
+ "type": "object",
4505
+ "additionalProperties": false,
4506
+ "required": ["Queue", "Position", "Queue", "Position"],
4507
+ "properties": {
4508
+ "Queue": {
4509
+ "type": "string"
4510
+ },
4511
+ "Position": {
4512
+ "type": "integer",
4513
+ "format": "int32"
4514
+ }
4515
+ }
4516
+ },
4517
+ "CancelLoadRequest": {
4518
+ "type": "object",
4519
+ "additionalProperties": false,
4520
+ "required": ["ExpectedLoadCancellationId"],
4521
+ "properties": {
4522
+ "ExpectedLoadCancellationId": {
4523
+ "type": "string",
4524
+ "minLength": 1
4525
+ },
4526
+ "Reason": {
4527
+ "type": "string",
4528
+ "nullable": true
4529
+ }
4530
+ }
4531
+ },
4532
+ "JobAndDecrementQuantity": {
4533
+ "type": "object",
4534
+ "additionalProperties": false,
4535
+ "required": [
4536
+ "DecrementId",
4537
+ "JobUnique",
4538
+ "TimeUTC",
4539
+ "Part",
4540
+ "Quantity",
4541
+ "DecrementId",
4542
+ "JobUnique",
4543
+ "TimeUTC",
4544
+ "Part",
4545
+ "Quantity"
4546
+ ],
4547
+ "properties": {
4548
+ "DecrementId": {
4549
+ "type": "integer",
4550
+ "format": "int64"
4551
+ },
4552
+ "JobUnique": {
4553
+ "type": "string"
4554
+ },
4555
+ "TimeUTC": {
4556
+ "type": "string",
4557
+ "format": "date-time"
4558
+ },
4559
+ "Part": {
4560
+ "type": "string"
4561
+ },
4562
+ "Quantity": {
4563
+ "type": "integer",
4564
+ "format": "int32"
4565
+ }
4566
+ }
4567
+ },
4568
+ "NewInspectionCompleted": {
4569
+ "type": "object",
4570
+ "additionalProperties": false,
4571
+ "required": [
4572
+ "MaterialID",
4573
+ "Process",
4574
+ "InspectionLocationNum",
4575
+ "InspectionType",
4576
+ "Success",
4577
+ "Elapsed",
4578
+ "Active",
4579
+ "MaterialID",
4580
+ "Process",
4581
+ "InspectionLocationNum",
4582
+ "InspectionType",
4583
+ "Success",
4584
+ "Elapsed",
4585
+ "Active"
4586
+ ],
4587
+ "properties": {
4588
+ "MaterialID": {
4589
+ "type": "integer",
4590
+ "format": "int64"
4591
+ },
4592
+ "Process": {
4593
+ "type": "integer",
4594
+ "format": "int32"
4595
+ },
4596
+ "InspectionLocationNum": {
4597
+ "type": "integer",
4598
+ "format": "int32"
4599
+ },
4600
+ "InspectionType": {
4601
+ "type": "string"
4602
+ },
4603
+ "Success": {
4604
+ "type": "boolean"
4605
+ },
4606
+ "ExtraData": {
4607
+ "type": "object",
4608
+ "nullable": true,
4609
+ "additionalProperties": {
4610
+ "type": "string"
4611
+ }
4612
+ },
4613
+ "Elapsed": {
4614
+ "type": "string",
4615
+ "format": "duration"
4616
+ },
4617
+ "Active": {
4618
+ "type": "string",
4619
+ "format": "duration"
4620
+ }
4621
+ }
4622
+ },
4623
+ "NewCloseout": {
4624
+ "type": "object",
4625
+ "additionalProperties": false,
4626
+ "required": [
4627
+ "MaterialID",
4628
+ "Process",
4629
+ "LocationNum",
4630
+ "CloseoutType",
4631
+ "Elapsed",
4632
+ "Active",
4633
+ "MaterialID",
4634
+ "Process",
4635
+ "LocationNum",
4636
+ "CloseoutType",
4637
+ "Elapsed",
4638
+ "Active"
4639
+ ],
4640
+ "properties": {
4641
+ "MaterialID": {
4642
+ "type": "integer",
4643
+ "format": "int64"
4644
+ },
4645
+ "Process": {
4646
+ "type": "integer",
4647
+ "format": "int32"
4648
+ },
4649
+ "LocationNum": {
4650
+ "type": "integer",
4651
+ "format": "int32"
4652
+ },
4653
+ "CloseoutType": {
4654
+ "type": "string"
4655
+ },
4656
+ "ExtraData": {
4657
+ "type": "object",
4658
+ "nullable": true,
4659
+ "additionalProperties": {
4660
+ "type": "string"
4661
+ }
4662
+ },
4663
+ "Elapsed": {
4664
+ "type": "string",
4665
+ "format": "duration"
4666
+ },
4667
+ "Active": {
4668
+ "type": "string",
4669
+ "format": "duration"
4670
+ },
4671
+ "Failed": {
4672
+ "type": "boolean"
4673
+ }
4674
+ }
4675
+ },
4676
+ "ToolInMachine": {
4677
+ "allOf": [
4678
+ {
4679
+ "$ref": "#/components/schemas/ToolSnapshot"
4680
+ },
4681
+ {
4682
+ "type": "object",
4683
+ "additionalProperties": false,
4684
+ "required": ["MachineGroupName", "MachineNum", "MachineGroupName", "MachineNum"],
4685
+ "properties": {
4686
+ "MachineGroupName": {
4687
+ "type": "string"
4688
+ },
4689
+ "MachineNum": {
4690
+ "type": "integer",
4691
+ "format": "int32"
4692
+ }
4693
+ }
4694
+ }
4695
+ ]
4696
+ },
4697
+ "ToolSnapshot": {
4698
+ "type": "object",
4699
+ "additionalProperties": false,
4700
+ "required": ["Pocket", "ToolName", "Pocket", "ToolName"],
4701
+ "properties": {
4702
+ "Pocket": {
4703
+ "type": "integer",
4704
+ "format": "int32"
4705
+ },
4706
+ "ToolName": {
4707
+ "type": "string"
4708
+ },
4709
+ "Serial": {
4710
+ "type": "string",
4711
+ "nullable": true
4712
+ },
4713
+ "CurrentUse": {
4714
+ "type": "string",
4715
+ "format": "duration",
4716
+ "nullable": true
4717
+ },
4718
+ "TotalLifeTime": {
4719
+ "type": "string",
4720
+ "format": "duration",
4721
+ "nullable": true
4722
+ },
4723
+ "CurrentUseCount": {
4724
+ "type": "integer",
4725
+ "format": "int32",
4726
+ "nullable": true
4727
+ },
4728
+ "TotalLifeCount": {
4729
+ "type": "integer",
4730
+ "format": "int32",
4731
+ "nullable": true
4732
+ }
4733
+ }
4734
+ },
4735
+ "ProgramInCellController": {
4736
+ "type": "object",
4737
+ "additionalProperties": false,
4738
+ "required": [
4739
+ "CellControllerProgramName",
4740
+ "ProgramName",
4741
+ "CellControllerProgramName",
4742
+ "ProgramName"
4743
+ ],
4744
+ "properties": {
4745
+ "CellControllerProgramName": {
4746
+ "type": "string"
4747
+ },
4748
+ "ProgramName": {
4749
+ "type": "string"
4750
+ },
4751
+ "Revision": {
4752
+ "type": "integer",
4753
+ "format": "int64",
4754
+ "nullable": true
4755
+ },
4756
+ "Comment": {
4757
+ "type": "string",
4758
+ "nullable": true
4759
+ }
4760
+ }
4761
+ },
4762
+ "ProgramRevision": {
4763
+ "type": "object",
4764
+ "additionalProperties": false,
4765
+ "required": ["ProgramName", "Revision", "ProgramName", "Revision"],
4766
+ "properties": {
4767
+ "ProgramName": {
4768
+ "type": "string"
4769
+ },
4770
+ "Revision": {
4771
+ "type": "integer",
4772
+ "format": "int64"
4773
+ },
4774
+ "Comment": {
4775
+ "type": "string",
4776
+ "nullable": true
4777
+ },
4778
+ "CellControllerProgramName": {
4779
+ "type": "string",
4780
+ "nullable": true
4781
+ }
4782
+ }
4783
+ }
4784
+ }
4785
+ }
4786
+ }