diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-12 21:04:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-12 21:04:28 +0800 |
commit | b866ce787ce276ae22095529002f63f8c374c75f (patch) | |
tree | 036a9001b08fd07dddd6c5336846c829377b4682 /packages/json-schemas/schemas/order_config_request_schema.json | |
parent | c41622c20aea8ba89dc9899ff8b3ab6f22f53503 (diff) | |
parent | 4d5bc8b8eec4da97ff82c8785fb7c1f9392ca768 (diff) | |
download | dexon-sol-tools-b866ce787ce276ae22095529002f63f8c374c75f.tar dexon-sol-tools-b866ce787ce276ae22095529002f63f8c374c75f.tar.gz dexon-sol-tools-b866ce787ce276ae22095529002f63f8c374c75f.tar.bz2 dexon-sol-tools-b866ce787ce276ae22095529002f63f8c374c75f.tar.lz dexon-sol-tools-b866ce787ce276ae22095529002f63f8c374c75f.tar.xz dexon-sol-tools-b866ce787ce276ae22095529002f63f8c374c75f.tar.zst dexon-sol-tools-b866ce787ce276ae22095529002f63f8c374c75f.zip |
Merge pull request #1250 from 0xProject/feature/json-schemas-connect
Move @0x/connect schemas to @0x/json-schemas
Diffstat (limited to 'packages/json-schemas/schemas/order_config_request_schema.json')
-rw-r--r-- | packages/json-schemas/schemas/order_config_request_schema.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/json-schemas/schemas/order_config_request_schema.json b/packages/json-schemas/schemas/order_config_request_schema.json new file mode 100644 index 000000000..ca9b2e30e --- /dev/null +++ b/packages/json-schemas/schemas/order_config_request_schema.json @@ -0,0 +1,24 @@ +{ + "id": "/OrderConfigRequest", + "type": "object", + "properties": { + "makerAddress": { "$ref": "/addressSchema" }, + "takerAddress": { "$ref": "/addressSchema" }, + "makerAssetAmount": { "$ref": "/wholeNumberSchema" }, + "takerAssetAmount": { "$ref": "/wholeNumberSchema" }, + "makerAssetData": { "$ref": "/hexSchema" }, + "takerAssetData": { "$ref": "/hexSchema" }, + "exchangeAddress": { "$ref": "/addressSchema" }, + "expirationTimeSeconds": { "$ref": "/wholeNumberSchema" } + }, + "required": [ + "makerAddress", + "takerAddress", + "makerAssetAmount", + "takerAssetAmount", + "makerAssetData", + "takerAssetData", + "exchangeAddress", + "expirationTimeSeconds" + ] +} |