You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. Can you include an example that runs the same thing on both versions? Your schema doesn't set a $schema key to declare what version you're trying to use, so you're comparing behavior across two different versions of the JSON Schema specification.
Description
An array with non-unique items does not fail validation when
uniqueItems
is True.Steps to reproduce
Run the following test:
Expected behavior
The test is expected to pass, i.e. a
jsonschema.exceptions.ValidationError
is raised:Actual behavior
The test fails, i.e. no exception is raised:
Version affected: 4.0.1 and up;
The text was updated successfully, but these errors were encountered: