@opencraw/driver 0.7.9 → 0.7.11

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 (35) hide show
  1. package/README.md +1 -77
  2. package/package.json +4 -45
  3. package/dist/index.esm.js +0 -655
  4. package/dist/main.esm.js +0 -563
  5. package/dist/src/callout-bridge/client-hooks.client.d.ts +0 -47
  6. package/dist/src/callout-bridge/index.d.ts +0 -3
  7. package/dist/src/index.d.ts +0 -16
  8. package/dist/src/main.d.ts +0 -3
  9. package/dist/src/protocol/driver-json-schema.mapper.d.ts +0 -9
  10. package/dist/src/protocol/driver-message.contract.d.ts +0 -492
  11. package/dist/src/protocol/index.d.ts +0 -4
  12. package/dist/src/record-files/diff-record-files.use-case.d.ts +0 -10
  13. package/dist/src/record-files/export-record-files.use-case.d.ts +0 -11
  14. package/dist/src/record-files/index.d.ts +0 -3
  15. package/dist/src/runtime-manifest/index.d.ts +0 -4
  16. package/dist/src/runtime-manifest/runtime-manifest-json-schema.mapper.d.ts +0 -8
  17. package/dist/src/runtime-manifest/runtime-manifest.contract.d.ts +0 -28
  18. package/dist/src/server/index.d.ts +0 -3
  19. package/dist/src/server/serve-driver.use-case.d.ts +0 -17
  20. package/dist/src/session/index.d.ts +0 -5
  21. package/dist/src/session/recipe-loading.use-case.d.ts +0 -23
  22. package/dist/src/session/run-session.use-case.d.ts +0 -35
  23. package/dist/src/session/streaming-sink.repository.d.ts +0 -8
  24. package/dist/src/site-access/index.d.ts +0 -3
  25. package/dist/src/site-access/resolve-site-access.use-case.d.ts +0 -26
  26. package/dist/src/site-probe/index.d.ts +0 -2
  27. package/dist/src/site-probe/probe-site.use-case.d.ts +0 -13
  28. package/dist/src/transport/index.d.ts +0 -5
  29. package/dist/src/transport/json-rpc.contract.d.ts +0 -31
  30. package/dist/src/transport/line-channel.client.d.ts +0 -27
  31. package/dist/src/work-bridge/client-work-source.client.d.ts +0 -17
  32. package/dist/src/work-bridge/index.d.ts +0 -2
  33. package/schemas/driver-protocol.schema.json +0 -1104
  34. package/schemas/driver-runtime.fixture.json +0 -9
  35. package/schemas/driver-runtime.schema.json +0 -63
@@ -1,1104 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://opencraw/schemas/driver-protocol.schema.json",
4
- "title": "OpenCraw driver protocol",
5
- "description": "JSON-RPC 2.0 over stdio, one message per line. Methods with a result are requests; the rest are notifications.",
6
- "protocolVersion": "1.2.0",
7
- "methods": {
8
- "initialize": {
9
- "direction": "client-to-driver",
10
- "params": {
11
- "$ref": "#/$defs/initialize.params"
12
- },
13
- "result": {
14
- "$ref": "#/$defs/initialize.result"
15
- }
16
- },
17
- "validate": {
18
- "direction": "client-to-driver",
19
- "params": {
20
- "$ref": "#/$defs/validate.params"
21
- },
22
- "result": {
23
- "$ref": "#/$defs/validate.result"
24
- }
25
- },
26
- "run": {
27
- "direction": "client-to-driver",
28
- "params": {
29
- "$ref": "#/$defs/run.params"
30
- },
31
- "result": {
32
- "$ref": "#/$defs/run.result"
33
- }
34
- },
35
- "work": {
36
- "direction": "client-to-driver",
37
- "params": {
38
- "$ref": "#/$defs/work.params"
39
- },
40
- "result": {
41
- "$ref": "#/$defs/work.result"
42
- }
43
- },
44
- "cancel": {
45
- "direction": "client-to-driver",
46
- "params": {
47
- "$ref": "#/$defs/cancel.params"
48
- },
49
- "result": {
50
- "$ref": "#/$defs/cancel.result"
51
- }
52
- },
53
- "probe": {
54
- "direction": "client-to-driver",
55
- "params": {
56
- "$ref": "#/$defs/probe.params"
57
- },
58
- "result": {
59
- "$ref": "#/$defs/probe.result"
60
- }
61
- },
62
- "diff": {
63
- "direction": "client-to-driver",
64
- "params": {
65
- "$ref": "#/$defs/diff.params"
66
- },
67
- "result": {
68
- "$ref": "#/$defs/diff.result"
69
- }
70
- },
71
- "export": {
72
- "direction": "client-to-driver",
73
- "params": {
74
- "$ref": "#/$defs/export.params"
75
- },
76
- "result": {
77
- "$ref": "#/$defs/export.result"
78
- }
79
- },
80
- "shutdown": {
81
- "direction": "client-to-driver",
82
- "result": {
83
- "$ref": "#/$defs/shutdown.result"
84
- }
85
- },
86
- "callout": {
87
- "direction": "driver-to-client",
88
- "params": {
89
- "$ref": "#/$defs/callout.params"
90
- },
91
- "result": {
92
- "$ref": "#/$defs/callout.result"
93
- }
94
- },
95
- "work.next": {
96
- "direction": "driver-to-client",
97
- "params": {
98
- "$ref": "#/$defs/work.next.params"
99
- },
100
- "result": {
101
- "$ref": "#/$defs/work.next.result"
102
- }
103
- },
104
- "work.done": {
105
- "direction": "driver-to-client",
106
- "params": {
107
- "$ref": "#/$defs/work.done.params"
108
- }
109
- },
110
- "work.failed": {
111
- "direction": "driver-to-client",
112
- "params": {
113
- "$ref": "#/$defs/work.failed.params"
114
- }
115
- },
116
- "event": {
117
- "direction": "driver-to-client",
118
- "params": {
119
- "$ref": "#/$defs/event.params"
120
- }
121
- },
122
- "record": {
123
- "direction": "driver-to-client",
124
- "params": {
125
- "$ref": "#/$defs/record.params"
126
- }
127
- },
128
- "finished": {
129
- "direction": "driver-to-client",
130
- "params": {
131
- "$ref": "#/$defs/finished.params"
132
- }
133
- }
134
- },
135
- "$defs": {
136
- "initialize.params": {
137
- "$schema": "https://json-schema.org/draft/2020-12/schema",
138
- "type": "object",
139
- "properties": {
140
- "clientName": {
141
- "type": "string",
142
- "minLength": 1
143
- },
144
- "clientVersion": {
145
- "type": "string",
146
- "minLength": 1
147
- },
148
- "protocolVersion": {
149
- "type": "string",
150
- "pattern": "^\\d+\\.\\d+\\.\\d+$"
151
- }
152
- },
153
- "required": [
154
- "clientName",
155
- "clientVersion",
156
- "protocolVersion"
157
- ],
158
- "additionalProperties": false
159
- },
160
- "initialize.result": {
161
- "$schema": "https://json-schema.org/draft/2020-12/schema",
162
- "type": "object",
163
- "properties": {
164
- "driverVersion": {
165
- "type": "string"
166
- },
167
- "protocolVersion": {
168
- "type": "string"
169
- },
170
- "methods": {
171
- "type": "array",
172
- "items": {
173
- "type": "string"
174
- }
175
- }
176
- },
177
- "required": [
178
- "driverVersion",
179
- "protocolVersion",
180
- "methods"
181
- ],
182
- "additionalProperties": false
183
- },
184
- "validate.params": {
185
- "$schema": "https://json-schema.org/draft/2020-12/schema",
186
- "type": "object",
187
- "properties": {
188
- "paths": {
189
- "minItems": 1,
190
- "type": "array",
191
- "items": {
192
- "type": "string"
193
- }
194
- },
195
- "recipes": {
196
- "minItems": 1,
197
- "type": "array",
198
- "items": {
199
- "type": "object",
200
- "propertyNames": {
201
- "type": "string"
202
- },
203
- "additionalProperties": {}
204
- }
205
- },
206
- "only": {
207
- "type": "array",
208
- "items": {
209
- "type": "string"
210
- }
211
- }
212
- },
213
- "additionalProperties": false
214
- },
215
- "validate.result": {
216
- "$schema": "https://json-schema.org/draft/2020-12/schema",
217
- "type": "object",
218
- "properties": {
219
- "ok": {
220
- "type": "boolean"
221
- },
222
- "inputs": {
223
- "type": "array",
224
- "items": {
225
- "type": "string"
226
- }
227
- },
228
- "hooks": {
229
- "type": "array",
230
- "items": {
231
- "type": "string"
232
- }
233
- },
234
- "issues": {
235
- "type": "array",
236
- "items": {
237
- "type": "object",
238
- "properties": {
239
- "source": {
240
- "type": "string"
241
- },
242
- "recipeId": {
243
- "type": "string"
244
- },
245
- "path": {
246
- "type": "string"
247
- },
248
- "message": {
249
- "type": "string"
250
- }
251
- },
252
- "required": [
253
- "path",
254
- "message"
255
- ],
256
- "additionalProperties": false
257
- }
258
- }
259
- },
260
- "required": [
261
- "ok",
262
- "inputs",
263
- "hooks",
264
- "issues"
265
- ],
266
- "additionalProperties": false
267
- },
268
- "run.params": {
269
- "$schema": "https://json-schema.org/draft/2020-12/schema",
270
- "type": "object",
271
- "properties": {
272
- "paths": {
273
- "minItems": 1,
274
- "type": "array",
275
- "items": {
276
- "type": "string"
277
- }
278
- },
279
- "recipes": {
280
- "minItems": 1,
281
- "type": "array",
282
- "items": {
283
- "type": "object",
284
- "propertyNames": {
285
- "type": "string"
286
- },
287
- "additionalProperties": {}
288
- }
289
- },
290
- "only": {
291
- "type": "array",
292
- "items": {
293
- "type": "string"
294
- }
295
- },
296
- "out": {
297
- "type": "string"
298
- },
299
- "append": {
300
- "type": "boolean"
301
- },
302
- "resume": {
303
- "type": "boolean"
304
- },
305
- "dryRun": {
306
- "type": "boolean"
307
- },
308
- "parallel": {
309
- "type": "integer",
310
- "minimum": 1,
311
- "maximum": 16
312
- },
313
- "browser": {
314
- "type": "object",
315
- "properties": {
316
- "headless": {
317
- "type": "boolean"
318
- },
319
- "executablePath": {
320
- "type": "string"
321
- },
322
- "ignoreHTTPSErrors": {
323
- "type": "boolean"
324
- }
325
- },
326
- "additionalProperties": false
327
- },
328
- "hooks": {
329
- "type": "array",
330
- "items": {
331
- "type": "string"
332
- }
333
- },
334
- "captchaSolvers": {
335
- "type": "array",
336
- "items": {
337
- "type": "string"
338
- }
339
- },
340
- "accessConfig": {
341
- "type": "string"
342
- },
343
- "access": {
344
- "type": "string"
345
- },
346
- "accessPlugins": {
347
- "type": "array",
348
- "items": {
349
- "type": "string"
350
- }
351
- }
352
- },
353
- "additionalProperties": false
354
- },
355
- "run.result": {
356
- "$schema": "https://json-schema.org/draft/2020-12/schema",
357
- "type": "object",
358
- "properties": {
359
- "runId": {
360
- "type": "string"
361
- }
362
- },
363
- "required": [
364
- "runId"
365
- ],
366
- "additionalProperties": false
367
- },
368
- "work.params": {
369
- "$schema": "https://json-schema.org/draft/2020-12/schema",
370
- "type": "object",
371
- "properties": {
372
- "paths": {
373
- "minItems": 1,
374
- "type": "array",
375
- "items": {
376
- "type": "string"
377
- }
378
- },
379
- "recipes": {
380
- "minItems": 1,
381
- "type": "array",
382
- "items": {
383
- "type": "object",
384
- "propertyNames": {
385
- "type": "string"
386
- },
387
- "additionalProperties": {}
388
- }
389
- },
390
- "only": {
391
- "type": "array",
392
- "items": {
393
- "type": "string"
394
- }
395
- },
396
- "out": {
397
- "type": "string"
398
- },
399
- "append": {
400
- "type": "boolean"
401
- },
402
- "browser": {
403
- "type": "object",
404
- "properties": {
405
- "headless": {
406
- "type": "boolean"
407
- },
408
- "executablePath": {
409
- "type": "string"
410
- },
411
- "ignoreHTTPSErrors": {
412
- "type": "boolean"
413
- }
414
- },
415
- "additionalProperties": false
416
- },
417
- "hooks": {
418
- "type": "array",
419
- "items": {
420
- "type": "string"
421
- }
422
- },
423
- "captchaSolvers": {
424
- "type": "array",
425
- "items": {
426
- "type": "string"
427
- }
428
- },
429
- "accessConfig": {
430
- "type": "string"
431
- },
432
- "access": {
433
- "type": "string"
434
- },
435
- "accessPlugins": {
436
- "type": "array",
437
- "items": {
438
- "type": "string"
439
- }
440
- },
441
- "windows": {
442
- "anyOf": [
443
- {
444
- "type": "integer",
445
- "minimum": 1,
446
- "maximum": 64
447
- },
448
- {
449
- "type": "object",
450
- "propertyNames": {
451
- "type": "string"
452
- },
453
- "additionalProperties": {}
454
- }
455
- ]
456
- }
457
- },
458
- "additionalProperties": false
459
- },
460
- "work.result": {
461
- "$schema": "https://json-schema.org/draft/2020-12/schema",
462
- "type": "object",
463
- "properties": {
464
- "runId": {
465
- "type": "string"
466
- }
467
- },
468
- "required": [
469
- "runId"
470
- ],
471
- "additionalProperties": false
472
- },
473
- "cancel.params": {
474
- "$schema": "https://json-schema.org/draft/2020-12/schema",
475
- "type": "object",
476
- "properties": {
477
- "runId": {
478
- "type": "string"
479
- }
480
- },
481
- "required": [
482
- "runId"
483
- ],
484
- "additionalProperties": false
485
- },
486
- "cancel.result": {
487
- "$schema": "https://json-schema.org/draft/2020-12/schema",
488
- "type": "object",
489
- "properties": {
490
- "cancelled": {
491
- "type": "boolean"
492
- }
493
- },
494
- "required": [
495
- "cancelled"
496
- ],
497
- "additionalProperties": false
498
- },
499
- "probe.params": {
500
- "$schema": "https://json-schema.org/draft/2020-12/schema",
501
- "type": "object",
502
- "properties": {
503
- "url": {
504
- "type": "string",
505
- "minLength": 1
506
- },
507
- "browser": {
508
- "type": "boolean"
509
- },
510
- "browserPath": {
511
- "type": "string"
512
- },
513
- "insecureTls": {
514
- "type": "boolean"
515
- },
516
- "userAgent": {
517
- "type": "string"
518
- },
519
- "accessConfig": {
520
- "type": "string"
521
- },
522
- "access": {
523
- "type": "string"
524
- },
525
- "accessPlugins": {
526
- "type": "array",
527
- "items": {
528
- "type": "string"
529
- }
530
- }
531
- },
532
- "required": [
533
- "url"
534
- ],
535
- "additionalProperties": false
536
- },
537
- "probe.result": {
538
- "$schema": "https://json-schema.org/draft/2020-12/schema",
539
- "type": "object",
540
- "propertyNames": {
541
- "type": "string"
542
- },
543
- "additionalProperties": {}
544
- },
545
- "diff.params": {
546
- "$schema": "https://json-schema.org/draft/2020-12/schema",
547
- "type": "object",
548
- "properties": {
549
- "previous": {
550
- "type": "string",
551
- "minLength": 1
552
- },
553
- "current": {
554
- "type": "string",
555
- "minLength": 1
556
- },
557
- "key": {
558
- "type": "array",
559
- "items": {
560
- "type": "string"
561
- }
562
- },
563
- "ignore": {
564
- "type": "array",
565
- "items": {
566
- "type": "string"
567
- }
568
- },
569
- "limit": {
570
- "type": "integer",
571
- "minimum": 0,
572
- "maximum": 9007199254740991
573
- }
574
- },
575
- "required": [
576
- "previous",
577
- "current"
578
- ],
579
- "additionalProperties": false
580
- },
581
- "diff.result": {
582
- "$schema": "https://json-schema.org/draft/2020-12/schema",
583
- "type": "object",
584
- "properties": {
585
- "added": {
586
- "type": "number"
587
- },
588
- "removed": {
589
- "type": "number"
590
- },
591
- "changed": {
592
- "type": "number"
593
- },
594
- "unchanged": {
595
- "type": "number"
596
- },
597
- "shrunk": {
598
- "type": "object",
599
- "properties": {
600
- "previous": {
601
- "type": "number"
602
- },
603
- "current": {
604
- "type": "number"
605
- }
606
- },
607
- "required": [
608
- "previous",
609
- "current"
610
- ],
611
- "additionalProperties": false
612
- },
613
- "summary": {
614
- "type": "array",
615
- "items": {
616
- "type": "string"
617
- }
618
- },
619
- "changes": {
620
- "type": "array",
621
- "items": {
622
- "type": "object",
623
- "propertyNames": {
624
- "type": "string"
625
- },
626
- "additionalProperties": {}
627
- }
628
- },
629
- "truncated": {
630
- "type": "boolean"
631
- }
632
- },
633
- "required": [
634
- "added",
635
- "removed",
636
- "changed",
637
- "unchanged",
638
- "summary",
639
- "changes",
640
- "truncated"
641
- ],
642
- "additionalProperties": false
643
- },
644
- "export.params": {
645
- "$schema": "https://json-schema.org/draft/2020-12/schema",
646
- "type": "object",
647
- "properties": {
648
- "records": {
649
- "type": "string",
650
- "minLength": 1
651
- },
652
- "output": {
653
- "type": "string",
654
- "minLength": 1
655
- },
656
- "out": {
657
- "type": "string",
658
- "minLength": 1
659
- }
660
- },
661
- "required": [
662
- "records",
663
- "output",
664
- "out"
665
- ],
666
- "additionalProperties": false
667
- },
668
- "export.result": {
669
- "$schema": "https://json-schema.org/draft/2020-12/schema",
670
- "type": "object",
671
- "properties": {
672
- "written": {
673
- "type": "number"
674
- },
675
- "location": {
676
- "type": "string"
677
- }
678
- },
679
- "required": [
680
- "written",
681
- "location"
682
- ],
683
- "additionalProperties": false
684
- },
685
- "shutdown.result": {
686
- "$schema": "https://json-schema.org/draft/2020-12/schema",
687
- "type": "object",
688
- "properties": {},
689
- "additionalProperties": false
690
- },
691
- "callout.params": {
692
- "$schema": "https://json-schema.org/draft/2020-12/schema",
693
- "type": "object",
694
- "properties": {
695
- "runId": {
696
- "type": "string"
697
- },
698
- "request": {
699
- "type": "object",
700
- "properties": {
701
- "kind": {
702
- "type": "string",
703
- "enum": [
704
- "hook",
705
- "captcha",
706
- "access"
707
- ]
708
- },
709
- "name": {
710
- "type": "string",
711
- "minLength": 1
712
- },
713
- "input": {},
714
- "args": {
715
- "type": "object",
716
- "propertyNames": {
717
- "type": "string"
718
- },
719
- "additionalProperties": {}
720
- },
721
- "context": {
722
- "type": "object",
723
- "properties": {
724
- "recipeId": {
725
- "type": "string"
726
- },
727
- "scope": {
728
- "type": "object",
729
- "propertyNames": {
730
- "type": "string"
731
- },
732
- "additionalProperties": {}
733
- }
734
- },
735
- "required": [
736
- "recipeId",
737
- "scope"
738
- ],
739
- "additionalProperties": false
740
- },
741
- "idempotencyKey": {
742
- "type": "string"
743
- },
744
- "callback": {
745
- "type": "object",
746
- "properties": {
747
- "url": {
748
- "type": "string",
749
- "format": "uri"
750
- }
751
- },
752
- "required": [
753
- "url"
754
- ],
755
- "additionalProperties": false
756
- }
757
- },
758
- "required": [
759
- "kind",
760
- "name",
761
- "args",
762
- "context",
763
- "idempotencyKey"
764
- ],
765
- "additionalProperties": false
766
- }
767
- },
768
- "required": [
769
- "runId",
770
- "request"
771
- ],
772
- "additionalProperties": false
773
- },
774
- "callout.result": {
775
- "$schema": "https://json-schema.org/draft/2020-12/schema",
776
- "oneOf": [
777
- {
778
- "type": "object",
779
- "properties": {
780
- "status": {
781
- "type": "string",
782
- "const": "ok"
783
- },
784
- "output": {}
785
- },
786
- "required": [
787
- "status"
788
- ],
789
- "additionalProperties": false
790
- },
791
- {
792
- "type": "object",
793
- "properties": {
794
- "status": {
795
- "type": "string",
796
- "const": "error"
797
- },
798
- "error": {
799
- "type": "string"
800
- }
801
- },
802
- "required": [
803
- "status",
804
- "error"
805
- ],
806
- "additionalProperties": false
807
- },
808
- {
809
- "type": "object",
810
- "properties": {
811
- "status": {
812
- "type": "string",
813
- "const": "pending"
814
- },
815
- "retryAfterMs": {
816
- "type": "integer",
817
- "minimum": 0,
818
- "maximum": 9007199254740991
819
- }
820
- },
821
- "required": [
822
- "status"
823
- ],
824
- "additionalProperties": false
825
- }
826
- ]
827
- },
828
- "work.next.params": {
829
- "$schema": "https://json-schema.org/draft/2020-12/schema",
830
- "type": "object",
831
- "properties": {
832
- "runId": {
833
- "type": "string"
834
- }
835
- },
836
- "required": [
837
- "runId"
838
- ],
839
- "additionalProperties": false
840
- },
841
- "work.next.result": {
842
- "$schema": "https://json-schema.org/draft/2020-12/schema",
843
- "type": "object",
844
- "properties": {
845
- "item": {
846
- "anyOf": [
847
- {
848
- "type": "object",
849
- "properties": {
850
- "id": {
851
- "type": "string",
852
- "minLength": 1
853
- },
854
- "vars": {
855
- "type": "object",
856
- "propertyNames": {
857
- "type": "string"
858
- },
859
- "additionalProperties": {
860
- "type": [
861
- "string",
862
- "number",
863
- "boolean"
864
- ]
865
- }
866
- },
867
- "recipe": {
868
- "type": "string"
869
- }
870
- },
871
- "required": [
872
- "id",
873
- "vars"
874
- ],
875
- "additionalProperties": false
876
- },
877
- {
878
- "type": "null"
879
- }
880
- ]
881
- }
882
- },
883
- "required": [
884
- "item"
885
- ],
886
- "additionalProperties": false
887
- },
888
- "work.done.params": {
889
- "$schema": "https://json-schema.org/draft/2020-12/schema",
890
- "type": "object",
891
- "properties": {
892
- "runId": {
893
- "type": "string"
894
- },
895
- "item": {
896
- "type": "object",
897
- "properties": {
898
- "id": {
899
- "type": "string",
900
- "minLength": 1
901
- },
902
- "vars": {
903
- "type": "object",
904
- "propertyNames": {
905
- "type": "string"
906
- },
907
- "additionalProperties": {
908
- "type": [
909
- "string",
910
- "number",
911
- "boolean"
912
- ]
913
- }
914
- },
915
- "recipe": {
916
- "type": "string"
917
- }
918
- },
919
- "required": [
920
- "id",
921
- "vars"
922
- ],
923
- "additionalProperties": false
924
- },
925
- "report": {
926
- "type": "object",
927
- "propertyNames": {
928
- "type": "string"
929
- },
930
- "additionalProperties": {}
931
- },
932
- "records": {
933
- "type": "array",
934
- "items": {
935
- "type": "object",
936
- "properties": {
937
- "key": {
938
- "type": [
939
- "string",
940
- "null"
941
- ]
942
- },
943
- "data": {
944
- "type": "object",
945
- "propertyNames": {
946
- "type": "string"
947
- },
948
- "additionalProperties": {}
949
- }
950
- },
951
- "required": [
952
- "key",
953
- "data"
954
- ],
955
- "additionalProperties": false
956
- }
957
- }
958
- },
959
- "required": [
960
- "runId",
961
- "item",
962
- "report",
963
- "records"
964
- ],
965
- "additionalProperties": false
966
- },
967
- "work.failed.params": {
968
- "$schema": "https://json-schema.org/draft/2020-12/schema",
969
- "type": "object",
970
- "properties": {
971
- "runId": {
972
- "type": "string"
973
- },
974
- "item": {
975
- "type": "object",
976
- "properties": {
977
- "id": {
978
- "type": "string",
979
- "minLength": 1
980
- },
981
- "vars": {
982
- "type": "object",
983
- "propertyNames": {
984
- "type": "string"
985
- },
986
- "additionalProperties": {
987
- "type": [
988
- "string",
989
- "number",
990
- "boolean"
991
- ]
992
- }
993
- },
994
- "recipe": {
995
- "type": "string"
996
- }
997
- },
998
- "required": [
999
- "id",
1000
- "vars"
1001
- ],
1002
- "additionalProperties": false
1003
- },
1004
- "report": {
1005
- "type": "object",
1006
- "propertyNames": {
1007
- "type": "string"
1008
- },
1009
- "additionalProperties": {}
1010
- },
1011
- "outcome": {
1012
- "type": "string",
1013
- "enum": [
1014
- "failure",
1015
- "neutral"
1016
- ]
1017
- }
1018
- },
1019
- "required": [
1020
- "runId",
1021
- "item",
1022
- "report",
1023
- "outcome"
1024
- ],
1025
- "additionalProperties": false
1026
- },
1027
- "event.params": {
1028
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1029
- "type": "object",
1030
- "properties": {
1031
- "runId": {
1032
- "type": "string"
1033
- },
1034
- "event": {
1035
- "type": "object",
1036
- "propertyNames": {
1037
- "type": "string"
1038
- },
1039
- "additionalProperties": {}
1040
- }
1041
- },
1042
- "required": [
1043
- "runId",
1044
- "event"
1045
- ],
1046
- "additionalProperties": false
1047
- },
1048
- "record.params": {
1049
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1050
- "type": "object",
1051
- "properties": {
1052
- "runId": {
1053
- "type": "string"
1054
- },
1055
- "recipeId": {
1056
- "type": "string"
1057
- },
1058
- "key": {
1059
- "type": [
1060
- "string",
1061
- "null"
1062
- ]
1063
- },
1064
- "data": {
1065
- "type": "object",
1066
- "propertyNames": {
1067
- "type": "string"
1068
- },
1069
- "additionalProperties": {}
1070
- }
1071
- },
1072
- "required": [
1073
- "runId",
1074
- "recipeId",
1075
- "key",
1076
- "data"
1077
- ],
1078
- "additionalProperties": false
1079
- },
1080
- "finished.params": {
1081
- "$schema": "https://json-schema.org/draft/2020-12/schema",
1082
- "type": "object",
1083
- "properties": {
1084
- "runId": {
1085
- "type": "string"
1086
- },
1087
- "report": {
1088
- "type": "object",
1089
- "propertyNames": {
1090
- "type": "string"
1091
- },
1092
- "additionalProperties": {}
1093
- },
1094
- "error": {
1095
- "type": "string"
1096
- }
1097
- },
1098
- "required": [
1099
- "runId"
1100
- ],
1101
- "additionalProperties": false
1102
- }
1103
- }
1104
- }