def validate_array_arg(arg, parent, key, arg_type)
      result = arg.map do |item|
        validate_arg(item, parent, key, arg_type)
      end
      return result
    end
def validate_array_arg(arg, parent, key, arg_type)
      result = arg.map do |item|
        validate_arg(item, parent, key, arg_type)
      end
      return result
    end
Validates Array argument.