Giter Site home page Giter Site logo

Comments (7)

mirfilip avatar mirfilip commented on July 28, 2024 6

@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.

from json-schema.

mirfilip avatar mirfilip commented on July 28, 2024 2

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.

from json-schema.

MalteWunsch avatar MalteWunsch commented on July 28, 2024

+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

from json-schema.

mchiocca avatar mchiocca commented on July 28, 2024

With the merge of #41 to master all of draft-03 is now implemented except for certain functionality related to $ref, $schema, and id. Also, #41 added support for draft-04 required so now the current implementation supports both the draft-03 and draft-04 form. Please see #32 for details about required. Thanks!

from json-schema.

igorw avatar igorw commented on July 28, 2024

draft 4 moved most of the constraints to a new spec: http://tools.ietf.org/html/draft-fge-json-schema-validation-00

from json-schema.

mchiocca avatar mchiocca commented on July 28, 2024

The current json-schema implementation supports both draft-03 and draft-04 per each of their respective specifications with the exception of some aspects of $ref, $schema, and id. Both drafts are fully tested using the JSON Schema Test Suite

from json-schema.

bighappyface avatar bighappyface commented on July 28, 2024

@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.

from json-schema.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.