Updated CHANGELOGS & MD docs
This commit is contained in:
@@ -9,7 +9,7 @@ A validator for [JSON-schemas](http://json-schema.org/)
|
||||
|
||||
\+ **new SchemaValidator**(): *[SchemaValidator](#class-schemavalidator)*
|
||||
|
||||
*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/json-schemas/src/schema_validator.ts#L15)*
|
||||
*Defined in [schema_validator.ts:15](https://github.com/0xProject/0x-monorepo/blob/c93b02d55/packages/json-schemas/src/schema_validator.ts#L15)*
|
||||
|
||||
Instantiates a SchemaValidator instance
|
||||
|
||||
@@ -21,7 +21,7 @@ Instantiates a SchemaValidator instance
|
||||
|
||||
▸ **addSchema**(`schema`: `Schema`): *void*
|
||||
|
||||
*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/json-schemas/src/schema_validator.ts#L32)*
|
||||
*Defined in [schema_validator.ts:32](https://github.com/0xProject/0x-monorepo/blob/c93b02d55/packages/json-schemas/src/schema_validator.ts#L32)*
|
||||
|
||||
Add a schema to the validator. All schemas and sub-schemas must be added to
|
||||
the validator before the `validate` and `isValid` methods can be called with
|
||||
@@ -41,7 +41,7 @@ ___
|
||||
|
||||
▸ **isValid**(`instance`: any, `schema`: `Schema`): *boolean*
|
||||
|
||||
*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/json-schemas/src/schema_validator.ts#L57)*
|
||||
*Defined in [schema_validator.ts:57](https://github.com/0xProject/0x-monorepo/blob/c93b02d55/packages/json-schemas/src/schema_validator.ts#L57)*
|
||||
|
||||
Check whether an instance properly adheres to a JSON schema
|
||||
|
||||
@@ -62,7 +62,7 @@ ___
|
||||
|
||||
▸ **validate**(`instance`: any, `schema`: `Schema`): *`ValidatorResult`*
|
||||
|
||||
*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/9fe6c196a/packages/json-schemas/src/schema_validator.ts#L46)*
|
||||
*Defined in [schema_validator.ts:46](https://github.com/0xProject/0x-monorepo/blob/c93b02d55/packages/json-schemas/src/schema_validator.ts#L46)*
|
||||
|
||||
Validate the JS object conforms to a specific JSON schema
|
||||
|
||||
|
Reference in New Issue
Block a user