-
Notifications
You must be signed in to change notification settings - Fork 35
Validate provided collection JSON schema #75
New issue
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
Comments
WELL, probably not with this one. |
We already have a JSON schema validator actually. |
Well, could it be tweaked a little then? Entering this doesn't make it fail :/ {
"type": "object",
"porperties": {
"content": {
"type": "string"
},
"title": {
"type": "string"
}
}
} Note porperties. |
For example if there's an option to disallow unknown JSON schema property names in the schema itself, that would be nice. |
Duplicate of #253 ? |
Not really, here the purpose would be to check that the entered json schema actually matches the json schema spec. |
Closed with PR 3043. |
I've just spent a few unecessary minutes trying to figure out a weird error I had in the admin because I misspelled
properties
in my schema, while it was accepted just fine when submitted.We should validate the entered JSON schema, eg. using https://github.com/mafintosh/is-my-json-valid.
The text was updated successfully, but these errors were encountered: