{"action":"created","issue":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/75","labels_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/75/comments","events_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/75/events","html_url":"https://github.com/nicolaiarocci/cerberus/issues/75","id":64091066,"number":75,"title":"Propose: allow_unknown should be configurable separately per each scheme like","user":{"login":"pythonpowerd","id":9850672,"avatar_url":"https://avatars.githubusercontent.com/u/9850672?v=3","gravatar_id":"","url":"https://api.github.com/users/pythonpowerd","html_url":"https://github.com/pythonpowerd","followers_url":"https://api.github.com/users/pythonpowerd/followers","following_url":"https://api.github.com/users/pythonpowerd/following{/other_user}","gists_url":"https://api.github.com/users/pythonpowerd/gists{/gist_id}","starred_url":"https://api.github.com/users/pythonpowerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pythonpowerd/subscriptions","organizations_url":"https://api.github.com/users/pythonpowerd/orgs","repos_url":"https://api.github.com/users/pythonpowerd/repos","events_url":"https://api.github.com/users/pythonpowerd/events{/privacy}","received_events_url":"https://api.github.com/users/pythonpowerd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-24T20:23:47Z","updated_at":"2015-03-24T20:29:00Z","closed_at":null,"body":"Something like this:\r\n\r\n```js\r\nschema = {\r\n    'a_dict': {\r\n        'type': 'dict',\r\n        'allowed_unknown': True,\r\n        'schema': {\r\n            'address': {'type': 'string'},\r\n            'city': {'type': 'string', 'required': True}\r\n        }\r\n    }\r\n}\r\n```\r\nWhy? Our use case:\r\nWe write validation of big json with mixed data. Some parts of this structure are the REST response from the external service which is under active development and often change data format, other parts is our data (they more or less stable). It's very handy to disable/enable \"allowed_unknown\" for some parts of this struct during \"step by step\" api stabilization."},"comment":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/comments/85679614","html_url":"https://github.com/nicolaiarocci/cerberus/issues/75#issuecomment-85679614","issue_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/75","id":85679614,"user":{"login":"pythonpowerd","id":9850672,"avatar_url":"https://avatars.githubusercontent.com/u/9850672?v=3","gravatar_id":"","url":"https://api.github.com/users/pythonpowerd","html_url":"https://github.com/pythonpowerd","followers_url":"https://api.github.com/users/pythonpowerd/followers","following_url":"https://api.github.com/users/pythonpowerd/following{/other_user}","gists_url":"https://api.github.com/users/pythonpowerd/gists{/gist_id}","starred_url":"https://api.github.com/users/pythonpowerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pythonpowerd/subscriptions","organizations_url":"https://api.github.com/users/pythonpowerd/orgs","repos_url":"https://api.github.com/users/pythonpowerd/repos","events_url":"https://api.github.com/users/pythonpowerd/events{/privacy}","received_events_url":"https://api.github.com/users/pythonpowerd/received_events","type":"User","site_admin":false},"created_at":"2015-03-24T20:29:00Z","updated_at":"2015-03-24T20:29:00Z","body":"a similar request from someone\r\nhttps://github.com/nicolaiarocci/cerberus/pull/74"}}