create filters based on schema