add domain schema to validate the domain value in config yml.