klarna/jesse — pull request #32 by sstrigler (2014-11-19 10:45:16+00:00)
Title: Fix validation for array with set of types (refs #31)

This is a fix for #31

Setting current_schema to the actual type being checked against fixes the 'no_extra_properties_allowed' issue mentioned.

I'm still not happy about the actual error reporting because whatever you do, it would only report a "wrong_type". No matter if there are actual bad additional properties, missing properties or additional items.