modify validator type detection mechanism to use schema properties instead of component type string