JSON-Schema-Test-Suite icon indicating copy to clipboard operation
JSON-Schema-Test-Suite copied to clipboard

A language agnostic test suite for the JSON Schema specifications

Results 74 JSON-Schema-Test-Suite issues
Sort by recently updated
recently updated
newest added
trafficstars

This suite is generally not versioned (despite such things having been requested in the past). Regardless though, it is important to define exactly what sorts of backwards compatibility we offer....

documentation
enhancement

This document is undoubtedly incomplete and can be iterated on. It represents, to the best of my knowledge, the *existing* process I have followed myself since the repository's inception, with...

Nothing in the specification says that allOf subschemas are evaluated in order; if they are evaluated in the reverse order an erroneous implementation could still pass this test.

This PR breaks our existing `optional/` directory into 4 new directories, and sorts existing tests into the 4 new directories: `may/` and `should/` now represent explicitly recommended or allowed behavior....

no time to create a PR right now, so dropping this here to come back to, and for discussion in case for some reason this is controversial: schema: `{ "maxLength":...

missing test
enhancement

I have started writing a collection of schemas that violate some part of JSON schema's specifications or are in some way vexatious to an implementation. This is a topic that...

missing test
enhancement

Following up on #247 and in light of @jdesrosiers' #652, I think we can do better for output tests. The current test structure presents a JSON Schema that constrains several...

missing test
enhancement

Reference: https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/bf0360f4b7c51b8f968aabe7f3f49e12b120fc85/tests/draft2020-12/unevaluatedProperties.json#L529 Schema: ```json { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "object", "if": { "properties": { "foo": { "const": "then" } }, "required": ["foo"] }, "else": { "properties": { "baz": { "type": "string"...

bug

Assert that hostname format validation fails gracefully on empty strings. This is especially for Python `jsonschema` library that raises an unexpected ValueError exception on `hostname` check (python-jsonschema/jsonschema#1121). Adds similar test...

waiting for author