{"action":"created","issue":{"url":"https://api.github.com/repos/brutusin/json-forms/issues/13","labels_url":"https://api.github.com/repos/brutusin/json-forms/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/brutusin/json-forms/issues/13/comments","events_url":"https://api.github.com/repos/brutusin/json-forms/issues/13/events","html_url":"https://github.com/brutusin/json-forms/issues/13","id":126481935,"number":13,"title":"validating parts of an object for the oneOf component. ","user":{"login":"ocschwar","id":5799715,"avatar_url":"https://avatars.githubusercontent.com/u/5799715?v=3","gravatar_id":"","url":"https://api.github.com/users/ocschwar","html_url":"https://github.com/ocschwar","followers_url":"https://api.github.com/users/ocschwar/followers","following_url":"https://api.github.com/users/ocschwar/following{/other_user}","gists_url":"https://api.github.com/users/ocschwar/gists{/gist_id}","starred_url":"https://api.github.com/users/ocschwar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocschwar/subscriptions","organizations_url":"https://api.github.com/users/ocschwar/orgs","repos_url":"https://api.github.com/users/ocschwar/repos","events_url":"https://api.github.com/users/ocschwar/events{/privacy}","received_events_url":"https://api.github.com/users/ocschwar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-13T18:25:56Z","updated_at":"2016-01-13T18:53:20Z","closed_at":null,"body":"A oneOf element defines an object that validates against exactly one alternative in a list of definitions.\r\n\r\nSo to generate a preloaded form with a oneOf element, you need to validate that branch of the object against each alternative and select the right one to preload the form with the right elements. \r\n\r\nOn my own branch, I have each alternative identify itself with an element that's defined to have an enum with one member. But for general use, we need to be able to validate sub-tree against the right list of sub-schemas to get preloading done right. "},"comment":{"url":"https://api.github.com/repos/brutusin/json-forms/issues/comments/171396430","html_url":"https://github.com/brutusin/json-forms/issues/13#issuecomment-171396430","issue_url":"https://api.github.com/repos/brutusin/json-forms/issues/13","id":171396430,"user":{"login":"idelvall","id":5653455,"avatar_url":"https://avatars.githubusercontent.com/u/5653455?v=3","gravatar_id":"","url":"https://api.github.com/users/idelvall","html_url":"https://github.com/idelvall","followers_url":"https://api.github.com/users/idelvall/followers","following_url":"https://api.github.com/users/idelvall/following{/other_user}","gists_url":"https://api.github.com/users/idelvall/gists{/gist_id}","starred_url":"https://api.github.com/users/idelvall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idelvall/subscriptions","organizations_url":"https://api.github.com/users/idelvall/orgs","repos_url":"https://api.github.com/users/idelvall/repos","events_url":"https://api.github.com/users/idelvall/events{/privacy}","received_events_url":"https://api.github.com/users/idelvall/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T18:53:20Z","updated_at":"2016-01-13T18:53:20Z","body":"Can you post an example to reproduce the issue (schema and initial data)\r\nThanks!"}}