Skip to content
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

Short error message when validation fails #120

Open
iripiri opened this issue Oct 13, 2022 · 1 comment
Open

Short error message when validation fails #120

iripiri opened this issue Oct 13, 2022 · 1 comment

Comments

@iripiri
Copy link

iripiri commented Oct 13, 2022

Hello!

I was trying to use your project to validate JSON entities against fitting JSON schemas. Unfortunately, the validation fails with an error message which does not really help me: /: {"Balancing_MarketDo... did Not match any specified AnyOf schemas
I was expecting the validation to return successfully, since I checked the compatibilty of the JSON schema and entity before, using an online validator (https://www.jsonschemavalidator.net/) as well as the Python-Validator "Draft7Validator" from the jsonschema package for the same exact inputs.
Can you please help me with finding out what is going wrong?
My example is quite complex but I can post it or could try boiling it down to a simpler one, if neccessary.

@iripiri
Copy link
Author

iripiri commented Oct 13, 2022

Hi again,

since it was mentioned in the documentation that draft2019_9 is implemented here, I've made my test with Draft201909Validator in Python and used the same draft in the online validator as well. Both validations were successful, so the draft version was not an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant