From a78d35f84ee896e70385476fcc8ee2c9db9931bd Mon Sep 17 00:00:00 2001 From: fragosti Date: Tue, 31 Jul 2018 17:22:26 -0700 Subject: Add test for relayerApiOrderSchema --- packages/json-schemas/schemas/orders_schema.ts | 2 +- .../schemas/relayer_api_orders_channel_update_response_schema.ts | 2 +- packages/json-schemas/schemas/signed_orders_schema.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/json-schemas/schemas') diff --git a/packages/json-schemas/schemas/orders_schema.ts b/packages/json-schemas/schemas/orders_schema.ts index 3ba3291a2..73816a57e 100644 --- a/packages/json-schemas/schemas/orders_schema.ts +++ b/packages/json-schemas/schemas/orders_schema.ts @@ -1,5 +1,5 @@ export const ordersSchema = { - id: '/ordersSchema', + id: '/OrdersSchema', type: 'array', items: { $ref: '/Order' }, }; diff --git a/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.ts b/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.ts index 38306391b..31f5ab389 100644 --- a/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.ts +++ b/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.ts @@ -7,5 +7,5 @@ export const relayerApiOrdersChannelUpdateSchema = { requestId: { type: 'string' }, payload: { $ref: '/RelayerApiOrders' }, }, - required: ['type', 'channel', 'requestId', 'payload'], + required: ['type', 'channel', 'requestId'], }; diff --git a/packages/json-schemas/schemas/signed_orders_schema.ts b/packages/json-schemas/schemas/signed_orders_schema.ts index 34d956836..164201f76 100644 --- a/packages/json-schemas/schemas/signed_orders_schema.ts +++ b/packages/json-schemas/schemas/signed_orders_schema.ts @@ -1,5 +1,5 @@ export const signedOrdersSchema = { - id: '/signedOrdersSchema', + id: '/SignedOrdersSchema', type: 'array', items: { $ref: '/SignedOrder' }, }; -- cgit