aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 21:59:12 +0800
committerGitHub <noreply@github.com>2018-07-05 21:59:12 +0800
commit22cf7bee5b089384d43e6df0101699491c17847f (patch)
tree15cbda739d8a319ba8b3d71227406bdbb32b4bfb /packages/json-schemas
parent1ee2d6ed54b6159d1e8952692f4ddba0ebd65012 (diff)
parentef890aeac45cc8f3078a87dc1668317158e462fd (diff)
downloaddexon-sol-tools-22cf7bee5b089384d43e6df0101699491c17847f.tar
dexon-sol-tools-22cf7bee5b089384d43e6df0101699491c17847f.tar.gz
dexon-sol-tools-22cf7bee5b089384d43e6df0101699491c17847f.tar.bz2
dexon-sol-tools-22cf7bee5b089384d43e6df0101699491c17847f.tar.lz
dexon-sol-tools-22cf7bee5b089384d43e6df0101699491c17847f.tar.xz
dexon-sol-tools-22cf7bee5b089384d43e6df0101699491c17847f.tar.zst
dexon-sol-tools-22cf7bee5b089384d43e6df0101699491c17847f.zip
Merge pull request #814 from 0xProject/feature/fill-scenarios-v2
@0xproject/contract-wrappers V2 refactor. Part 2
Diffstat (limited to 'packages/json-schemas')
-rw-r--r--packages/json-schemas/schemas/orders_schema.ts5
-rw-r--r--packages/json-schemas/src/schemas.ts5
2 files changed, 9 insertions, 1 deletions
diff --git a/packages/json-schemas/schemas/orders_schema.ts b/packages/json-schemas/schemas/orders_schema.ts
new file mode 100644
index 000000000..3ba3291a2
--- /dev/null
+++ b/packages/json-schemas/schemas/orders_schema.ts
@@ -0,0 +1,5 @@
+export const ordersSchema = {
+ id: '/ordersSchema',
+ type: 'array',
+ items: { $ref: '/Order' },
+};
diff --git a/packages/json-schemas/src/schemas.ts b/packages/json-schemas/src/schemas.ts
index 77ea88f5c..93c059e0b 100644
--- a/packages/json-schemas/src/schemas.ts
+++ b/packages/json-schemas/src/schemas.ts
@@ -1,12 +1,13 @@
import { addressSchema, hexSchema, numberSchema } from '../schemas/basic_type_schemas';
import { blockParamSchema, blockRangeSchema } from '../schemas/block_range_schema';
-import { ecSignatureSchema } from '../schemas/ec_signature_schema';
+import { ecSignatureParameterSchema, ecSignatureSchema } from '../schemas/ec_signature_schema';
import { indexFilterValuesSchema } from '../schemas/index_filter_values_schema';
import { orderCancellationRequestsSchema } from '../schemas/order_cancel_schema';
import { orderFillOrKillRequestsSchema } from '../schemas/order_fill_or_kill_requests_schema';
import { orderFillRequestsSchema } from '../schemas/order_fill_requests_schema';
import { orderHashSchema } from '../schemas/order_hash_schema';
import { orderSchema, signedOrderSchema } from '../schemas/order_schemas';
+import { ordersSchema } from '../schemas/orders_schema';
import { relayerApiErrorResponseSchema } from '../schemas/relayer_api_error_response_schema';
import { relayerApiFeesPayloadSchema } from '../schemas/relayer_api_fees_payload_schema';
import { relayerApiFeesResponseSchema } from '../schemas/relayer_api_fees_response_schema';
@@ -32,6 +33,7 @@ export const schemas = {
numberSchema,
addressSchema,
hexSchema,
+ ecSignatureParameterSchema,
ecSignatureSchema,
indexFilterValuesSchema,
orderCancellationRequestsSchema,
@@ -41,6 +43,7 @@ export const schemas = {
orderSchema,
signedOrderSchema,
signedOrdersSchema,
+ ordersSchema,
blockParamSchema,
blockRangeSchema,
tokenSchema,