0.6.6 • Published 3 years ago

0x-json-schemas v0.6.6

Weekly downloads
44
License
Apache-2.0
Repository
github
Last release
3 years ago

json-schemas CircleCI

Contains 0x-related json schemas

Usage:

import {SchemaValidator, ValidatorResult, schemas} from '0x-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
0.6.6

3 years ago

0.6.5

3 years ago

0.6.3

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago