Description
I make rather unconventional use of this test corpus for hypothesis-jsonschema
: instead of checking that the examples validate against each schema, I check that I can generate an instance if and only if there is a valid example for that schema (and then that whatever I generated validates).
JSON-Schema-Test-Suite/tests/draft7/contains.json
Lines 81 to 92 in c17161a
The clear intention is that nothing should validation against this, but the effect is that only non-array instances validate. So it would be convenient for my downstream use and clear for other users to add an explicit "type": "array"
to this schema.
I intend to do this myself or as a mentored good first issue at the PyCon Australia sprints next week 😄