aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas/order_cancel_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/schemas/order_cancel_schema.ts')
-rw-r--r--src/schemas/order_cancel_schema.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/schemas/order_cancel_schema.ts b/src/schemas/order_cancel_schema.ts
new file mode 100644
index 000000000..5cc8f745c
--- /dev/null
+++ b/src/schemas/order_cancel_schema.ts
@@ -0,0 +1,12 @@
+export const orderCancellationRequestsSchema = {
+ id: '/OrderCancellationRequests',
+ type: 'array',
+ items: {
+ properties: {
+ order: {$ref: '/orderSchema'},
+ takerTokenCancelAmount: {type: '/numberSchema'},
+ },
+ required: ['order', 'takerTokenCancelAmount'],
+ type: 'object',
+ },
+};