do validate for sub-struct in array and interface