aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts')
-rw-r--r--packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts b/packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts
new file mode 100644
index 000000000..81c0cac9c
--- /dev/null
+++ b/packages/connect/src/schemas/websocket_orderbook_channel_config_schema.ts
@@ -0,0 +1,10 @@
+export const webSocketOrderbookChannelConfigSchema = {
+ id: '/WebSocketOrderbookChannelConfig',
+ type: 'object',
+ properties: {
+ heartbeatIntervalMs: {
+ type: 'number',
+ minimum: 10,
+ },
+ },
+};