tdegrunt/jsonschema — pull request #4 by ctavan (2012-09-18 09:46:53+00:00)
Title: Add support for validating nested objects.

I've had the problem that

```js
{'name': 'test', 'nested': 'test2'},
```

would validate against the schema

```js
{
'type': 'object',
'properties': {
'name': {'type': 'string'},
'nested': {'type': 'object'}
}
}
```

which is obviously wrong since `typeof 'test2' !== 'object'`...

My patch fixes it and still passes all other test cases.