{"action":"closed","issue":{"url":"https://api.github.com/repos/horejsek/python-fastjsonschema/issues/26","repository_url":"https://api.github.com/repos/horejsek/python-fastjsonschema","labels_url":"https://api.github.com/repos/horejsek/python-fastjsonschema/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/horejsek/python-fastjsonschema/issues/26/comments","events_url":"https://api.github.com/repos/horejsek/python-fastjsonschema/issues/26/events","html_url":"https://github.com/horejsek/python-fastjsonschema/issues/26","id":359525023,"node_id":"MDU6SXNzdWUzNTk1MjUwMjM=","number":26,"title":"'example.de' (and many others hostnames) not valid with hostname format ","user":{"login":"FrederikP","id":483596,"node_id":"MDQ6VXNlcjQ4MzU5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/483596?v=4","gravatar_id":"","url":"https://api.github.com/users/FrederikP","html_url":"https://github.com/FrederikP","followers_url":"https://api.github.com/users/FrederikP/followers","following_url":"https://api.github.com/users/FrederikP/following{/other_user}","gists_url":"https://api.github.com/users/FrederikP/gists{/gist_id}","starred_url":"https://api.github.com/users/FrederikP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrederikP/subscriptions","organizations_url":"https://api.github.com/users/FrederikP/orgs","repos_url":"https://api.github.com/users/FrederikP/repos","events_url":"https://api.github.com/users/FrederikP/events{/privacy}","received_events_url":"https://api.github.com/users/FrederikP/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-12T15:06:02Z","updated_at":"2018-09-14T07:57:05Z","closed_at":"2018-09-14T07:57:05Z","author_association":"CONTRIBUTOR","body":"Aaand another one. Hope you aren't getting annoyed. Running this example throws a JsonSchemaException:\r\n\r\n```\r\nimport fastjsonschema\r\n\r\nschema = {\r\n    \"$schema\": \"http://json-schema.org/draft-07/schema#\",\r\n    \"$id\": \"https://example.com/example.schema.json\",\r\n    \"title\": \"Example\",\r\n    \"description\": \"An example schema\",\r\n    \"type\": \"object\",\r\n    \"properties\": {\r\n        \"host\": {\r\n            \"type\": \"string\",\r\n            \"description\": \"Some hostname\",\r\n            \"format\": \"hostname\"\r\n        }   \r\n    }\r\n}\r\n\r\nvalidate = fastjsonschema.compile(schema)\r\n\r\nvalidate({\"host\": \"example.de\"})\r\n```\r\n\r\nFor 'google.com' it works fine. I'll create a PR soon, probably."}}
{"actor":{"display_login":"horejsek"}}