aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/schemas/metadata_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/schemas/metadata_schema.ts')
-rw-r--r--packages/website/ts/schemas/metadata_schema.ts10
1 files changed, 10 insertions, 0 deletions
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',
+};