JSON-Schema-Test-Suite
JSON-Schema-Test-Suite copied to clipboard
A language agnostic test suite for the JSON Schema specifications
fixes: https://github.com/creek-service/json-schema-validation-comparison/issues/190 Currently, there exists an ecma regex test case, that uses `"format": "regex"`, but which does not live under the `optional/format` directory. My understanding was that all tests that...
Just updating my URLs. Created an org for the project.
specification for duration: https://datatracker.ietf.org/doc/html/rfc3339#appendix-A
https://github.com/json-schema-org/JSON-Schema-Test-Suite/issues/723 I think removing the bar matches the test with the description, as foo itself is evaluated.
Commit motivated by discussion with @Julian [here](https://github.com/json-schema-org/JSON-Schema-Test-Suite/issues/570)
This PR adds an idea for tests that check failure scenarios. Please see the included readme for details. ~(I'm pretty sure we have an issue for this. I'll come back...
Add tests that check if the URI contains invalid characters. Closes #777
URIs are restricted to a subset of ASCII characters. In contrast, IRIs allow unescaped non-ASCII characters. The IRI validation tests include examples containing non-ASCII characters, whereas the tests for URI...
My implementation doesn't yet support all `idn-hostname` label separators properly, but (for multiple reasons) it is still passing the tests added here: https://github.com/json-schema-org/JSON-Schema-Test-Suite/pull/760 These are the tests I came up...
I certainly don't _like_ all of these behaviors, ~but if we want truly consistent behavior across languages, we'll have to match the least-common-denominator behavior for JSON parsers (particularly ECMAScript's `JSON.parse()`)~.