diff options
Diffstat (limited to 'packages/website/ts/schemas')
-rw-r--r-- | packages/website/ts/schemas/order_schema.ts | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/website/ts/schemas/order_schema.ts b/packages/website/ts/schemas/order_schema.ts index bfbf9eb8b..1d9e96fee 100644 --- a/packages/website/ts/schemas/order_schema.ts +++ b/packages/website/ts/schemas/order_schema.ts @@ -5,11 +5,20 @@ export const orderSchema = { taker: { $ref: '/OrderTaker' }, salt: { type: 'string' }, signature: { $ref: '/SignatureData' }, - expiration: { type: 'string' }, + expirationUnixTimestampSec: { type: 'string' }, feeRecipient: { type: 'string' }, exchangeContract: { type: 'string' }, networkId: { type: 'number' }, }, - required: ['maker', 'taker', 'salt', 'signature', 'expiration', 'feeRecipient', 'exchangeContract', 'networkId'], + required: [ + 'maker', + 'taker', + 'salt', + 'signature', + 'expirationUnixTimestampSec', + 'feeRecipient', + 'exchangeContract', + 'networkId', + ], type: 'object', }; |