blob: 128d943e128174c27b6dcbc27189f1fe6eb0e155 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import { SchemaValidator } from '@0x/json-schemas';
import { orderMetadataSchema } from 'ts/schemas/metadata_schema';
import { portalOrderSchema } from 'ts/schemas/portal_order_schema';
import { portalTokenMetadataSchema } from 'ts/schemas/portal_token_metadata';
const validator = new SchemaValidator();
validator.addSchema(portalTokenMetadataSchema);
validator.addSchema(orderMetadataSchema);
validator.addSchema(portalOrderSchema);
export { validator };
|