Sha256: bd673e5b955f4b3f70c132f51bedf127f13660b260f02ef8af46fa58ef861557

Contents?: true

Size: 1.79 KB

Versions: 6

Compression:

Stored size: 1.79 KB

Contents

[
    {
        "description": "validation of IRIs",
        "schema": {"format": "iri"},
        "tests": [
            {
                "description": "a valid IRI with anchor tag",
                "data": "http://ƒøø.ßår/?∂éœ=πîx#πîüx",
                "valid": true
            },
            {
                "description": "a valid IRI with anchor tag and parantheses",
                "data": "http://ƒøø.com/blah_(wîkïpédiå)_blah#ßité-1",
                "valid": true
            },
            {
                "description": "a valid IRI with URL-encoded stuff",
                "data": "http://ƒøø.ßår/?q=Test%20URL-encoded%20stuff",
                "valid": true
            },
            {
                "description": "a valid IRI with many special characters",
                "data": "http://-.~_!$&'()*+,;=:%40:80%2f::::::@example.com",
                "valid": true
            },
            {
                "description": "a valid IRI based on IPv6",
                "data": "http://[2001:0db8:85a3:0000:0000:8a2e:0370:7334]",
                "valid": true
            },
            {
                "description": "an invalid IRI based on IPv6",
                "data": "http://2001:0db8:85a3:0000:0000:8a2e:0370:7334",
                "valid": false
            },
            {
                "description": "an invalid relative IRI Reference",
                "data": "/abc",
                "valid": false
            },
            {
                "description": "an invalid IRI",
                "data": "\\\\WINDOWS\\filëßåré",
                "valid": false
            },
            {
                "description": "an invalid IRI though valid IRI reference",
                "data": "âππ",
                "valid": false
            }
        ]
    }
]

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
json_schemer-0.2.9 JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/iri.json
json_schemer-0.2.9 JSON-Schema-Test-Suite/tests/draft7/optional/format/iri.json
json_schemer-0.2.8 JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/iri.json
json_schemer-0.2.8 JSON-Schema-Test-Suite/tests/draft7/optional/format/iri.json
json_schemer-0.2.7 JSON-Schema-Test-Suite/tests/draft2019-08/optional/format/iri.json
json_schemer-0.2.7 JSON-Schema-Test-Suite/tests/draft7/optional/format/iri.json