Currently, this is not possible. This kind of checks needs to be done
post JSON Schema validation.
--
Francis Galiegue, fgal...@gmail.com
"It seems obvious [...] that at least some 'business intelligence'
tools invest so much intelligence on the business side that they have
nothing left for generating SQL queries" (Stéphane Faroult, in "The
Art of SQL", ISBN 0-596-00894-5)
Nice trick... But not sure about your remark about an empty schema: an
empty schema validates everything...
Are there any plans to support this eventually? I think it could
become very useful in many situations.
Thanks,
--
Alex | twitter.com/alexconrad
So is this how JSON validators should behave? Connect to an external
HTTP service and validate values? Can't it be "self-contained" ? My
validator may not have access to an external HTTP resource, and it
would also make validation very slow.
Cheers,
--
Alex | twitter.com/alexconrad
Not "should". As I said, currently, nothing is defined for such checks.
But it should be easy enough to plug in your own checks, no? FWIW, I
have the structure in place in my current implementation to add
arbitrary keywords which can check whatever you like, but it's an
extension out of thin air and non standard (oh, and it's Java).