@usherlabs/cex-broker 0.2.52 → 0.3.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.
Files changed (144) hide show
  1. package/dist/commands/cli.js +364 -71
  2. package/dist/index.js +365 -72
  3. package/dist/index.js.map +14 -13
  4. package/package.json +5 -28
  5. package/dist/commands/cex-canonical-orderbook-export.d.ts +0 -23
  6. package/dist/commands/cex-canonical-orderbook-export.js +0 -34275
  7. package/dist/commands/cex-canonical-orderbook-export.js.map +0 -266
  8. package/dist/commands/market-data-vendor-backfill.d.ts +0 -24
  9. package/dist/commands/market-data-vendor-backfill.js +0 -34930
  10. package/dist/commands/market-data-vendor-backfill.js.map +0 -268
  11. package/dist/handlers/execute-action/context.d.ts +0 -50
  12. package/dist/handlers/execute-action/deposit.d.ts +0 -2
  13. package/dist/handlers/execute-action/handler.d.ts +0 -19
  14. package/dist/handlers/execute-action/index.d.ts +0 -10
  15. package/dist/handlers/execute-action/internal-transfer.d.ts +0 -2
  16. package/dist/handlers/execute-action/order-book-call.d.ts +0 -3
  17. package/dist/handlers/execute-action/orders.d.ts +0 -2
  18. package/dist/handlers/execute-action/pass-through.d.ts +0 -2
  19. package/dist/handlers/execute-action/perp-config.d.ts +0 -2
  20. package/dist/handlers/execute-action/registry.d.ts +0 -5
  21. package/dist/handlers/execute-action/treasury-call.d.ts +0 -2
  22. package/dist/handlers/execute-action/withdraw.d.ts +0 -2
  23. package/dist/handlers/subscribe/broker-lifecycle.d.ts +0 -13
  24. package/dist/handlers/subscribe/handler.d.ts +0 -20
  25. package/dist/handlers/subscribe/index.d.ts +0 -2
  26. package/dist/handlers/types.d.ts +0 -23
  27. package/dist/helpers/account-balance-archive-poller.d.ts +0 -19
  28. package/dist/helpers/auth.d.ts +0 -5
  29. package/dist/helpers/balance-update-archive-consumer.d.ts +0 -16
  30. package/dist/helpers/binance-user-data-normalization.d.ts +0 -3
  31. package/dist/helpers/binance-user-data-stream.d.ts +0 -58
  32. package/dist/helpers/broker-execution-archive/capture.d.ts +0 -41
  33. package/dist/helpers/broker-execution-archive/index.d.ts +0 -7
  34. package/dist/helpers/broker-execution-archive/journal-export.d.ts +0 -20
  35. package/dist/helpers/broker-execution-archive/loss-journal.d.ts +0 -36
  36. package/dist/helpers/broker-execution-archive/redact.d.ts +0 -7
  37. package/dist/helpers/broker-execution-archive/rows.d.ts +0 -134
  38. package/dist/helpers/broker-execution-archive/types.d.ts +0 -26
  39. package/dist/helpers/broker-execution-archive/withdrawal-observation-tracker.d.ts +0 -23
  40. package/dist/helpers/broker-execution-archive/writer.d.ts +0 -105
  41. package/dist/helpers/broker.d.ts +0 -38
  42. package/dist/helpers/canonical-orderbook-export/exact-selection.d.ts +0 -21
  43. package/dist/helpers/canonical-orderbook-export/exporter.d.ts +0 -26
  44. package/dist/helpers/canonical-orderbook-export/parquet-projection.d.ts +0 -19
  45. package/dist/helpers/constants.d.ts +0 -36
  46. package/dist/helpers/deposit-archive-poller.d.ts +0 -66
  47. package/dist/helpers/deposit.d.ts +0 -5
  48. package/dist/helpers/exchange-credentials.d.ts +0 -10
  49. package/dist/helpers/fill-archive-poller.d.ts +0 -42
  50. package/dist/helpers/grpc/broker.d.ts +0 -5
  51. package/dist/helpers/grpc/callbacks.d.ts +0 -9
  52. package/dist/helpers/grpc/payload.d.ts +0 -9
  53. package/dist/helpers/grpc/status.d.ts +0 -8
  54. package/dist/helpers/index.d.ts +0 -44
  55. package/dist/helpers/logger.d.ts +0 -13
  56. package/dist/helpers/market-data-archive/canonical-orderbook.d.ts +0 -20
  57. package/dist/helpers/market-data-archive/capture-context.d.ts +0 -53
  58. package/dist/helpers/market-data-archive/capture-contract.d.ts +0 -30
  59. package/dist/helpers/market-data-archive/capture.d.ts +0 -22
  60. package/dist/helpers/market-data-archive/index.d.ts +0 -13
  61. package/dist/helpers/market-data-archive/legacy-migration.d.ts +0 -37
  62. package/dist/helpers/market-data-archive/ohlcv-bar-tracker.d.ts +0 -11
  63. package/dist/helpers/market-data-archive/ohlcv-bootstrap.d.ts +0 -1
  64. package/dist/helpers/market-data-archive/ohlcv-history.d.ts +0 -8
  65. package/dist/helpers/market-data-archive/orderbook-depth.d.ts +0 -5
  66. package/dist/helpers/market-data-archive/orderbook-sampler.d.ts +0 -12
  67. package/dist/helpers/market-data-archive/parse-stream.d.ts +0 -26
  68. package/dist/helpers/market-data-archive/rows.d.ts +0 -14
  69. package/dist/helpers/market-data-archive/types.d.ts +0 -83
  70. package/dist/helpers/market-data-preparation/conformance-fixtures.d.ts +0 -128
  71. package/dist/helpers/market-data-preparation/contracts.d.ts +0 -2970
  72. package/dist/helpers/market-data-preparation/file-job.d.ts +0 -38
  73. package/dist/helpers/market-data-preparation/required-clock-qualification.d.ts +0 -43
  74. package/dist/helpers/market-data-preparation/source-tape-dependencies.d.ts +0 -19
  75. package/dist/helpers/market-data-preparation/source-tape-operation.d.ts +0 -109
  76. package/dist/helpers/market-data-source-forensics.d.ts +0 -400
  77. package/dist/helpers/market-data-vendor-backfill/archive-reader.d.ts +0 -26
  78. package/dist/helpers/market-data-vendor-backfill/batching.d.ts +0 -10
  79. package/dist/helpers/market-data-vendor-backfill/conformance-fixtures.d.ts +0 -78
  80. package/dist/helpers/market-data-vendor-backfill/contracts.d.ts +0 -358
  81. package/dist/helpers/market-data-vendor-backfill/core.d.ts +0 -101
  82. package/dist/helpers/market-data-vendor-backfill/cryptohftdata.d.ts +0 -118
  83. package/dist/helpers/market-data-vendor-backfill/forwarder-client.d.ts +0 -25
  84. package/dist/helpers/market-data-vendor-backfill/identity.d.ts +0 -10
  85. package/dist/helpers/market-data-vendor-backfill/manifests.d.ts +0 -61
  86. package/dist/helpers/market-data-vendor-backfill/promotion.d.ts +0 -10
  87. package/dist/helpers/market-data-vendor-backfill/qualification.d.ts +0 -20
  88. package/dist/helpers/market-data-vendor-backfill/selection.d.ts +0 -30
  89. package/dist/helpers/market-data-vendor-backfill/semantic-verification.d.ts +0 -25
  90. package/dist/helpers/market-type.d.ts +0 -16
  91. package/dist/helpers/order-activity-tracker.d.ts +0 -22
  92. package/dist/helpers/order-book.d.ts +0 -79
  93. package/dist/helpers/order-telemetry.d.ts +0 -50
  94. package/dist/helpers/otel.d.ts +0 -83
  95. package/dist/helpers/passive-order.d.ts +0 -8
  96. package/dist/helpers/public-market-data-feed/identity.d.ts +0 -12
  97. package/dist/helpers/public-market-data-feed/index.d.ts +0 -5
  98. package/dist/helpers/public-market-data-feed/orderbook-coalescing-evidence.d.ts +0 -79
  99. package/dist/helpers/public-market-data-feed/orderbook-profile.d.ts +0 -54
  100. package/dist/helpers/public-market-data-feed/subscriber-buffer.d.ts +0 -31
  101. package/dist/helpers/public-market-data-feed/supervisor.d.ts +0 -82
  102. package/dist/helpers/shared/errors.d.ts +0 -14
  103. package/dist/helpers/shared/guards.d.ts +0 -2
  104. package/dist/helpers/source-tape-sandbox.d.ts +0 -82
  105. package/dist/helpers/source-tape.d.ts +0 -165
  106. package/dist/helpers/stream-health-publisher.d.ts +0 -41
  107. package/dist/helpers/trace-context.d.ts +0 -8
  108. package/dist/helpers/transfer-network.d.ts +0 -12
  109. package/dist/helpers/travel-rule-deposit-reconciler.d.ts +0 -159
  110. package/dist/helpers/travel-rule.d.ts +0 -75
  111. package/dist/helpers/treasury-discovery.d.ts +0 -17
  112. package/dist/helpers/user-asset-archive-poller.d.ts +0 -19
  113. package/dist/helpers/user-data-stream-supervisor.d.ts +0 -27
  114. package/dist/helpers/verity.d.ts +0 -5
  115. package/dist/index.d.ts +0 -56
  116. package/dist/market-data-preparation/fixtures/conformance-v3.json +0 -621
  117. package/dist/market-data-preparation/policies/capability-policy.json +0 -39
  118. package/dist/market-data-preparation/policies/resource-policy.json +0 -16
  119. package/dist/market-data-preparation/policies/source-tape-capability-v1.json +0 -35
  120. package/dist/market-data-preparation/schema-manifest.json +0 -66
  121. package/dist/market-data-preparation/schemas/archive-selection-v1.schema.json +0 -224
  122. package/dist/market-data-preparation/schemas/backfill-request-v1.schema.json +0 -166
  123. package/dist/market-data-preparation/schemas/backfill-result-v2.schema.json +0 -212
  124. package/dist/market-data-preparation/schemas/canonical-orderbook-export-request-v1.schema.json +0 -61
  125. package/dist/market-data-preparation/schemas/canonical-orderbook-export-result-v2.schema.json +0 -252
  126. package/dist/market-data-preparation/schemas/order-book-depth-summary-parquet-projection-v1.schema.json +0 -256
  127. package/dist/market-data-preparation/schemas/order-book-levels-parquet-projection-v1.schema.json +0 -220
  128. package/dist/market-data-preparation/schemas/preparation-product-pin-v2.schema.json +0 -176
  129. package/dist/market-data-preparation/schemas/promotion-receipt-v1.schema.json +0 -175
  130. package/dist/market-data-preparation/schemas/required-clock-v1.schema.json +0 -47
  131. package/dist/market-data-preparation/schemas/source-forensics-ledger-v1.schema.json +0 -463
  132. package/dist/market-data-preparation/schemas/source-qualification-record-v1.schema.json +0 -394
  133. package/dist/market-data-preparation.d.ts +0 -11
  134. package/dist/market-data-preparation.js +0 -37488
  135. package/dist/market-data-preparation.js.map +0 -277
  136. package/dist/market-data-vendor-backfill.d.ts +0 -21
  137. package/dist/market-data-vendor-backfill.js +0 -22463
  138. package/dist/market-data-vendor-backfill.js.map +0 -199
  139. package/dist/proto/node.descriptor.d.ts +0 -127
  140. package/dist/proto-loader-options.d.ts +0 -7
  141. package/dist/proto-package-definition.d.ts +0 -2
  142. package/dist/schemas/action-payloads.d.ts +0 -88
  143. package/dist/server.d.ts +0 -10
  144. package/dist/types.d.ts +0 -100
@@ -1,2970 +0,0 @@
1
- import type { ArchiveSelectionWire, BackfillOutcomeWire, 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 ORDER_BOOK_LEVELS_PARQUET_PROJECTION_SCHEMA_ID: string;
7
- export declare const ORDER_BOOK_DEPTH_SUMMARY_PARQUET_PROJECTION_SCHEMA_ID: string;
8
- export declare const SOURCE_FORENSICS_LEDGER_SCHEMA_ID: string;
9
- export declare const SOURCE_QUALIFICATION_RECORD_SCHEMA_ID: string;
10
- export declare const PREPARATION_SCHEMA_MANIFEST_V3_ID: "https://schemas.usher.so/market-data-vendor-backfill-schema-manifest/v3";
11
- export type PreparationTarget = {
12
- environment: string;
13
- cluster: string;
14
- };
15
- export type PreparationProducerIdentity = {
16
- product_id: "market-data-vendor-backfill" | "cex-canonical-orderbook-export";
17
- product_version: "market-data-vendor-backfill/v1" | "cex-canonical-orderbook-export/v2";
18
- package: {
19
- name: "@usherlabs/cex-broker";
20
- version: string;
21
- git_head: string;
22
- };
23
- executable_sha256: Sha256Hex;
24
- runtime: {
25
- name: "node";
26
- version: string;
27
- };
28
- };
29
- export type BackfillJobResultV2Wire = {
30
- schema_id: typeof BACKFILL_RESULT_V2_SCHEMA_ID;
31
- result_sha256: Sha256Hex;
32
- job_id: LowercaseUuid;
33
- request_file_sha256: Sha256Hex | null;
34
- schema_manifest_sha256: Sha256Hex;
35
- producer: PreparationProducerIdentity & {
36
- product_id: "market-data-vendor-backfill";
37
- product_version: "market-data-vendor-backfill/v1";
38
- };
39
- capability_policy: {
40
- policy_id: string;
41
- policy_sha256: Sha256Hex;
42
- };
43
- resource_policy: {
44
- policy_id: string;
45
- policy_sha256: Sha256Hex;
46
- };
47
- started_at: FixedUtcTimestamp;
48
- completed_at: FixedUtcTimestamp;
49
- outcome: BackfillOutcomeWire;
50
- };
51
- export type CanonicalOrderBookExportRequestWire = {
52
- schema_id: typeof CANONICAL_ORDERBOOK_EXPORT_REQUEST_SCHEMA_ID;
53
- request_id: LowercaseUuid;
54
- target: PreparationTarget;
55
- selection: ArchiveSelectionWire;
56
- depth: number;
57
- construction_mode: "sampled_top_n_snapshot" | "exact_l2_reconstruction" | "policy_neutral_top_n_state_change_tape/v1";
58
- canonical_schema_version: string;
59
- checksum_algorithm: "sha256-canonical-json-v1";
60
- };
61
- export type CanonicalOrderBookExportQuerySegment = ArchiveSelectionWire["selected_intervals"][number];
62
- export declare const CANONICAL_ORDERBOOK_EXPORT_STATUSES: readonly ["exported", "request_invalid", "archive_query_failed", "archive_data_invalid", "artifact_write_failed"];
63
- export type CanonicalOrderBookExportStatus = (typeof CANONICAL_ORDERBOOK_EXPORT_STATUSES)[number];
64
- export type CanonicalOrderBookExportArtifact = {
65
- file_name: string;
66
- rows: number;
67
- bytes: number;
68
- sha256: Sha256Hex;
69
- projection_schema_id: typeof ORDER_BOOK_LEVELS_PARQUET_PROJECTION_SCHEMA_ID | typeof ORDER_BOOK_DEPTH_SUMMARY_PARQUET_PROJECTION_SCHEMA_ID;
70
- projection_schema_sha256: Sha256Hex;
71
- };
72
- export type CanonicalOrderBookExportResultWire = {
73
- schema_id: typeof CANONICAL_ORDERBOOK_EXPORT_RESULT_SCHEMA_ID;
74
- result_sha256: Sha256Hex;
75
- job_id: LowercaseUuid;
76
- request_file_sha256: Sha256Hex | null;
77
- producer: PreparationProducerIdentity & {
78
- product_id: "cex-canonical-orderbook-export";
79
- product_version: "cex-canonical-orderbook-export/v2";
80
- };
81
- started_at: FixedUtcTimestamp;
82
- completed_at: FixedUtcTimestamp;
83
- outcome: {
84
- status: CanonicalOrderBookExportStatus;
85
- reason_code: string;
86
- reason_subcode: string | null;
87
- request_id: LowercaseUuid | null;
88
- target: PreparationTarget | null;
89
- selection_sha256: Sha256Hex | null;
90
- query_sha256: Sha256Hex | null;
91
- query_segments: CanonicalOrderBookExportQuerySegment[];
92
- promotion_receipt_ids: Sha256Hex[];
93
- artifacts: null | {
94
- levels: CanonicalOrderBookExportArtifact;
95
- summary: CanonicalOrderBookExportArtifact;
96
- };
97
- diagnostics: Record<string, string | number | boolean>;
98
- };
99
- };
100
- export type PreparationProductPinWire = {
101
- schema_id: typeof PREPARATION_PRODUCT_PIN_SCHEMA_ID;
102
- package: {
103
- name: "@usherlabs/cex-broker";
104
- version: string;
105
- registry_tarball_url: string;
106
- integrity: string;
107
- tarball_sha256: Sha256Hex;
108
- npm_git_head: string;
109
- };
110
- executables: Array<{
111
- product_id: PreparationProducerIdentity["product_id"];
112
- product_version: PreparationProducerIdentity["product_version"];
113
- relative_path: string;
114
- executable_sha256: Sha256Hex;
115
- }>;
116
- schema_manifest: {
117
- schema_id: typeof PREPARATION_SCHEMA_MANIFEST_V3_ID;
118
- manifest_sha256: Sha256Hex;
119
- relative_path: "dist/market-data-preparation/schema-manifest.json";
120
- };
121
- schema_pins: Array<{
122
- schema_id: string;
123
- schema_sha256: Sha256Hex;
124
- }>;
125
- capability_policy: {
126
- policy_id: string;
127
- policy_sha256: Sha256Hex;
128
- };
129
- source_tape_capability: {
130
- policy_id: string;
131
- policy_sha256: Sha256Hex;
132
- };
133
- resource_policy: {
134
- policy_id: string;
135
- policy_sha256: Sha256Hex;
136
- };
137
- preparation_library: {
138
- exported_subpath: "@usherlabs/cex-broker/market-data-preparation";
139
- runtime_entry_sha256: Sha256Hex;
140
- declaration_sha256: Sha256Hex;
141
- operations: [
142
- {
143
- symbol: "runMarketDataSourceTape";
144
- operation_id: "market-data-source-tape/v1";
145
- },
146
- {
147
- symbol: "runMarketDataRequiredClockQualification";
148
- operation_id: "market-data-required-clock-qualification/v1";
149
- }
150
- ];
151
- };
152
- };
153
- type Codec<T> = {
154
- decode(value: unknown): T;
155
- is(value: unknown): value is T;
156
- };
157
- export declare const backfillResultV2Codec: Codec<BackfillJobResultV2Wire>;
158
- export declare const canonicalOrderBookExportRequestCodec: Codec<CanonicalOrderBookExportRequestWire>;
159
- export declare const canonicalOrderBookExportResultCodec: Codec<CanonicalOrderBookExportResultWire>;
160
- export declare const preparationProductPinCodec: Codec<PreparationProductPinWire>;
161
- export declare function finalizeBackfillResultV2(content: Omit<BackfillJobResultV2Wire, "result_sha256">): BackfillJobResultV2Wire;
162
- export declare function finalizeCanonicalOrderBookExportResult(content: Omit<CanonicalOrderBookExportResultWire, "result_sha256">): CanonicalOrderBookExportResultWire;
163
- export declare const PREPARATION_SCHEMA_ARTIFACTS: readonly Readonly<{
164
- schema_id: string;
165
- 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-v2.schema.json" | "schemas/preparation-product-pin-v2.schema.json" | "schemas/order-book-levels-parquet-projection-v1.schema.json" | "schemas/order-book-depth-summary-parquet-projection-v1.schema.json" | "schemas/source-forensics-ledger-v1.schema.json" | "schemas/source-qualification-record-v1.schema.json";
166
- schema_sha256: string;
167
- schema: {
168
- $schema: string;
169
- $id: string;
170
- title: string;
171
- type: string;
172
- additionalProperties: boolean;
173
- required: string[];
174
- properties: {
175
- schema_id: {
176
- const: string;
177
- };
178
- selection_sha256: {
179
- $ref: string;
180
- };
181
- scope: {
182
- $ref: string;
183
- };
184
- required_clock: {
185
- $ref: string;
186
- };
187
- coverage_policy: {
188
- $ref: string;
189
- };
190
- source_policy: {
191
- enum: string[];
192
- };
193
- coverage_class: {
194
- enum: string[];
195
- };
196
- requested_intervals: {
197
- type: string;
198
- minItems: number;
199
- items: {
200
- $ref: string;
201
- };
202
- };
203
- selected_intervals: {
204
- type: string;
205
- items: {
206
- type: string;
207
- additionalProperties: boolean;
208
- required: string[];
209
- properties: {
210
- start_at: {
211
- $ref: string;
212
- };
213
- end_at: {
214
- $ref: string;
215
- };
216
- capture_bundle_id: {
217
- $ref: string;
218
- };
219
- capture_origin: {
220
- $ref: string;
221
- };
222
- };
223
- };
224
- };
225
- precedence: {
226
- type: string;
227
- minItems: number;
228
- maxItems: number;
229
- uniqueItems: boolean;
230
- items: {
231
- enum: string[];
232
- };
233
- };
234
- bundles: {
235
- type: string;
236
- items: {
237
- type: string;
238
- additionalProperties: boolean;
239
- required: string[];
240
- properties: {
241
- capture_bundle_id: {
242
- $ref: string;
243
- };
244
- capture_origin: {
245
- $ref: string;
246
- };
247
- interval: {
248
- $ref: string;
249
- };
250
- qualification: {
251
- oneOf: ({
252
- type: string;
253
- additionalProperties?: undefined;
254
- required?: undefined;
255
- properties?: undefined;
256
- } | {
257
- type: string;
258
- additionalProperties: boolean;
259
- required: string[];
260
- properties: {
261
- qualification_event_id: {
262
- $ref: string;
263
- };
264
- state: {
265
- const: string;
266
- };
267
- receipt_id: {
268
- $ref: string;
269
- };
270
- promotion_identity_sha256: {
271
- $ref: string;
272
- };
273
- };
274
- })[];
275
- };
276
- };
277
- };
278
- };
279
- support_anchors: {
280
- type: string;
281
- items: {
282
- type: string;
283
- additionalProperties: boolean;
284
- required: string[];
285
- properties: {
286
- capture_bundle_id: {
287
- $ref: string;
288
- };
289
- raw_capture_id: {
290
- $ref: string;
291
- };
292
- snapshot_id: {
293
- $ref: string;
294
- };
295
- source_time: {
296
- $ref: string;
297
- };
298
- normalized_summary_checksum: {
299
- $ref: string;
300
- };
301
- metadata_ref: {
302
- type: string;
303
- additionalProperties: boolean;
304
- required: string[];
305
- properties: {
306
- capture_origin: {
307
- $ref: string;
308
- };
309
- qualification_event_id: {
310
- oneOf: ({
311
- type: string;
312
- $ref?: undefined;
313
- } | {
314
- $ref: string;
315
- type?: undefined;
316
- })[];
317
- };
318
- receipt_id: {
319
- oneOf: ({
320
- type: string;
321
- $ref?: undefined;
322
- } | {
323
- $ref: string;
324
- type?: undefined;
325
- })[];
326
- };
327
- };
328
- };
329
- };
330
- };
331
- };
332
- receipt_ids: {
333
- type: string;
334
- uniqueItems: boolean;
335
- items: {
336
- $ref: string;
337
- };
338
- };
339
- qualification_event_ids: {
340
- type: string;
341
- uniqueItems: boolean;
342
- items: {
343
- $ref: string;
344
- };
345
- };
346
- resolved_at: {
347
- $ref: string;
348
- };
349
- };
350
- $defs: {
351
- uuid: {
352
- type: string;
353
- pattern: string;
354
- };
355
- sha256: {
356
- type: string;
357
- pattern: string;
358
- };
359
- timestamp: {
360
- type: string;
361
- pattern: string;
362
- };
363
- safeInteger: {
364
- type: string;
365
- minimum: number;
366
- maximum: number;
367
- };
368
- captureOrigin: {
369
- enum: string[];
370
- };
371
- scope: {
372
- type: string;
373
- additionalProperties: boolean;
374
- required: string[];
375
- properties: {
376
- exchange: {
377
- type: string;
378
- pattern: string;
379
- };
380
- trading_pair: {
381
- type: string;
382
- minLength: number;
383
- maxLength: number;
384
- };
385
- market_type: {
386
- enum: string[];
387
- };
388
- feed: {
389
- const: string;
390
- };
391
- };
392
- };
393
- clockReference: {
394
- type: string;
395
- additionalProperties: boolean;
396
- required: string[];
397
- properties: {
398
- clock_id: {
399
- $ref: string;
400
- };
401
- clock_sha256: {
402
- $ref: string;
403
- };
404
- event_count: {
405
- $ref: string;
406
- };
407
- };
408
- };
409
- coveragePolicy: {
410
- type: string;
411
- additionalProperties: boolean;
412
- required: string[];
413
- properties: {
414
- policy_id: {
415
- const: string;
416
- };
417
- max_asof_lag_ms: {
418
- $ref: string;
419
- };
420
- future_rows: {
421
- const: string;
422
- };
423
- missing_required_event: {
424
- const: string;
425
- };
426
- };
427
- };
428
- interval: {
429
- type: string;
430
- additionalProperties: boolean;
431
- required: string[];
432
- properties: {
433
- start_at: {
434
- $ref: string;
435
- };
436
- end_at: {
437
- $ref: string;
438
- };
439
- };
440
- };
441
- };
442
- } | {
443
- $schema: string;
444
- $id: string;
445
- title: string;
446
- type: string;
447
- additionalProperties: boolean;
448
- required: string[];
449
- properties: {
450
- schema_id: {
451
- const: string;
452
- };
453
- receipt_id: {
454
- $ref: string;
455
- };
456
- promotion_identity_sha256: {
457
- $ref: string;
458
- };
459
- verified_at: {
460
- $ref: string;
461
- };
462
- request_id: {
463
- $ref: string;
464
- };
465
- idempotency_key: {
466
- $ref: string;
467
- };
468
- source: {
469
- const: string;
470
- };
471
- capture_origin: {
472
- const: string;
473
- };
474
- source_mode: {
475
- const: string;
476
- };
477
- provider: {
478
- type: string;
479
- minLength: number;
480
- maxLength: number;
481
- };
482
- adapter_version: {
483
- type: string;
484
- minLength: number;
485
- maxLength: number;
486
- };
487
- effective_policies: {
488
- type: string;
489
- additionalProperties: boolean;
490
- required: string[];
491
- properties: {
492
- capability_policy: {
493
- $ref: string;
494
- };
495
- resource_policy: {
496
- $ref: string;
497
- };
498
- adapter_policy: {
499
- $ref: string;
500
- };
501
- acquisition_policy: {
502
- $ref: string;
503
- };
504
- };
505
- };
506
- capture_bundle_id: {
507
- $ref: string;
508
- };
509
- scope: {
510
- $ref: string;
511
- };
512
- window: {
513
- $ref: string;
514
- };
515
- depth: {
516
- type: string;
517
- minimum: number;
518
- maximum: number;
519
- };
520
- construction_mode: {
521
- enum: string[];
522
- };
523
- canonical_schema: {
524
- type: string;
525
- additionalProperties: boolean;
526
- required: string[];
527
- properties: {
528
- schema_id: {
529
- type: string;
530
- minLength: number;
531
- maxLength: number;
532
- };
533
- schema_sha256: {
534
- $ref: string;
535
- };
536
- };
537
- };
538
- coverage_policy: {
539
- $ref: string;
540
- };
541
- selection_sha256: {
542
- $ref: string;
543
- };
544
- vendor_semantic_digest: {
545
- $ref: string;
546
- };
547
- canonical_semantic_digest: {
548
- $ref: string;
549
- };
550
- prefix_digest: {
551
- $ref: string;
552
- };
553
- suffix_digest: {
554
- $ref: string;
555
- };
556
- seam_verified: {
557
- const: boolean;
558
- };
559
- coverage_verified: {
560
- const: boolean;
561
- };
562
- dataset_objects: {
563
- type: string;
564
- minItems: number;
565
- maxItems: number;
566
- items: {
567
- type: string;
568
- additionalProperties: boolean;
569
- required: string[];
570
- properties: {
571
- identity: {
572
- type: string;
573
- minLength: number;
574
- maxLength: number;
575
- };
576
- checksum: {
577
- $ref: string;
578
- };
579
- bytes: {
580
- $ref: string;
581
- };
582
- rows: {
583
- $ref: string;
584
- };
585
- };
586
- };
587
- };
588
- };
589
- $defs: {
590
- uuid: {
591
- type: string;
592
- pattern: string;
593
- };
594
- sha256: {
595
- type: string;
596
- pattern: string;
597
- };
598
- timestamp: {
599
- type: string;
600
- pattern: string;
601
- };
602
- safeInteger: {
603
- type: string;
604
- minimum: number;
605
- maximum: number;
606
- };
607
- scope: {
608
- type: string;
609
- additionalProperties: boolean;
610
- required: string[];
611
- properties: {
612
- exchange: {
613
- type: string;
614
- pattern: string;
615
- };
616
- trading_pair: {
617
- type: string;
618
- minLength: number;
619
- maxLength: number;
620
- };
621
- market_type: {
622
- enum: string[];
623
- };
624
- feed: {
625
- const: string;
626
- };
627
- };
628
- };
629
- interval: {
630
- type: string;
631
- additionalProperties: boolean;
632
- required: string[];
633
- properties: {
634
- start_at: {
635
- $ref: string;
636
- };
637
- end_at: {
638
- $ref: string;
639
- };
640
- };
641
- };
642
- coveragePolicy: {
643
- type: string;
644
- additionalProperties: boolean;
645
- required: string[];
646
- properties: {
647
- policy_id: {
648
- const: string;
649
- };
650
- max_asof_lag_ms: {
651
- $ref: string;
652
- };
653
- future_rows: {
654
- const: string;
655
- };
656
- missing_required_event: {
657
- const: string;
658
- };
659
- };
660
- };
661
- policyPin: {
662
- type: string;
663
- additionalProperties: boolean;
664
- required: string[];
665
- properties: {
666
- policy_id: {
667
- type: string;
668
- minLength: number;
669
- maxLength: number;
670
- };
671
- policy_sha256: {
672
- $ref: string;
673
- };
674
- };
675
- };
676
- };
677
- } | {
678
- $schema: string;
679
- $id: string;
680
- title: string;
681
- type: string;
682
- additionalProperties: boolean;
683
- required: string[];
684
- properties: {
685
- schema_id: {
686
- const: string;
687
- };
688
- request_id: {
689
- $ref: string;
690
- };
691
- attempt_id: {
692
- $ref: string;
693
- };
694
- idempotency_key: {
695
- $ref: string;
696
- };
697
- scope: {
698
- $ref: string;
699
- };
700
- window: {
701
- $ref: string;
702
- };
703
- depth: {
704
- type: string;
705
- minimum: number;
706
- maximum: number;
707
- };
708
- construction_mode: {
709
- enum: string[];
710
- };
711
- source_policy: {
712
- enum: string[];
713
- };
714
- target: {
715
- type: string;
716
- additionalProperties: boolean;
717
- required: string[];
718
- properties: {
719
- environment: {
720
- type: string;
721
- pattern: string;
722
- };
723
- cluster: {
724
- type: string;
725
- pattern: string;
726
- };
727
- };
728
- };
729
- coverage_policy: {
730
- $ref: string;
731
- };
732
- required_clock: {
733
- type: string;
734
- additionalProperties: boolean;
735
- required: string[];
736
- properties: {
737
- schema_id: {
738
- const: string;
739
- };
740
- clock_id: {
741
- $ref: string;
742
- };
743
- file_name: {
744
- type: string;
745
- pattern: string;
746
- };
747
- clock_sha256: {
748
- $ref: string;
749
- };
750
- event_count: {
751
- $ref: string;
752
- };
753
- };
754
- };
755
- initial_selection: {
756
- $ref: string;
757
- };
758
- expected_canonical_schema: {
759
- $ref: string;
760
- };
761
- product_pins: {
762
- type: string;
763
- additionalProperties: boolean;
764
- required: string[];
765
- properties: {
766
- capability_policy: {
767
- $ref: string;
768
- };
769
- resource_policy: {
770
- $ref: string;
771
- };
772
- };
773
- };
774
- production_authorization_id: {
775
- $ref: string;
776
- };
777
- };
778
- $defs: {
779
- uuid: {
780
- type: string;
781
- pattern: string;
782
- };
783
- sha256: {
784
- type: string;
785
- pattern: string;
786
- };
787
- timestamp: {
788
- type: string;
789
- pattern: string;
790
- };
791
- safeInteger: {
792
- type: string;
793
- minimum: number;
794
- maximum: number;
795
- };
796
- scope: {
797
- type: string;
798
- additionalProperties: boolean;
799
- required: string[];
800
- properties: {
801
- exchange: {
802
- type: string;
803
- pattern: string;
804
- };
805
- trading_pair: {
806
- type: string;
807
- minLength: number;
808
- maxLength: number;
809
- };
810
- market_type: {
811
- enum: string[];
812
- };
813
- feed: {
814
- const: string;
815
- };
816
- };
817
- };
818
- interval: {
819
- type: string;
820
- additionalProperties: boolean;
821
- required: string[];
822
- properties: {
823
- start_at: {
824
- $ref: string;
825
- };
826
- end_at: {
827
- $ref: string;
828
- };
829
- };
830
- };
831
- coveragePolicy: {
832
- type: string;
833
- additionalProperties: boolean;
834
- required: string[];
835
- properties: {
836
- policy_id: {
837
- const: string;
838
- };
839
- max_asof_lag_ms: {
840
- $ref: string;
841
- };
842
- future_rows: {
843
- const: string;
844
- };
845
- missing_required_event: {
846
- const: string;
847
- };
848
- };
849
- };
850
- artifactPin: {
851
- type: string;
852
- additionalProperties: boolean;
853
- required: string[];
854
- properties: {
855
- schema_id: {
856
- type: string;
857
- minLength: number;
858
- maxLength: number;
859
- };
860
- schema_sha256: {
861
- $ref: string;
862
- };
863
- };
864
- };
865
- policyPin: {
866
- type: string;
867
- additionalProperties: boolean;
868
- required: string[];
869
- properties: {
870
- policy_id: {
871
- type: string;
872
- minLength: number;
873
- maxLength: number;
874
- };
875
- policy_sha256: {
876
- $ref: string;
877
- };
878
- };
879
- };
880
- };
881
- } | {
882
- $schema: string;
883
- $id: string;
884
- title: string;
885
- type: string;
886
- additionalProperties: boolean;
887
- required: string[];
888
- properties: {
889
- schema_id: {
890
- const: string;
891
- };
892
- clock_id: {
893
- $ref: string;
894
- };
895
- clock_sha256: {
896
- $ref: string;
897
- };
898
- created_at: {
899
- $ref: string;
900
- };
901
- targets: {
902
- type: string;
903
- minItems: number;
904
- maxItems: number;
905
- items: {
906
- type: string;
907
- additionalProperties: boolean;
908
- required: string[];
909
- properties: {
910
- target_id: {
911
- $ref: string;
912
- };
913
- target_at: {
914
- $ref: string;
915
- };
916
- };
917
- };
918
- };
919
- };
920
- $defs: {
921
- uuid: {
922
- type: string;
923
- pattern: string;
924
- };
925
- sha256: {
926
- type: string;
927
- pattern: string;
928
- };
929
- timestamp: {
930
- type: string;
931
- pattern: string;
932
- };
933
- };
934
- } | {
935
- $schema: string;
936
- $id: string;
937
- title: string;
938
- type: string;
939
- additionalProperties: boolean;
940
- required: string[];
941
- properties: {
942
- schema_id: {
943
- const: string;
944
- };
945
- result_sha256: {
946
- $ref: string;
947
- };
948
- job_id: {
949
- $ref: string;
950
- };
951
- request_file_sha256: {
952
- oneOf: ({
953
- type: string;
954
- $ref?: undefined;
955
- } | {
956
- $ref: string;
957
- type?: undefined;
958
- })[];
959
- };
960
- schema_manifest_sha256: {
961
- $ref: string;
962
- };
963
- producer: {
964
- $ref: string;
965
- };
966
- capability_policy: {
967
- $ref: string;
968
- };
969
- resource_policy: {
970
- $ref: string;
971
- };
972
- started_at: {
973
- $ref: string;
974
- };
975
- completed_at: {
976
- $ref: string;
977
- };
978
- outcome: {
979
- type: string;
980
- additionalProperties: boolean;
981
- required: string[];
982
- properties: {
983
- status: {
984
- enum: string[];
985
- };
986
- reason_code: {
987
- type: string;
988
- pattern: string;
989
- };
990
- reason_subcode: {
991
- oneOf: ({
992
- type: string;
993
- pattern?: undefined;
994
- } | {
995
- type: string;
996
- pattern: string;
997
- })[];
998
- };
999
- request_id: {
1000
- oneOf: ({
1001
- type: string;
1002
- $ref?: undefined;
1003
- } | {
1004
- $ref: string;
1005
- type?: undefined;
1006
- })[];
1007
- };
1008
- idempotency_key: {
1009
- oneOf: ({
1010
- type: string;
1011
- $ref?: undefined;
1012
- } | {
1013
- $ref: string;
1014
- type?: undefined;
1015
- })[];
1016
- };
1017
- target: {
1018
- oneOf: ({
1019
- type: string;
1020
- $ref?: undefined;
1021
- } | {
1022
- $ref: string;
1023
- type?: undefined;
1024
- })[];
1025
- };
1026
- selection: {
1027
- oneOf: ({
1028
- type: string;
1029
- $ref?: undefined;
1030
- } | {
1031
- $ref: string;
1032
- type?: undefined;
1033
- })[];
1034
- };
1035
- receipt: {
1036
- oneOf: ({
1037
- type: string;
1038
- $ref?: undefined;
1039
- } | {
1040
- $ref: string;
1041
- type?: undefined;
1042
- })[];
1043
- };
1044
- diagnostics: {
1045
- type: string;
1046
- maxProperties: number;
1047
- additionalProperties: {
1048
- oneOf: ({
1049
- type: string;
1050
- maxLength: number;
1051
- minimum?: undefined;
1052
- maximum?: undefined;
1053
- } | {
1054
- type: string;
1055
- minimum: number;
1056
- maximum: number;
1057
- maxLength?: undefined;
1058
- } | {
1059
- type: string;
1060
- maxLength?: undefined;
1061
- minimum?: undefined;
1062
- maximum?: undefined;
1063
- })[];
1064
- };
1065
- };
1066
- };
1067
- };
1068
- };
1069
- allOf: {
1070
- if: {
1071
- type: string;
1072
- properties: {
1073
- outcome: {
1074
- type: string;
1075
- properties: {
1076
- status: {
1077
- const: string;
1078
- };
1079
- reason_subcode: {
1080
- const: string;
1081
- };
1082
- };
1083
- required: string[];
1084
- };
1085
- };
1086
- required: string[];
1087
- };
1088
- then: {
1089
- type: string;
1090
- properties: {
1091
- request_file_sha256: {
1092
- type: string;
1093
- };
1094
- };
1095
- };
1096
- else: {
1097
- type: string;
1098
- properties: {
1099
- request_file_sha256: {
1100
- $ref: string;
1101
- };
1102
- };
1103
- };
1104
- }[];
1105
- $defs: {
1106
- uuid: {
1107
- type: string;
1108
- pattern: string;
1109
- };
1110
- sha256: {
1111
- type: string;
1112
- pattern: string;
1113
- };
1114
- timestamp: {
1115
- type: string;
1116
- pattern: string;
1117
- };
1118
- semver: {
1119
- type: string;
1120
- pattern: string;
1121
- };
1122
- target: {
1123
- type: string;
1124
- additionalProperties: boolean;
1125
- required: string[];
1126
- properties: {
1127
- environment: {
1128
- type: string;
1129
- pattern: string;
1130
- };
1131
- cluster: {
1132
- type: string;
1133
- pattern: string;
1134
- };
1135
- };
1136
- };
1137
- policyPin: {
1138
- type: string;
1139
- additionalProperties: boolean;
1140
- required: string[];
1141
- properties: {
1142
- policy_id: {
1143
- type: string;
1144
- minLength: number;
1145
- maxLength: number;
1146
- };
1147
- policy_sha256: {
1148
- $ref: string;
1149
- };
1150
- };
1151
- };
1152
- producer: {
1153
- type: string;
1154
- additionalProperties: boolean;
1155
- required: string[];
1156
- properties: {
1157
- product_id: {
1158
- const: string;
1159
- };
1160
- product_version: {
1161
- const: string;
1162
- };
1163
- package: {
1164
- type: string;
1165
- additionalProperties: boolean;
1166
- required: string[];
1167
- properties: {
1168
- name: {
1169
- const: string;
1170
- };
1171
- version: {
1172
- $ref: string;
1173
- };
1174
- git_head: {
1175
- type: string;
1176
- pattern: string;
1177
- };
1178
- };
1179
- };
1180
- executable_sha256: {
1181
- $ref: string;
1182
- };
1183
- runtime: {
1184
- type: string;
1185
- additionalProperties: boolean;
1186
- required: string[];
1187
- properties: {
1188
- name: {
1189
- const: string;
1190
- };
1191
- version: {
1192
- $ref: string;
1193
- };
1194
- };
1195
- };
1196
- };
1197
- };
1198
- };
1199
- } | {
1200
- $schema: string;
1201
- $id: string;
1202
- title: string;
1203
- type: string;
1204
- additionalProperties: boolean;
1205
- required: string[];
1206
- properties: {
1207
- schema_id: {
1208
- const: string;
1209
- };
1210
- request_id: {
1211
- $ref: string;
1212
- };
1213
- target: {
1214
- $ref: string;
1215
- };
1216
- selection: {
1217
- $ref: string;
1218
- };
1219
- depth: {
1220
- type: string;
1221
- minimum: number;
1222
- maximum: number;
1223
- };
1224
- construction_mode: {
1225
- enum: string[];
1226
- };
1227
- canonical_schema_version: {
1228
- type: string;
1229
- pattern: string;
1230
- };
1231
- checksum_algorithm: {
1232
- const: string;
1233
- };
1234
- };
1235
- $defs: {
1236
- uuid: {
1237
- type: string;
1238
- pattern: string;
1239
- };
1240
- target: {
1241
- type: string;
1242
- additionalProperties: boolean;
1243
- required: string[];
1244
- properties: {
1245
- environment: {
1246
- type: string;
1247
- pattern: string;
1248
- };
1249
- cluster: {
1250
- type: string;
1251
- pattern: string;
1252
- };
1253
- };
1254
- };
1255
- };
1256
- } | {
1257
- $schema: string;
1258
- $id: string;
1259
- title: string;
1260
- type: string;
1261
- additionalProperties: boolean;
1262
- required: string[];
1263
- properties: {
1264
- schema_id: {
1265
- const: string;
1266
- };
1267
- result_sha256: {
1268
- $ref: string;
1269
- };
1270
- job_id: {
1271
- $ref: string;
1272
- };
1273
- request_file_sha256: {
1274
- oneOf: ({
1275
- type: string;
1276
- $ref?: undefined;
1277
- } | {
1278
- $ref: string;
1279
- type?: undefined;
1280
- })[];
1281
- };
1282
- producer: {
1283
- $ref: string;
1284
- };
1285
- started_at: {
1286
- $ref: string;
1287
- };
1288
- completed_at: {
1289
- $ref: string;
1290
- };
1291
- outcome: {
1292
- type: string;
1293
- additionalProperties: boolean;
1294
- required: string[];
1295
- properties: {
1296
- status: {
1297
- enum: string[];
1298
- };
1299
- reason_code: {
1300
- type: string;
1301
- pattern: string;
1302
- };
1303
- reason_subcode: {
1304
- oneOf: ({
1305
- type: string;
1306
- pattern?: undefined;
1307
- } | {
1308
- type: string;
1309
- pattern: string;
1310
- })[];
1311
- };
1312
- request_id: {
1313
- oneOf: ({
1314
- type: string;
1315
- $ref?: undefined;
1316
- } | {
1317
- $ref: string;
1318
- type?: undefined;
1319
- })[];
1320
- };
1321
- target: {
1322
- oneOf: ({
1323
- type: string;
1324
- $ref?: undefined;
1325
- } | {
1326
- $ref: string;
1327
- type?: undefined;
1328
- })[];
1329
- };
1330
- selection_sha256: {
1331
- oneOf: ({
1332
- type: string;
1333
- $ref?: undefined;
1334
- } | {
1335
- $ref: string;
1336
- type?: undefined;
1337
- })[];
1338
- };
1339
- query_sha256: {
1340
- oneOf: ({
1341
- type: string;
1342
- $ref?: undefined;
1343
- } | {
1344
- $ref: string;
1345
- type?: undefined;
1346
- })[];
1347
- };
1348
- query_segments: {
1349
- type: string;
1350
- items: {
1351
- $ref: string;
1352
- };
1353
- };
1354
- promotion_receipt_ids: {
1355
- type: string;
1356
- uniqueItems: boolean;
1357
- items: {
1358
- $ref: string;
1359
- };
1360
- };
1361
- artifacts: {
1362
- oneOf: ({
1363
- type: string;
1364
- additionalProperties?: undefined;
1365
- required?: undefined;
1366
- properties?: undefined;
1367
- } | {
1368
- type: string;
1369
- additionalProperties: boolean;
1370
- required: string[];
1371
- properties: {
1372
- levels: {
1373
- $ref: string;
1374
- };
1375
- summary: {
1376
- $ref: string;
1377
- };
1378
- };
1379
- })[];
1380
- };
1381
- diagnostics: {
1382
- type: string;
1383
- maxProperties: number;
1384
- additionalProperties: {
1385
- oneOf: ({
1386
- type: string;
1387
- maxLength: number;
1388
- minimum?: undefined;
1389
- maximum?: undefined;
1390
- } | {
1391
- type: string;
1392
- minimum: number;
1393
- maximum: number;
1394
- maxLength?: undefined;
1395
- } | {
1396
- type: string;
1397
- maxLength?: undefined;
1398
- minimum?: undefined;
1399
- maximum?: undefined;
1400
- })[];
1401
- };
1402
- };
1403
- };
1404
- allOf: {
1405
- if: {
1406
- type: string;
1407
- properties: {
1408
- status: {
1409
- const: string;
1410
- };
1411
- };
1412
- required: string[];
1413
- };
1414
- then: {
1415
- type: string;
1416
- properties: {
1417
- request_id: {
1418
- $ref: string;
1419
- };
1420
- target: {
1421
- $ref: string;
1422
- };
1423
- selection_sha256: {
1424
- $ref: string;
1425
- };
1426
- query_sha256: {
1427
- $ref: string;
1428
- };
1429
- query_segments: {
1430
- type: string;
1431
- minItems: number;
1432
- };
1433
- artifacts: {
1434
- type: string;
1435
- };
1436
- };
1437
- };
1438
- else: {
1439
- type: string;
1440
- properties: {
1441
- artifacts: {
1442
- type: string;
1443
- };
1444
- };
1445
- };
1446
- }[];
1447
- };
1448
- };
1449
- $defs: {
1450
- uuid: {
1451
- type: string;
1452
- pattern: string;
1453
- };
1454
- sha256: {
1455
- type: string;
1456
- pattern: string;
1457
- };
1458
- timestamp: {
1459
- type: string;
1460
- pattern: string;
1461
- };
1462
- semver: {
1463
- type: string;
1464
- pattern: string;
1465
- };
1466
- target: {
1467
- type: string;
1468
- additionalProperties: boolean;
1469
- required: string[];
1470
- properties: {
1471
- environment: {
1472
- type: string;
1473
- pattern: string;
1474
- };
1475
- cluster: {
1476
- type: string;
1477
- pattern: string;
1478
- };
1479
- };
1480
- };
1481
- producer: {
1482
- type: string;
1483
- additionalProperties: boolean;
1484
- required: string[];
1485
- properties: {
1486
- product_id: {
1487
- const: string;
1488
- };
1489
- product_version: {
1490
- const: string;
1491
- };
1492
- package: {
1493
- type: string;
1494
- additionalProperties: boolean;
1495
- required: string[];
1496
- properties: {
1497
- name: {
1498
- const: string;
1499
- };
1500
- version: {
1501
- $ref: string;
1502
- };
1503
- git_head: {
1504
- type: string;
1505
- pattern: string;
1506
- };
1507
- };
1508
- };
1509
- executable_sha256: {
1510
- $ref: string;
1511
- };
1512
- runtime: {
1513
- type: string;
1514
- additionalProperties: boolean;
1515
- required: string[];
1516
- properties: {
1517
- name: {
1518
- const: string;
1519
- };
1520
- version: {
1521
- $ref: string;
1522
- };
1523
- };
1524
- };
1525
- };
1526
- };
1527
- segment: {
1528
- type: string;
1529
- additionalProperties: boolean;
1530
- required: string[];
1531
- properties: {
1532
- start_at: {
1533
- $ref: string;
1534
- };
1535
- end_at: {
1536
- $ref: string;
1537
- };
1538
- capture_bundle_id: {
1539
- $ref: string;
1540
- };
1541
- capture_origin: {
1542
- enum: string[];
1543
- };
1544
- };
1545
- };
1546
- artifact: {
1547
- type: string;
1548
- additionalProperties: boolean;
1549
- required: string[];
1550
- properties: {
1551
- file_name: {
1552
- type: string;
1553
- pattern: string;
1554
- };
1555
- rows: {
1556
- type: string;
1557
- minimum: number;
1558
- maximum: number;
1559
- };
1560
- bytes: {
1561
- type: string;
1562
- minimum: number;
1563
- maximum: number;
1564
- };
1565
- sha256: {
1566
- $ref: string;
1567
- };
1568
- projection_schema_id: {
1569
- enum: string[];
1570
- };
1571
- projection_schema_sha256: {
1572
- $ref: string;
1573
- };
1574
- };
1575
- };
1576
- };
1577
- } | {
1578
- $schema: string;
1579
- $id: string;
1580
- title: string;
1581
- canonical_schema_id: string;
1582
- file_name: string;
1583
- parquet_metadata: {
1584
- key_value_metadata: never[];
1585
- };
1586
- columns: ({
1587
- name: string;
1588
- physical_type: string;
1589
- logical_type: string;
1590
- nullable: boolean;
1591
- } | {
1592
- name: string;
1593
- physical_type: string;
1594
- logical_type: null;
1595
- nullable: boolean;
1596
- })[];
1597
- metadata: {
1598
- "cex.canonical_schema_id": string;
1599
- "cex.projection_schema_id": string;
1600
- };
1601
- } | {
1602
- $schema: string;
1603
- $id: string;
1604
- title: string;
1605
- canonical_schema_id: string;
1606
- file_name: string;
1607
- parquet_metadata: {
1608
- key_value_metadata: never[];
1609
- };
1610
- columns: ({
1611
- name: string;
1612
- physical_type: string;
1613
- logical_type: string;
1614
- nullable: boolean;
1615
- } | {
1616
- name: string;
1617
- physical_type: string;
1618
- logical_type: null;
1619
- nullable: boolean;
1620
- })[];
1621
- metadata: {
1622
- "cex.canonical_schema_id": string;
1623
- "cex.projection_schema_id": string;
1624
- };
1625
- } | {
1626
- $schema: string;
1627
- $id: string;
1628
- title: string;
1629
- type: string;
1630
- additionalProperties: boolean;
1631
- required: string[];
1632
- properties: {
1633
- schema_id: {
1634
- const: string;
1635
- };
1636
- package: {
1637
- type: string;
1638
- additionalProperties: boolean;
1639
- required: string[];
1640
- properties: {
1641
- name: {
1642
- const: string;
1643
- };
1644
- version: {
1645
- $ref: string;
1646
- };
1647
- registry_tarball_url: {
1648
- type: string;
1649
- pattern: string;
1650
- };
1651
- integrity: {
1652
- type: string;
1653
- pattern: string;
1654
- };
1655
- tarball_sha256: {
1656
- $ref: string;
1657
- };
1658
- npm_git_head: {
1659
- type: string;
1660
- pattern: string;
1661
- };
1662
- };
1663
- };
1664
- executables: {
1665
- type: string;
1666
- minItems: number;
1667
- maxItems: number;
1668
- items: {
1669
- type: string;
1670
- additionalProperties: boolean;
1671
- required: string[];
1672
- properties: {
1673
- product_id: {
1674
- enum: string[];
1675
- };
1676
- product_version: {
1677
- enum: string[];
1678
- };
1679
- relative_path: {
1680
- type: string;
1681
- pattern: string;
1682
- };
1683
- executable_sha256: {
1684
- $ref: string;
1685
- };
1686
- };
1687
- };
1688
- };
1689
- schema_manifest: {
1690
- type: string;
1691
- additionalProperties: boolean;
1692
- required: string[];
1693
- properties: {
1694
- schema_id: {
1695
- const: string;
1696
- };
1697
- manifest_sha256: {
1698
- $ref: string;
1699
- };
1700
- relative_path: {
1701
- const: string;
1702
- };
1703
- };
1704
- };
1705
- schema_pins: {
1706
- type: string;
1707
- minItems: number;
1708
- maxItems: number;
1709
- uniqueItems: boolean;
1710
- items: {
1711
- type: string;
1712
- additionalProperties: boolean;
1713
- required: string[];
1714
- properties: {
1715
- schema_id: {
1716
- type: string;
1717
- minLength: number;
1718
- maxLength: number;
1719
- };
1720
- schema_sha256: {
1721
- $ref: string;
1722
- };
1723
- };
1724
- };
1725
- };
1726
- capability_policy: {
1727
- $ref: string;
1728
- };
1729
- source_tape_capability: {
1730
- $ref: string;
1731
- };
1732
- resource_policy: {
1733
- $ref: string;
1734
- };
1735
- preparation_library: {
1736
- type: string;
1737
- additionalProperties: boolean;
1738
- required: string[];
1739
- properties: {
1740
- exported_subpath: {
1741
- const: string;
1742
- };
1743
- runtime_entry_sha256: {
1744
- $ref: string;
1745
- };
1746
- declaration_sha256: {
1747
- $ref: string;
1748
- };
1749
- operations: {
1750
- type: string;
1751
- prefixItems: {
1752
- type: string;
1753
- additionalProperties: boolean;
1754
- required: string[];
1755
- properties: {
1756
- symbol: {
1757
- const: string;
1758
- };
1759
- operation_id: {
1760
- const: string;
1761
- };
1762
- };
1763
- }[];
1764
- items: boolean;
1765
- minItems: number;
1766
- maxItems: number;
1767
- };
1768
- };
1769
- };
1770
- };
1771
- $defs: {
1772
- sha256: {
1773
- type: string;
1774
- pattern: string;
1775
- };
1776
- semver: {
1777
- type: string;
1778
- pattern: string;
1779
- };
1780
- policyPin: {
1781
- type: string;
1782
- additionalProperties: boolean;
1783
- required: string[];
1784
- properties: {
1785
- policy_id: {
1786
- type: string;
1787
- minLength: number;
1788
- maxLength: number;
1789
- };
1790
- policy_sha256: {
1791
- $ref: string;
1792
- };
1793
- };
1794
- };
1795
- };
1796
- } | {
1797
- $schema: string;
1798
- $id: string;
1799
- title: string;
1800
- type: string;
1801
- additionalProperties: boolean;
1802
- required: string[];
1803
- properties: {
1804
- schema_id: {
1805
- const: string;
1806
- };
1807
- ledger_sha256: {
1808
- $ref: string;
1809
- };
1810
- operation_kind: {
1811
- enum: string[];
1812
- };
1813
- normalized_invocation_sha256: {
1814
- $ref: string;
1815
- };
1816
- request_id: {
1817
- $ref: string;
1818
- };
1819
- scope: {
1820
- $ref: string;
1821
- };
1822
- window: {
1823
- $ref: string;
1824
- };
1825
- required_clock: {
1826
- $ref: string;
1827
- };
1828
- source_tape: {
1829
- $ref: string;
1830
- };
1831
- effective_policies: {
1832
- $ref: string;
1833
- };
1834
- provider_object_inventory: {
1835
- $ref: string;
1836
- };
1837
- provider_objects: {
1838
- type: string;
1839
- items: {
1840
- $ref: string;
1841
- };
1842
- };
1843
- records: {
1844
- type: string;
1845
- maxItems: number;
1846
- items: {
1847
- $ref: string;
1848
- };
1849
- };
1850
- target_dispositions: {
1851
- type: string;
1852
- maxItems: number;
1853
- items: {
1854
- $ref: string;
1855
- };
1856
- };
1857
- summary: {
1858
- type: string;
1859
- };
1860
- limits: {
1861
- type: string;
1862
- additionalProperties: boolean;
1863
- required: string[];
1864
- properties: {
1865
- max_records: {
1866
- const: number;
1867
- };
1868
- max_canonical_json_bytes: {
1869
- const: number;
1870
- };
1871
- };
1872
- };
1873
- complete: {
1874
- type: string;
1875
- };
1876
- incomplete_reason: {
1877
- oneOf: ({
1878
- type: string;
1879
- const?: undefined;
1880
- } | {
1881
- const: string;
1882
- type?: undefined;
1883
- })[];
1884
- };
1885
- };
1886
- oneOf: ({
1887
- properties: {
1888
- operation_kind: {
1889
- const: string;
1890
- };
1891
- summary: {
1892
- $ref: string;
1893
- };
1894
- required_clock: {
1895
- $ref: string;
1896
- };
1897
- target_dispositions: {
1898
- type: string;
1899
- maxItems: number;
1900
- items: {
1901
- $ref: string;
1902
- };
1903
- };
1904
- source_tape: {
1905
- $ref?: undefined;
1906
- };
1907
- };
1908
- required: string[];
1909
- not: {
1910
- properties: {
1911
- source_tape: {};
1912
- };
1913
- required: string[];
1914
- anyOf?: undefined;
1915
- };
1916
- } | {
1917
- properties: {
1918
- operation_kind: {
1919
- const: string;
1920
- };
1921
- summary: {
1922
- $ref: string;
1923
- };
1924
- source_tape: {
1925
- $ref: string;
1926
- };
1927
- required_clock: {
1928
- $ref?: undefined;
1929
- };
1930
- target_dispositions: {
1931
- type?: undefined;
1932
- maxItems?: undefined;
1933
- items?: undefined;
1934
- };
1935
- };
1936
- required: string[];
1937
- not: {
1938
- anyOf: ({
1939
- properties: {
1940
- required_clock: {};
1941
- target_dispositions?: undefined;
1942
- };
1943
- required: string[];
1944
- } | {
1945
- properties: {
1946
- target_dispositions: {};
1947
- required_clock?: undefined;
1948
- };
1949
- required: string[];
1950
- })[];
1951
- properties?: undefined;
1952
- required?: undefined;
1953
- };
1954
- })[];
1955
- $defs: {
1956
- sha256: {
1957
- type: string;
1958
- pattern: string;
1959
- };
1960
- uuid: {
1961
- type: string;
1962
- pattern: string;
1963
- };
1964
- uint: {
1965
- type: string;
1966
- minimum: number;
1967
- maximum: number;
1968
- };
1969
- pin: {
1970
- type: string;
1971
- additionalProperties: boolean;
1972
- required: string[];
1973
- properties: {
1974
- policy_id: {
1975
- type: string;
1976
- minLength: number;
1977
- maxLength: number;
1978
- };
1979
- policy_sha256: {
1980
- $ref: string;
1981
- };
1982
- };
1983
- };
1984
- scope: {
1985
- type: string;
1986
- additionalProperties: boolean;
1987
- required: string[];
1988
- properties: {
1989
- exchange: {
1990
- type: string;
1991
- pattern: string;
1992
- };
1993
- trading_pair: {
1994
- type: string;
1995
- pattern: string;
1996
- };
1997
- market_type: {
1998
- enum: string[];
1999
- };
2000
- feed: {
2001
- const: string;
2002
- };
2003
- };
2004
- };
2005
- interval: {
2006
- type: string;
2007
- additionalProperties: boolean;
2008
- required: string[];
2009
- properties: {
2010
- start_time_ms: {
2011
- $ref: string;
2012
- };
2013
- end_time_ms_exclusive: {
2014
- $ref: string;
2015
- };
2016
- };
2017
- };
2018
- clock: {
2019
- type: string;
2020
- additionalProperties: boolean;
2021
- required: string[];
2022
- properties: {
2023
- clock_id: {
2024
- $ref: string;
2025
- };
2026
- clock_sha256: {
2027
- $ref: string;
2028
- };
2029
- event_count: {
2030
- $ref: string;
2031
- };
2032
- };
2033
- };
2034
- sourceTape: {
2035
- type: string;
2036
- additionalProperties: boolean;
2037
- required: string[];
2038
- properties: {
2039
- product_id: {
2040
- const: string;
2041
- };
2042
- product_version: {
2043
- const: string;
2044
- };
2045
- state_count: {
2046
- $ref: string;
2047
- };
2048
- };
2049
- };
2050
- policies: {
2051
- type: string;
2052
- additionalProperties: boolean;
2053
- required: string[];
2054
- properties: {
2055
- capability_policy: {
2056
- $ref: string;
2057
- };
2058
- resource_policy: {
2059
- $ref: string;
2060
- };
2061
- adapter_policy: {
2062
- $ref: string;
2063
- };
2064
- acquisition_policy: {
2065
- $ref: string;
2066
- };
2067
- };
2068
- };
2069
- inventory: {
2070
- type: string;
2071
- additionalProperties: boolean;
2072
- required: string[];
2073
- properties: {
2074
- expected_identities: {
2075
- type: string;
2076
- maxItems: number;
2077
- uniqueItems: boolean;
2078
- items: {
2079
- type: string;
2080
- minLength: number;
2081
- maxLength: number;
2082
- };
2083
- };
2084
- observed_identities: {
2085
- type: string;
2086
- maxItems: number;
2087
- uniqueItems: boolean;
2088
- items: {
2089
- type: string;
2090
- minLength: number;
2091
- maxLength: number;
2092
- };
2093
- };
2094
- expected_selected_intervals: {
2095
- type: string;
2096
- maxItems: number;
2097
- uniqueItems: boolean;
2098
- items: {
2099
- $ref: string;
2100
- };
2101
- };
2102
- observed_selected_intervals: {
2103
- type: string;
2104
- maxItems: number;
2105
- uniqueItems: boolean;
2106
- items: {
2107
- $ref: string;
2108
- };
2109
- };
2110
- complete: {
2111
- type: string;
2112
- };
2113
- };
2114
- };
2115
- object: {
2116
- type: string;
2117
- additionalProperties: boolean;
2118
- required: string[];
2119
- properties: {
2120
- identity: {
2121
- type: string;
2122
- minLength: number;
2123
- maxLength: number;
2124
- };
2125
- checksums: {
2126
- type: string;
2127
- minItems: number;
2128
- uniqueItems: boolean;
2129
- items: {
2130
- $ref: string;
2131
- };
2132
- };
2133
- attempt_count: {
2134
- type: string;
2135
- minimum: number;
2136
- maximum: number;
2137
- };
2138
- quarantined: {
2139
- type: string;
2140
- };
2141
- };
2142
- };
2143
- anchor: {
2144
- type: string;
2145
- additionalProperties: boolean;
2146
- required: string[];
2147
- properties: {
2148
- event_time_ms: {
2149
- $ref: string;
2150
- };
2151
- sequence: {
2152
- type: string;
2153
- pattern: string;
2154
- };
2155
- object_identity: {
2156
- type: string;
2157
- minLength: number;
2158
- maxLength: number;
2159
- };
2160
- object_checksum: {
2161
- $ref: string;
2162
- };
2163
- };
2164
- };
2165
- targetInterval: {
2166
- type: string;
2167
- additionalProperties: boolean;
2168
- required: string[];
2169
- properties: {
2170
- start_target_time_ms: {
2171
- $ref: string;
2172
- };
2173
- end_target_time_ms_exclusive: {
2174
- $ref: string;
2175
- };
2176
- target_count: {
2177
- $ref: string;
2178
- };
2179
- };
2180
- };
2181
- lagDistribution: {
2182
- type: string;
2183
- additionalProperties: boolean;
2184
- required: string[];
2185
- properties: {
2186
- lag_1000_ms: {
2187
- $ref: string;
2188
- };
2189
- lag_2000_ms: {
2190
- $ref: string;
2191
- };
2192
- lag_5000_ms: {
2193
- $ref: string;
2194
- };
2195
- lag_10000_ms: {
2196
- $ref: string;
2197
- };
2198
- lag_30000_ms: {
2199
- $ref: string;
2200
- };
2201
- lag_60000_ms: {
2202
- $ref: string;
2203
- };
2204
- };
2205
- };
2206
- sequence: {
2207
- type: string;
2208
- additionalProperties: boolean;
2209
- required: string[];
2210
- properties: {
2211
- expected_previous: {
2212
- type: string;
2213
- pattern: string;
2214
- };
2215
- observed_previous: {
2216
- type: string;
2217
- pattern: string;
2218
- };
2219
- observed_final: {
2220
- type: string;
2221
- pattern: string;
2222
- };
2223
- event_time_ms: {
2224
- $ref: string;
2225
- };
2226
- };
2227
- };
2228
- record: {
2229
- type: string;
2230
- additionalProperties: boolean;
2231
- required: string[];
2232
- properties: {
2233
- record_sha256: {
2234
- $ref: string;
2235
- };
2236
- kind: {
2237
- enum: string[];
2238
- };
2239
- scope: {
2240
- $ref: string;
2241
- };
2242
- provider_objects: {
2243
- type: string;
2244
- items: {
2245
- $ref: string;
2246
- };
2247
- };
2248
- previous_anchor: {
2249
- oneOf: ({
2250
- type: string;
2251
- $ref?: undefined;
2252
- } | {
2253
- $ref: string;
2254
- type?: undefined;
2255
- })[];
2256
- };
2257
- next_anchor: {
2258
- oneOf: ({
2259
- type: string;
2260
- $ref?: undefined;
2261
- } | {
2262
- $ref: string;
2263
- type?: undefined;
2264
- })[];
2265
- };
2266
- target_interval: {
2267
- oneOf: ({
2268
- type: string;
2269
- $ref?: undefined;
2270
- } | {
2271
- $ref: string;
2272
- type?: undefined;
2273
- })[];
2274
- };
2275
- lag_distribution: {
2276
- oneOf: ({
2277
- type: string;
2278
- $ref?: undefined;
2279
- } | {
2280
- $ref: string;
2281
- type?: undefined;
2282
- })[];
2283
- };
2284
- sequence: {
2285
- oneOf: ({
2286
- type: string;
2287
- $ref?: undefined;
2288
- } | {
2289
- $ref: string;
2290
- type?: undefined;
2291
- })[];
2292
- };
2293
- classification: {
2294
- oneOf: ({
2295
- type: string;
2296
- enum?: undefined;
2297
- } | {
2298
- enum: string[];
2299
- type?: undefined;
2300
- })[];
2301
- };
2302
- adapter_version: {
2303
- type: string;
2304
- minLength: number;
2305
- maxLength: number;
2306
- };
2307
- };
2308
- };
2309
- disposition: {
2310
- type: string;
2311
- additionalProperties: boolean;
2312
- required: string[];
2313
- properties: {
2314
- target_id: {
2315
- $ref: string;
2316
- };
2317
- target_time_ms: {
2318
- $ref: string;
2319
- };
2320
- disposition: {
2321
- enum: string[];
2322
- };
2323
- source_time_ms: {
2324
- oneOf: ({
2325
- type: string;
2326
- $ref?: undefined;
2327
- } | {
2328
- $ref: string;
2329
- type?: undefined;
2330
- })[];
2331
- };
2332
- asof_age_ms: {
2333
- oneOf: ({
2334
- type: string;
2335
- $ref?: undefined;
2336
- } | {
2337
- $ref: string;
2338
- type?: undefined;
2339
- })[];
2340
- };
2341
- record_sha256s: {
2342
- type: string;
2343
- uniqueItems: boolean;
2344
- items: {
2345
- $ref: string;
2346
- };
2347
- };
2348
- };
2349
- };
2350
- recordSummary: {
2351
- type: string;
2352
- additionalProperties: boolean;
2353
- required: string[];
2354
- properties: {
2355
- retained_record_count: {
2356
- $ref: string;
2357
- };
2358
- total_record_count: {
2359
- $ref: string;
2360
- };
2361
- omitted_record_count: {
2362
- $ref: string;
2363
- };
2364
- affected_target_count: {
2365
- $ref: string;
2366
- };
2367
- unresolved_record_count: {
2368
- $ref: string;
2369
- };
2370
- };
2371
- };
2372
- clockSummary: {
2373
- type: string;
2374
- additionalProperties: boolean;
2375
- required: string[];
2376
- properties: {
2377
- retained_record_count: {
2378
- $ref: string;
2379
- };
2380
- total_record_count: {
2381
- $ref: string;
2382
- };
2383
- omitted_record_count: {
2384
- $ref: string;
2385
- };
2386
- affected_target_count: {
2387
- $ref: string;
2388
- };
2389
- unresolved_record_count: {
2390
- $ref: string;
2391
- };
2392
- disposition_complete: {
2393
- type: string;
2394
- };
2395
- fresh_target_count: {
2396
- $ref: string;
2397
- };
2398
- inactive_target_count: {
2399
- $ref: string;
2400
- };
2401
- disqualifying_target_count: {
2402
- $ref: string;
2403
- };
2404
- omitted_target_disposition_count: {
2405
- $ref: string;
2406
- };
2407
- };
2408
- };
2409
- };
2410
- } | {
2411
- $schema: string;
2412
- $id: string;
2413
- title: string;
2414
- type: string;
2415
- additionalProperties: boolean;
2416
- required: string[];
2417
- properties: {
2418
- schema_id: {
2419
- const: string;
2420
- };
2421
- record_sha256: {
2422
- $ref: string;
2423
- };
2424
- created_at: {
2425
- $ref: string;
2426
- };
2427
- operation_kind: {
2428
- enum: string[];
2429
- };
2430
- normalized_invocation_sha256: {
2431
- $ref: string;
2432
- };
2433
- request_id: {
2434
- $ref: string;
2435
- };
2436
- scope: {
2437
- $ref: string;
2438
- };
2439
- ledger: {
2440
- $ref: string;
2441
- };
2442
- source_reconstruction_accepted: {
2443
- type: string;
2444
- };
2445
- source_event_enumeration_eligible: {
2446
- type: string;
2447
- };
2448
- qualified: {
2449
- type: string;
2450
- };
2451
- source_partition_complete: {
2452
- type: string;
2453
- };
2454
- source_tape_eligible: {
2455
- type: string;
2456
- };
2457
- initializer: {
2458
- oneOf: ({
2459
- $ref: string;
2460
- type?: undefined;
2461
- } | {
2462
- type: string;
2463
- $ref?: undefined;
2464
- })[];
2465
- };
2466
- outcome: {};
2467
- };
2468
- oneOf: ({
2469
- properties: {
2470
- operation_kind: {
2471
- const: string;
2472
- };
2473
- ledger: {
2474
- $ref: string;
2475
- };
2476
- qualified: {
2477
- type: string;
2478
- };
2479
- source_partition_complete: {
2480
- type: string;
2481
- };
2482
- source_tape_eligible: {
2483
- type?: undefined;
2484
- };
2485
- initializer: {
2486
- oneOf?: undefined;
2487
- };
2488
- outcome: {
2489
- $ref: string;
2490
- };
2491
- };
2492
- required: string[];
2493
- not: {
2494
- anyOf: ({
2495
- properties: {
2496
- source_tape_eligible: {};
2497
- initializer?: undefined;
2498
- };
2499
- required: string[];
2500
- } | {
2501
- properties: {
2502
- initializer: {};
2503
- source_tape_eligible?: undefined;
2504
- };
2505
- required: string[];
2506
- })[];
2507
- };
2508
- } | {
2509
- properties: {
2510
- operation_kind: {
2511
- const: string;
2512
- };
2513
- ledger: {
2514
- $ref: string;
2515
- };
2516
- source_tape_eligible: {
2517
- type: string;
2518
- };
2519
- initializer: {
2520
- oneOf: ({
2521
- $ref: string;
2522
- type?: undefined;
2523
- } | {
2524
- type: string;
2525
- $ref?: undefined;
2526
- })[];
2527
- };
2528
- outcome: {
2529
- $ref: string;
2530
- };
2531
- qualified: {
2532
- type?: undefined;
2533
- };
2534
- source_partition_complete: {
2535
- type?: undefined;
2536
- };
2537
- };
2538
- required: string[];
2539
- not: {
2540
- anyOf: ({
2541
- properties: {
2542
- qualified: {};
2543
- source_partition_complete?: undefined;
2544
- };
2545
- required: string[];
2546
- } | {
2547
- properties: {
2548
- source_partition_complete: {};
2549
- qualified?: undefined;
2550
- };
2551
- required: string[];
2552
- })[];
2553
- };
2554
- })[];
2555
- $defs: {
2556
- sha256: {
2557
- type: string;
2558
- pattern: string;
2559
- };
2560
- uuid: {
2561
- type: string;
2562
- pattern: string;
2563
- };
2564
- uint: {
2565
- type: string;
2566
- minimum: number;
2567
- maximum: number;
2568
- };
2569
- timestamp: {
2570
- type: string;
2571
- pattern: string;
2572
- };
2573
- scope: {
2574
- type: string;
2575
- additionalProperties: boolean;
2576
- required: string[];
2577
- properties: {
2578
- exchange: {
2579
- type: string;
2580
- pattern: string;
2581
- };
2582
- trading_pair: {
2583
- type: string;
2584
- pattern: string;
2585
- };
2586
- market_type: {
2587
- enum: string[];
2588
- };
2589
- feed: {
2590
- const: string;
2591
- };
2592
- };
2593
- };
2594
- ledger: {
2595
- type: string;
2596
- additionalProperties: boolean;
2597
- required: string[];
2598
- properties: {
2599
- schema_id: {
2600
- const: string;
2601
- };
2602
- file_name: {
2603
- type: string;
2604
- pattern: string;
2605
- };
2606
- sha256: {
2607
- $ref: string;
2608
- };
2609
- bytes: {
2610
- $ref: string;
2611
- };
2612
- retained_record_count: {
2613
- $ref: string;
2614
- };
2615
- total_record_count: {
2616
- $ref: string;
2617
- };
2618
- omitted_record_count: {
2619
- $ref: string;
2620
- };
2621
- complete: {
2622
- type: string;
2623
- };
2624
- disposition_complete: {
2625
- type: string;
2626
- };
2627
- fresh_target_count: {
2628
- $ref: string;
2629
- };
2630
- inactive_target_count: {
2631
- $ref: string;
2632
- };
2633
- disqualifying_target_count: {
2634
- $ref: string;
2635
- };
2636
- omitted_target_disposition_count: {
2637
- $ref: string;
2638
- };
2639
- state_count: {
2640
- $ref: string;
2641
- };
2642
- };
2643
- };
2644
- clockLedger: {
2645
- allOf: ({
2646
- $ref: string;
2647
- type?: undefined;
2648
- properties?: undefined;
2649
- required?: undefined;
2650
- not?: undefined;
2651
- } | {
2652
- type: string;
2653
- properties: {
2654
- disposition_complete: {};
2655
- fresh_target_count: {};
2656
- inactive_target_count: {};
2657
- disqualifying_target_count: {};
2658
- omitted_target_disposition_count: {};
2659
- state_count: {};
2660
- };
2661
- required: string[];
2662
- not: {
2663
- type: string;
2664
- properties: {
2665
- state_count: {};
2666
- };
2667
- required: string[];
2668
- };
2669
- $ref?: undefined;
2670
- })[];
2671
- };
2672
- tapeLedger: {
2673
- allOf: ({
2674
- $ref: string;
2675
- type?: undefined;
2676
- properties?: undefined;
2677
- required?: undefined;
2678
- not?: undefined;
2679
- } | {
2680
- type: string;
2681
- properties: {
2682
- state_count: {};
2683
- disposition_complete: {};
2684
- fresh_target_count: {};
2685
- inactive_target_count: {};
2686
- disqualifying_target_count: {};
2687
- omitted_target_disposition_count: {};
2688
- };
2689
- required: string[];
2690
- not: {
2691
- type: string;
2692
- anyOf: ({
2693
- type: string;
2694
- properties: {
2695
- disposition_complete: {};
2696
- fresh_target_count?: undefined;
2697
- inactive_target_count?: undefined;
2698
- disqualifying_target_count?: undefined;
2699
- omitted_target_disposition_count?: undefined;
2700
- };
2701
- required: string[];
2702
- } | {
2703
- type: string;
2704
- properties: {
2705
- fresh_target_count: {};
2706
- disposition_complete?: undefined;
2707
- inactive_target_count?: undefined;
2708
- disqualifying_target_count?: undefined;
2709
- omitted_target_disposition_count?: undefined;
2710
- };
2711
- required: string[];
2712
- } | {
2713
- type: string;
2714
- properties: {
2715
- inactive_target_count: {};
2716
- disposition_complete?: undefined;
2717
- fresh_target_count?: undefined;
2718
- disqualifying_target_count?: undefined;
2719
- omitted_target_disposition_count?: undefined;
2720
- };
2721
- required: string[];
2722
- } | {
2723
- type: string;
2724
- properties: {
2725
- disqualifying_target_count: {};
2726
- disposition_complete?: undefined;
2727
- fresh_target_count?: undefined;
2728
- inactive_target_count?: undefined;
2729
- omitted_target_disposition_count?: undefined;
2730
- };
2731
- required: string[];
2732
- } | {
2733
- type: string;
2734
- properties: {
2735
- omitted_target_disposition_count: {};
2736
- disposition_complete?: undefined;
2737
- fresh_target_count?: undefined;
2738
- inactive_target_count?: undefined;
2739
- disqualifying_target_count?: undefined;
2740
- };
2741
- required: string[];
2742
- })[];
2743
- };
2744
- $ref?: undefined;
2745
- })[];
2746
- };
2747
- evidenceDescriptor: {
2748
- type: string;
2749
- additionalProperties: boolean;
2750
- required: string[];
2751
- properties: {
2752
- kind: {
2753
- enum: string[];
2754
- };
2755
- file_name: {
2756
- type: string;
2757
- pattern: string;
2758
- };
2759
- sha256: {
2760
- $ref: string;
2761
- };
2762
- bytes: {
2763
- $ref: string;
2764
- };
2765
- };
2766
- };
2767
- exportResultDescriptor: {
2768
- type: string;
2769
- additionalProperties: boolean;
2770
- required: string[];
2771
- properties: {
2772
- schema_id: {
2773
- const: string;
2774
- };
2775
- file_name: {
2776
- type: string;
2777
- pattern: string;
2778
- };
2779
- sha256: {
2780
- $ref: string;
2781
- };
2782
- bytes: {
2783
- $ref: string;
2784
- };
2785
- result_sha256: {
2786
- $ref: string;
2787
- };
2788
- };
2789
- };
2790
- initializer: {
2791
- type: string;
2792
- additionalProperties: boolean;
2793
- required: string[];
2794
- properties: {
2795
- canonical_snapshot_id: {
2796
- $ref: string;
2797
- };
2798
- source_time_ms: {
2799
- $ref: string;
2800
- };
2801
- sequence: {
2802
- type: string;
2803
- pattern: string;
2804
- };
2805
- semantic_stream_position: {
2806
- const: number;
2807
- };
2808
- };
2809
- };
2810
- clockOutcome: {
2811
- oneOf: ({
2812
- type: string;
2813
- additionalProperties: boolean;
2814
- required: string[];
2815
- properties: {
2816
- status: {
2817
- const: string;
2818
- };
2819
- reason: {
2820
- const: string;
2821
- enum?: undefined;
2822
- };
2823
- partial_evidence: {
2824
- type: string;
2825
- items: {
2826
- $ref: string;
2827
- };
2828
- };
2829
- exporter_result: {
2830
- type: string;
2831
- };
2832
- };
2833
- } | {
2834
- type: string;
2835
- additionalProperties: boolean;
2836
- required: string[];
2837
- properties: {
2838
- status: {
2839
- const: string;
2840
- };
2841
- reason: {
2842
- enum: string[];
2843
- const?: undefined;
2844
- };
2845
- partial_evidence: {
2846
- type: string;
2847
- items: {
2848
- $ref: string;
2849
- };
2850
- };
2851
- exporter_result: {
2852
- type: string;
2853
- };
2854
- };
2855
- })[];
2856
- };
2857
- tapeOutcome: {
2858
- oneOf: ({
2859
- type: string;
2860
- additionalProperties: boolean;
2861
- required: string[];
2862
- properties: {
2863
- status: {
2864
- const: string;
2865
- };
2866
- reason: {
2867
- const: string;
2868
- enum?: undefined;
2869
- };
2870
- partial_evidence: {
2871
- type: string;
2872
- items: {
2873
- $ref: string;
2874
- };
2875
- };
2876
- exporter_result: {
2877
- $ref: string;
2878
- type?: undefined;
2879
- };
2880
- };
2881
- } | {
2882
- type: string;
2883
- additionalProperties: boolean;
2884
- required: string[];
2885
- properties: {
2886
- status: {
2887
- const: string;
2888
- };
2889
- reason: {
2890
- enum: string[];
2891
- const?: undefined;
2892
- };
2893
- partial_evidence: {
2894
- type: string;
2895
- items: {
2896
- $ref: string;
2897
- };
2898
- };
2899
- exporter_result: {
2900
- type: string;
2901
- $ref?: undefined;
2902
- };
2903
- };
2904
- })[];
2905
- };
2906
- };
2907
- };
2908
- }>[];
2909
- export declare const PREPARATION_SCHEMA_MANIFEST_V3: Readonly<{
2910
- manifest_sha256: string;
2911
- schema_id: "https://schemas.usher.so/market-data-vendor-backfill-schema-manifest/v3";
2912
- artifacts: {
2913
- schema_id: string;
2914
- 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-v2.schema.json" | "schemas/preparation-product-pin-v2.schema.json" | "schemas/order-book-levels-parquet-projection-v1.schema.json" | "schemas/order-book-depth-summary-parquet-projection-v1.schema.json" | "schemas/source-forensics-ledger-v1.schema.json" | "schemas/source-qualification-record-v1.schema.json";
2915
- schema_sha256: string;
2916
- }[];
2917
- }>;
2918
- export declare const ORDER_BOOK_LEVELS_PARQUET_PROJECTION: Readonly<{
2919
- $schema: string;
2920
- $id: string;
2921
- title: string;
2922
- canonical_schema_id: string;
2923
- file_name: string;
2924
- parquet_metadata: {
2925
- key_value_metadata: never[];
2926
- };
2927
- columns: ({
2928
- name: string;
2929
- physical_type: string;
2930
- logical_type: string;
2931
- nullable: boolean;
2932
- } | {
2933
- name: string;
2934
- physical_type: string;
2935
- logical_type: null;
2936
- nullable: boolean;
2937
- })[];
2938
- metadata: {
2939
- "cex.canonical_schema_id": string;
2940
- "cex.projection_schema_id": string;
2941
- };
2942
- }>;
2943
- export declare const ORDER_BOOK_DEPTH_SUMMARY_PARQUET_PROJECTION: Readonly<{
2944
- $schema: string;
2945
- $id: string;
2946
- title: string;
2947
- canonical_schema_id: string;
2948
- file_name: string;
2949
- parquet_metadata: {
2950
- key_value_metadata: never[];
2951
- };
2952
- columns: ({
2953
- name: string;
2954
- physical_type: string;
2955
- logical_type: string;
2956
- nullable: boolean;
2957
- } | {
2958
- name: string;
2959
- physical_type: string;
2960
- logical_type: null;
2961
- nullable: boolean;
2962
- })[];
2963
- metadata: {
2964
- "cex.canonical_schema_id": string;
2965
- "cex.projection_schema_id": string;
2966
- };
2967
- }>;
2968
- export declare const ORDER_BOOK_LEVELS_PARQUET_PROJECTION_SCHEMA_SHA256: string;
2969
- export declare const ORDER_BOOK_DEPTH_SUMMARY_PARQUET_PROJECTION_SCHEMA_SHA256: string;
2970
- export {};