Check block spec with type restriction