Skip to content

Commit fa4d2d3

Browse files
authored
Added note about supported Draft versions (#620)
1 parent c370d4c commit fa4d2d3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Latest Stable Version](https://poser.pugx.org/justinrainbow/json-schema/v/stable.png)](https://packagist.org/packages/justinrainbow/json-schema)
55
[![Total Downloads](https://poser.pugx.org/justinrainbow/json-schema/downloads.png)](https://packagist.org/packages/justinrainbow/json-schema)
66

7-
A PHP Implementation for validating `JSON` Structures against a given `Schema`.
7+
A PHP Implementation for validating `JSON` Structures against a given `Schema` with support for `Schemas` of Draft-3 or Draft-4. Features of newer Drafts might not be supported. See [Table of All Versions of Everything](https://json-schema.org/specification-links.html#table-of-all-versions-of-everything) to get an overview of all existing Drafts.
88

99
See [json-schema](http://json-schema.org/) for more details.
1010

@@ -26,6 +26,12 @@ composer require justinrainbow/json-schema
2626

2727
## Usage
2828

29+
For a complete reference see [Understanding JSON Schema](https://json-schema.org/understanding-json-schema/).
30+
31+
__Note:__ features of Drafts newer than Draft-4 might not be supported!
32+
33+
### Basic usage
34+
2935
```php
3036
<?php
3137

0 commit comments

Comments
 (0)