{"action":"created","issue":{"url":"https://api.github.com/repos/epoberezkin/ajv/issues/22","labels_url":"https://api.github.com/repos/epoberezkin/ajv/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/epoberezkin/ajv/issues/22/comments","events_url":"https://api.github.com/repos/epoberezkin/ajv/issues/22/events","html_url":"https://github.com/epoberezkin/ajv/issues/22","id":97235394,"number":22,"title":"final validation function and $refs","user":{"login":"siddo420","id":6943328,"avatar_url":"https://avatars.githubusercontent.com/u/6943328?v=3","gravatar_id":"","url":"https://api.github.com/users/siddo420","html_url":"https://github.com/siddo420","followers_url":"https://api.github.com/users/siddo420/followers","following_url":"https://api.github.com/users/siddo420/following{/other_user}","gists_url":"https://api.github.com/users/siddo420/gists{/gist_id}","starred_url":"https://api.github.com/users/siddo420/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/siddo420/subscriptions","organizations_url":"https://api.github.com/users/siddo420/orgs","repos_url":"https://api.github.com/users/siddo420/repos","events_url":"https://api.github.com/users/siddo420/events{/privacy}","received_events_url":"https://api.github.com/users/siddo420/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-25T16:05:35Z","updated_at":"2015-07-25T23:06:23Z","closed_at":null,"body":"I have two feature requests that may not be standards based but I think they'll be really useful:\r\n\r\n1- An ajv function/method that can be provided with input data and returns TRUE or FALSE based on the input data as a first/final check, since there still are some things missing from JSON schema (or perhaps impossible the way I've written the schemas now).\r\n\r\n2- A function that'd print the final JSON schema after replacing all $refs with actual content (ie. referenced schemas).\r\n\r\nYou can print warnings etc when they are used, so users know what they are doing."},"comment":{"url":"https://api.github.com/repos/epoberezkin/ajv/issues/comments/124910444","html_url":"https://github.com/epoberezkin/ajv/issues/22#issuecomment-124910444","issue_url":"https://api.github.com/repos/epoberezkin/ajv/issues/22","id":124910444,"user":{"login":"epoberezkin","id":2769109,"avatar_url":"https://avatars.githubusercontent.com/u/2769109?v=3","gravatar_id":"","url":"https://api.github.com/users/epoberezkin","html_url":"https://github.com/epoberezkin","followers_url":"https://api.github.com/users/epoberezkin/followers","following_url":"https://api.github.com/users/epoberezkin/following{/other_user}","gists_url":"https://api.github.com/users/epoberezkin/gists{/gist_id}","starred_url":"https://api.github.com/users/epoberezkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epoberezkin/subscriptions","organizations_url":"https://api.github.com/users/epoberezkin/orgs","repos_url":"https://api.github.com/users/epoberezkin/repos","events_url":"https://api.github.com/users/epoberezkin/events{/privacy}","received_events_url":"https://api.github.com/users/epoberezkin/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T23:06:23Z","updated_at":"2015-07-25T23:06:23Z","body":"By the way, custom formats may be helpful, although at the moment they only validate strings."}}