Julian/jsonschema — pull request #6 by mdboom (2012-04-02 18:58:24+00:00)
Title: Allow additional items in the schema dictionary

In our application, we want to be able to attach additional properties to our schemas that helps our system convert to/from a legacy file format.

We're doing things like this (a schema snippet):

```
{
title: "Our schema",
type: "string",
legacy_name: "OLD_NAME_1"
}
```

AFAICT, the JSON schema spec doesn't exclude us from attaching extra properties to a schema like this. In fact, the JSON Schema Schema doesn't set `additionalProperties` for a schema, and the default behavior is to allow them.

This simple patch simply doesn't raise an exception when there are extra elements attached to a schema.