{"action":"created","issue":{"url":"https://api.github.com/repos/highsource/jsonix-schema-compiler/issues/59","labels_url":"https://api.github.com/repos/highsource/jsonix-schema-compiler/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/highsource/jsonix-schema-compiler/issues/59/comments","events_url":"https://api.github.com/repos/highsource/jsonix-schema-compiler/issues/59/events","html_url":"https://github.com/highsource/jsonix-schema-compiler/issues/59","id":114445986,"number":59,"title":"pattern in XML schema don't get carried over into JSON schema","user":{"login":"coderextreme","id":705783,"avatar_url":"https://avatars.githubusercontent.com/u/705783?v=3","gravatar_id":"","url":"https://api.github.com/users/coderextreme","html_url":"https://github.com/coderextreme","followers_url":"https://api.github.com/users/coderextreme/followers","following_url":"https://api.github.com/users/coderextreme/following{/other_user}","gists_url":"https://api.github.com/users/coderextreme/gists{/gist_id}","starred_url":"https://api.github.com/users/coderextreme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coderextreme/subscriptions","organizations_url":"https://api.github.com/users/coderextreme/orgs","repos_url":"https://api.github.com/users/coderextreme/repos","events_url":"https://api.github.com/users/coderextreme/events{/privacy}","received_events_url":"https://api.github.com/users/coderextreme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-01T02:27:00Z","updated_at":"2015-11-01T09:24:54Z","closed_at":null,"body":"I may have filed this in the wrong place.  See: https://github.com/highsource/jsonix/issues/106\r\n\r\nI'm trying to carry over the regular expression patterns from this XML schema below into JSON schema so I can validate JSON documents. Does JSON schema handle regular expressions? If so, can Jsonix? If not, can we create an extension to JSON schema that Jsonix can support? Thanks!\r\n\r\nhttp://www.web3d.org/specifications/x3d-3.4.xsd"},"comment":{"url":"https://api.github.com/repos/highsource/jsonix-schema-compiler/issues/comments/152811277","html_url":"https://github.com/highsource/jsonix-schema-compiler/issues/59#issuecomment-152811277","issue_url":"https://api.github.com/repos/highsource/jsonix-schema-compiler/issues/59","id":152811277,"user":{"login":"highsource","id":6707996,"avatar_url":"https://avatars.githubusercontent.com/u/6707996?v=3","gravatar_id":"","url":"https://api.github.com/users/highsource","html_url":"https://github.com/highsource","followers_url":"https://api.github.com/users/highsource/followers","following_url":"https://api.github.com/users/highsource/following{/other_user}","gists_url":"https://api.github.com/users/highsource/gists{/gist_id}","starred_url":"https://api.github.com/users/highsource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highsource/subscriptions","organizations_url":"https://api.github.com/users/highsource/orgs","repos_url":"https://api.github.com/users/highsource/repos","events_url":"https://api.github.com/users/highsource/events{/privacy}","received_events_url":"https://api.github.com/users/highsource/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T09:24:54Z","updated_at":"2015-11-01T09:24:54Z","body":"Hi,\r\n\r\nI think JSON Schema supportes patterns (regular expressions):\r\n\r\nhttp://spacetelescope.github.io/understanding-json-schema/reference/string.html#regular-expressions\r\n\r\nThe compiler does not support this, however.\r\nIf JSON Schema and XML Schema have identical regex syntaxes then it will be\r\npossible, if not then not (as I most probably won't be able to translate\r\nregex languages).\r\n\r\nBest wishes,\r\nAlexey"}}