-
-
Notifications
You must be signed in to change notification settings - Fork 582
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
Set error messages #564
Comments
Hi. Have a look at https://python-jsonschema.readthedocs.io/en/stable/errors/ which has documentation on all the available properties for validation errors. Happy to answer specific questions, though ideally not on the bug tracker. |
Julian
added a commit
that referenced
this issue
Jul 11, 2022
69acf529 Merge pull request #572 from json-schema-org/default-reviewers 26a51ca3 Merge pull request #575 from jdesrosiers/add-package-json d0e80a96 Re-add package.json 88d69482 Merge pull request #573 from json-schema-org/handling-nulls-in-instances bd653f34 fixed findings by julian eab34ba6 fix `prefixItems` tests to actually use it (instead of `items`, copy-paste error) 6680a003 fixed typo in `type` declaration: surround with quotes 257f5220 added null-handling tests for unevaluatedItems e3c007dd added null-handling tests for unevaluatedProperties 3d3bdf4e added null-handling tests for properties 54cc5703 added null-handling tests for patternProperties 28419842 added null-handling tests for contains 4d1a916a added null-handling tests for additionalItems 6e47a99a added null-handling tests for prefixItems; fixed indentation on previous commit 761d4b2b added null-handling tests for array-form items 6315a51d added null-handling tests for single-form items 278e5b3b added null-handling tests for additionalProperties bce6b82a Set up default reviewers (the whole test suite team). 9cb7da92 Merge pull request #564 from json-schema-org/sanity-check-terminology 2a316683 Merge pull request #569 from spacether/feat_adds_new_python_consumer fae0017d Removes idea files 8af12a3f Adds python-experimental to the users list c7a0f3e9 Reconcile terminology in the sanity checker with the README git-subtree-dir: json git-subtree-split: 69acf52990b004240839ae19b4bec8fb01d50876
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, It's question just for discussion.
For example, I have a multilanguage application. And I want to make all translation on clientside (JS, React etc). In that case I wouldn't like to get human-readable error messages from Jsonschema validation, instead of it I'd rather get some code errors, like:
I would try to make some stuff in this lib.
Does it make sense?
The text was updated successfully, but these errors were encountered: