aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas/schemas
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-16 08:52:13 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-16 08:52:13 +0800
commitca5e52920d5fd8388fc1f62f0a98908adfc69c08 (patch)
treefb0b468195aa991fd9ad5065afb2d7882543077b /packages/json-schemas/schemas
parent30dfb7511dc695b2dc7514c2908e632e0969ddfd (diff)
downloaddexon-sol-tools-ca5e52920d5fd8388fc1f62f0a98908adfc69c08.tar
dexon-sol-tools-ca5e52920d5fd8388fc1f62f0a98908adfc69c08.tar.gz
dexon-sol-tools-ca5e52920d5fd8388fc1f62f0a98908adfc69c08.tar.bz2
dexon-sol-tools-ca5e52920d5fd8388fc1f62f0a98908adfc69c08.tar.lz
dexon-sol-tools-ca5e52920d5fd8388fc1f62f0a98908adfc69c08.tar.xz
dexon-sol-tools-ca5e52920d5fd8388fc1f62f0a98908adfc69c08.tar.zst
dexon-sol-tools-ca5e52920d5fd8388fc1f62f0a98908adfc69c08.zip
Add fee recipients test
Diffstat (limited to 'packages/json-schemas/schemas')
-rw-r--r--packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts8
1 files changed, 7 insertions, 1 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
index 84d39eb20..150f07af4 100644
--- a/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts
+++ b/packages/json-schemas/schemas/relayer_api_fee_recipients_response_schema.ts
@@ -5,9 +5,15 @@ export const relayerApiFeeRecipientsResponseSchema = {
{ $ref: '/paginatedCollectionSchema' },
{
properties: {
- records: { $ref: '/addressSchema' },
+ records: { $ref: '/relayerApiFeeRecipientsSchema' },
},
required: ['records'],
},
],
};
+
+export const relayerApiFeeRecipientsSchema = {
+ id: '/relayerApiFeeRecipientsSchema',
+ type: 'array',
+ items: { $ref: '/addressSchema' },
+};