CFY-1500 add validations for node template scope and relationships scope