From 69f5f5e94627458f4eb41f4150cfa3d140658d09 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 7 Feb 2018 20:26:13 +0100 Subject: Split Order into signedOrder and metadata --- packages/website/ts/schemas/metadata_schema.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 packages/website/ts/schemas/metadata_schema.ts (limited to 'packages/website/ts/schemas/metadata_schema.ts') diff --git a/packages/website/ts/schemas/metadata_schema.ts b/packages/website/ts/schemas/metadata_schema.ts new file mode 100644 index 000000000..272b23fbd --- /dev/null +++ b/packages/website/ts/schemas/metadata_schema.ts @@ -0,0 +1,10 @@ +export const orderMetadataSchema = { + id: '/OrderMetadata', + properties: { + makerToken: { $ref: '/Token' }, + takerToken: { $ref: '/Token' }, + networkId: { type: 'number' }, + }, + required: ['makerToken', 'takerToken', 'networkId'], + type: 'object', +}; -- cgit