diff options
Diffstat (limited to 'tests/draft-future/optional/format/iri-reference.json')
-rw-r--r-- | tests/draft-future/optional/format/iri-reference.json | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/tests/draft-future/optional/format/iri-reference.json b/tests/draft-future/optional/format/iri-reference.json index 1fd779c..c6b4c22 100644 --- a/tests/draft-future/optional/format/iri-reference.json +++ b/tests/draft-future/optional/format/iri-reference.json @@ -1,9 +1,39 @@ [ { "description": "validation of IRI References", - "schema": {"format": "iri-reference"}, + "schema": { "format": "iri-reference" }, "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", "data": "http://ƒøø.ßår/?∂éœ=πîx#πîüx", "valid": true |