{"action":"opened","issue":{"url":"https://api.github.com/repos/sbsdev/dictionary/issues/1","repository_url":"https://api.github.com/repos/sbsdev/dictionary","labels_url":"https://api.github.com/repos/sbsdev/dictionary/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/sbsdev/dictionary/issues/1/comments","events_url":"https://api.github.com/repos/sbsdev/dictionary/issues/1/events","html_url":"https://github.com/sbsdev/dictionary/issues/1","id":309306204,"number":1,"title":"Use spec to validate dictionary data in import","user":{"login":"egli","id":119274,"avatar_url":"https://avatars0.githubusercontent.com/u/119274?v=4","gravatar_id":"","url":"https://api.github.com/users/egli","html_url":"https://github.com/egli","followers_url":"https://api.github.com/users/egli/followers","following_url":"https://api.github.com/users/egli/following{/other_user}","gists_url":"https://api.github.com/users/egli/gists{/gist_id}","starred_url":"https://api.github.com/users/egli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egli/subscriptions","organizations_url":"https://api.github.com/users/egli/orgs","repos_url":"https://api.github.com/users/egli/repos","events_url":"https://api.github.com/users/egli/events{/privacy}","received_events_url":"https://api.github.com/users/egli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-28T10:21:18Z","updated_at":"2018-03-28T10:21:18Z","closed_at":null,"author_association":"OWNER","body":"When importing dictionary data from csv the previous implementation has some basic validation built in. It would for example check if the braille translation conformed to a regexp.\r\n\r\nThe most obvious way to recreate this is of course to use [clojure.spec](https://clojure.org/guides/spec). There is [spec-provider](https://github.com/stathissideris/spec-provider) that can generate a spec based on example data."}}
{"actor":{"display_login":"egli"}}