aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/schemas/order_taker_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/schemas/order_taker_schema.ts')
-rw-r--r--packages/website/ts/schemas/order_taker_schema.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/website/ts/schemas/order_taker_schema.ts b/packages/website/ts/schemas/order_taker_schema.ts
new file mode 100644
index 000000000..6b484a60d
--- /dev/null
+++ b/packages/website/ts/schemas/order_taker_schema.ts
@@ -0,0 +1,11 @@
+export const orderTakerSchema = {
+ id: '/OrderTaker',
+ properties: {
+ address: {type: 'string'},
+ token: {$ref: '/Token'},
+ amount: {type: 'string'},
+ feeAmount: {type: 'string'},
+ },
+ required: ['address', 'token', 'amount', 'feeAmount'],
+ type: 'object',
+};