We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f5330 commit d09218fCopy full SHA for d09218f
1 file changed
jsonschema/_format.py
@@ -187,7 +187,7 @@ def is_ipv6(instance):
187
_host_name_re = re.compile(r"^[A-Za-z0-9][A-Za-z0-9\.\-]{1,255}$")
188
189
190
-@_checks_drafts(draft3="host-name", draft4="hostname")
+@_checks_drafts(draft3="host-name", draft4="hostname", draft6="hostname")
191
def is_host_name(instance):
192
if not isinstance(instance, str_types):
193
return True
0 commit comments