{"action":"created","issue":{"url":"https://api.github.com/repos/highsource/jsonix/issues/106","labels_url":"https://api.github.com/repos/highsource/jsonix/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/highsource/jsonix/issues/106/comments","events_url":"https://api.github.com/repos/highsource/jsonix/issues/106/events","html_url":"https://github.com/highsource/jsonix/issues/106","id":114445885,"number":106,"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":[{"url":"https://api.github.com/repos/highsource/jsonix/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/highsource/jsonix/milestones/13","html_url":"https://github.com/highsource/jsonix/milestones/2.3.x","labels_url":"https://api.github.com/repos/highsource/jsonix/milestones/13/labels","id":1184143,"number":13,"title":"2.3.x","description":null,"creator":{"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},"open_issues":4,"closed_issues":1,"state":"open","created_at":"2015-06-28T10:23:54Z","updated_at":"2015-11-01T09:25:22Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-11-01T02:22:58Z","updated_at":"2015-11-02T21:54:40Z","closed_at":"2015-11-01T09:25:22Z","body":"I'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/issues/comments/153169304","html_url":"https://github.com/highsource/jsonix/issues/106#issuecomment-153169304","issue_url":"https://api.github.com/repos/highsource/jsonix/issues/106","id":153169304,"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-02T21:54:40Z","updated_at":"2015-11-02T21:54:40Z","body":"> Could the regular expression schema contain the regular expression\r\nlanguage, similar to http content type or script tags in html?\r\n\r\nThat wouldn't bring much unless someone really translates regexp dialects one into another.\r\n\r\n> I think most of our regexps are numbers. Some are colors.  We don't currently use xs:list in XSD so these aren't being translated to numeric arrays in JSONIX output.  Should we create a derivative of our XSD which has xs:list to get the numeric arrays, or is there a better way?\r\n\r\nSorry, I don't understand the question.\r\n\r\nI'm closing this issue as we should move discussions on this issue to the `jsonix-schema-compiler` project."}}