diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-12-06 20:52:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-06 20:52:22 +0800 |
commit | 594bd2de1ccb41e34729834d67eba617baf1aa80 (patch) | |
tree | b623eb0ed7698b2f0076871fa8bd2bb12298c5c7 /packages/json-schemas/schemas | |
parent | 55083316fc7f4bcfbb77470a3f66e621a68ebb95 (diff) | |
parent | f0c27f98b809afda3c750e77dbd3f35ccd29ec01 (diff) | |
download | dexon-sol-tools-594bd2de1ccb41e34729834d67eba617baf1aa80.tar dexon-sol-tools-594bd2de1ccb41e34729834d67eba617baf1aa80.tar.gz dexon-sol-tools-594bd2de1ccb41e34729834d67eba617baf1aa80.tar.bz2 dexon-sol-tools-594bd2de1ccb41e34729834d67eba617baf1aa80.tar.lz dexon-sol-tools-594bd2de1ccb41e34729834d67eba617baf1aa80.tar.xz dexon-sol-tools-594bd2de1ccb41e34729834d67eba617baf1aa80.tar.zst dexon-sol-tools-594bd2de1ccb41e34729834d67eba617baf1aa80.zip |
Merge branch 'development' into feature/airport-experiments
Diffstat (limited to 'packages/json-schemas/schemas')
3 files changed, 6 insertions, 5 deletions
diff --git a/packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts b/packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts index 8ded9adb0..2f71531c6 100644 --- a/packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts +++ b/packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts @@ -4,9 +4,10 @@ export const relayerApiOrderbookChannelSubscribeSchema = { properties: { type: {enum: ['subscribe']}, channel: {enum: ['orderbook']}, + requestId: {type: 'number'}, payload: {$ref: '/RelayerApiOrderbookChannelSubscribePayload'}, }, - required: ['type', 'channel', 'payload'], + required: ['type', 'channel', 'requestId', 'payload'], }; export const relayerApiOrderbookChannelSubscribePayload = { diff --git a/packages/json-schemas/schemas/relayer_api_orderbook_channel_snapshot_schema.ts b/packages/json-schemas/schemas/relayer_api_orderbook_channel_snapshot_schema.ts index cfc0ddc8f..99037865e 100644 --- a/packages/json-schemas/schemas/relayer_api_orderbook_channel_snapshot_schema.ts +++ b/packages/json-schemas/schemas/relayer_api_orderbook_channel_snapshot_schema.ts @@ -4,10 +4,10 @@ export const relayerApiOrderbookChannelSnapshotSchema = { properties: { type: {enum: ['snapshot']}, channel: {enum: ['orderbook']}, - channelId: {type: 'number'}, + requestId: {type: 'number'}, payload: {$ref: '/RelayerApiOrderbookChannelSnapshotPayload'}, }, - required: ['type', 'channel', 'channelId', 'payload'], + required: ['type', 'channel', 'requestId', 'payload'], }; export const relayerApiOrderbookChannelSnapshotPayload = { diff --git a/packages/json-schemas/schemas/relayer_api_orderbook_channel_update_response_schema.ts b/packages/json-schemas/schemas/relayer_api_orderbook_channel_update_response_schema.ts index 51308ed49..90cfd8749 100644 --- a/packages/json-schemas/schemas/relayer_api_orderbook_channel_update_response_schema.ts +++ b/packages/json-schemas/schemas/relayer_api_orderbook_channel_update_response_schema.ts @@ -4,8 +4,8 @@ export const relayerApiOrderbookChannelUpdateSchema = { properties: { type: {enum: ['update']}, channel: {enum: ['orderbook']}, - channelId: {type: 'number'}, + requestId: {type: 'number'}, payload: {$ref: '/SignedOrder'}, }, - required: ['type', 'channel', 'channelId', 'payload'], + required: ['type', 'channel', 'requestId', 'payload'], }; |