diff options
Diffstat (limited to 'tests/draft2020-12/optional/format/idn-hostname.json')
-rw-r--r-- | tests/draft2020-12/optional/format/idn-hostname.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/draft2020-12/optional/format/idn-hostname.json b/tests/draft2020-12/optional/format/idn-hostname.json index bbb257b..6c8f86a 100644 --- a/tests/draft2020-12/optional/format/idn-hostname.json +++ b/tests/draft2020-12/optional/format/idn-hostname.json @@ -4,6 +4,36 @@ "schema": { "format": "idn-hostname" }, "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 host name (example.test in Hangul)", "data": "실례.테스트", "valid": true |