aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-12-17 09:31:38 +0800
committerFabio Berger <me@fabioberger.com>2018-12-17 09:31:38 +0800
commit896c8d17c16c4f1e9670ab0747ae8934ce5400a5 (patch)
tree84cffb83e3d5e13d3bba68835fdfd96bd58a5182 /packages/json-schemas
parentee4185ab465c76b64b65efefb92e11b0ca4ecad4 (diff)
downloaddexon-0x-contracts-896c8d17c16c4f1e9670ab0747ae8934ce5400a5.tar.gz
dexon-0x-contracts-896c8d17c16c4f1e9670ab0747ae8934ce5400a5.tar.zst
dexon-0x-contracts-896c8d17c16c4f1e9670ab0747ae8934ce5400a5.zip
Fix schemas and tests
Diffstat (limited to 'packages/json-schemas')
-rw-r--r--packages/json-schemas/schemas/order_watcher_web_socket_request_schema.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/json-schemas/schemas/order_watcher_web_socket_request_schema.json b/packages/json-schemas/schemas/order_watcher_web_socket_request_schema.json
index 4666c6291..b0c419f94 100644
--- a/packages/json-schemas/schemas/order_watcher_web_socket_request_schema.json
+++ b/packages/json-schemas/schemas/order_watcher_web_socket_request_schema.json
@@ -21,7 +21,7 @@
{
"type": "object",
"properties": {
- "id": { "type": "string" },
+ "id": { "type": "number" },
"jsonrpc": { "type": "string" },
"method": { "enum": ["ADD_ORDER"] },
"params": { "$ref": "#/definitions/signedOrderParam" }
@@ -31,7 +31,7 @@
{
"type": "object",
"properties": {
- "id": { "type": "string" },
+ "id": { "type": "number" },
"jsonrpc": { "type": "string" },
"method": { "enum": ["REMOVE_ORDER"] },
"params": { "$ref": "#/definitions/orderHashParam" }
@@ -41,7 +41,7 @@
{
"type": "object",
"properties": {
- "id": { "type": "string" },
+ "id": { "type": "number" },
"jsonrpc": { "type": "string" },
"method": { "enum": ["GET_STATS"] },
"params": {}