aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas
diff options
context:
space:
mode:
Diffstat (limited to 'packages/json-schemas/schemas')
-rw-r--r--packages/json-schemas/schemas/address_schema.json5
-rw-r--r--packages/json-schemas/schemas/asset_pairs_request_opts_schema.json8
-rw-r--r--packages/json-schemas/schemas/block_param_schema.json11
-rw-r--r--packages/json-schemas/schemas/block_range_schema.json8
-rw-r--r--packages/json-schemas/schemas/call_data_schema.json27
-rw-r--r--packages/json-schemas/schemas/ec_signature_parameter_schema.json5
-rw-r--r--packages/json-schemas/schemas/ec_signature_schema.json14
-rw-r--r--packages/json-schemas/schemas/eip712_typed_data_schema.json28
-rw-r--r--packages/json-schemas/schemas/hex_schema.json5
-rw-r--r--packages/json-schemas/schemas/index_filter_values_schema.json7
-rw-r--r--packages/json-schemas/schemas/js_number_schema.json5
-rw-r--r--packages/json-schemas/schemas/number_schema.json5
-rw-r--r--packages/json-schemas/schemas/order_cancel_schema.json12
-rw-r--r--packages/json-schemas/schemas/order_config_request_schema.json24
-rw-r--r--packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json12
-rw-r--r--packages/json-schemas/schemas/order_fill_requests_schema.json12
-rw-r--r--packages/json-schemas/schemas/order_hash_schema.json5
-rw-r--r--packages/json-schemas/schemas/order_schema.json34
-rw-r--r--packages/json-schemas/schemas/order_watcher_web_socket_request_schema.json52
-rw-r--r--packages/json-schemas/schemas/order_watcher_web_socket_utf8_message_schema.json10
-rw-r--r--packages/json-schemas/schemas/orderbook_request_schema.json9
-rw-r--r--packages/json-schemas/schemas/orders_request_opts_schema.json19
-rw-r--r--packages/json-schemas/schemas/orders_schema.json5
-rw-r--r--packages/json-schemas/schemas/paged_request_opts_schema.json8
-rw-r--r--packages/json-schemas/schemas/paginated_collection_schema.json10
-rw-r--r--packages/json-schemas/schemas/relayer_api_asset_data_pairs_response_schema.json13
-rw-r--r--packages/json-schemas/schemas/relayer_api_asset_data_pairs_schema.json12
-rw-r--r--packages/json-schemas/schemas/relayer_api_asset_data_trade_info_schema.json11
-rw-r--r--packages/json-schemas/schemas/relayer_api_error_response_schema.json21
-rw-r--r--packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.json16
-rw-r--r--packages/json-schemas/schemas/relayer_api_order_config_payload_schema.json24
-rw-r--r--packages/json-schemas/schemas/relayer_api_order_config_response_schema.json11
-rw-r--r--packages/json-schemas/schemas/relayer_api_order_schema.json9
-rw-r--r--packages/json-schemas/schemas/relayer_api_orderbook_response_schema.json9
-rw-r--r--packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_payload_schema.json14
-rw-r--r--packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.json11
-rw-r--r--packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.json11
-rw-r--r--packages/json-schemas/schemas/relayer_api_orders_response_schema.json13
-rw-r--r--packages/json-schemas/schemas/relayer_api_orders_schema.json5
-rw-r--r--packages/json-schemas/schemas/request_opts_schema.json7
-rw-r--r--packages/json-schemas/schemas/signed_order_schema.json12
-rw-r--r--packages/json-schemas/schemas/signed_orders_schema.json5
-rw-r--r--packages/json-schemas/schemas/token_schema.json11
-rw-r--r--packages/json-schemas/schemas/tx_data_schema.json26
-rw-r--r--packages/json-schemas/schemas/whole_number_schema.json12
-rw-r--r--packages/json-schemas/schemas/zero_ex_transaction_schema.json10
46 files changed, 0 insertions, 603 deletions
diff --git a/packages/json-schemas/schemas/address_schema.json b/packages/json-schemas/schemas/address_schema.json
deleted file mode 100644
index 0dc02d331..000000000
--- a/packages/json-schemas/schemas/address_schema.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "/addressSchema",
- "type": "string",
- "pattern": "^0x[0-9a-f]{40}$"
-}
diff --git a/packages/json-schemas/schemas/asset_pairs_request_opts_schema.json b/packages/json-schemas/schemas/asset_pairs_request_opts_schema.json
deleted file mode 100644
index fad0bd371..000000000
--- a/packages/json-schemas/schemas/asset_pairs_request_opts_schema.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "id": "/AssetPairsRequestOptsSchema",
- "type": "object",
- "properties": {
- "assetDataA": { "$ref": "/hexSchema" },
- "assetDataB": { "$ref": "/hexSchema" }
- }
-}
diff --git a/packages/json-schemas/schemas/block_param_schema.json b/packages/json-schemas/schemas/block_param_schema.json
deleted file mode 100644
index ed4dd1e87..000000000
--- a/packages/json-schemas/schemas/block_param_schema.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "id": "/blockParamSchema",
- "oneOf": [
- {
- "type": "number"
- },
- {
- "enum": ["latest", "earliest", "pending"]
- }
- ]
-}
diff --git a/packages/json-schemas/schemas/block_range_schema.json b/packages/json-schemas/schemas/block_range_schema.json
deleted file mode 100644
index b14294649..000000000
--- a/packages/json-schemas/schemas/block_range_schema.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "id": "/blockRangeSchema",
- "properties": {
- "fromBlock": { "$ref": "/blockParamSchema" },
- "toBlock": { "$ref": "/blockParamSchema" }
- },
- "type": "object"
-}
diff --git a/packages/json-schemas/schemas/call_data_schema.json b/packages/json-schemas/schemas/call_data_schema.json
deleted file mode 100644
index e5e6e3282..000000000
--- a/packages/json-schemas/schemas/call_data_schema.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "id": "/callDataSchema",
- "properties": {
- "from": { "$ref": "/addressSchema" },
- "to": { "$ref": "/addressSchema" },
- "value": {
- "oneOf": [{ "$ref": "/numberSchema" }, { "$ref": "/jsNumberSchema" }]
- },
- "gas": {
- "oneOf": [{ "$ref": "/numberSchema" }, { "$ref": "/jsNumberSchema" }]
- },
- "gasPrice": {
- "oneOf": [{ "$ref": "/numberSchema" }, { "$ref": "/jsNumberSchema" }]
- },
- "data": {
- "type": "string",
- "pattern": "^0x[0-9a-f]*$"
- },
- "nonce": {
- "type": "number",
- "minimum": 0
- }
- },
- "required": [],
- "type": "object",
- "additionalProperties": false
-}
diff --git a/packages/json-schemas/schemas/ec_signature_parameter_schema.json b/packages/json-schemas/schemas/ec_signature_parameter_schema.json
deleted file mode 100644
index 0c08ec240..000000000
--- a/packages/json-schemas/schemas/ec_signature_parameter_schema.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "/ecSignatureParameterSchema",
- "type": "string",
- "pattern": "^0[xX][0-9A-Fa-f]{64}$"
-}
diff --git a/packages/json-schemas/schemas/ec_signature_schema.json b/packages/json-schemas/schemas/ec_signature_schema.json
deleted file mode 100644
index 52ccfe7bb..000000000
--- a/packages/json-schemas/schemas/ec_signature_schema.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "id": "/ecSignatureSchema",
- "properties": {
- "v": {
- "type": "number",
- "minimum": 27,
- "maximum": 28
- },
- "r": { "$ref": "/ecSignatureParameterSchema" },
- "s": { "$ref": "/ecSignatureParameterSchema" }
- },
- "required": ["v", "r", "s"],
- "type": "object"
-}
diff --git a/packages/json-schemas/schemas/eip712_typed_data_schema.json b/packages/json-schemas/schemas/eip712_typed_data_schema.json
deleted file mode 100644
index 8efd6de44..000000000
--- a/packages/json-schemas/schemas/eip712_typed_data_schema.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- "id": "/eip712TypedDataSchema",
- "type": "object",
- "properties": {
- "types": {
- "type": "object",
- "properties": {
- "EIP712Domain": { "type": "array" }
- },
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": { "type": "string" },
- "type": { "type": "string" }
- },
- "required": ["name", "type"]
- }
- },
- "required": ["EIP712Domain"]
- },
- "primaryType": { "type": "string" },
- "domain": { "type": "object" },
- "message": { "type": "object" }
- },
- "required": ["types", "primaryType", "domain", "message"]
-}
diff --git a/packages/json-schemas/schemas/hex_schema.json b/packages/json-schemas/schemas/hex_schema.json
deleted file mode 100644
index f37815d5b..000000000
--- a/packages/json-schemas/schemas/hex_schema.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "/hexSchema",
- "type": "string",
- "pattern": "^0x(([0-9a-f][0-9a-f])+)?$"
-}
diff --git a/packages/json-schemas/schemas/index_filter_values_schema.json b/packages/json-schemas/schemas/index_filter_values_schema.json
deleted file mode 100644
index bec00d79e..000000000
--- a/packages/json-schemas/schemas/index_filter_values_schema.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "id": "/indexFilterValuesSchema",
- "additionalProperties": {
- "oneOf": [{ "$ref": "/numberSchema" }, { "$ref": "/addressSchema" }, { "$ref": "/orderHashSchema" }]
- },
- "type": "object"
-}
diff --git a/packages/json-schemas/schemas/js_number_schema.json b/packages/json-schemas/schemas/js_number_schema.json
deleted file mode 100644
index 7df1c4747..000000000
--- a/packages/json-schemas/schemas/js_number_schema.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "/jsNumberSchema",
- "type": "number",
- "minimum": 0
-}
diff --git a/packages/json-schemas/schemas/number_schema.json b/packages/json-schemas/schemas/number_schema.json
deleted file mode 100644
index a48f3e8cf..000000000
--- a/packages/json-schemas/schemas/number_schema.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "/numberSchema",
- "type": "string",
- "pattern": "^\\d+(\\.\\d+)?$"
-}
diff --git a/packages/json-schemas/schemas/order_cancel_schema.json b/packages/json-schemas/schemas/order_cancel_schema.json
deleted file mode 100644
index 8d0999941..000000000
--- a/packages/json-schemas/schemas/order_cancel_schema.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "id": "/orderCancellationRequestsSchema",
- "type": "array",
- "items": {
- "properties": {
- "order": { "$ref": "/orderSchema" },
- "takerTokenCancelAmount": { "$ref": "/wholeNumberSchema" }
- },
- "required": ["order", "takerTokenCancelAmount"],
- "type": "object"
- }
-}
diff --git a/packages/json-schemas/schemas/order_config_request_schema.json b/packages/json-schemas/schemas/order_config_request_schema.json
deleted file mode 100644
index 19b043e7f..000000000
--- a/packages/json-schemas/schemas/order_config_request_schema.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "id": "/OrderConfigRequestSchema",
- "type": "object",
- "properties": {
- "makerAddress": { "$ref": "/addressSchema" },
- "takerAddress": { "$ref": "/addressSchema" },
- "makerAssetAmount": { "$ref": "/wholeNumberSchema" },
- "takerAssetAmount": { "$ref": "/wholeNumberSchema" },
- "makerAssetData": { "$ref": "/hexSchema" },
- "takerAssetData": { "$ref": "/hexSchema" },
- "exchangeAddress": { "$ref": "/addressSchema" },
- "expirationTimeSeconds": { "$ref": "/wholeNumberSchema" }
- },
- "required": [
- "makerAddress",
- "takerAddress",
- "makerAssetAmount",
- "takerAssetAmount",
- "makerAssetData",
- "takerAssetData",
- "exchangeAddress",
- "expirationTimeSeconds"
- ]
-}
diff --git a/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json b/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json
deleted file mode 100644
index 73bbf20bb..000000000
--- a/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "id": "/orderFillOrKillRequestsSchema",
- "type": "array",
- "items": {
- "properties": {
- "signedOrder": { "$ref": "/signedOrderSchema" },
- "fillTakerAmount": { "$ref": "/wholeNumberSchema" }
- },
- "required": ["signedOrder", "fillTakerAmount"],
- "type": "object"
- }
-}
diff --git a/packages/json-schemas/schemas/order_fill_requests_schema.json b/packages/json-schemas/schemas/order_fill_requests_schema.json
deleted file mode 100644
index d06fb19a2..000000000
--- a/packages/json-schemas/schemas/order_fill_requests_schema.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "id": "/orderFillRequestsSchema",
- "type": "array",
- "items": {
- "properties": {
- "signedOrder": { "$ref": "/signedOrderSchema" },
- "takerTokenFillAmount": { "$ref": "/wholeNumberSchema" }
- },
- "required": ["signedOrder", "takerTokenFillAmount"],
- "type": "object"
- }
-}
diff --git a/packages/json-schemas/schemas/order_hash_schema.json b/packages/json-schemas/schemas/order_hash_schema.json
deleted file mode 100644
index 4a770579f..000000000
--- a/packages/json-schemas/schemas/order_hash_schema.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "/orderHashSchema",
- "type": "string",
- "pattern": "^0x[0-9a-fA-F]{64}$"
-}
diff --git a/packages/json-schemas/schemas/order_schema.json b/packages/json-schemas/schemas/order_schema.json
deleted file mode 100644
index c70b9e2dd..000000000
--- a/packages/json-schemas/schemas/order_schema.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "id": "/orderSchema",
- "properties": {
- "makerAddress": { "$ref": "/addressSchema" },
- "takerAddress": { "$ref": "/addressSchema" },
- "makerFee": { "$ref": "/wholeNumberSchema" },
- "takerFee": { "$ref": "/wholeNumberSchema" },
- "senderAddress": { "$ref": "/addressSchema" },
- "makerAssetAmount": { "$ref": "/wholeNumberSchema" },
- "takerAssetAmount": { "$ref": "/wholeNumberSchema" },
- "makerAssetData": { "$ref": "/hexSchema" },
- "takerAssetData": { "$ref": "/hexSchema" },
- "salt": { "$ref": "/wholeNumberSchema" },
- "exchangeAddress": { "$ref": "/addressSchema" },
- "feeRecipientAddress": { "$ref": "/addressSchema" },
- "expirationTimeSeconds": { "$ref": "/wholeNumberSchema" }
- },
- "required": [
- "makerAddress",
- "takerAddress",
- "makerFee",
- "takerFee",
- "senderAddress",
- "makerAssetAmount",
- "takerAssetAmount",
- "makerAssetData",
- "takerAssetData",
- "salt",
- "exchangeAddress",
- "feeRecipientAddress",
- "expirationTimeSeconds"
- ],
- "type": "object"
-}
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
deleted file mode 100644
index b0c419f94..000000000
--- a/packages/json-schemas/schemas/order_watcher_web_socket_request_schema.json
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- "id": "/orderWatcherWebSocketRequestSchema",
- "type": "object",
- "definitions": {
- "signedOrderParam": {
- "type": "object",
- "properties": {
- "signedOrder": { "$ref": "/signedOrderSchema" }
- },
- "required": ["signedOrder"]
- },
- "orderHashParam": {
- "type": "object",
- "properties": {
- "orderHash": { "$ref": "/hexSchema" }
- },
- "required": ["orderHash"]
- }
- },
- "oneOf": [
- {
- "type": "object",
- "properties": {
- "id": { "type": "number" },
- "jsonrpc": { "type": "string" },
- "method": { "enum": ["ADD_ORDER"] },
- "params": { "$ref": "#/definitions/signedOrderParam" }
- },
- "required": ["id", "jsonrpc", "method", "params"]
- },
- {
- "type": "object",
- "properties": {
- "id": { "type": "number" },
- "jsonrpc": { "type": "string" },
- "method": { "enum": ["REMOVE_ORDER"] },
- "params": { "$ref": "#/definitions/orderHashParam" }
- },
- "required": ["id", "jsonrpc", "method", "params"]
- },
- {
- "type": "object",
- "properties": {
- "id": { "type": "number" },
- "jsonrpc": { "type": "string" },
- "method": { "enum": ["GET_STATS"] },
- "params": {}
- },
- "required": ["id", "jsonrpc", "method"]
- }
- ]
-} \ No newline at end of file
diff --git a/packages/json-schemas/schemas/order_watcher_web_socket_utf8_message_schema.json b/packages/json-schemas/schemas/order_watcher_web_socket_utf8_message_schema.json
deleted file mode 100644
index 154d6d754..000000000
--- a/packages/json-schemas/schemas/order_watcher_web_socket_utf8_message_schema.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "id": "/orderWatcherWebSocketUtf8MessageSchema",
- "properties": {
- "utf8Data": { "type": "string" }
- },
- "required": [
- "utf8Data"
- ],
- "type": "object"
-}
diff --git a/packages/json-schemas/schemas/orderbook_request_schema.json b/packages/json-schemas/schemas/orderbook_request_schema.json
deleted file mode 100644
index 5ce6e8ab0..000000000
--- a/packages/json-schemas/schemas/orderbook_request_schema.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "id": "/OrderbookRequestSchema",
- "type": "object",
- "properties": {
- "baseAssetData": { "$ref": "/hexSchema" },
- "quoteAssetData": { "$ref": "/hexSchema" }
- },
- "required": ["baseAssetData", "quoteAssetData"]
-}
diff --git a/packages/json-schemas/schemas/orders_request_opts_schema.json b/packages/json-schemas/schemas/orders_request_opts_schema.json
deleted file mode 100644
index 4c1b9b4e9..000000000
--- a/packages/json-schemas/schemas/orders_request_opts_schema.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "id": "/OrdersRequestOptsSchema",
- "type": "object",
- "properties": {
- "makerAssetProxyId": { "$ref": "/hexSchema" },
- "takerAssetProxyId": { "$ref": "/hexSchema" },
- "makerAssetAddress": { "$ref": "/addressSchema" },
- "takerAssetAddress": { "$ref": "/addressSchema" },
- "exchangeAddress": { "$ref": "/addressSchema" },
- "senderAddress": { "$ref": "/addressSchema" },
- "makerAssetData": { "$ref": "/hexSchema" },
- "takerAssetData": { "$ref": "/hexSchema" },
- "traderAssetData": { "$ref": "/hexSchema" },
- "makerAddress": { "$ref": "/addressSchema" },
- "takerAddress": { "$ref": "/addressSchema" },
- "traderAddress": { "$ref": "/addressSchema" },
- "feeRecipientAddress": { "$ref": "/addressSchema" }
- }
-}
diff --git a/packages/json-schemas/schemas/orders_schema.json b/packages/json-schemas/schemas/orders_schema.json
deleted file mode 100644
index 1e1c6a875..000000000
--- a/packages/json-schemas/schemas/orders_schema.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "/ordersSchema",
- "type": "array",
- "items": { "$ref": "/orderSchema" }
-}
diff --git a/packages/json-schemas/schemas/paged_request_opts_schema.json b/packages/json-schemas/schemas/paged_request_opts_schema.json
deleted file mode 100644
index f143c28b0..000000000
--- a/packages/json-schemas/schemas/paged_request_opts_schema.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "id": "/PagedRequestOptsSchema",
- "type": "object",
- "properties": {
- "page": { "type": "number" },
- "perPage": { "type": "number" }
- }
-}
diff --git a/packages/json-schemas/schemas/paginated_collection_schema.json b/packages/json-schemas/schemas/paginated_collection_schema.json
deleted file mode 100644
index 9dcedf5b4..000000000
--- a/packages/json-schemas/schemas/paginated_collection_schema.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "id": "/paginatedCollectionSchema",
- "type": "object",
- "properties": {
- "total": { "type": "number" },
- "perPage": { "type": "number" },
- "page": { "type": "number" }
- },
- "required": ["total", "perPage", "page"]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_asset_data_pairs_response_schema.json b/packages/json-schemas/schemas/relayer_api_asset_data_pairs_response_schema.json
deleted file mode 100644
index d1150d3db..000000000
--- a/packages/json-schemas/schemas/relayer_api_asset_data_pairs_response_schema.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "id": "/relayerApiAssetDataPairsResponseSchema",
- "type": "object",
- "allOf": [
- { "$ref": "/paginatedCollectionSchema" },
- {
- "properties": {
- "records": { "$ref": "/relayerApiAssetDataPairsSchema" }
- },
- "required": ["records"]
- }
- ]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_asset_data_pairs_schema.json b/packages/json-schemas/schemas/relayer_api_asset_data_pairs_schema.json
deleted file mode 100644
index 62d4745b8..000000000
--- a/packages/json-schemas/schemas/relayer_api_asset_data_pairs_schema.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "id": "/relayerApiAssetDataPairsSchema",
- "type": "array",
- "items": {
- "properties": {
- "assetDataA": { "$ref": "/relayerApiAssetDataTradeInfoSchema" },
- "assetDataB": { "$ref": "/relayerApiAssetDataTradeInfoSchema" }
- },
- "required": ["assetDataA", "assetDataB"],
- "type": "object"
- }
-}
diff --git a/packages/json-schemas/schemas/relayer_api_asset_data_trade_info_schema.json b/packages/json-schemas/schemas/relayer_api_asset_data_trade_info_schema.json
deleted file mode 100644
index e0f274c5d..000000000
--- a/packages/json-schemas/schemas/relayer_api_asset_data_trade_info_schema.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "id": "/relayerApiAssetDataTradeInfoSchema",
- "type": "object",
- "properties": {
- "assetData": { "$ref": "/hexSchema" },
- "minAmount": { "$ref": "/wholeNumberSchema" },
- "maxAmount": { "$ref": "/wholeNumberSchema" },
- "precision": { "type": "number" }
- },
- "required": ["assetData"]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_error_response_schema.json b/packages/json-schemas/schemas/relayer_api_error_response_schema.json
deleted file mode 100644
index be4659b0b..000000000
--- a/packages/json-schemas/schemas/relayer_api_error_response_schema.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "id": "/relayerApiErrorResponseSchema",
- "type": "object",
- "properties": {
- "code": { "type": "integer", "minimum": 100, "maximum": 103 },
- "reason": { "type": "string" },
- "validationErrors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "field": { "type": "string" },
- "code": { "type": "integer", "minimum": 1000, "maximum": 1006 },
- "reason": { "type": "string" }
- },
- "required": ["field", "code", "reason"]
- }
- }
- },
- "required": ["code", "reason"]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.json b/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.json
deleted file mode 100644
index c73506dbb..000000000
--- a/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "id": "/relayerApiFeeRecipientsResponseSchema",
- "type": "object",
- "allOf": [
- { "$ref": "/paginatedCollectionSchema" },
- {
- "properties": {
- "records": {
- "type": "array",
- "items": { "$ref": "/addressSchema" }
- }
- },
- "required": ["records"]
- }
- ]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_order_config_payload_schema.json b/packages/json-schemas/schemas/relayer_api_order_config_payload_schema.json
deleted file mode 100644
index f4583fc62..000000000
--- a/packages/json-schemas/schemas/relayer_api_order_config_payload_schema.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "id": "/relayerApiOrderConfigPayloadSchema",
- "type": "object",
- "properties": {
- "makerAddress": { "$ref": "/addressSchema" },
- "takerAddress": { "$ref": "/addressSchema" },
- "makerAssetAmount": { "$ref": "/wholeNumberSchema" },
- "takerAssetAmount": { "$ref": "/wholeNumberSchema" },
- "makerAssetData": { "$ref": "/hexSchema" },
- "takerAssetData": { "$ref": "/hexSchema" },
- "exchangeAddress": { "$ref": "/addressSchema" },
- "expirationTimeSeconds": { "$ref": "/wholeNumberSchema" }
- },
- "required": [
- "makerAddress",
- "takerAddress",
- "makerAssetAmount",
- "takerAssetAmount",
- "makerAssetData",
- "takerAssetData",
- "exchangeAddress",
- "expirationTimeSeconds"
- ]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_order_config_response_schema.json b/packages/json-schemas/schemas/relayer_api_order_config_response_schema.json
deleted file mode 100644
index 8193861e1..000000000
--- a/packages/json-schemas/schemas/relayer_api_order_config_response_schema.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "id": "/relayerApiOrderConfigResponseSchema",
- "type": "object",
- "properties": {
- "makerFee": { "$ref": "/wholeNumberSchema" },
- "takerFee": { "$ref": "/wholeNumberSchema" },
- "feeRecipientAddress": { "$ref": "/addressSchema" },
- "senderAddress": { "$ref": "/addressSchema" }
- },
- "required": ["makerFee", "takerFee", "feeRecipientAddress", "senderAddress"]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_order_schema.json b/packages/json-schemas/schemas/relayer_api_order_schema.json
deleted file mode 100644
index e0f6539b9..000000000
--- a/packages/json-schemas/schemas/relayer_api_order_schema.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "id": "/relayerApiOrderSchema",
- "type": "object",
- "properties": {
- "order": { "$ref": "/orderSchema" },
- "metaData": { "type": "object" }
- },
- "required": ["order", "metaData"]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.json b/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.json
deleted file mode 100644
index b44f2a740..000000000
--- a/packages/json-schemas/schemas/relayer_api_orderbook_response_schema.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "id": "/relayerApiOrderbookResponseSchema",
- "type": "object",
- "properties": {
- "bids": { "$ref": "/relayerApiOrdersResponseSchema" },
- "asks": { "$ref": "/relayerApiOrdersResponseSchema" }
- },
- "required": ["bids", "asks"]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_payload_schema.json b/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_payload_schema.json
deleted file mode 100644
index 274ef1625..000000000
--- a/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_payload_schema.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "id": "/relayerApiOrdersChannelSubscribePayloadSchema",
- "type": "object",
- "properties": {
- "makerAssetProxyId": { "$ref": "/hexSchema" },
- "takerAssetProxyId": { "$ref": "/hexSchema" },
- "networkId": { "type": "number" },
- "makerAssetAddress": { "$ref": "/addressSchema" },
- "takerAssetAddress": { "$ref": "/addressSchema" },
- "makerAssetData": { "$ref": "/hexSchema" },
- "takerAssetData": { "$ref": "/hexSchema" },
- "traderAssetData": { "$ref": "/hexSchema" }
- }
-}
diff --git a/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.json b/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.json
deleted file mode 100644
index 29561d09f..000000000
--- a/packages/json-schemas/schemas/relayer_api_orders_channel_subscribe_schema.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "id": "/relayerApiOrdersChannelSubscribeSchema",
- "type": "object",
- "properties": {
- "type": { "enum": ["subscribe"] },
- "channel": { "enum": ["orders"] },
- "requestId": { "type": "string" },
- "payload": { "$ref": "/relayerApiOrdersChannelSubscribePayloadSchema" }
- },
- "required": ["type", "channel", "requestId"]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.json b/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.json
deleted file mode 100644
index 239e7c586..000000000
--- a/packages/json-schemas/schemas/relayer_api_orders_channel_update_response_schema.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "id": "/relayerApiOrdersChannelUpdateSchema",
- "type": "object",
- "properties": {
- "type": { "enum": ["update"] },
- "channel": { "enum": ["orders"] },
- "requestId": { "type": "string" },
- "payload": { "$ref": "/relayerApiOrdersSchema" }
- },
- "required": ["type", "channel", "requestId"]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_orders_response_schema.json b/packages/json-schemas/schemas/relayer_api_orders_response_schema.json
deleted file mode 100644
index a5023a3fc..000000000
--- a/packages/json-schemas/schemas/relayer_api_orders_response_schema.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "id": "/relayerApiOrdersResponseSchema",
- "type": "object",
- "allOf": [
- { "$ref": "/paginatedCollectionSchema" },
- {
- "properties": {
- "records": { "$ref": "/relayerApiOrdersSchema" }
- },
- "required": ["records"]
- }
- ]
-}
diff --git a/packages/json-schemas/schemas/relayer_api_orders_schema.json b/packages/json-schemas/schemas/relayer_api_orders_schema.json
deleted file mode 100644
index 84e75cd04..000000000
--- a/packages/json-schemas/schemas/relayer_api_orders_schema.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "/relayerApiOrdersSchema",
- "type": "array",
- "items": { "$ref": "/relayerApiOrderSchema" }
-}
diff --git a/packages/json-schemas/schemas/request_opts_schema.json b/packages/json-schemas/schemas/request_opts_schema.json
deleted file mode 100644
index 2206f5016..000000000
--- a/packages/json-schemas/schemas/request_opts_schema.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "id": "/RequestOptsSchema",
- "type": "object",
- "properties": {
- "networkId": { "type": "number" }
- }
-}
diff --git a/packages/json-schemas/schemas/signed_order_schema.json b/packages/json-schemas/schemas/signed_order_schema.json
deleted file mode 100644
index 137ae4a24..000000000
--- a/packages/json-schemas/schemas/signed_order_schema.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "id": "/signedOrderSchema",
- "allOf": [
- { "$ref": "/orderSchema" },
- {
- "properties": {
- "signature": { "$ref": "/hexSchema" }
- },
- "required": ["signature"]
- }
- ]
-}
diff --git a/packages/json-schemas/schemas/signed_orders_schema.json b/packages/json-schemas/schemas/signed_orders_schema.json
deleted file mode 100644
index e7c3a0b6c..000000000
--- a/packages/json-schemas/schemas/signed_orders_schema.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "id": "/signedOrdersSchema",
- "type": "array",
- "items": { "$ref": "/signedOrderSchema" }
-}
diff --git a/packages/json-schemas/schemas/token_schema.json b/packages/json-schemas/schemas/token_schema.json
deleted file mode 100644
index 31e41c4b8..000000000
--- a/packages/json-schemas/schemas/token_schema.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "id": "/tokenSchema",
- "properties": {
- "name": { "type": "string" },
- "symbol": { "type": "string" },
- "decimals": { "type": "number" },
- "address": { "$ref": "/addressSchema" }
- },
- "required": ["name", "symbol", "decimals", "address"],
- "type": "object"
-}
diff --git a/packages/json-schemas/schemas/tx_data_schema.json b/packages/json-schemas/schemas/tx_data_schema.json
deleted file mode 100644
index 8c3daba4e..000000000
--- a/packages/json-schemas/schemas/tx_data_schema.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "id": "/txDataSchema",
- "properties": {
- "from": { "$ref": "/addressSchema" },
- "to": { "$ref": "/addressSchema" },
- "value": {
- "oneOf": [{ "$ref": "/numberSchema" }, { "$ref": "/jsNumberSchema" }]
- },
- "gas": {
- "oneOf": [{ "$ref": "/numberSchema" }, { "$ref": "/jsNumberSchema" }]
- },
- "gasPrice": {
- "oneOf": [{ "$ref": "/numberSchema" }, { "$ref": "/jsNumberSchema" }]
- },
- "data": {
- "type": "string",
- "pattern": "^0x[0-9a-f]*$"
- },
- "nonce": {
- "type": "number",
- "minimum": 0
- }
- },
- "required": ["from"],
- "type": "object"
-}
diff --git a/packages/json-schemas/schemas/whole_number_schema.json b/packages/json-schemas/schemas/whole_number_schema.json
deleted file mode 100644
index aa469954c..000000000
--- a/packages/json-schemas/schemas/whole_number_schema.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "id": "/wholeNumberSchema",
- "anyOf": [
- {
- "type": "string",
- "pattern": "^\\d+$"
- },
- {
- "type": "integer"
- }
- ]
-}
diff --git a/packages/json-schemas/schemas/zero_ex_transaction_schema.json b/packages/json-schemas/schemas/zero_ex_transaction_schema.json
deleted file mode 100644
index 0c714f14d..000000000
--- a/packages/json-schemas/schemas/zero_ex_transaction_schema.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "id": "/zeroExTransactionSchema",
- "properties": {
- "data": { "$ref": "/hexSchema" },
- "signerAddress": { "$ref": "/addressSchema" },
- "salt": { "$ref": "/wholeNumberSchema" }
- },
- "required": ["data", "salt", "signerAddress"],
- "type": "object"
-}