diff options
author | Julian Berman <Julian@GrayVines.com> | 2020-08-13 18:44:47 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2020-08-13 18:44:47 -0400 |
commit | d3fcdeba06398394db4adfd1a87553b801d6c877 (patch) | |
tree | 1da5cc2421114d037b20a2d76747a0f604a8529d /json/tests/draft3 | |
parent | 444174d607ced66d38ef31fcc279b5cf06973c4b (diff) | |
parent | a57d8540bd272d913d57a37b45db3d9fe21a476b (diff) | |
download | jsonschema-d3fcdeba06398394db4adfd1a87553b801d6c877.tar.gz |
Merge commit 'a57d8540bd272d913d57a37b45db3d9fe21a476b' into master
* commit 'a57d8540bd272d913d57a37b45db3d9fe21a476b':
Squashed 'json/' changes from ea415537..86f52b87
Diffstat (limited to 'json/tests/draft3')
-rw-r--r-- | json/tests/draft3/refRemote.json | 2 | ||||
-rw-r--r-- | json/tests/draft3/uniqueItems.json | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/json/tests/draft3/refRemote.json b/json/tests/draft3/refRemote.json index 4ca8047..de0cb43 100644 --- a/json/tests/draft3/refRemote.json +++ b/json/tests/draft3/refRemote.json @@ -54,7 +54,7 @@ "schema": { "id": "http://localhost:1234/", "items": { - "id": "folder/", + "id": "baseUriChange/", "items": {"$ref": "folderInteger.json"} } }, diff --git a/json/tests/draft3/uniqueItems.json b/json/tests/draft3/uniqueItems.json index 8f8dbdd..fd4b849 100644 --- a/json/tests/draft3/uniqueItems.json +++ b/json/tests/draft3/uniqueItems.json @@ -93,6 +93,16 @@ "description": "non-unique heterogeneous types are invalid", "data": [{}, [1], true, null, {}, 1], "valid": false + }, + { + "description": "{\"a\": false} and {\"a\": 0} are unique", + "data": [{"a": false}, {"a": 0}], + "valid": true + }, + { + "description": "{\"a\": true} and {\"a\": 1} are unique", + "data": [{"a": true}, {"a": 1}], + "valid": true } ] }, |