Skip to content

Commit 5f176f9

Browse files
authored
Update README.md
1 parent b322ea6 commit 5f176f9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ composer require dutchcodingcompany/laravel-json-schema
1313
```
1414

1515
## Usage
16+
1. Create a json schema in the schema directory, eg. `storage/schema/example.json`
17+
2. Reference the schema in the validator: `new \DutchCodingCompany\LaravelJsonSchema\Rules\JsonSchemaRule('example')`
1618

17-
18-
19+
To customize the schema directory, publish the config file.
1920

2021
## License
2122

22-
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
23+
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

0 commit comments

Comments
 (0)