{"action":"created","issue":{"url":"https://api.github.com/repos/dragonwasrobot/json-schema-to-elm/issues/47","repository_url":"https://api.github.com/repos/dragonwasrobot/json-schema-to-elm","labels_url":"https://api.github.com/repos/dragonwasrobot/json-schema-to-elm/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/dragonwasrobot/json-schema-to-elm/issues/47/comments","events_url":"https://api.github.com/repos/dragonwasrobot/json-schema-to-elm/issues/47/events","html_url":"https://github.com/dragonwasrobot/json-schema-to-elm/issues/47","id":265091434,"number":47,"title":"Support pattern","user":{"login":"reitzig","id":4246780,"avatar_url":"https://avatars0.githubusercontent.com/u/4246780?v=4","gravatar_id":"","url":"https://api.github.com/users/reitzig","html_url":"https://github.com/reitzig","followers_url":"https://api.github.com/users/reitzig/followers","following_url":"https://api.github.com/users/reitzig/following{/other_user}","gists_url":"https://api.github.com/users/reitzig/gists{/gist_id}","starred_url":"https://api.github.com/users/reitzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reitzig/subscriptions","organizations_url":"https://api.github.com/users/reitzig/orgs","repos_url":"https://api.github.com/users/reitzig/repos","events_url":"https://api.github.com/users/reitzig/events{/privacy}","received_events_url":"https://api.github.com/users/reitzig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-12T21:24:05Z","updated_at":"2018-04-13T12:27:03Z","closed_at":null,"author_association":"NONE","body":"Entries of type `string` can get a `pattern`, restricting the value space.\r\n\r\nArguably, the generated Elm code should prevent invalid JSON from being created, so it'd have to verify that the patterns match."},"comment":{"url":"https://api.github.com/repos/dragonwasrobot/json-schema-to-elm/issues/comments/381119551","html_url":"https://github.com/dragonwasrobot/json-schema-to-elm/issues/47#issuecomment-381119551","issue_url":"https://api.github.com/repos/dragonwasrobot/json-schema-to-elm/issues/47","id":381119551,"user":{"login":"dragonwasrobot","id":1045971,"avatar_url":"https://avatars0.githubusercontent.com/u/1045971?v=4","gravatar_id":"","url":"https://api.github.com/users/dragonwasrobot","html_url":"https://github.com/dragonwasrobot","followers_url":"https://api.github.com/users/dragonwasrobot/followers","following_url":"https://api.github.com/users/dragonwasrobot/following{/other_user}","gists_url":"https://api.github.com/users/dragonwasrobot/gists{/gist_id}","starred_url":"https://api.github.com/users/dragonwasrobot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragonwasrobot/subscriptions","organizations_url":"https://api.github.com/users/dragonwasrobot/orgs","repos_url":"https://api.github.com/users/dragonwasrobot/repos","events_url":"https://api.github.com/users/dragonwasrobot/events{/privacy}","received_events_url":"https://api.github.com/users/dragonwasrobot/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T12:27:03Z","updated_at":"2018-04-13T12:27:03Z","author_association":"OWNER","body":"By 'should prevent invalid JSON from being created' do you mean when an Elm type, `Foo`, is encoded back into a JSON string, `encodeFoo`?\r\nNote that `json-schema-to-elm` does not validate JSON schema files, that is the job of other tools.\r\n"}}
{"actor":{"display_login":"dragonwasrobot"}}