#NEWLINE# def properties_draft4( validator , properties , instance , schema ) : #NEWLINE# #INDENT# if ( not validator . is_type ( instance , 'object' ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# for ( property , subschema ) in iteritems ( properties ) : #NEWLINE# #INDENT# if ( property in instance ) : #NEWLINE# #INDENT# for error in validator . descend ( instance [ property ] , subschema , path = instance , schema_path = property ) : #NEWLINE# #INDENT# ( yield error )