Added type and vehiclekey constrants checking for newVehicle