@oneshot-agent/mcp-server 0.39.1 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -2
- package/dist/index.js +1 -1
- package/dist/tools/annotations.js +5 -0
- package/dist/tools/enrichment.js +5 -0
- package/dist/tools/index.js +8 -0
- package/dist/tools/lookup-manifest.generated.js +285 -42
- package/dist/tools/physical-mail.d.ts +34 -0
- package/dist/tools/physical-mail.js +105 -0
- package/dist/tools/solve-schema.generated.d.ts +694 -0
- package/dist/tools/solve-schema.generated.js +814 -0
- package/dist/tools/solve.d.ts +4 -0
- package/dist/tools/solve.js +9 -0
- package/package.json +3 -3
|
@@ -0,0 +1,694 @@
|
|
|
1
|
+
export declare const solveInputSchema: {
|
|
2
|
+
readonly type: "object";
|
|
3
|
+
readonly properties: {
|
|
4
|
+
readonly problem: {
|
|
5
|
+
readonly type: "string";
|
|
6
|
+
readonly enum: readonly ["routing", "allocation", "packing", "schedule"];
|
|
7
|
+
};
|
|
8
|
+
readonly time_limit_s: {
|
|
9
|
+
readonly type: "integer";
|
|
10
|
+
readonly minimum: 1;
|
|
11
|
+
readonly maximum: 300;
|
|
12
|
+
readonly default: 30;
|
|
13
|
+
};
|
|
14
|
+
readonly routing: {
|
|
15
|
+
readonly type: "object";
|
|
16
|
+
readonly properties: {
|
|
17
|
+
readonly distance_unit: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly minLength: 1;
|
|
20
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
21
|
+
readonly default: "km";
|
|
22
|
+
};
|
|
23
|
+
readonly time_unit: {
|
|
24
|
+
readonly type: "string";
|
|
25
|
+
readonly minLength: 1;
|
|
26
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
27
|
+
readonly default: "min";
|
|
28
|
+
};
|
|
29
|
+
readonly speed: {
|
|
30
|
+
readonly type: "number";
|
|
31
|
+
readonly minimum: 1e-9;
|
|
32
|
+
readonly maximum: 1000000000000;
|
|
33
|
+
readonly default: 40;
|
|
34
|
+
};
|
|
35
|
+
readonly objective: {
|
|
36
|
+
readonly type: "string";
|
|
37
|
+
readonly enum: readonly ["distance", "time", "vehicles"];
|
|
38
|
+
};
|
|
39
|
+
readonly vehicles: {
|
|
40
|
+
readonly type: "array";
|
|
41
|
+
readonly items: {
|
|
42
|
+
readonly type: "object";
|
|
43
|
+
readonly properties: {
|
|
44
|
+
readonly id: {
|
|
45
|
+
readonly type: "string";
|
|
46
|
+
readonly minLength: 1;
|
|
47
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
48
|
+
};
|
|
49
|
+
readonly capacity: {
|
|
50
|
+
readonly type: "number";
|
|
51
|
+
readonly minimum: 0;
|
|
52
|
+
readonly maximum: 1000000000000;
|
|
53
|
+
};
|
|
54
|
+
readonly start: {
|
|
55
|
+
readonly anyOf: readonly [{
|
|
56
|
+
readonly type: "object";
|
|
57
|
+
readonly properties: {
|
|
58
|
+
readonly id: {
|
|
59
|
+
readonly type: "string";
|
|
60
|
+
readonly minLength: 1;
|
|
61
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
readonly required: readonly ["id"];
|
|
65
|
+
readonly additionalProperties: false;
|
|
66
|
+
}, {
|
|
67
|
+
readonly type: "object";
|
|
68
|
+
readonly properties: {
|
|
69
|
+
readonly lat: {
|
|
70
|
+
readonly type: "number";
|
|
71
|
+
readonly minimum: -90;
|
|
72
|
+
readonly maximum: 90;
|
|
73
|
+
};
|
|
74
|
+
readonly lng: {
|
|
75
|
+
readonly type: "number";
|
|
76
|
+
readonly minimum: -180;
|
|
77
|
+
readonly maximum: 180;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
readonly required: readonly ["lat", "lng"];
|
|
81
|
+
readonly additionalProperties: false;
|
|
82
|
+
}];
|
|
83
|
+
};
|
|
84
|
+
readonly end: {
|
|
85
|
+
readonly anyOf: readonly [{
|
|
86
|
+
readonly type: "object";
|
|
87
|
+
readonly properties: {
|
|
88
|
+
readonly id: {
|
|
89
|
+
readonly type: "string";
|
|
90
|
+
readonly minLength: 1;
|
|
91
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
readonly required: readonly ["id"];
|
|
95
|
+
readonly additionalProperties: false;
|
|
96
|
+
}, {
|
|
97
|
+
readonly type: "object";
|
|
98
|
+
readonly properties: {
|
|
99
|
+
readonly lat: {
|
|
100
|
+
readonly type: "number";
|
|
101
|
+
readonly minimum: -90;
|
|
102
|
+
readonly maximum: 90;
|
|
103
|
+
};
|
|
104
|
+
readonly lng: {
|
|
105
|
+
readonly type: "number";
|
|
106
|
+
readonly minimum: -180;
|
|
107
|
+
readonly maximum: 180;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
readonly required: readonly ["lat", "lng"];
|
|
111
|
+
readonly additionalProperties: false;
|
|
112
|
+
}];
|
|
113
|
+
};
|
|
114
|
+
readonly shift: {
|
|
115
|
+
readonly type: "object";
|
|
116
|
+
readonly properties: {
|
|
117
|
+
readonly start: {
|
|
118
|
+
readonly type: "integer";
|
|
119
|
+
readonly minimum: 0;
|
|
120
|
+
readonly maximum: 1000000000000;
|
|
121
|
+
};
|
|
122
|
+
readonly end: {
|
|
123
|
+
readonly type: "integer";
|
|
124
|
+
readonly minimum: 0;
|
|
125
|
+
readonly maximum: 1000000000000;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
readonly required: readonly ["start", "end"];
|
|
129
|
+
readonly additionalProperties: false;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
readonly required: readonly ["id", "capacity", "start"];
|
|
133
|
+
readonly additionalProperties: false;
|
|
134
|
+
};
|
|
135
|
+
readonly minItems: 1;
|
|
136
|
+
};
|
|
137
|
+
readonly stops: {
|
|
138
|
+
readonly type: "array";
|
|
139
|
+
readonly items: {
|
|
140
|
+
readonly type: "object";
|
|
141
|
+
readonly properties: {
|
|
142
|
+
readonly id: {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly minLength: 1;
|
|
145
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
146
|
+
};
|
|
147
|
+
readonly location: {
|
|
148
|
+
readonly anyOf: readonly [{
|
|
149
|
+
readonly type: "object";
|
|
150
|
+
readonly properties: {
|
|
151
|
+
readonly id: {
|
|
152
|
+
readonly type: "string";
|
|
153
|
+
readonly minLength: 1;
|
|
154
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
readonly required: readonly ["id"];
|
|
158
|
+
readonly additionalProperties: false;
|
|
159
|
+
}, {
|
|
160
|
+
readonly type: "object";
|
|
161
|
+
readonly properties: {
|
|
162
|
+
readonly lat: {
|
|
163
|
+
readonly type: "number";
|
|
164
|
+
readonly minimum: -90;
|
|
165
|
+
readonly maximum: 90;
|
|
166
|
+
};
|
|
167
|
+
readonly lng: {
|
|
168
|
+
readonly type: "number";
|
|
169
|
+
readonly minimum: -180;
|
|
170
|
+
readonly maximum: 180;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
readonly required: readonly ["lat", "lng"];
|
|
174
|
+
readonly additionalProperties: false;
|
|
175
|
+
}];
|
|
176
|
+
};
|
|
177
|
+
readonly demand: {
|
|
178
|
+
readonly type: "number";
|
|
179
|
+
readonly minimum: 0;
|
|
180
|
+
readonly maximum: 1000000000000;
|
|
181
|
+
readonly default: 0;
|
|
182
|
+
};
|
|
183
|
+
readonly window: {
|
|
184
|
+
readonly type: "object";
|
|
185
|
+
readonly properties: {
|
|
186
|
+
readonly start: {
|
|
187
|
+
readonly type: "integer";
|
|
188
|
+
readonly minimum: 0;
|
|
189
|
+
readonly maximum: 1000000000000;
|
|
190
|
+
};
|
|
191
|
+
readonly end: {
|
|
192
|
+
readonly type: "integer";
|
|
193
|
+
readonly minimum: 0;
|
|
194
|
+
readonly maximum: 1000000000000;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
readonly required: readonly ["start", "end"];
|
|
198
|
+
readonly additionalProperties: false;
|
|
199
|
+
};
|
|
200
|
+
readonly service_time: {
|
|
201
|
+
readonly type: "integer";
|
|
202
|
+
readonly minimum: 0;
|
|
203
|
+
readonly maximum: 1000000000000;
|
|
204
|
+
readonly default: 0;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
readonly required: readonly ["id", "location"];
|
|
208
|
+
readonly additionalProperties: false;
|
|
209
|
+
};
|
|
210
|
+
readonly minItems: 1;
|
|
211
|
+
readonly maxItems: 500;
|
|
212
|
+
};
|
|
213
|
+
readonly matrix: {
|
|
214
|
+
readonly type: "object";
|
|
215
|
+
readonly properties: {
|
|
216
|
+
readonly ids: {
|
|
217
|
+
readonly type: "array";
|
|
218
|
+
readonly items: {
|
|
219
|
+
readonly type: "string";
|
|
220
|
+
readonly minLength: 1;
|
|
221
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
222
|
+
};
|
|
223
|
+
readonly minItems: 1;
|
|
224
|
+
};
|
|
225
|
+
readonly distance: {
|
|
226
|
+
readonly type: "array";
|
|
227
|
+
readonly items: {
|
|
228
|
+
readonly type: "array";
|
|
229
|
+
readonly items: {
|
|
230
|
+
readonly type: "number";
|
|
231
|
+
readonly minimum: 0;
|
|
232
|
+
readonly maximum: 1000000000000;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
readonly time: {
|
|
237
|
+
readonly type: "array";
|
|
238
|
+
readonly items: {
|
|
239
|
+
readonly type: "array";
|
|
240
|
+
readonly items: {
|
|
241
|
+
readonly type: "integer";
|
|
242
|
+
readonly minimum: 0;
|
|
243
|
+
readonly maximum: 1000000000000;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
readonly required: readonly ["ids"];
|
|
249
|
+
readonly additionalProperties: false;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
readonly required: readonly ["objective", "vehicles", "stops"];
|
|
253
|
+
readonly additionalProperties: false;
|
|
254
|
+
};
|
|
255
|
+
readonly allocation: {
|
|
256
|
+
readonly type: "object";
|
|
257
|
+
readonly properties: {
|
|
258
|
+
readonly objective: {
|
|
259
|
+
readonly type: "string";
|
|
260
|
+
readonly enum: readonly ["minimise_cost", "maximise_value"];
|
|
261
|
+
};
|
|
262
|
+
readonly split: {
|
|
263
|
+
readonly type: "boolean";
|
|
264
|
+
readonly default: false;
|
|
265
|
+
};
|
|
266
|
+
readonly max_total_cost: {
|
|
267
|
+
readonly type: "number";
|
|
268
|
+
readonly minimum: 0;
|
|
269
|
+
readonly maximum: 1000000000000;
|
|
270
|
+
};
|
|
271
|
+
readonly items: {
|
|
272
|
+
readonly type: "array";
|
|
273
|
+
readonly items: {
|
|
274
|
+
readonly type: "object";
|
|
275
|
+
readonly properties: {
|
|
276
|
+
readonly id: {
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
readonly minLength: 1;
|
|
279
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
280
|
+
};
|
|
281
|
+
readonly quantity: {
|
|
282
|
+
readonly type: "number";
|
|
283
|
+
readonly exclusiveMinimum: 0;
|
|
284
|
+
readonly maximum: 1000000000000;
|
|
285
|
+
readonly default: 1;
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
readonly required: readonly ["id"];
|
|
289
|
+
readonly additionalProperties: false;
|
|
290
|
+
};
|
|
291
|
+
readonly minItems: 1;
|
|
292
|
+
};
|
|
293
|
+
readonly options: {
|
|
294
|
+
readonly type: "array";
|
|
295
|
+
readonly items: {
|
|
296
|
+
readonly type: "object";
|
|
297
|
+
readonly properties: {
|
|
298
|
+
readonly id: {
|
|
299
|
+
readonly type: "string";
|
|
300
|
+
readonly minLength: 1;
|
|
301
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
302
|
+
};
|
|
303
|
+
readonly capacity: {
|
|
304
|
+
readonly type: "number";
|
|
305
|
+
readonly minimum: 0;
|
|
306
|
+
readonly maximum: 1000000000000;
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
readonly required: readonly ["id"];
|
|
310
|
+
readonly additionalProperties: false;
|
|
311
|
+
};
|
|
312
|
+
readonly minItems: 1;
|
|
313
|
+
};
|
|
314
|
+
readonly pairs: {
|
|
315
|
+
readonly type: "array";
|
|
316
|
+
readonly items: {
|
|
317
|
+
readonly type: "object";
|
|
318
|
+
readonly properties: {
|
|
319
|
+
readonly item: {
|
|
320
|
+
readonly type: "string";
|
|
321
|
+
readonly minLength: 1;
|
|
322
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
323
|
+
};
|
|
324
|
+
readonly option: {
|
|
325
|
+
readonly type: "string";
|
|
326
|
+
readonly minLength: 1;
|
|
327
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
328
|
+
};
|
|
329
|
+
readonly cost: {
|
|
330
|
+
readonly type: "number";
|
|
331
|
+
readonly minimum: 0;
|
|
332
|
+
readonly maximum: 1000000000000;
|
|
333
|
+
};
|
|
334
|
+
readonly value: {
|
|
335
|
+
readonly type: "number";
|
|
336
|
+
readonly minimum: 0;
|
|
337
|
+
readonly maximum: 1000000000000;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
readonly required: readonly ["item", "option", "cost"];
|
|
341
|
+
readonly additionalProperties: false;
|
|
342
|
+
};
|
|
343
|
+
readonly minItems: 1;
|
|
344
|
+
};
|
|
345
|
+
readonly min_share: {
|
|
346
|
+
readonly type: "array";
|
|
347
|
+
readonly items: {
|
|
348
|
+
readonly type: "object";
|
|
349
|
+
readonly properties: {
|
|
350
|
+
readonly option: {
|
|
351
|
+
readonly type: "string";
|
|
352
|
+
readonly minLength: 1;
|
|
353
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
354
|
+
};
|
|
355
|
+
readonly item: {
|
|
356
|
+
readonly type: "string";
|
|
357
|
+
readonly minLength: 1;
|
|
358
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
359
|
+
};
|
|
360
|
+
readonly share: {
|
|
361
|
+
readonly type: "number";
|
|
362
|
+
readonly minimum: 0;
|
|
363
|
+
readonly maximum: 1;
|
|
364
|
+
};
|
|
365
|
+
readonly if_used: {
|
|
366
|
+
readonly type: "boolean";
|
|
367
|
+
readonly default: false;
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
readonly required: readonly ["option", "share"];
|
|
371
|
+
readonly additionalProperties: false;
|
|
372
|
+
};
|
|
373
|
+
readonly default: readonly [];
|
|
374
|
+
};
|
|
375
|
+
readonly max_share: {
|
|
376
|
+
readonly type: "array";
|
|
377
|
+
readonly items: {
|
|
378
|
+
readonly type: "object";
|
|
379
|
+
readonly properties: {
|
|
380
|
+
readonly option: {
|
|
381
|
+
readonly type: "string";
|
|
382
|
+
readonly minLength: 1;
|
|
383
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
384
|
+
};
|
|
385
|
+
readonly item: {
|
|
386
|
+
readonly type: "string";
|
|
387
|
+
readonly minLength: 1;
|
|
388
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
389
|
+
};
|
|
390
|
+
readonly share: {
|
|
391
|
+
readonly type: "number";
|
|
392
|
+
readonly minimum: 0;
|
|
393
|
+
readonly maximum: 1;
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
readonly required: readonly ["option", "share"];
|
|
397
|
+
readonly additionalProperties: false;
|
|
398
|
+
};
|
|
399
|
+
readonly default: readonly [];
|
|
400
|
+
};
|
|
401
|
+
readonly required: {
|
|
402
|
+
readonly type: "array";
|
|
403
|
+
readonly items: {
|
|
404
|
+
readonly type: "object";
|
|
405
|
+
readonly properties: {
|
|
406
|
+
readonly item: {
|
|
407
|
+
readonly type: "string";
|
|
408
|
+
readonly minLength: 1;
|
|
409
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
410
|
+
};
|
|
411
|
+
readonly option: {
|
|
412
|
+
readonly type: "string";
|
|
413
|
+
readonly minLength: 1;
|
|
414
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
415
|
+
};
|
|
416
|
+
};
|
|
417
|
+
readonly required: readonly ["item", "option"];
|
|
418
|
+
readonly additionalProperties: false;
|
|
419
|
+
};
|
|
420
|
+
readonly default: readonly [];
|
|
421
|
+
};
|
|
422
|
+
readonly forbidden: {
|
|
423
|
+
readonly type: "array";
|
|
424
|
+
readonly items: {
|
|
425
|
+
readonly type: "object";
|
|
426
|
+
readonly properties: {
|
|
427
|
+
readonly item: {
|
|
428
|
+
readonly type: "string";
|
|
429
|
+
readonly minLength: 1;
|
|
430
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
431
|
+
};
|
|
432
|
+
readonly option: {
|
|
433
|
+
readonly type: "string";
|
|
434
|
+
readonly minLength: 1;
|
|
435
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
436
|
+
};
|
|
437
|
+
};
|
|
438
|
+
readonly required: readonly ["item", "option"];
|
|
439
|
+
readonly additionalProperties: false;
|
|
440
|
+
};
|
|
441
|
+
readonly default: readonly [];
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
readonly required: readonly ["objective", "items", "options", "pairs"];
|
|
445
|
+
readonly additionalProperties: false;
|
|
446
|
+
};
|
|
447
|
+
readonly packing: {
|
|
448
|
+
readonly type: "object";
|
|
449
|
+
readonly properties: {
|
|
450
|
+
readonly variant: {
|
|
451
|
+
readonly type: "string";
|
|
452
|
+
readonly enum: readonly ["bin", "knapsack"];
|
|
453
|
+
};
|
|
454
|
+
readonly dimensions: {
|
|
455
|
+
readonly type: "array";
|
|
456
|
+
readonly items: {
|
|
457
|
+
readonly type: "string";
|
|
458
|
+
readonly minLength: 1;
|
|
459
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
460
|
+
};
|
|
461
|
+
readonly minItems: 1;
|
|
462
|
+
};
|
|
463
|
+
readonly bins: {
|
|
464
|
+
readonly type: "array";
|
|
465
|
+
readonly items: {
|
|
466
|
+
readonly type: "object";
|
|
467
|
+
readonly properties: {
|
|
468
|
+
readonly id: {
|
|
469
|
+
readonly type: "string";
|
|
470
|
+
readonly minLength: 1;
|
|
471
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
472
|
+
};
|
|
473
|
+
readonly capacity: {
|
|
474
|
+
readonly type: "object";
|
|
475
|
+
readonly additionalProperties: {
|
|
476
|
+
readonly type: "number";
|
|
477
|
+
readonly minimum: 0;
|
|
478
|
+
readonly maximum: 1000000000000;
|
|
479
|
+
};
|
|
480
|
+
};
|
|
481
|
+
readonly quantity: {
|
|
482
|
+
readonly type: "integer";
|
|
483
|
+
readonly minimum: 1;
|
|
484
|
+
readonly maximum: 1000000;
|
|
485
|
+
readonly default: 1;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
readonly required: readonly ["id", "capacity"];
|
|
489
|
+
readonly additionalProperties: false;
|
|
490
|
+
};
|
|
491
|
+
readonly minItems: 1;
|
|
492
|
+
};
|
|
493
|
+
readonly items: {
|
|
494
|
+
readonly type: "array";
|
|
495
|
+
readonly items: {
|
|
496
|
+
readonly type: "object";
|
|
497
|
+
readonly properties: {
|
|
498
|
+
readonly id: {
|
|
499
|
+
readonly type: "string";
|
|
500
|
+
readonly minLength: 1;
|
|
501
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
502
|
+
};
|
|
503
|
+
readonly size: {
|
|
504
|
+
readonly type: "object";
|
|
505
|
+
readonly additionalProperties: {
|
|
506
|
+
readonly type: "number";
|
|
507
|
+
readonly minimum: 0;
|
|
508
|
+
readonly maximum: 1000000000000;
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
readonly value: {
|
|
512
|
+
readonly type: "number";
|
|
513
|
+
readonly minimum: 0;
|
|
514
|
+
readonly maximum: 1000000000000;
|
|
515
|
+
};
|
|
516
|
+
readonly quantity: {
|
|
517
|
+
readonly type: "integer";
|
|
518
|
+
readonly minimum: 1;
|
|
519
|
+
readonly maximum: 1000000;
|
|
520
|
+
readonly default: 1;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
readonly required: readonly ["id", "size"];
|
|
524
|
+
readonly additionalProperties: false;
|
|
525
|
+
};
|
|
526
|
+
readonly minItems: 1;
|
|
527
|
+
};
|
|
528
|
+
readonly incompatible: {
|
|
529
|
+
readonly type: "array";
|
|
530
|
+
readonly items: {
|
|
531
|
+
readonly type: "array";
|
|
532
|
+
readonly minItems: 2;
|
|
533
|
+
readonly maxItems: 2;
|
|
534
|
+
readonly items: readonly [{
|
|
535
|
+
readonly type: "string";
|
|
536
|
+
readonly minLength: 1;
|
|
537
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
538
|
+
}, {
|
|
539
|
+
readonly type: "string";
|
|
540
|
+
readonly minLength: 1;
|
|
541
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
542
|
+
}];
|
|
543
|
+
};
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
readonly required: readonly ["variant", "dimensions", "bins", "items"];
|
|
547
|
+
readonly additionalProperties: false;
|
|
548
|
+
};
|
|
549
|
+
readonly schedule: {
|
|
550
|
+
readonly type: "object";
|
|
551
|
+
readonly properties: {
|
|
552
|
+
readonly time_unit: {
|
|
553
|
+
readonly type: "string";
|
|
554
|
+
readonly minLength: 1;
|
|
555
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
556
|
+
readonly default: "min";
|
|
557
|
+
};
|
|
558
|
+
readonly objective: {
|
|
559
|
+
readonly type: "string";
|
|
560
|
+
readonly enum: readonly ["makespan", "tardiness", "cost"];
|
|
561
|
+
};
|
|
562
|
+
readonly jobs: {
|
|
563
|
+
readonly type: "array";
|
|
564
|
+
readonly items: {
|
|
565
|
+
readonly type: "object";
|
|
566
|
+
readonly properties: {
|
|
567
|
+
readonly id: {
|
|
568
|
+
readonly type: "string";
|
|
569
|
+
readonly minLength: 1;
|
|
570
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
571
|
+
};
|
|
572
|
+
readonly duration: {
|
|
573
|
+
readonly type: "integer";
|
|
574
|
+
readonly minimum: 0;
|
|
575
|
+
readonly maximum: 1000000000000;
|
|
576
|
+
};
|
|
577
|
+
readonly release: {
|
|
578
|
+
readonly type: "integer";
|
|
579
|
+
readonly minimum: 0;
|
|
580
|
+
readonly maximum: 1000000000000;
|
|
581
|
+
readonly default: 0;
|
|
582
|
+
};
|
|
583
|
+
readonly due: {
|
|
584
|
+
readonly type: "integer";
|
|
585
|
+
readonly minimum: 0;
|
|
586
|
+
readonly maximum: 1000000000000;
|
|
587
|
+
};
|
|
588
|
+
readonly needs: {
|
|
589
|
+
readonly type: "object";
|
|
590
|
+
readonly additionalProperties: {
|
|
591
|
+
readonly type: "number";
|
|
592
|
+
readonly minimum: 0;
|
|
593
|
+
readonly maximum: 1000000;
|
|
594
|
+
};
|
|
595
|
+
readonly propertyNames: {
|
|
596
|
+
readonly minLength: 1;
|
|
597
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
598
|
+
};
|
|
599
|
+
};
|
|
600
|
+
readonly weight: {
|
|
601
|
+
readonly type: "number";
|
|
602
|
+
readonly minimum: 0;
|
|
603
|
+
readonly maximum: 1000000;
|
|
604
|
+
readonly default: 1;
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
readonly required: readonly ["id", "duration"];
|
|
608
|
+
readonly additionalProperties: false;
|
|
609
|
+
};
|
|
610
|
+
readonly minItems: 1;
|
|
611
|
+
};
|
|
612
|
+
readonly resources: {
|
|
613
|
+
readonly type: "array";
|
|
614
|
+
readonly items: {
|
|
615
|
+
readonly type: "object";
|
|
616
|
+
readonly properties: {
|
|
617
|
+
readonly id: {
|
|
618
|
+
readonly type: "string";
|
|
619
|
+
readonly minLength: 1;
|
|
620
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
621
|
+
};
|
|
622
|
+
readonly capacity: {
|
|
623
|
+
readonly type: "number";
|
|
624
|
+
readonly minimum: 0;
|
|
625
|
+
readonly maximum: 1000000;
|
|
626
|
+
};
|
|
627
|
+
readonly calendar: {
|
|
628
|
+
readonly type: "array";
|
|
629
|
+
readonly items: {
|
|
630
|
+
readonly type: "object";
|
|
631
|
+
readonly properties: {
|
|
632
|
+
readonly start: {
|
|
633
|
+
readonly type: "integer";
|
|
634
|
+
readonly minimum: 0;
|
|
635
|
+
readonly maximum: 1000000000000;
|
|
636
|
+
};
|
|
637
|
+
readonly end: {
|
|
638
|
+
readonly type: "integer";
|
|
639
|
+
readonly minimum: 0;
|
|
640
|
+
readonly maximum: 1000000000000;
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
readonly required: readonly ["start", "end"];
|
|
644
|
+
readonly additionalProperties: false;
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
readonly cost_per_unit_time: {
|
|
648
|
+
readonly type: "number";
|
|
649
|
+
readonly minimum: 0;
|
|
650
|
+
readonly maximum: 1000000;
|
|
651
|
+
readonly default: 0;
|
|
652
|
+
};
|
|
653
|
+
};
|
|
654
|
+
readonly required: readonly ["id", "capacity"];
|
|
655
|
+
readonly additionalProperties: false;
|
|
656
|
+
};
|
|
657
|
+
readonly minItems: 1;
|
|
658
|
+
};
|
|
659
|
+
readonly precedence: {
|
|
660
|
+
readonly type: "array";
|
|
661
|
+
readonly items: {
|
|
662
|
+
readonly type: "object";
|
|
663
|
+
readonly properties: {
|
|
664
|
+
readonly before: {
|
|
665
|
+
readonly type: "string";
|
|
666
|
+
readonly minLength: 1;
|
|
667
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
668
|
+
};
|
|
669
|
+
readonly after: {
|
|
670
|
+
readonly type: "string";
|
|
671
|
+
readonly minLength: 1;
|
|
672
|
+
readonly pattern: "^(?:[^\\u0000\\uD800-\\uDFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF])*$";
|
|
673
|
+
};
|
|
674
|
+
readonly lag: {
|
|
675
|
+
readonly type: "integer";
|
|
676
|
+
readonly minimum: 0;
|
|
677
|
+
readonly maximum: 1000000000000;
|
|
678
|
+
readonly default: 0;
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
readonly required: readonly ["before", "after"];
|
|
682
|
+
readonly additionalProperties: false;
|
|
683
|
+
};
|
|
684
|
+
readonly default: readonly [];
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
readonly required: readonly ["objective", "jobs", "resources"];
|
|
688
|
+
readonly additionalProperties: false;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
readonly required: readonly ["problem"];
|
|
692
|
+
readonly additionalProperties: false;
|
|
693
|
+
readonly $schema: "http://json-schema.org/draft-07/schema#";
|
|
694
|
+
};
|