{"action":"opened","issue":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/68","labels_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/68/comments","events_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/68/events","html_url":"https://github.com/nicolaiarocci/cerberus/issues/68","id":58076395,"number":68,"title":"Inline schema validation","user":{"login":"isergey","id":343372,"avatar_url":"https://avatars.githubusercontent.com/u/343372?v=3","gravatar_id":"","url":"https://api.github.com/users/isergey","html_url":"https://github.com/isergey","followers_url":"https://api.github.com/users/isergey/followers","following_url":"https://api.github.com/users/isergey/following{/other_user}","gists_url":"https://api.github.com/users/isergey/gists{/gist_id}","starred_url":"https://api.github.com/users/isergey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isergey/subscriptions","organizations_url":"https://api.github.com/users/isergey/orgs","repos_url":"https://api.github.com/users/isergey/repos","events_url":"https://api.github.com/users/isergey/events{/privacy}","received_events_url":"https://api.github.com/users/isergey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-18T14:45:16Z","updated_at":"2015-02-18T14:45:16Z","closed_at":null,"body":"Hello. My idea is validate the value not only by type, but also by another scheme. For Example:\r\n```python\r\nschemas = {}\r\nschemas['dog'] = {\r\n  'name': {\r\n     'type': 'string'       \r\n   },\r\n   'owner': {\r\n     'schema': 'person' # validate not by type, but by \"person\" schema \r\n   }\r\n}\r\n\r\nschemas['person'] = {\r\n  'name': {\r\n    'type': 'string'\r\n  }\r\n}\r\n\r\nv = Validator(schemas)\r\n```\r\nHow about this? "}}