Replies: 1 comment 1 reply
-
you can checkout the test suite: https://github.com/json-schema-org/JSON-Schema-Test-Suite/tree/main/tests/draft2020-12 most schema implementors use this test suite to test their implementation, including this library. there is also dedicated site which shows how different implementations pass this test suite: https://bowtie.report |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This may be slightly off-topic, but is there an example of a schema instance that shows all features of the 2020-12 draft, including applicators and optionals such as formats? Ideally, this would include examples of all possible permutations of validation (e.g., for
string
s: no validation, onlyminLength
, onlymaxLength
, both, etc.).I think such an example would help schema implementers concretize from the available documentation.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions