Tests if instances passes the schema.
Example Code
jsonpack.validate(fp, schema, type='json')
Arguments
| Argument |
Description |
| fp |
Path to the JSON file to open and validate. |
| schema |
The JSON schema to validate with. |
| type |
The type of validation. json, yaml |