JSON-Schema-Validator module for vertx

1,231 views
Skip to first unread message

Max Stempi

unread,
Nov 28, 2013, 4:01:19 AM11/28/13
to ve...@googlegroups.com
Hi there,

we just finished our JSON-Schema-Validator module for vertx. It's based on the Java-Implementation from here: https://github.com/fge/json-schema-validator

With JSON-Schema you can make schemas for JSON-Objects, so you can validate them against this schema. It's like what xsd is for xml. Check JSON-Schema out here: http://json-schema.org/

With the vertx-module you can register schemas and then send a message with a JSON-String to the module and let it validate against a schema.
We use it to validate incoming JSON-Parameters in our REST-Api and give the user a nice error when he sends an invalid request.

The module is already in the module-registry and the whole project can be found here: https://github.com/campudus/vertx-json-schema-validator

hth

Max

Paulo Lopes

unread,
Nov 28, 2013, 10:57:46 AM11/28/13
to ve...@googlegroups.com
Wow awesone, i've used json schema in JS and really wanted something like this for Vert.x!

Cheers,
Paulo

bytor99999

unread,
Dec 10, 2013, 10:08:21 PM12/10/13
to ve...@googlegroups.com
Nice Job.

google_user

unread,
Apr 11, 2014, 9:48:00 PM4/11/14
to ve...@googlegroups.com
Hi, 

 Your project supports draft v3 and it works like a charm. But I have some requirements where I need to use v4 and so I wanted to know, if you are planning to support draft v4 as well? 


Let me know. :)

Thanks.


On Thursday, November 28, 2013 1:01:19 AM UTC-8, Max Stempi wrote:

Joern Bernhardt

unread,
Apr 12, 2014, 5:38:15 AM4/12/14
to ve...@googlegroups.com
Why do you think it doesn't support draft 4 if the underlying library supports it?


Am I missing something here? The module should be just a simple wrapper around the library and extend it for the eventbus functionality...
Reply all
Reply to author
Forward
0 new messages