another-json-schema
another-json-schema copied to clipboard
Another JSON Schema validator, simple & flexible & intuitive.
Results
2
another-json-schema issues
Sort by
recently updated
recently updated
newest added
想对数组类型进行校验,仅需要是个数字数组就好了,好像没办法进行校验。 最小可复现代码如下: ```javascript const AJS = require('another-json-schema') function isArray(arr) { return Array.isArray(arr) } const schema = AJS('schema', { arr: { type: isArray } }) const result = schema.validate({ arr: [11,...
Here i am testing with empty comment array, and test is passing. It should have any configuration to allow empty array or not. Or any other way to do this...