thephpleague / json-guard

Validation of json-schema.org compliant schemas.
http://json-guard.thephpleague.com/
MIT License
175 stars 26 forks source link

Draft 7 support #134

Open raiffeisennet opened 6 years ago

raiffeisennet commented 6 years ago

I think the validator should support draft 7 and its switch-if-then-else addition. Also the used JSON Schema Test Suite considers to pass all drafts and draft 6 and draft 7 should be maintained as they are currently active.

Here the release notes from draft 07: http://json-schema.org/draft-07/json-schema-release-notes.html

matt-allan commented 6 years ago

Draft 7 support would be great. This was discussed a bit in #114. I don't have time personally at the moment to implement it but contributions are welcome.

Also the used JSON Schema Test Suite considers to pass all drafts and draft 6 and draft 7 should be maintained as they are currently active.

As mentioned in #114 we will need to update the test suite's tag in composer.json so it pulls in the latest test suite.