diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-16 08:52:13 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-16 08:52:13 +0800 |
commit | ca5e52920d5fd8388fc1f62f0a98908adfc69c08 (patch) | |
tree | fb0b468195aa991fd9ad5065afb2d7882543077b /packages/json-schemas/schemas | |
parent | 30dfb7511dc695b2dc7514c2908e632e0969ddfd (diff) | |
download | dexon-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.ts | 8 |
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' }, +}; |