Input structure validation;