Add schema validator for hostname fields (TUI-129)