3 "description": "validation of regular expressions",
4 "schema": {"format": "regex"},
7 "description": "a valid regular expression",
8 "data": "([abc])+\\s+$",
12 "description": "a regular expression with unclosed parens is invalid",
19 "description": "validation of date-time strings",
20 "schema": {"format": "date-time"},
23 "description": "a valid date-time string",
24 "data": "1963-06-19T08:30:06.283185Z",
28 "description": "an invalid date-time string",
29 "data": "06/19/1963 08:30:06 PST",
33 "description": "only RFC3339 not all of ISO 8601 are valid",
34 "data": "2013-350T01:01:01",
40 "description": "validation of date strings",
41 "schema": {"format": "date"},
44 "description": "a valid date string",
49 "description": "an invalid date string",
56 "description": "validation of time strings",
57 "schema": {"format": "time"},
60 "description": "a valid time string",
65 "description": "an invalid time string",
72 "description": "validation of URIs",
73 "schema": {"format": "uri"},
76 "description": "a valid URI",
77 "data": "http://foo.bar/?baz=qux#quux",
81 "description": "a valid protocol-relative URI",
82 "data": "//foo.bar/?baz=qux#quux",
86 "description": "an invalid URI",
87 "data": "\\\\WINDOWS\\fileshare",
91 "description": "an invalid URI though valid URI reference",
98 "description": "validation of e-mail addresses",
99 "schema": {"format": "email"},
102 "description": "a valid e-mail address",
103 "data": "joe.bloggs@example.com",
107 "description": "an invalid e-mail address",
114 "description": "validation of IP addresses",
115 "schema": {"format": "ip-address"},
118 "description": "a valid IP address",
119 "data": "192.168.0.1",
123 "description": "an IP address with too many components",
124 "data": "127.0.0.0.1",
128 "description": "an IP address with out-of-range values",
129 "data": "256.256.256.256",
135 "description": "validation of IPv6 addresses",
136 "schema": {"format": "ipv6"},
139 "description": "a valid IPv6 address",
144 "description": "an IPv6 address with out-of-range values",
149 "description": "an IPv6 address with too many components",
150 "data": "1:1:1:1:1:1:1:1:1:1:1:1:1:1:1:1",
154 "description": "an IPv6 address containing illegal characters",
161 "description": "validation of host names",
162 "schema": {"format": "host-name"},
165 "description": "a valid host name",
166 "data": "www.example.com",
170 "description": "a host name starting with an illegal character",
171 "data": "-a-host-name-that-starts-with--",
175 "description": "a host name containing illegal characters",
176 "data": "not_a_valid_host_name",
180 "description": "a host name with a component too long",
181 "data": "a-vvvvvvvvvvvvvvvveeeeeeeeeeeeeeeerrrrrrrrrrrrrrrryyyyyyyyyyyyyyyy-long-host-name-component",
187 "description": "validation of CSS colors",
188 "schema": {"format": "color"},
191 "description": "a valid CSS color name",
196 "description": "a valid six-digit CSS color code",
201 "description": "a valid three-digit CSS color code",
206 "description": "an invalid CSS color code",
211 "description": "an invalid CSS color name",
216 "description": "a CSS color name containing invalid characters",
217 "data": "light_grayish_red-violet",