{"action":"opened","issue":{"url":"https://api.github.com/repos/atomicbits/scraml/issues/45","labels_url":"https://api.github.com/repos/atomicbits/scraml/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/atomicbits/scraml/issues/45/comments","events_url":"https://api.github.com/repos/atomicbits/scraml/issues/45/events","html_url":"https://github.com/atomicbits/scraml/issues/45","id":125294396,"number":45,"title":"JSON schema using reserved Java words and special characters","user":{"login":"jepatel","id":3213420,"avatar_url":"https://avatars.githubusercontent.com/u/3213420?v=3","gravatar_id":"","url":"https://api.github.com/users/jepatel","html_url":"https://github.com/jepatel","followers_url":"https://api.github.com/users/jepatel/followers","following_url":"https://api.github.com/users/jepatel/following{/other_user}","gists_url":"https://api.github.com/users/jepatel/gists{/gist_id}","starred_url":"https://api.github.com/users/jepatel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jepatel/subscriptions","organizations_url":"https://api.github.com/users/jepatel/orgs","repos_url":"https://api.github.com/users/jepatel/repos","events_url":"https://api.github.com/users/jepatel/events{/privacy}","received_events_url":"https://api.github.com/users/jepatel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-07T00:21:08Z","updated_at":"2016-01-07T00:21:08Z","closed_at":null,"body":"Was playing around with Scraml (working great so far) and ran into the following issues when generating the Java client:\r\n\r\n1.  Enums in JSON that have start with a number or have special characters, or use reserved words (\" \", /, \"new\", etc) generate invalid Java.\r\n\r\n2.  Schema IDs with special characters generate invalid package name (e.g \"hello-world\" will generate a package \"hello-world). "}}