-
Notifications
You must be signed in to change notification settings - Fork 356
State Which Version of Json Schma Spec #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1 I also validated JSON with the help of json-schema against the schema draft v3 successfully. Now I'm looking for a draft v4, which might differ a lot as a quick diff suggests: http://tools.ietf.org/rfcdiff?url2=draft-zyp-json-schema-04.txt |
With the merge of #41 to master all of draft-03 is now implemented except for certain functionality related to |
draft 4 moved most of the constraints to a new spec: http://tools.ietf.org/html/draft-fge-json-schema-validation-00 |
The current json-schema implementation supports both |
This package is probably the most state-of-art json-schema validator in PHP valley. It would be greatly appreciated to have it stated what draft version is supported, along with implemented/missing features table. You know, just to avoid people adding issues that you know isn't there and to avoid them being caught up in the middle of developing the schema, just because they meet this missing feature. |
@mirfilip if we base the support listing on what JSON Schema Test Suite files are not being skipped then we are nearly there for Draft 3 and Draft 4. We can open a PR and add a feature support table in the README to make it clear on the repo home page what is or is not supported. |
@bighappyface Right. I will prepare some kind of table. Maybe sphinx based docs would be cool. I will also go through the skipped suites and double check if there are no false positives etc. |
Please state which version of the Json Schema spec is supported. Maybe create a supported feature list?
Thanks a lot for this project. It is a great and necessary component. I'm using Zend Framework 2.1 and things are going well.
EDIT: Things seem to be working well, it just took me a second to figure out I was using the wrong type of "required", the current version of the validator seems to like the http://json-schema.org/draft-03/schema spec as opposed to the latest draft-04 where they changed how they were doing required propertied.
The text was updated successfully, but these errors were encountered: