github.com/kaptinlin/jsonschema@v0.4.6/testdata/JSON-Schema-Test-Suite/tests/draft3/optional/format/uri.json (about) 1 [ 2 { 3 "description": "validation of URIs", 4 "schema": { "format": "uri" }, 5 "tests": [ 6 { 7 "description": "a valid URI", 8 "data": "http://foo.bar/?baz=qux#quux", 9 "valid": true 10 }, 11 { 12 "description": "an invalid protocol-relative URI Reference", 13 "data": "//foo.bar/?baz=qux#quux", 14 "valid": false 15 }, 16 { 17 "description": "an invalid URI", 18 "data": "\\\\WINDOWS\\fileshare", 19 "valid": false 20 }, 21 { 22 "description": "an invalid URI though valid URI reference", 23 "data": "abc", 24 "valid": false 25 } 26 ] 27 } 28 ]