...

Text file src/github.com/qri-io/jsonschema/testdata/draft2019-09/optional/format/idn-hostname.json

Documentation: github.com/qri-io/jsonschema/testdata/draft2019-09/optional/format

     1[
     2    {
     3        "description": "validation of internationalized host names",
     4        "schema": {"format": "idn-hostname"},
     5        "tests": [
     6            {
     7                "description": "a valid host name (example.test in Hangul)",
     8                "data": "실례.테스트",
     9                "valid": true
    10            },
    11            {
    12                "description": "illegal first char U+302E Hangul single dot tone mark",
    13                "data": "〮실례.테스트",
    14                "valid": false
    15            },
    16            {
    17                "description": "contains illegal char U+302E Hangul single dot tone mark",
    18                "data": "실〮례.테스트",
    19                "valid": false
    20            },
    21            {
    22                "description": "a host name with a component too long",
    23                "data": "실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실실례례테스트례례례례례례례례례례례례례례례례례테스트례례례례례례례례례례례례례례례례례례례테스트례례례례례례례례례례례례테스트례례실례.테스트",
    24                "valid": false
    25            }
    26        ]
    27    }
    28]

View as plain text