def getValidator(schema, schema_store):
 resolver = LocalRefResolver(base_uri='', referrer=schema, store=schema_store)
 return validator_for(schema)(schema, resolver=resolver, format_checker=draft4_format_checker)

def getValidator ( schema , schema_store ) : resolver = LocalRefResolver ( base_uri = '' , referrer = schema , store = schema_store ) return validator_for ( schema ) ( schema , resolver = resolver , format_checker = draft4_format_checker )
get a l{jsonschema} validator for c{schema} .