0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.129.73.6


Current Path : /proc/thread-self/root/usr/share/doc/php-json-schema/examples/
Upload File :
Current File : //proc/thread-self/root/usr/share/doc/php-json-schema/examples/README.md

## JsonSchema\Validator Demo

This demo script uses the example from the root README.md and provides sample JSON files for testing `JsonSchema\Validator`.

To change or replace the JSON schema document, please edit `/path/to/json-schema/demo/schema.json`.

To change or replace the JSON document that is validated, please edit `/path/to/json-schema/demo/data.json`.

To run the demo, change the path in the following example and run it in your terminal.

```
cd /path/to/json-schema/demo
php demo.php // The supplied JSON validates against the schema.
```