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.ts9
1 files changed, 9 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..cd4045d10
--- /dev/null
+++ b/packages/website/ts/schemas/metadata_schema.ts
@@ -0,0 +1,9 @@
+export const orderMetadataSchema = {
+ id: '/OrderMetadata',
+ properties: {
+ makerToken: { $ref: '/PortalTokenMetadata' },
+ takerToken: { $ref: '/PortalTokenMetadata' },
+ },
+ required: ['makerToken', 'takerToken'],
+ type: 'object',
+};