Validating a Draft4 compliant resource needs resource to inherit from a dict