#NEWLINE# def validate( data , schema ) : #NEWLINE# #INDENT# ( _ , schema ) = resolver . resolve ( _ ) #NEWLINE# validator = Draft4Validator ( schema , resolver = resolver , format_checker = format_checker ) #NEWLINE# return validator . validate ( data , schema )