diff options
Diffstat (limited to 'tests/draft2020-12/optional/format/iri.json')
-rw-r--r-- | tests/draft2020-12/optional/format/iri.json | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/tests/draft2020-12/optional/format/iri.json b/tests/draft2020-12/optional/format/iri.json index 1414f2e..a0d12ae 100644 --- a/tests/draft2020-12/optional/format/iri.json +++ b/tests/draft2020-12/optional/format/iri.json @@ -1,9 +1,39 @@ [ { "description": "validation of IRIs", - "schema": {"format": "iri"}, + "schema": { "format": "iri" }, "tests": [ { + "description": "all string formats ignore integers", + "data": 12, + "valid": true + }, + { + "description": "all string formats ignore floats", + "data": 13.7, + "valid": true + }, + { + "description": "all string formats ignore objects", + "data": {}, + "valid": true + }, + { + "description": "all string formats ignore arrays", + "data": [], + "valid": true + }, + { + "description": "all string formats ignore booleans", + "data": false, + "valid": true + }, + { + "description": "all string formats ignore nulls", + "data": null, + "valid": true + }, + { "description": "a valid IRI with anchor tag", "data": "http://ƒøø.ßår/?∂éœ=πîx#πîüx", "valid": true |