0
我想拥有一个包含许多定义的模式文件。如何根据模式中的定义进行验证?
然后我想根据不同的定义验证消息在那个模式。
有没有办法用JSON模式做到这一点?
我想2周的NodeJS验证器来看看哪个效果最好: https://github.com/geraintluff/tv4 和https://github.com/tdegrunt/jsonschema
道歉,如果这个逻辑上是不可能 - 我是新来的JSON模式。
跨张贴到https://github.com/geraintluff/tv4/issues/170和https://github.com/tdegrunt/jsonschema/issues/94