public async Task <IEnumerable <DatasetSchemaRelationshipModel> > GetDatasetSchemaRelationshipModelsForSpecificationId(string specificationId)
        {
            Guard.IsNullOrWhiteSpace(specificationId, nameof(specificationId));

            string url = $"datasets/{specificationId}/schemaRelationshipFields";

            return(await _datasetsApiClientProxy.GetAsync <IEnumerable <DatasetSchemaRelationshipModel> >(url));
        }
        public Task <IEnumerable <DatasetAggregations> > GetDatasetAggregationsForSpecificationId(string specificationId)
        {
            if (string.IsNullOrWhiteSpace(specificationId))
            {
                throw new ArgumentNullException(nameof(specificationId));
            }

            string url = $"datasets/{specificationId}/datasetAggregations";

            return(_datasetsApiClientProxy.GetAsync <IEnumerable <DatasetAggregations> >(url));
        }