oferei/json-gate — pull request #15 by NicolasPelletier (2013-01-08 14:32:00+00:00)
Title: Remove the restriction on schema type. 

This follows discussion #12.

The validation of the schema itself restricted the type of the root
object of the schema to an 'object' or an 'array'. This means that
the following schema would be rejected:
```javascript
{
type: 'null',
description: 'Nothing is returned.'
}
```

This fix removes this limitation.

Also updated the test suite following the change in requirement
for the root type of a schema.

(Also added a semi-colon missing at the end of a line...)