type verification

on input creation

Signed-off-by: Danilo Lizama <danilo.lizama@lemieuxbedard.com>