[
https://issues.apache.org/jira/browse/CAMEL-9799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15234065#comment-15234065
]
Andreas Gebhardt commented on CAMEL-9799:
-----------------------------------------
Hi Claus,
I didn't knew this library but from the given examples I will play around with
'REST Assured'. Under the hood they rely on the (reference) Java implementation
of https://github.com/fge/json-schema-validator. Where Francis Galiegue is also
one of the authors of 'JSON Schema' http://json-schema.org/. The definition has
draft status at v4 (https://tools.ietf.org/html/draft-zyp-json-schema-04) and
there is a current discussion towards v5
https://github.com/json-schema/json-schema/issues/167. Another implementation
in Java is mentioned on the `Implementation` part on JSON Schemas official web
site, https://github.com/everit-org/json-schema.
Should the component support both versions as asked on the `dev` channel
http://camel.465427.n5.nabble.com/DISCUSS-Thoughts-on-Apache-Camel-2-18-and-towards-3-0-tp5779549p5780376.html
or rely on the (reference) implementation of `fge/json-schema-validator` -
what do you think?
Best Andreas
PS: another draft for JSON content validation exists:
https://datatracker.ietf.org/doc/draft-newton-json-content-rules/
> JSON/JSON Schema validator
> --------------------------
>
> Key: CAMEL-9799
> URL: https://issues.apache.org/jira/browse/CAMEL-9799
> Project: Camel
> Issue Type: Wish
> Reporter: Andreas Gebhardt
>
> > Von: Gnanaguru S
> > An: ★ [email protected]
> >
> > Subject: \[DISCUSS\] - Thoughts on Apache Camel 2.18 and towards 3.0
> >
> > \[...\]
> > 7. JSON validator. XML XSD validation is nice and straight forward, but it
> > will be great if we have something similar for JSON as well. like
> > to:json-validator:classpath/response.json
> > \[...\]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)