aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-08 08:42:22 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-08 08:42:52 +0800
commit95b656f360f635447725e00bb90642f1b859477a (patch)
tree03eeb10b3607ad56cc4f1021d3ab1ed81a08f0ec /packages/json-schemas
parentb0a7db81cb2bde774f410938578476200d1dc694 (diff)
downloaddexon-0x-contracts-95b656f360f635447725e00bb90642f1b859477a.tar
dexon-0x-contracts-95b656f360f635447725e00bb90642f1b859477a.tar.gz
dexon-0x-contracts-95b656f360f635447725e00bb90642f1b859477a.tar.bz2
dexon-0x-contracts-95b656f360f635447725e00bb90642f1b859477a.tar.lz
dexon-0x-contracts-95b656f360f635447725e00bb90642f1b859477a.tar.xz
dexon-0x-contracts-95b656f360f635447725e00bb90642f1b859477a.tar.zst
dexon-0x-contracts-95b656f360f635447725e00bb90642f1b859477a.zip
Add GET fee_recipients
Diffstat (limited to 'packages/json-schemas')
-rw-r--r--packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts13
-rw-r--r--packages/json-schemas/src/schemas.ts2
2 files changed, 15 insertions, 0 deletions
diff --git a/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts b/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts
new file mode 100644
index 000000000..84d39eb20
--- /dev/null
+++ b/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts
@@ -0,0 +1,13 @@
+export const relayerApiFeeRecipientsResponseSchema = {
+ id: '/relayerApiFeeRecipientsResponseSchema',
+ type: 'object',
+ allOf: [
+ { $ref: '/paginatedCollectionSchema' },
+ {
+ properties: {
+ records: { $ref: '/addressSchema' },
+ },
+ required: ['records'],
+ },
+ ],
+};
diff --git a/packages/json-schemas/src/schemas.ts b/packages/json-schemas/src/schemas.ts
index 61614ebde..002a470be 100644
--- a/packages/json-schemas/src/schemas.ts
+++ b/packages/json-schemas/src/schemas.ts
@@ -16,6 +16,7 @@ import {
relayerApiAssetDataTradeInfoSchema,
} from '../schemas/relayer_api_asset_pairs_response_schema';
import { relayerApiErrorResponseSchema } from '../schemas/relayer_api_error_response_schema';
+import { relayerApiFeeRecipientsResponseSchema } from '../schemas/relayer_api_fee_recipients_response_schema';
import { relayerApiOrderConfigPayloadSchema } from '../schemas/relayer_api_order_config_payload_schema';
import { relayerApiOrderConfigResponseSchema } from '../schemas/relayer_api_order_config_response_schema';
import { relayerApiOrderSchema } from '../schemas/relayer_api_order_schema';
@@ -54,6 +55,7 @@ export const schemas = {
txDataSchema,
paginatedCollectionSchema,
relayerApiErrorResponseSchema,
+ relayerApiFeeRecipientsResponseSchema,
relayerApiOrderSchema,
relayerApiOrdersSchema,
relayerApiOrderConfigPayloadSchema,