aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/md/docs/json_schemas/1/usage.md
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/md/docs/json_schemas/1/usage.md')
-rw-r--r--packages/website/md/docs/json_schemas/1/usage.md14
1 files changed, 0 insertions, 14 deletions
diff --git a/packages/website/md/docs/json_schemas/1/usage.md b/packages/website/md/docs/json_schemas/1/usage.md
deleted file mode 100644
index 68b801153..000000000
--- a/packages/website/md/docs/json_schemas/1/usage.md
+++ /dev/null
@@ -1,14 +0,0 @@
-The following example shows you how to validate a 0x order using the `@0xproject/json-schemas` package.
-
-```javascript
-import {SchemaValidator, ValidatorResult, schemas} from '@0xproject/json-schemas';
-
-const {orderSchema} = schemas;
-const validator = new SchemaValidator();
-
-const order = {
- ...
-};
-const validatorResult: ValidatorResult = validator.validate(order, orderSchema); // Contains all errors
-const isValid: boolean = validator.isValid(order, orderSchema); // Only returns boolean
-```