Schema-based validation