diff options
Diffstat (limited to 'packages/website/ts/schemas/metadata_schema.ts')
-rw-r--r-- | packages/website/ts/schemas/metadata_schema.ts | 10 |
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', +}; |