{"action":"created","issue":{"url":"https://api.github.com/repos/formly-js/angular-formly/issues/147","labels_url":"https://api.github.com/repos/formly-js/angular-formly/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/formly-js/angular-formly/issues/147/comments","events_url":"https://api.github.com/repos/formly-js/angular-formly/issues/147/events","html_url":"https://github.com/formly-js/angular-formly/issues/147","id":53683270,"number":147,"title":"JSON schema","user":{"login":"k010","id":439487,"avatar_url":"https://avatars.githubusercontent.com/u/439487?v=3","gravatar_id":"","url":"https://api.github.com/users/k010","html_url":"https://github.com/k010","followers_url":"https://api.github.com/users/k010/followers","following_url":"https://api.github.com/users/k010/following{/other_user}","gists_url":"https://api.github.com/users/k010/gists{/gist_id}","starred_url":"https://api.github.com/users/k010/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k010/subscriptions","organizations_url":"https://api.github.com/users/k010/orgs","repos_url":"https://api.github.com/users/k010/repos","events_url":"https://api.github.com/users/k010/events{/privacy}","received_events_url":"https://api.github.com/users/k010/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-07T21:17:19Z","updated_at":"2015-01-08T18:08:58Z","closed_at":null,"body":"Hi, first to all thanks is very usefull your module,\r\nI've a question, has you consider to build the form element from JSON schema ???\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/formly-js/angular-formly/issues/comments/69221823","html_url":"https://github.com/formly-js/angular-formly/issues/147#issuecomment-69221823","issue_url":"https://api.github.com/repos/formly-js/angular-formly/issues/147","id":69221823,"user":{"login":"kentcdodds","id":1500684,"avatar_url":"https://avatars.githubusercontent.com/u/1500684?v=3","gravatar_id":"","url":"https://api.github.com/users/kentcdodds","html_url":"https://github.com/kentcdodds","followers_url":"https://api.github.com/users/kentcdodds/followers","following_url":"https://api.github.com/users/kentcdodds/following{/other_user}","gists_url":"https://api.github.com/users/kentcdodds/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcdodds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcdodds/subscriptions","organizations_url":"https://api.github.com/users/kentcdodds/orgs","repos_url":"https://api.github.com/users/kentcdodds/repos","events_url":"https://api.github.com/users/kentcdodds/events{/privacy}","received_events_url":"https://api.github.com/users/kentcdodds/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T18:08:58Z","updated_at":"2015-01-08T18:08:58Z","body":"I apologize. I've never had any experience with JSON Schemas. So please understand if I just don't get it. But if I understand you correctly, you're saying that the FDD could validate the model which to me doesn't make any sense. The FDD describes the fields that represent the model. They do have a `validators` property, but that's a JavaScript/angular specific thing.\r\n\r\nOne thing that might make sense is to add a `schema` property to the field config that allows you to use a JSON Schema validator to validate the model. This would be in lieu of `validators` but would behave just like `validators` in that it would `$setValidity` for the `NgModelController` based on whether the schema validation passed. Would this be a good api to accomplish what you're talking about?\r\n\r\nBy the way, sorry I closed #114... I should have pursued it further or at least asked you before closing it."}}