We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I encounter a problem with json-schema. Given the following spec:
require "json-schema" schema = { "type" => "object", "required" => ["target"], "properties" => { "target" => { "type" => "array", "items" => {}, "uniqueItems" => false, } } } data = { "target" => [1, 1] } JSON::Validator.fully_validate(schema, data) # => ["The property '#/target' contained duplicated array values in schema 4d32e7eb-0393-5de4-81f2-37eecb8cc064"]
In my opinion and according to the json schema spec, it should validate only if set to true.
true
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I encounter a problem with json-schema. Given the following spec:
In my opinion and according to the json schema spec, it should validate only if set to
true
.The text was updated successfully, but these errors were encountered: