@usherlabs/cex-broker 0.2.45 → 0.2.47

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 (67) hide show
  1. package/README.md +1 -1
  2. package/dist/commands/cex-canonical-orderbook-export.d.ts +23 -0
  3. package/dist/commands/cex-canonical-orderbook-export.js +27731 -0
  4. package/dist/commands/cex-canonical-orderbook-export.js.map +247 -0
  5. package/dist/commands/cli.js +16231 -15573
  6. package/dist/commands/market-data-vendor-backfill.d.ts +24 -0
  7. package/dist/commands/market-data-vendor-backfill.js +33316 -0
  8. package/dist/commands/market-data-vendor-backfill.js.map +279 -0
  9. package/dist/handlers/subscribe/handler.d.ts +2 -0
  10. package/dist/helpers/canonical-orderbook-export/exact-selection.d.ts +21 -0
  11. package/dist/helpers/canonical-orderbook-export/exporter.d.ts +26 -0
  12. package/dist/helpers/market-data-archive/capture-contract.d.ts +3 -2
  13. package/dist/helpers/market-data-archive/types.d.ts +8 -4
  14. package/dist/helpers/market-data-preparation/conformance-fixtures.d.ts +16 -0
  15. package/dist/helpers/market-data-preparation/contracts.d.ts +1690 -0
  16. package/dist/helpers/market-data-preparation/file-job.d.ts +38 -0
  17. package/dist/helpers/market-data-vendor-backfill/archive-reader.d.ts +26 -0
  18. package/dist/helpers/market-data-vendor-backfill/batching.d.ts +10 -0
  19. package/dist/helpers/market-data-vendor-backfill/conformance-fixtures.d.ts +80 -0
  20. package/dist/helpers/market-data-vendor-backfill/contracts.d.ts +393 -0
  21. package/dist/helpers/market-data-vendor-backfill/core.d.ts +100 -0
  22. package/dist/helpers/market-data-vendor-backfill/cryptohftdata.d.ts +77 -0
  23. package/dist/helpers/market-data-vendor-backfill/forwarder-client.d.ts +25 -0
  24. package/dist/helpers/market-data-vendor-backfill/identity.d.ts +10 -0
  25. package/dist/helpers/market-data-vendor-backfill/manifests.d.ts +1086 -0
  26. package/dist/helpers/market-data-vendor-backfill/promotion.d.ts +9 -0
  27. package/dist/helpers/market-data-vendor-backfill/qualification.d.ts +20 -0
  28. package/dist/helpers/market-data-vendor-backfill/selection.d.ts +30 -0
  29. package/dist/helpers/market-data-vendor-backfill/semantic-verification.d.ts +24 -0
  30. package/dist/helpers/public-market-data-feed/identity.d.ts +12 -0
  31. package/dist/helpers/public-market-data-feed/index.d.ts +5 -0
  32. package/dist/helpers/public-market-data-feed/orderbook-coalescing-evidence.d.ts +79 -0
  33. package/dist/helpers/public-market-data-feed/orderbook-profile.d.ts +54 -0
  34. package/dist/helpers/public-market-data-feed/subscriber-buffer.d.ts +31 -0
  35. package/dist/helpers/public-market-data-feed/supervisor.d.ts +82 -0
  36. package/dist/index.d.ts +1 -0
  37. package/dist/index.js +16221 -15563
  38. package/dist/index.js.map +21 -18
  39. package/dist/market-data-preparation/fixtures/conformance-v2.json +424 -0
  40. package/dist/market-data-preparation/policies/capability-policy.json +28 -0
  41. package/dist/market-data-preparation/policies/resource-policy.json +16 -0
  42. package/dist/market-data-preparation/schema-manifest.json +46 -0
  43. package/dist/market-data-preparation/schemas/archive-selection-v1.schema.json +224 -0
  44. package/dist/market-data-preparation/schemas/backfill-request-v1.schema.json +166 -0
  45. package/dist/market-data-preparation/schemas/backfill-result-v2.schema.json +212 -0
  46. package/dist/market-data-preparation/schemas/canonical-orderbook-export-request-v1.schema.json +57 -0
  47. package/dist/market-data-preparation/schemas/canonical-orderbook-export-result-v1.schema.json +238 -0
  48. package/dist/market-data-preparation/schemas/preparation-product-pin-v1.schema.json +126 -0
  49. package/dist/market-data-preparation/schemas/promotion-receipt-v1.schema.json +171 -0
  50. package/dist/market-data-preparation/schemas/required-clock-v1.schema.json +47 -0
  51. package/dist/market-data-preparation.d.ts +4 -0
  52. package/dist/market-data-preparation.js +27569 -0
  53. package/dist/market-data-preparation.js.map +249 -0
  54. package/dist/market-data-vendor-backfill/fixtures/conformance-v1.json +448 -0
  55. package/dist/market-data-vendor-backfill/policies/capability-policy.json +28 -0
  56. package/dist/market-data-vendor-backfill/policies/resource-policy.json +16 -0
  57. package/dist/market-data-vendor-backfill/schema-manifest.json +31 -0
  58. package/dist/market-data-vendor-backfill/schemas/archive-selection.schema.json +224 -0
  59. package/dist/market-data-vendor-backfill/schemas/promotion-receipt.schema.json +171 -0
  60. package/dist/market-data-vendor-backfill/schemas/request.schema.json +166 -0
  61. package/dist/market-data-vendor-backfill/schemas/required-clock.schema.json +47 -0
  62. package/dist/market-data-vendor-backfill/schemas/result.schema.json +198 -0
  63. package/dist/market-data-vendor-backfill.d.ts +18 -0
  64. package/dist/market-data-vendor-backfill.js +18850 -0
  65. package/dist/market-data-vendor-backfill.js.map +206 -0
  66. package/dist/server.d.ts +2 -1
  67. package/package.json +37 -3
@@ -0,0 +1,1690 @@
1
+ import type { ArchiveSelectionWire, BackfillJobResultWire, FixedUtcTimestamp, LowercaseUuid, Sha256Hex } from "../market-data-vendor-backfill/contracts";
2
+ export declare const BACKFILL_RESULT_V2_SCHEMA_ID: string;
3
+ export declare const CANONICAL_ORDERBOOK_EXPORT_REQUEST_SCHEMA_ID: string;
4
+ export declare const CANONICAL_ORDERBOOK_EXPORT_RESULT_SCHEMA_ID: string;
5
+ export declare const PREPARATION_PRODUCT_PIN_SCHEMA_ID: string;
6
+ export declare const PREPARATION_SCHEMA_MANIFEST_V2_ID: "https://schemas.usher.so/market-data-vendor-backfill-schema-manifest/v2";
7
+ export type PreparationTarget = {
8
+ environment: string;
9
+ cluster: string;
10
+ };
11
+ export type PreparationProducerIdentity = {
12
+ product_id: "market-data-vendor-backfill" | "cex-canonical-orderbook-export";
13
+ product_version: "market-data-vendor-backfill/v1" | "cex-canonical-orderbook-export/v1";
14
+ package: {
15
+ name: "@usherlabs/cex-broker";
16
+ version: string;
17
+ git_head: string;
18
+ };
19
+ executable_sha256: Sha256Hex;
20
+ runtime: {
21
+ name: "node";
22
+ version: string;
23
+ };
24
+ };
25
+ export type BackfillJobResultV2Wire = {
26
+ schema_id: typeof BACKFILL_RESULT_V2_SCHEMA_ID;
27
+ result_sha256: Sha256Hex;
28
+ job_id: LowercaseUuid;
29
+ request_file_sha256: Sha256Hex | null;
30
+ schema_manifest_sha256: Sha256Hex;
31
+ producer: PreparationProducerIdentity & {
32
+ product_id: "market-data-vendor-backfill";
33
+ product_version: "market-data-vendor-backfill/v1";
34
+ };
35
+ capability_policy: {
36
+ policy_id: string;
37
+ policy_sha256: Sha256Hex;
38
+ };
39
+ resource_policy: {
40
+ policy_id: string;
41
+ policy_sha256: Sha256Hex;
42
+ };
43
+ started_at: FixedUtcTimestamp;
44
+ completed_at: FixedUtcTimestamp;
45
+ outcome: BackfillJobResultWire["outcome"];
46
+ };
47
+ export type CanonicalOrderBookExportRequestWire = {
48
+ schema_id: typeof CANONICAL_ORDERBOOK_EXPORT_REQUEST_SCHEMA_ID;
49
+ request_id: LowercaseUuid;
50
+ target: PreparationTarget;
51
+ selection: ArchiveSelectionWire;
52
+ depth: number;
53
+ construction_mode: "sampled_top_n_snapshot" | "exact_l2_reconstruction";
54
+ canonical_schema_version: string;
55
+ checksum_algorithm: "sha256-canonical-json-v1";
56
+ };
57
+ export type CanonicalOrderBookExportQuerySegment = ArchiveSelectionWire["selected_intervals"][number];
58
+ export declare const CANONICAL_ORDERBOOK_EXPORT_STATUSES: readonly ["exported", "request_invalid", "archive_query_failed", "archive_data_invalid", "artifact_write_failed"];
59
+ export type CanonicalOrderBookExportStatus = (typeof CANONICAL_ORDERBOOK_EXPORT_STATUSES)[number];
60
+ export type CanonicalOrderBookExportArtifact = {
61
+ file_name: string;
62
+ rows: number;
63
+ bytes: number;
64
+ sha256: Sha256Hex;
65
+ };
66
+ export type CanonicalOrderBookExportResultWire = {
67
+ schema_id: typeof CANONICAL_ORDERBOOK_EXPORT_RESULT_SCHEMA_ID;
68
+ result_sha256: Sha256Hex;
69
+ job_id: LowercaseUuid;
70
+ request_file_sha256: Sha256Hex | null;
71
+ producer: PreparationProducerIdentity & {
72
+ product_id: "cex-canonical-orderbook-export";
73
+ product_version: "cex-canonical-orderbook-export/v1";
74
+ };
75
+ started_at: FixedUtcTimestamp;
76
+ completed_at: FixedUtcTimestamp;
77
+ outcome: {
78
+ status: CanonicalOrderBookExportStatus;
79
+ reason_code: string;
80
+ reason_subcode: string | null;
81
+ request_id: LowercaseUuid | null;
82
+ target: PreparationTarget | null;
83
+ selection_sha256: Sha256Hex | null;
84
+ query_sha256: Sha256Hex | null;
85
+ query_segments: CanonicalOrderBookExportQuerySegment[];
86
+ promotion_receipt_ids: Sha256Hex[];
87
+ artifacts: null | {
88
+ levels: CanonicalOrderBookExportArtifact;
89
+ summary: CanonicalOrderBookExportArtifact;
90
+ };
91
+ diagnostics: Record<string, string | number | boolean>;
92
+ };
93
+ };
94
+ export type PreparationProductPinWire = {
95
+ schema_id: typeof PREPARATION_PRODUCT_PIN_SCHEMA_ID;
96
+ package: {
97
+ name: "@usherlabs/cex-broker";
98
+ version: string;
99
+ registry_tarball_url: string;
100
+ integrity: string;
101
+ tarball_sha256: Sha256Hex;
102
+ npm_git_head: string;
103
+ };
104
+ executables: Array<{
105
+ product_id: PreparationProducerIdentity["product_id"];
106
+ product_version: PreparationProducerIdentity["product_version"];
107
+ relative_path: string;
108
+ executable_sha256: Sha256Hex;
109
+ }>;
110
+ schema_manifest: {
111
+ schema_id: typeof PREPARATION_SCHEMA_MANIFEST_V2_ID;
112
+ manifest_sha256: Sha256Hex;
113
+ relative_path: "dist/market-data-preparation/schema-manifest.json";
114
+ };
115
+ schema_pins: Array<{
116
+ schema_id: string;
117
+ schema_sha256: Sha256Hex;
118
+ }>;
119
+ capability_policy: {
120
+ policy_id: string;
121
+ policy_sha256: Sha256Hex;
122
+ };
123
+ resource_policy: {
124
+ policy_id: string;
125
+ policy_sha256: Sha256Hex;
126
+ };
127
+ };
128
+ type Codec<T> = {
129
+ decode(value: unknown): T;
130
+ is(value: unknown): value is T;
131
+ };
132
+ export declare const backfillResultV2Codec: Codec<BackfillJobResultV2Wire>;
133
+ export declare const canonicalOrderBookExportRequestCodec: Codec<CanonicalOrderBookExportRequestWire>;
134
+ export declare const canonicalOrderBookExportResultCodec: Codec<CanonicalOrderBookExportResultWire>;
135
+ export declare const preparationProductPinCodec: Codec<PreparationProductPinWire>;
136
+ export declare function finalizeBackfillResultV2(content: Omit<BackfillJobResultV2Wire, "result_sha256">): BackfillJobResultV2Wire;
137
+ export declare function finalizeCanonicalOrderBookExportResult(content: Omit<CanonicalOrderBookExportResultWire, "result_sha256">): CanonicalOrderBookExportResultWire;
138
+ export declare const PREPARATION_SCHEMA_ARTIFACTS: readonly Readonly<{
139
+ schema_id: string;
140
+ path: "schemas/backfill-request-v1.schema.json" | "schemas/backfill-result-v2.schema.json" | "schemas/required-clock-v1.schema.json" | "schemas/archive-selection-v1.schema.json" | "schemas/promotion-receipt-v1.schema.json" | "schemas/canonical-orderbook-export-request-v1.schema.json" | "schemas/canonical-orderbook-export-result-v1.schema.json" | "schemas/preparation-product-pin-v1.schema.json";
141
+ schema_sha256: string;
142
+ schema: {
143
+ $schema: string;
144
+ $id: string;
145
+ title: string;
146
+ type: string;
147
+ additionalProperties: boolean;
148
+ required: string[];
149
+ properties: {
150
+ schema_id: {
151
+ const: string;
152
+ };
153
+ selection_sha256: {
154
+ $ref: string;
155
+ };
156
+ scope: {
157
+ $ref: string;
158
+ };
159
+ required_clock: {
160
+ $ref: string;
161
+ };
162
+ coverage_policy: {
163
+ $ref: string;
164
+ };
165
+ source_policy: {
166
+ enum: string[];
167
+ };
168
+ coverage_class: {
169
+ enum: string[];
170
+ };
171
+ requested_intervals: {
172
+ type: string;
173
+ minItems: number;
174
+ items: {
175
+ $ref: string;
176
+ };
177
+ };
178
+ selected_intervals: {
179
+ type: string;
180
+ items: {
181
+ type: string;
182
+ additionalProperties: boolean;
183
+ required: string[];
184
+ properties: {
185
+ start_at: {
186
+ $ref: string;
187
+ };
188
+ end_at: {
189
+ $ref: string;
190
+ };
191
+ capture_bundle_id: {
192
+ $ref: string;
193
+ };
194
+ capture_origin: {
195
+ $ref: string;
196
+ };
197
+ };
198
+ };
199
+ };
200
+ precedence: {
201
+ type: string;
202
+ minItems: number;
203
+ maxItems: number;
204
+ uniqueItems: boolean;
205
+ items: {
206
+ enum: string[];
207
+ };
208
+ };
209
+ bundles: {
210
+ type: string;
211
+ items: {
212
+ type: string;
213
+ additionalProperties: boolean;
214
+ required: string[];
215
+ properties: {
216
+ capture_bundle_id: {
217
+ $ref: string;
218
+ };
219
+ capture_origin: {
220
+ $ref: string;
221
+ };
222
+ interval: {
223
+ $ref: string;
224
+ };
225
+ qualification: {
226
+ oneOf: ({
227
+ type: string;
228
+ additionalProperties?: undefined;
229
+ required?: undefined;
230
+ properties?: undefined;
231
+ } | {
232
+ type: string;
233
+ additionalProperties: boolean;
234
+ required: string[];
235
+ properties: {
236
+ qualification_event_id: {
237
+ $ref: string;
238
+ };
239
+ state: {
240
+ const: string;
241
+ };
242
+ receipt_id: {
243
+ $ref: string;
244
+ };
245
+ promotion_identity_sha256: {
246
+ $ref: string;
247
+ };
248
+ };
249
+ })[];
250
+ };
251
+ };
252
+ };
253
+ };
254
+ support_anchors: {
255
+ type: string;
256
+ items: {
257
+ type: string;
258
+ additionalProperties: boolean;
259
+ required: string[];
260
+ properties: {
261
+ capture_bundle_id: {
262
+ $ref: string;
263
+ };
264
+ raw_capture_id: {
265
+ $ref: string;
266
+ };
267
+ snapshot_id: {
268
+ $ref: string;
269
+ };
270
+ source_time: {
271
+ $ref: string;
272
+ };
273
+ normalized_summary_checksum: {
274
+ $ref: string;
275
+ };
276
+ metadata_ref: {
277
+ type: string;
278
+ additionalProperties: boolean;
279
+ required: string[];
280
+ properties: {
281
+ capture_origin: {
282
+ $ref: string;
283
+ };
284
+ qualification_event_id: {
285
+ oneOf: ({
286
+ type: string;
287
+ $ref?: undefined;
288
+ } | {
289
+ $ref: string;
290
+ type?: undefined;
291
+ })[];
292
+ };
293
+ receipt_id: {
294
+ oneOf: ({
295
+ type: string;
296
+ $ref?: undefined;
297
+ } | {
298
+ $ref: string;
299
+ type?: undefined;
300
+ })[];
301
+ };
302
+ };
303
+ };
304
+ };
305
+ };
306
+ };
307
+ receipt_ids: {
308
+ type: string;
309
+ uniqueItems: boolean;
310
+ items: {
311
+ $ref: string;
312
+ };
313
+ };
314
+ qualification_event_ids: {
315
+ type: string;
316
+ uniqueItems: boolean;
317
+ items: {
318
+ $ref: string;
319
+ };
320
+ };
321
+ resolved_at: {
322
+ $ref: string;
323
+ };
324
+ };
325
+ $defs: {
326
+ uuid: {
327
+ type: string;
328
+ pattern: string;
329
+ };
330
+ sha256: {
331
+ type: string;
332
+ pattern: string;
333
+ };
334
+ timestamp: {
335
+ type: string;
336
+ pattern: string;
337
+ };
338
+ safeInteger: {
339
+ type: string;
340
+ minimum: number;
341
+ maximum: number;
342
+ };
343
+ captureOrigin: {
344
+ enum: string[];
345
+ };
346
+ scope: {
347
+ type: string;
348
+ additionalProperties: boolean;
349
+ required: string[];
350
+ properties: {
351
+ exchange: {
352
+ type: string;
353
+ pattern: string;
354
+ };
355
+ trading_pair: {
356
+ type: string;
357
+ minLength: number;
358
+ maxLength: number;
359
+ };
360
+ market_type: {
361
+ enum: string[];
362
+ };
363
+ feed: {
364
+ const: string;
365
+ };
366
+ };
367
+ };
368
+ clockReference: {
369
+ type: string;
370
+ additionalProperties: boolean;
371
+ required: string[];
372
+ properties: {
373
+ clock_id: {
374
+ $ref: string;
375
+ };
376
+ clock_sha256: {
377
+ $ref: string;
378
+ };
379
+ event_count: {
380
+ $ref: string;
381
+ };
382
+ };
383
+ };
384
+ coveragePolicy: {
385
+ type: string;
386
+ additionalProperties: boolean;
387
+ required: string[];
388
+ properties: {
389
+ policy_id: {
390
+ const: string;
391
+ };
392
+ max_asof_lag_ms: {
393
+ $ref: string;
394
+ };
395
+ future_rows: {
396
+ const: string;
397
+ };
398
+ missing_required_event: {
399
+ const: string;
400
+ };
401
+ };
402
+ };
403
+ interval: {
404
+ type: string;
405
+ additionalProperties: boolean;
406
+ required: string[];
407
+ properties: {
408
+ start_at: {
409
+ $ref: string;
410
+ };
411
+ end_at: {
412
+ $ref: string;
413
+ };
414
+ };
415
+ };
416
+ };
417
+ } | {
418
+ $schema: string;
419
+ $id: string;
420
+ title: string;
421
+ type: string;
422
+ additionalProperties: boolean;
423
+ required: string[];
424
+ properties: {
425
+ schema_id: {
426
+ const: string;
427
+ };
428
+ receipt_id: {
429
+ $ref: string;
430
+ };
431
+ promotion_identity_sha256: {
432
+ $ref: string;
433
+ };
434
+ verified_at: {
435
+ $ref: string;
436
+ };
437
+ request_id: {
438
+ $ref: string;
439
+ };
440
+ idempotency_key: {
441
+ $ref: string;
442
+ };
443
+ source: {
444
+ const: string;
445
+ };
446
+ capture_origin: {
447
+ const: string;
448
+ };
449
+ source_mode: {
450
+ const: string;
451
+ };
452
+ provider: {
453
+ type: string;
454
+ minLength: number;
455
+ maxLength: number;
456
+ };
457
+ adapter_version: {
458
+ type: string;
459
+ minLength: number;
460
+ maxLength: number;
461
+ };
462
+ effective_policies: {
463
+ type: string;
464
+ additionalProperties: boolean;
465
+ required: string[];
466
+ properties: {
467
+ capability_policy: {
468
+ $ref: string;
469
+ };
470
+ resource_policy: {
471
+ $ref: string;
472
+ };
473
+ adapter_policy: {
474
+ $ref: string;
475
+ };
476
+ acquisition_policy: {
477
+ $ref: string;
478
+ };
479
+ };
480
+ };
481
+ capture_bundle_id: {
482
+ $ref: string;
483
+ };
484
+ scope: {
485
+ $ref: string;
486
+ };
487
+ window: {
488
+ $ref: string;
489
+ };
490
+ depth: {
491
+ type: string;
492
+ minimum: number;
493
+ maximum: number;
494
+ };
495
+ construction_mode: {
496
+ enum: string[];
497
+ };
498
+ canonical_schema: {
499
+ type: string;
500
+ additionalProperties: boolean;
501
+ required: string[];
502
+ properties: {
503
+ schema_id: {
504
+ type: string;
505
+ minLength: number;
506
+ maxLength: number;
507
+ };
508
+ schema_sha256: {
509
+ $ref: string;
510
+ };
511
+ };
512
+ };
513
+ coverage_policy: {
514
+ $ref: string;
515
+ };
516
+ selection_sha256: {
517
+ $ref: string;
518
+ };
519
+ vendor_semantic_digest: {
520
+ $ref: string;
521
+ };
522
+ canonical_semantic_digest: {
523
+ $ref: string;
524
+ };
525
+ prefix_digest: {
526
+ $ref: string;
527
+ };
528
+ suffix_digest: {
529
+ $ref: string;
530
+ };
531
+ seam_verified: {
532
+ const: boolean;
533
+ };
534
+ coverage_verified: {
535
+ const: boolean;
536
+ };
537
+ dataset_objects: {
538
+ type: string;
539
+ minItems: number;
540
+ maxItems: number;
541
+ items: {
542
+ type: string;
543
+ additionalProperties: boolean;
544
+ required: string[];
545
+ properties: {
546
+ identity: {
547
+ type: string;
548
+ minLength: number;
549
+ maxLength: number;
550
+ };
551
+ checksum: {
552
+ $ref: string;
553
+ };
554
+ bytes: {
555
+ $ref: string;
556
+ };
557
+ rows: {
558
+ $ref: string;
559
+ };
560
+ };
561
+ };
562
+ };
563
+ };
564
+ $defs: {
565
+ uuid: {
566
+ type: string;
567
+ pattern: string;
568
+ };
569
+ sha256: {
570
+ type: string;
571
+ pattern: string;
572
+ };
573
+ timestamp: {
574
+ type: string;
575
+ pattern: string;
576
+ };
577
+ safeInteger: {
578
+ type: string;
579
+ minimum: number;
580
+ maximum: number;
581
+ };
582
+ scope: {
583
+ type: string;
584
+ additionalProperties: boolean;
585
+ required: string[];
586
+ properties: {
587
+ exchange: {
588
+ type: string;
589
+ pattern: string;
590
+ };
591
+ trading_pair: {
592
+ type: string;
593
+ minLength: number;
594
+ maxLength: number;
595
+ };
596
+ market_type: {
597
+ enum: string[];
598
+ };
599
+ feed: {
600
+ const: string;
601
+ };
602
+ };
603
+ };
604
+ interval: {
605
+ type: string;
606
+ additionalProperties: boolean;
607
+ required: string[];
608
+ properties: {
609
+ start_at: {
610
+ $ref: string;
611
+ };
612
+ end_at: {
613
+ $ref: string;
614
+ };
615
+ };
616
+ };
617
+ coveragePolicy: {
618
+ type: string;
619
+ additionalProperties: boolean;
620
+ required: string[];
621
+ properties: {
622
+ policy_id: {
623
+ const: string;
624
+ };
625
+ max_asof_lag_ms: {
626
+ $ref: string;
627
+ };
628
+ future_rows: {
629
+ const: string;
630
+ };
631
+ missing_required_event: {
632
+ const: string;
633
+ };
634
+ };
635
+ };
636
+ policyPin: {
637
+ type: string;
638
+ additionalProperties: boolean;
639
+ required: string[];
640
+ properties: {
641
+ policy_id: {
642
+ type: string;
643
+ minLength: number;
644
+ maxLength: number;
645
+ };
646
+ policy_sha256: {
647
+ $ref: string;
648
+ };
649
+ };
650
+ };
651
+ };
652
+ } | {
653
+ $schema: string;
654
+ $id: string;
655
+ title: string;
656
+ type: string;
657
+ additionalProperties: boolean;
658
+ required: string[];
659
+ properties: {
660
+ schema_id: {
661
+ const: string;
662
+ };
663
+ request_id: {
664
+ $ref: string;
665
+ };
666
+ attempt_id: {
667
+ $ref: string;
668
+ };
669
+ idempotency_key: {
670
+ $ref: string;
671
+ };
672
+ scope: {
673
+ $ref: string;
674
+ };
675
+ window: {
676
+ $ref: string;
677
+ };
678
+ depth: {
679
+ type: string;
680
+ minimum: number;
681
+ maximum: number;
682
+ };
683
+ construction_mode: {
684
+ enum: string[];
685
+ };
686
+ source_policy: {
687
+ enum: string[];
688
+ };
689
+ target: {
690
+ type: string;
691
+ additionalProperties: boolean;
692
+ required: string[];
693
+ properties: {
694
+ environment: {
695
+ type: string;
696
+ pattern: string;
697
+ };
698
+ cluster: {
699
+ type: string;
700
+ pattern: string;
701
+ };
702
+ };
703
+ };
704
+ coverage_policy: {
705
+ $ref: string;
706
+ };
707
+ required_clock: {
708
+ type: string;
709
+ additionalProperties: boolean;
710
+ required: string[];
711
+ properties: {
712
+ schema_id: {
713
+ const: string;
714
+ };
715
+ clock_id: {
716
+ $ref: string;
717
+ };
718
+ file_name: {
719
+ type: string;
720
+ pattern: string;
721
+ };
722
+ clock_sha256: {
723
+ $ref: string;
724
+ };
725
+ event_count: {
726
+ $ref: string;
727
+ };
728
+ };
729
+ };
730
+ initial_selection: {
731
+ $ref: string;
732
+ };
733
+ expected_canonical_schema: {
734
+ $ref: string;
735
+ };
736
+ product_pins: {
737
+ type: string;
738
+ additionalProperties: boolean;
739
+ required: string[];
740
+ properties: {
741
+ capability_policy: {
742
+ $ref: string;
743
+ };
744
+ resource_policy: {
745
+ $ref: string;
746
+ };
747
+ };
748
+ };
749
+ production_authorization_id: {
750
+ $ref: string;
751
+ };
752
+ };
753
+ $defs: {
754
+ uuid: {
755
+ type: string;
756
+ pattern: string;
757
+ };
758
+ sha256: {
759
+ type: string;
760
+ pattern: string;
761
+ };
762
+ timestamp: {
763
+ type: string;
764
+ pattern: string;
765
+ };
766
+ safeInteger: {
767
+ type: string;
768
+ minimum: number;
769
+ maximum: number;
770
+ };
771
+ scope: {
772
+ type: string;
773
+ additionalProperties: boolean;
774
+ required: string[];
775
+ properties: {
776
+ exchange: {
777
+ type: string;
778
+ pattern: string;
779
+ };
780
+ trading_pair: {
781
+ type: string;
782
+ minLength: number;
783
+ maxLength: number;
784
+ };
785
+ market_type: {
786
+ enum: string[];
787
+ };
788
+ feed: {
789
+ const: string;
790
+ };
791
+ };
792
+ };
793
+ interval: {
794
+ type: string;
795
+ additionalProperties: boolean;
796
+ required: string[];
797
+ properties: {
798
+ start_at: {
799
+ $ref: string;
800
+ };
801
+ end_at: {
802
+ $ref: string;
803
+ };
804
+ };
805
+ };
806
+ coveragePolicy: {
807
+ type: string;
808
+ additionalProperties: boolean;
809
+ required: string[];
810
+ properties: {
811
+ policy_id: {
812
+ const: string;
813
+ };
814
+ max_asof_lag_ms: {
815
+ $ref: string;
816
+ };
817
+ future_rows: {
818
+ const: string;
819
+ };
820
+ missing_required_event: {
821
+ const: string;
822
+ };
823
+ };
824
+ };
825
+ artifactPin: {
826
+ type: string;
827
+ additionalProperties: boolean;
828
+ required: string[];
829
+ properties: {
830
+ schema_id: {
831
+ type: string;
832
+ minLength: number;
833
+ maxLength: number;
834
+ };
835
+ schema_sha256: {
836
+ $ref: string;
837
+ };
838
+ };
839
+ };
840
+ policyPin: {
841
+ type: string;
842
+ additionalProperties: boolean;
843
+ required: string[];
844
+ properties: {
845
+ policy_id: {
846
+ type: string;
847
+ minLength: number;
848
+ maxLength: number;
849
+ };
850
+ policy_sha256: {
851
+ $ref: string;
852
+ };
853
+ };
854
+ };
855
+ };
856
+ } | {
857
+ $schema: string;
858
+ $id: string;
859
+ title: string;
860
+ type: string;
861
+ additionalProperties: boolean;
862
+ required: string[];
863
+ properties: {
864
+ schema_id: {
865
+ const: string;
866
+ };
867
+ clock_id: {
868
+ $ref: string;
869
+ };
870
+ clock_sha256: {
871
+ $ref: string;
872
+ };
873
+ created_at: {
874
+ $ref: string;
875
+ };
876
+ targets: {
877
+ type: string;
878
+ minItems: number;
879
+ maxItems: number;
880
+ items: {
881
+ type: string;
882
+ additionalProperties: boolean;
883
+ required: string[];
884
+ properties: {
885
+ target_id: {
886
+ $ref: string;
887
+ };
888
+ target_at: {
889
+ $ref: string;
890
+ };
891
+ };
892
+ };
893
+ };
894
+ };
895
+ $defs: {
896
+ uuid: {
897
+ type: string;
898
+ pattern: string;
899
+ };
900
+ sha256: {
901
+ type: string;
902
+ pattern: string;
903
+ };
904
+ timestamp: {
905
+ type: string;
906
+ pattern: string;
907
+ };
908
+ };
909
+ } | {
910
+ $schema: string;
911
+ $id: string;
912
+ title: string;
913
+ type: string;
914
+ additionalProperties: boolean;
915
+ required: string[];
916
+ properties: {
917
+ schema_id: {
918
+ const: string;
919
+ };
920
+ result_sha256: {
921
+ $ref: string;
922
+ };
923
+ job_id: {
924
+ $ref: string;
925
+ };
926
+ request_file_sha256: {
927
+ oneOf: ({
928
+ type: string;
929
+ $ref?: undefined;
930
+ } | {
931
+ $ref: string;
932
+ type?: undefined;
933
+ })[];
934
+ };
935
+ schema_manifest_sha256: {
936
+ $ref: string;
937
+ };
938
+ producer: {
939
+ $ref: string;
940
+ };
941
+ capability_policy: {
942
+ $ref: string;
943
+ };
944
+ resource_policy: {
945
+ $ref: string;
946
+ };
947
+ started_at: {
948
+ $ref: string;
949
+ };
950
+ completed_at: {
951
+ $ref: string;
952
+ };
953
+ outcome: {
954
+ type: string;
955
+ additionalProperties: boolean;
956
+ required: string[];
957
+ properties: {
958
+ status: {
959
+ enum: string[];
960
+ };
961
+ reason_code: {
962
+ type: string;
963
+ pattern: string;
964
+ };
965
+ reason_subcode: {
966
+ oneOf: ({
967
+ type: string;
968
+ pattern?: undefined;
969
+ } | {
970
+ type: string;
971
+ pattern: string;
972
+ })[];
973
+ };
974
+ request_id: {
975
+ oneOf: ({
976
+ type: string;
977
+ $ref?: undefined;
978
+ } | {
979
+ $ref: string;
980
+ type?: undefined;
981
+ })[];
982
+ };
983
+ idempotency_key: {
984
+ oneOf: ({
985
+ type: string;
986
+ $ref?: undefined;
987
+ } | {
988
+ $ref: string;
989
+ type?: undefined;
990
+ })[];
991
+ };
992
+ target: {
993
+ oneOf: ({
994
+ type: string;
995
+ $ref?: undefined;
996
+ } | {
997
+ $ref: string;
998
+ type?: undefined;
999
+ })[];
1000
+ };
1001
+ selection: {
1002
+ oneOf: ({
1003
+ type: string;
1004
+ $ref?: undefined;
1005
+ } | {
1006
+ $ref: string;
1007
+ type?: undefined;
1008
+ })[];
1009
+ };
1010
+ receipt: {
1011
+ oneOf: ({
1012
+ type: string;
1013
+ $ref?: undefined;
1014
+ } | {
1015
+ $ref: string;
1016
+ type?: undefined;
1017
+ })[];
1018
+ };
1019
+ diagnostics: {
1020
+ type: string;
1021
+ maxProperties: number;
1022
+ additionalProperties: {
1023
+ oneOf: ({
1024
+ type: string;
1025
+ maxLength: number;
1026
+ minimum?: undefined;
1027
+ maximum?: undefined;
1028
+ } | {
1029
+ type: string;
1030
+ minimum: number;
1031
+ maximum: number;
1032
+ maxLength?: undefined;
1033
+ } | {
1034
+ type: string;
1035
+ maxLength?: undefined;
1036
+ minimum?: undefined;
1037
+ maximum?: undefined;
1038
+ })[];
1039
+ };
1040
+ };
1041
+ };
1042
+ };
1043
+ };
1044
+ allOf: {
1045
+ if: {
1046
+ type: string;
1047
+ properties: {
1048
+ outcome: {
1049
+ type: string;
1050
+ properties: {
1051
+ status: {
1052
+ const: string;
1053
+ };
1054
+ reason_subcode: {
1055
+ const: string;
1056
+ };
1057
+ };
1058
+ required: string[];
1059
+ };
1060
+ };
1061
+ required: string[];
1062
+ };
1063
+ then: {
1064
+ type: string;
1065
+ properties: {
1066
+ request_file_sha256: {
1067
+ type: string;
1068
+ };
1069
+ };
1070
+ };
1071
+ else: {
1072
+ type: string;
1073
+ properties: {
1074
+ request_file_sha256: {
1075
+ $ref: string;
1076
+ };
1077
+ };
1078
+ };
1079
+ }[];
1080
+ $defs: {
1081
+ uuid: {
1082
+ type: string;
1083
+ pattern: string;
1084
+ };
1085
+ sha256: {
1086
+ type: string;
1087
+ pattern: string;
1088
+ };
1089
+ timestamp: {
1090
+ type: string;
1091
+ pattern: string;
1092
+ };
1093
+ semver: {
1094
+ type: string;
1095
+ pattern: string;
1096
+ };
1097
+ target: {
1098
+ type: string;
1099
+ additionalProperties: boolean;
1100
+ required: string[];
1101
+ properties: {
1102
+ environment: {
1103
+ type: string;
1104
+ pattern: string;
1105
+ };
1106
+ cluster: {
1107
+ type: string;
1108
+ pattern: string;
1109
+ };
1110
+ };
1111
+ };
1112
+ policyPin: {
1113
+ type: string;
1114
+ additionalProperties: boolean;
1115
+ required: string[];
1116
+ properties: {
1117
+ policy_id: {
1118
+ type: string;
1119
+ minLength: number;
1120
+ maxLength: number;
1121
+ };
1122
+ policy_sha256: {
1123
+ $ref: string;
1124
+ };
1125
+ };
1126
+ };
1127
+ producer: {
1128
+ type: string;
1129
+ additionalProperties: boolean;
1130
+ required: string[];
1131
+ properties: {
1132
+ product_id: {
1133
+ const: string;
1134
+ };
1135
+ product_version: {
1136
+ const: string;
1137
+ };
1138
+ package: {
1139
+ type: string;
1140
+ additionalProperties: boolean;
1141
+ required: string[];
1142
+ properties: {
1143
+ name: {
1144
+ const: string;
1145
+ };
1146
+ version: {
1147
+ $ref: string;
1148
+ };
1149
+ git_head: {
1150
+ type: string;
1151
+ pattern: string;
1152
+ };
1153
+ };
1154
+ };
1155
+ executable_sha256: {
1156
+ $ref: string;
1157
+ };
1158
+ runtime: {
1159
+ type: string;
1160
+ additionalProperties: boolean;
1161
+ required: string[];
1162
+ properties: {
1163
+ name: {
1164
+ const: string;
1165
+ };
1166
+ version: {
1167
+ $ref: string;
1168
+ };
1169
+ };
1170
+ };
1171
+ };
1172
+ };
1173
+ };
1174
+ } | {
1175
+ $schema: string;
1176
+ $id: string;
1177
+ title: string;
1178
+ type: string;
1179
+ additionalProperties: boolean;
1180
+ required: string[];
1181
+ properties: {
1182
+ schema_id: {
1183
+ const: string;
1184
+ };
1185
+ request_id: {
1186
+ $ref: string;
1187
+ };
1188
+ target: {
1189
+ $ref: string;
1190
+ };
1191
+ selection: {
1192
+ $ref: string;
1193
+ };
1194
+ depth: {
1195
+ type: string;
1196
+ minimum: number;
1197
+ maximum: number;
1198
+ };
1199
+ construction_mode: {
1200
+ enum: string[];
1201
+ };
1202
+ canonical_schema_version: {
1203
+ type: string;
1204
+ pattern: string;
1205
+ };
1206
+ checksum_algorithm: {
1207
+ const: string;
1208
+ };
1209
+ };
1210
+ $defs: {
1211
+ uuid: {
1212
+ type: string;
1213
+ pattern: string;
1214
+ };
1215
+ target: {
1216
+ type: string;
1217
+ additionalProperties: boolean;
1218
+ required: string[];
1219
+ properties: {
1220
+ environment: {
1221
+ type: string;
1222
+ pattern: string;
1223
+ };
1224
+ cluster: {
1225
+ type: string;
1226
+ pattern: string;
1227
+ };
1228
+ };
1229
+ };
1230
+ };
1231
+ } | {
1232
+ $schema: string;
1233
+ $id: string;
1234
+ title: string;
1235
+ type: string;
1236
+ additionalProperties: boolean;
1237
+ required: string[];
1238
+ properties: {
1239
+ schema_id: {
1240
+ const: string;
1241
+ };
1242
+ result_sha256: {
1243
+ $ref: string;
1244
+ };
1245
+ job_id: {
1246
+ $ref: string;
1247
+ };
1248
+ request_file_sha256: {
1249
+ oneOf: ({
1250
+ type: string;
1251
+ $ref?: undefined;
1252
+ } | {
1253
+ $ref: string;
1254
+ type?: undefined;
1255
+ })[];
1256
+ };
1257
+ producer: {
1258
+ $ref: string;
1259
+ };
1260
+ started_at: {
1261
+ $ref: string;
1262
+ };
1263
+ completed_at: {
1264
+ $ref: string;
1265
+ };
1266
+ outcome: {
1267
+ type: string;
1268
+ additionalProperties: boolean;
1269
+ required: string[];
1270
+ properties: {
1271
+ status: {
1272
+ enum: string[];
1273
+ };
1274
+ reason_code: {
1275
+ type: string;
1276
+ pattern: string;
1277
+ };
1278
+ reason_subcode: {
1279
+ oneOf: ({
1280
+ type: string;
1281
+ pattern?: undefined;
1282
+ } | {
1283
+ type: string;
1284
+ pattern: string;
1285
+ })[];
1286
+ };
1287
+ request_id: {
1288
+ oneOf: ({
1289
+ type: string;
1290
+ $ref?: undefined;
1291
+ } | {
1292
+ $ref: string;
1293
+ type?: undefined;
1294
+ })[];
1295
+ };
1296
+ target: {
1297
+ oneOf: ({
1298
+ type: string;
1299
+ $ref?: undefined;
1300
+ } | {
1301
+ $ref: string;
1302
+ type?: undefined;
1303
+ })[];
1304
+ };
1305
+ selection_sha256: {
1306
+ oneOf: ({
1307
+ type: string;
1308
+ $ref?: undefined;
1309
+ } | {
1310
+ $ref: string;
1311
+ type?: undefined;
1312
+ })[];
1313
+ };
1314
+ query_sha256: {
1315
+ oneOf: ({
1316
+ type: string;
1317
+ $ref?: undefined;
1318
+ } | {
1319
+ $ref: string;
1320
+ type?: undefined;
1321
+ })[];
1322
+ };
1323
+ query_segments: {
1324
+ type: string;
1325
+ items: {
1326
+ $ref: string;
1327
+ };
1328
+ };
1329
+ promotion_receipt_ids: {
1330
+ type: string;
1331
+ uniqueItems: boolean;
1332
+ items: {
1333
+ $ref: string;
1334
+ };
1335
+ };
1336
+ artifacts: {
1337
+ oneOf: ({
1338
+ type: string;
1339
+ additionalProperties?: undefined;
1340
+ required?: undefined;
1341
+ properties?: undefined;
1342
+ } | {
1343
+ type: string;
1344
+ additionalProperties: boolean;
1345
+ required: string[];
1346
+ properties: {
1347
+ levels: {
1348
+ $ref: string;
1349
+ };
1350
+ summary: {
1351
+ $ref: string;
1352
+ };
1353
+ };
1354
+ })[];
1355
+ };
1356
+ diagnostics: {
1357
+ type: string;
1358
+ maxProperties: number;
1359
+ additionalProperties: {
1360
+ oneOf: ({
1361
+ type: string;
1362
+ maxLength: number;
1363
+ minimum?: undefined;
1364
+ maximum?: undefined;
1365
+ } | {
1366
+ type: string;
1367
+ minimum: number;
1368
+ maximum: number;
1369
+ maxLength?: undefined;
1370
+ } | {
1371
+ type: string;
1372
+ maxLength?: undefined;
1373
+ minimum?: undefined;
1374
+ maximum?: undefined;
1375
+ })[];
1376
+ };
1377
+ };
1378
+ };
1379
+ allOf: {
1380
+ if: {
1381
+ type: string;
1382
+ properties: {
1383
+ status: {
1384
+ const: string;
1385
+ };
1386
+ };
1387
+ required: string[];
1388
+ };
1389
+ then: {
1390
+ type: string;
1391
+ properties: {
1392
+ request_id: {
1393
+ $ref: string;
1394
+ };
1395
+ target: {
1396
+ $ref: string;
1397
+ };
1398
+ selection_sha256: {
1399
+ $ref: string;
1400
+ };
1401
+ query_sha256: {
1402
+ $ref: string;
1403
+ };
1404
+ query_segments: {
1405
+ type: string;
1406
+ minItems: number;
1407
+ };
1408
+ artifacts: {
1409
+ type: string;
1410
+ };
1411
+ };
1412
+ };
1413
+ else: {
1414
+ type: string;
1415
+ properties: {
1416
+ artifacts: {
1417
+ type: string;
1418
+ };
1419
+ };
1420
+ };
1421
+ }[];
1422
+ };
1423
+ };
1424
+ $defs: {
1425
+ uuid: {
1426
+ type: string;
1427
+ pattern: string;
1428
+ };
1429
+ sha256: {
1430
+ type: string;
1431
+ pattern: string;
1432
+ };
1433
+ timestamp: {
1434
+ type: string;
1435
+ pattern: string;
1436
+ };
1437
+ semver: {
1438
+ type: string;
1439
+ pattern: string;
1440
+ };
1441
+ target: {
1442
+ type: string;
1443
+ additionalProperties: boolean;
1444
+ required: string[];
1445
+ properties: {
1446
+ environment: {
1447
+ type: string;
1448
+ pattern: string;
1449
+ };
1450
+ cluster: {
1451
+ type: string;
1452
+ pattern: string;
1453
+ };
1454
+ };
1455
+ };
1456
+ producer: {
1457
+ type: string;
1458
+ additionalProperties: boolean;
1459
+ required: string[];
1460
+ properties: {
1461
+ product_id: {
1462
+ const: string;
1463
+ };
1464
+ product_version: {
1465
+ const: string;
1466
+ };
1467
+ package: {
1468
+ type: string;
1469
+ additionalProperties: boolean;
1470
+ required: string[];
1471
+ properties: {
1472
+ name: {
1473
+ const: string;
1474
+ };
1475
+ version: {
1476
+ $ref: string;
1477
+ };
1478
+ git_head: {
1479
+ type: string;
1480
+ pattern: string;
1481
+ };
1482
+ };
1483
+ };
1484
+ executable_sha256: {
1485
+ $ref: string;
1486
+ };
1487
+ runtime: {
1488
+ type: string;
1489
+ additionalProperties: boolean;
1490
+ required: string[];
1491
+ properties: {
1492
+ name: {
1493
+ const: string;
1494
+ };
1495
+ version: {
1496
+ $ref: string;
1497
+ };
1498
+ };
1499
+ };
1500
+ };
1501
+ };
1502
+ segment: {
1503
+ type: string;
1504
+ additionalProperties: boolean;
1505
+ required: string[];
1506
+ properties: {
1507
+ start_at: {
1508
+ $ref: string;
1509
+ };
1510
+ end_at: {
1511
+ $ref: string;
1512
+ };
1513
+ capture_bundle_id: {
1514
+ $ref: string;
1515
+ };
1516
+ capture_origin: {
1517
+ enum: string[];
1518
+ };
1519
+ };
1520
+ };
1521
+ artifact: {
1522
+ type: string;
1523
+ additionalProperties: boolean;
1524
+ required: string[];
1525
+ properties: {
1526
+ file_name: {
1527
+ type: string;
1528
+ pattern: string;
1529
+ };
1530
+ rows: {
1531
+ type: string;
1532
+ minimum: number;
1533
+ maximum: number;
1534
+ };
1535
+ bytes: {
1536
+ type: string;
1537
+ minimum: number;
1538
+ maximum: number;
1539
+ };
1540
+ sha256: {
1541
+ $ref: string;
1542
+ };
1543
+ };
1544
+ };
1545
+ };
1546
+ } | {
1547
+ $schema: string;
1548
+ $id: string;
1549
+ title: string;
1550
+ type: string;
1551
+ additionalProperties: boolean;
1552
+ required: string[];
1553
+ properties: {
1554
+ schema_id: {
1555
+ const: string;
1556
+ };
1557
+ package: {
1558
+ type: string;
1559
+ additionalProperties: boolean;
1560
+ required: string[];
1561
+ properties: {
1562
+ name: {
1563
+ const: string;
1564
+ };
1565
+ version: {
1566
+ $ref: string;
1567
+ };
1568
+ registry_tarball_url: {
1569
+ type: string;
1570
+ pattern: string;
1571
+ };
1572
+ integrity: {
1573
+ type: string;
1574
+ pattern: string;
1575
+ };
1576
+ tarball_sha256: {
1577
+ $ref: string;
1578
+ };
1579
+ npm_git_head: {
1580
+ type: string;
1581
+ pattern: string;
1582
+ };
1583
+ };
1584
+ };
1585
+ executables: {
1586
+ type: string;
1587
+ minItems: number;
1588
+ maxItems: number;
1589
+ items: {
1590
+ type: string;
1591
+ additionalProperties: boolean;
1592
+ required: string[];
1593
+ properties: {
1594
+ product_id: {
1595
+ enum: string[];
1596
+ };
1597
+ product_version: {
1598
+ enum: string[];
1599
+ };
1600
+ relative_path: {
1601
+ type: string;
1602
+ pattern: string;
1603
+ };
1604
+ executable_sha256: {
1605
+ $ref: string;
1606
+ };
1607
+ };
1608
+ };
1609
+ };
1610
+ schema_manifest: {
1611
+ type: string;
1612
+ additionalProperties: boolean;
1613
+ required: string[];
1614
+ properties: {
1615
+ schema_id: {
1616
+ const: string;
1617
+ };
1618
+ manifest_sha256: {
1619
+ $ref: string;
1620
+ };
1621
+ relative_path: {
1622
+ const: string;
1623
+ };
1624
+ };
1625
+ };
1626
+ schema_pins: {
1627
+ type: string;
1628
+ minItems: number;
1629
+ maxItems: number;
1630
+ uniqueItems: boolean;
1631
+ items: {
1632
+ type: string;
1633
+ additionalProperties: boolean;
1634
+ required: string[];
1635
+ properties: {
1636
+ schema_id: {
1637
+ type: string;
1638
+ minLength: number;
1639
+ maxLength: number;
1640
+ };
1641
+ schema_sha256: {
1642
+ $ref: string;
1643
+ };
1644
+ };
1645
+ };
1646
+ };
1647
+ capability_policy: {
1648
+ $ref: string;
1649
+ };
1650
+ resource_policy: {
1651
+ $ref: string;
1652
+ };
1653
+ };
1654
+ $defs: {
1655
+ sha256: {
1656
+ type: string;
1657
+ pattern: string;
1658
+ };
1659
+ semver: {
1660
+ type: string;
1661
+ pattern: string;
1662
+ };
1663
+ policyPin: {
1664
+ type: string;
1665
+ additionalProperties: boolean;
1666
+ required: string[];
1667
+ properties: {
1668
+ policy_id: {
1669
+ type: string;
1670
+ minLength: number;
1671
+ maxLength: number;
1672
+ };
1673
+ policy_sha256: {
1674
+ $ref: string;
1675
+ };
1676
+ };
1677
+ };
1678
+ };
1679
+ };
1680
+ }>[];
1681
+ export declare const PREPARATION_SCHEMA_MANIFEST_V2: Readonly<{
1682
+ manifest_sha256: string;
1683
+ schema_id: "https://schemas.usher.so/market-data-vendor-backfill-schema-manifest/v2";
1684
+ artifacts: {
1685
+ schema_id: string;
1686
+ path: "schemas/backfill-request-v1.schema.json" | "schemas/backfill-result-v2.schema.json" | "schemas/required-clock-v1.schema.json" | "schemas/archive-selection-v1.schema.json" | "schemas/promotion-receipt-v1.schema.json" | "schemas/canonical-orderbook-export-request-v1.schema.json" | "schemas/canonical-orderbook-export-result-v1.schema.json" | "schemas/preparation-product-pin-v1.schema.json";
1687
+ schema_sha256: string;
1688
+ }[];
1689
+ }>;
1690
+ export {};