aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-03 02:57:23 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-03 02:57:23 +0800
commitafc5c2616acfaf59e8ce716bc9329bc06021dc7a (patch)
tree0377e459e8be957f90107b1d2310ed098e2193c8 /packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.ts
parentf8a252d1427a6dddffa3cdb177ebc6ffd9cb774c (diff)
downloaddexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar
dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar.gz
dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar.bz2
dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar.lz
dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar.xz
dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.tar.zst
dexon-sol-tools-afc5c2616acfaf59e8ce716bc9329bc06021dc7a.zip
Enforce stronger naming convention for json schema ids
Diffstat (limited to 'packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.ts')
-rw-r--r--packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.ts b/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.ts
index d36048047..a3b9b6d95 100644
--- a/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.ts
+++ b/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.ts
@@ -1,26 +1,26 @@
export const relayerApiOrdersChannelSubscribeSchema = {
- id: '/RelayerApiOrdersChannelSubscribe',
+ id: '/relayerApiOrdersChannelSubscribeSchema',
type: 'object',
properties: {
type: { enum: ['subscribe'] },
channel: { enum: ['orders'] },
requestId: { type: 'string' },
- payload: { $ref: '/RelayerApiOrdersChannelSubscribePayload' },
+ payload: { $ref: '/relayerApiOrdersChannelSubscribePayload' },
},
required: ['type', 'channel', 'requestId'],
};
export const relayerApiOrdersChannelSubscribePayload = {
- id: '/RelayerApiOrdersChannelSubscribePayload',
+ id: '/relayerApiOrdersChannelSubscribePayload',
type: 'object',
properties: {
- makerAssetProxyId: { $ref: '/Hex' },
- takerAssetProxyId: { $ref: '/Hex' },
+ makerAssetProxyId: { $ref: '/hexSchema' },
+ takerAssetProxyId: { $ref: '/hexSchema' },
networkId: { type: 'number' },
- makerAssetAddress: { $ref: '/Address' },
- takerAssetAddress: { $ref: '/Address' },
- makerAssetData: { $ref: '/Hex' },
- takerAssetData: { $ref: '/Hex' },
- traderAssetData: { $ref: '/Hex' },
+ makerAssetAddress: { $ref: '/addressSchema' },
+ takerAssetAddress: { $ref: '/addressSchema' },
+ makerAssetData: { $ref: '/hexSchema' },
+ takerAssetData: { $ref: '/hexSchema' },
+ traderAssetData: { $ref: '/hexSchema' },
},
};