diff options
author | Fabio Berger <me@fabioberger.com> | 2018-10-22 01:24:19 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-10-22 01:24:19 +0800 |
commit | 632d7b6fc121444055c91e00ab616757ffebdf68 (patch) | |
tree | a5347c2589ddf294d79adff74579c53232508880 /packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json | |
parent | b9dccf9da340e276ddf6f6dd35118cc6fb77026f (diff) | |
download | dexon-sol-tools-632d7b6fc121444055c91e00ab616757ffebdf68.tar dexon-sol-tools-632d7b6fc121444055c91e00ab616757ffebdf68.tar.gz dexon-sol-tools-632d7b6fc121444055c91e00ab616757ffebdf68.tar.bz2 dexon-sol-tools-632d7b6fc121444055c91e00ab616757ffebdf68.tar.lz dexon-sol-tools-632d7b6fc121444055c91e00ab616757ffebdf68.tar.xz dexon-sol-tools-632d7b6fc121444055c91e00ab616757ffebdf68.tar.zst dexon-sol-tools-632d7b6fc121444055c91e00ab616757ffebdf68.zip |
fix: improve schemas by enforcing that amounts that must be whole numbers (e.g Order asset amounts) no longer allow decimal numbers
Diffstat (limited to 'packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json')
-rw-r--r-- | packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json | 2 |
1 files changed, 1 insertions, 1 deletions
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 index c9549c72e..73bbf20bb 100644 --- a/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json +++ b/packages/json-schemas/schemas/order_fill_or_kill_requests_schema.json @@ -4,7 +4,7 @@ "items": { "properties": { "signedOrder": { "$ref": "/signedOrderSchema" }, - "fillTakerAmount": { "$ref": "/numberSchema" } + "fillTakerAmount": { "$ref": "/wholeNumberSchema" } }, "required": ["signedOrder", "fillTakerAmount"], "type": "object" |