{"action":"opened","issue":{"url":"https://api.github.com/repos/kbevers/kvadratnet/issues/1","repository_url":"https://api.github.com/repos/kbevers/kvadratnet","labels_url":"https://api.github.com/repos/kbevers/kvadratnet/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kbevers/kvadratnet/issues/1/comments","events_url":"https://api.github.com/repos/kbevers/kvadratnet/issues/1/events","html_url":"https://github.com/kbevers/kvadratnet/issues/1","id":145659711,"number":1,"title":"Extend validate_name functionality","user":{"login":"kbevers","id":13132571,"avatar_url":"https://avatars.githubusercontent.com/u/13132571?v=3","gravatar_id":"","url":"https://api.github.com/users/kbevers","html_url":"https://github.com/kbevers","followers_url":"https://api.github.com/users/kbevers/followers","following_url":"https://api.github.com/users/kbevers/following{/other_user}","gists_url":"https://api.github.com/users/kbevers/gists{/gist_id}","starred_url":"https://api.github.com/users/kbevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbevers/subscriptions","organizations_url":"https://api.github.com/users/kbevers/orgs","repos_url":"https://api.github.com/users/kbevers/repos","events_url":"https://api.github.com/users/kbevers/events{/privacy}","received_events_url":"https://api.github.com/users/kbevers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kbevers/kvadratnet/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"kbevers","id":13132571,"avatar_url":"https://avatars.githubusercontent.com/u/13132571?v=3","gravatar_id":"","url":"https://api.github.com/users/kbevers","html_url":"https://github.com/kbevers","followers_url":"https://api.github.com/users/kbevers/followers","following_url":"https://api.github.com/users/kbevers/following{/other_user}","gists_url":"https://api.github.com/users/kbevers/gists{/gist_id}","starred_url":"https://api.github.com/users/kbevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbevers/subscriptions","organizations_url":"https://api.github.com/users/kbevers/orgs","repos_url":"https://api.github.com/users/kbevers/repos","events_url":"https://api.github.com/users/kbevers/events{/privacy}","received_events_url":"https://api.github.com/users/kbevers/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-04-04T11:39:05Z","updated_at":"2016-04-04T11:39:05Z","closed_at":null,"body":"Change the function from \r\n```\r\ndef validate_name(name):\r\n    \"\"\"Check if a tile name is valid.\r\n    Arguments:\r\n        name:     Kvadratnet cell identifier\r\n        strict:\r\n    \"\"\"\r\n```\r\nto something like:\r\n```\r\ndef validate_name(name, units=None, strict=False):\r\n    \"\"\"Check if a tile name is valid.\r\n    Arguments:\r\n        name:     Kvadratnet cell identifier\r\n        units:      A list of tile units to check name validity agains, for exampl ['1km', '10km', '50km']\r\n        strict:      Exact match agains name string.\r\n    \"\"\"\r\n```"}}