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
additionalProperties: true
If I set additionalProperties to true I get this error during validation:
Uncaught TypeError: Parameter 'url' must be a string, not function
If I understand correctly additionalProperties should never be true but only false | Schema . In my case i need to init them to {} right ?
true
false | Schema
{}
Source : #57 (comment) Code :
jsonschema/lib/attribute.js
Line 303 in 6f65129
jsonschema/lib/index.d.ts
Line 74 in 87b9543
The text was updated successfully, but these errors were encountered:
@ThibaudAV Can you please provide some example code with the expected and actual output?
As far as I know, the validator passes the relevant tests, but I need to see the exact context.
Sorry, something went wrong.
No branches or pull requests
If I set additionalProperties to true I get this error during validation:
If I understand correctly additionalProperties should never be
true
but onlyfalse | Schema
.In my case i need to init them to
{}
right ?Source : #57 (comment)
Code :
jsonschema/lib/attribute.js
Line 303 in 6f65129
Types :
jsonschema/lib/index.d.ts
Line 74 in 87b9543
The text was updated successfully, but these errors were encountered: