diff --git a/master/_static/openapi.json b/master/_static/openapi.json index b17efc4983..f921d27b7b 100644 --- a/master/_static/openapi.json +++ b/master/_static/openapi.json @@ -1 +1 @@ -{"components":{"schemas":{"ActiveAtReferenceLocationCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"query_kind":{"enum":["active_at_reference_location_counts"],"type":"string"},"reference_locations":{"$ref":"#/components/schemas/ReferenceLocation"},"unique_locations":{"$ref":"#/components/schemas/UniqueLocations"}},"required":["query_kind","reference_locations","unique_locations"],"type":"object"},"AggregateNetworkObjects":{"properties":{"aggregate_by":{"enum":["second","minute","hour","day","month","year","century"],"type":"string"},"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"query_kind":{"enum":["aggregate_network_objects"],"type":"string"},"statistic":{"enum":["count","sum","avg","max","min","median","stddev","variance","mode"],"type":"string"},"total_network_objects":{"$ref":"#/components/schemas/TotalNetworkObjects"}},"required":["aggregate_by","query_kind","statistic","total_network_objects"],"type":"object"},"BernoulliRandomSample":{"properties":{"estimate_count":{"default":true,"type":"boolean"},"fraction":{"maximum":1.0,"minimum":0.0,"nullable":true,"type":"number"},"sampling_method":{"enum":["bernoulli"],"type":"string"},"seed":{"type":"number"},"size":{"minimum":1,"nullable":true,"type":"integer"}},"required":["seed"],"type":"object"},"Bounds":{"properties":{"lower_bound":{"type":"number"},"upper_bound":{"type":"number"}},"required":["lower_bound","upper_bound"],"type":"object"},"CalendarActivity":{"properties":{"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"period_length":{"default":1,"type":"integer"},"period_unit":{"default":"days","enum":["days","hours","minutes"],"type":"string"},"query_kind":{"enum":["calendar_activity"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"total_periods":{"type":"integer"}},"required":["query_kind","start_date","total_periods"],"type":"object"},"CoalescedLocation":{"properties":{"fallback_location":{"$ref":"#/components/schemas/MajorityLocation"},"preferred_location":{"$ref":"#/components/schemas/MajorityLocation"},"query_kind":{"enum":["coalesced_location"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"subscriber_location_weights":{"$ref":"#/components/schemas/LocationVisits"},"weight_threshold":{"type":"integer"}},"required":["fallback_location","preferred_location","query_kind","subscriber_location_weights","weight_threshold"],"type":"object"},"ConsecutiveTripsODMatrix":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["consecutive_trips_od_matrix"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"DFSTotalMetricAmount":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"metric":{"enum":["amount","commission","fee","discount"],"type":"string"},"query_kind":{"enum":["dfs_metric_total_amount"],"type":"string"},"start_date":{"format":"date-time","type":"string"}},"required":["aggregation_unit","end_date","metric","query_kind","start_date"],"type":"object"},"DailyLocation":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"method":{"enum":["last","most-common"],"type":"string"},"query_kind":{"enum":["daily_location"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","date","method","query_kind"],"type":"object"},"Displacement":{"properties":{"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["displacement"],"type":"string"},"reference_location":{"$ref":"#/components/schemas/ReferenceLocation"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"statistic":{"enum":["count","sum","avg","max","min","median","stddev","variance","mode"],"type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","reference_location","start_date","statistic"],"type":"object"},"DummyQuery":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"dummy_delay":{"default":0,"type":"integer"},"dummy_param":{"type":"string"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["dummy_query"],"type":"string"}},"required":["aggregation_unit","dummy_param","query_kind"],"type":"object"},"EventCount":{"properties":{"direction":{"default":"both","enum":["in","out","both"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["event_count"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","start_date"],"type":"object"},"FlowmachineQuerySchema":{"discriminator":{"mapping":{"active_at_reference_location_counts":"#/components/schemas/ActiveAtReferenceLocationCounts","aggregate_network_objects":"#/components/schemas/AggregateNetworkObjects","calendar_activity":"#/components/schemas/CalendarActivity","consecutive_trips_od_matrix":"#/components/schemas/ConsecutiveTripsODMatrix","dfs_metric_total_amount":"#/components/schemas/DFSTotalMetricAmount","dummy_query":"#/components/schemas/DummyQuery","flows":"#/components/schemas/Flows","geography":"#/components/schemas/Geography","histogram_aggregate":"#/components/schemas/HistogramAggregate","inflows":"#/components/schemas/Inflows","joined_spatial_aggregate":"#/components/schemas/JoinedSpatialAggregate","labelled_flows":"#/components/schemas/LabelledFlows","labelled_spatial_aggregate":"#/components/schemas/LabelledSpatialAggregate","localised_calendar_activity":"#/components/schemas/LocalisedCalendarActivity","location_event_counts":"#/components/schemas/LocationEventCounts","location_introversion":"#/components/schemas/LocationIntroversion","meaningful_locations_aggregate":"#/components/schemas/MeaningfulLocationsAggregate","meaningful_locations_between_dates_od_matrix":"#/components/schemas/MeaningfulLocationsBetweenDatesODMatrix","meaningful_locations_between_label_od_matrix":"#/components/schemas/MeaningfulLocationsBetweenLabelODMatrix","outflows":"#/components/schemas/Outflows","spatial_aggregate":"#/components/schemas/SpatialAggregate","total_network_objects":"#/components/schemas/TotalNetworkObjects","trips_od_matrix":"#/components/schemas/TripsODMatrix","unique_subscriber_counts":"#/components/schemas/UniqueSubscriberCounts","unique_visitor_counts":"#/components/schemas/UniqueVisitorCounts","unmoving_at_reference_location_counts":"#/components/schemas/UnmovingAtReferenceLocationCounts","unmoving_counts":"#/components/schemas/UnmovingCounts"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/DummyQuery"},{"$ref":"#/components/schemas/Flows"},{"$ref":"#/components/schemas/Inflows"},{"$ref":"#/components/schemas/Outflows"},{"$ref":"#/components/schemas/MeaningfulLocationsAggregate"},{"$ref":"#/components/schemas/MeaningfulLocationsBetweenLabelODMatrix"},{"$ref":"#/components/schemas/MeaningfulLocationsBetweenDatesODMatrix"},{"$ref":"#/components/schemas/Geography"},{"$ref":"#/components/schemas/LocationEventCounts"},{"$ref":"#/components/schemas/UniqueSubscriberCounts"},{"$ref":"#/components/schemas/LocationIntroversion"},{"$ref":"#/components/schemas/TotalNetworkObjects"},{"$ref":"#/components/schemas/AggregateNetworkObjects"},{"$ref":"#/components/schemas/DFSTotalMetricAmount"},{"$ref":"#/components/schemas/SpatialAggregate"},{"$ref":"#/components/schemas/JoinedSpatialAggregate"},{"$ref":"#/components/schemas/HistogramAggregate"},{"$ref":"#/components/schemas/ActiveAtReferenceLocationCounts"},{"$ref":"#/components/schemas/UniqueVisitorCounts"},{"$ref":"#/components/schemas/ConsecutiveTripsODMatrix"},{"$ref":"#/components/schemas/UnmovingCounts"},{"$ref":"#/components/schemas/UnmovingAtReferenceLocationCounts"},{"$ref":"#/components/schemas/TripsODMatrix"},{"$ref":"#/components/schemas/LabelledSpatialAggregate"},{"$ref":"#/components/schemas/LabelledFlows"},{"$ref":"#/components/schemas/CalendarActivity"},{"$ref":"#/components/schemas/LocalisedCalendarActivity"}]},"Flows":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"from_location":{"$ref":"#/components/schemas/InputToFlows"},"join_type":{"default":"inner","enum":["inner","full outer","left","right","left outer","right outer"],"type":"string"},"query_kind":{"enum":["flows"],"type":"string"},"to_location":{"$ref":"#/components/schemas/InputToFlows"}},"required":["from_location","query_kind","to_location"],"type":"object"},"Geography":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["geography"],"type":"string"}},"required":["aggregation_unit","query_kind"],"type":"object"},"Handset":{"properties":{"characteristic":{"enum":["hnd_type","brand","model","software_os_name","software_os_vendor"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"method":{"enum":["last","most-common"],"type":"string"},"query_kind":{"enum":["handset"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["characteristic","end_date","method","query_kind","start_date"],"type":"object"},"HistogramAggregate":{"properties":{"bins":{"$ref":"#/components/schemas/HistogramBins"},"metric":{"$ref":"#/components/schemas/HistogrammableMetrics"},"query_kind":{"enum":["histogram_aggregate"],"type":"string"},"range":{"$ref":"#/components/schemas/Bounds"}},"required":["bins","metric","query_kind"],"type":"object"},"HistogramBins":{"properties":{"bin_list":{"items":{"type":"number"},"type":"array"},"n_bins":{"type":"integer"}},"type":"object"},"HistogrammableMetrics":{"discriminator":{"mapping":{"displacement":"#/components/schemas/Displacement","event_count":"#/components/schemas/EventCount","nocturnal_events":"#/components/schemas/NocturnalEvents","pareto_interactions":"#/components/schemas/ParetoInteractions","radius_of_gyration":"#/components/schemas/RadiusOfGyration","subscriber_degree":"#/components/schemas/SubscriberDegree","topup_amount":"#/components/schemas/TopUpAmount","topup_balance":"#/components/schemas/TopUpBalance","total_active_periods":"#/components/schemas/TotalActivePeriods","unique_location_counts":"#/components/schemas/UniqueLocationCounts"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/RadiusOfGyration"},{"$ref":"#/components/schemas/UniqueLocationCounts"},{"$ref":"#/components/schemas/TopUpBalance"},{"$ref":"#/components/schemas/SubscriberDegree"},{"$ref":"#/components/schemas/TopUpAmount"},{"$ref":"#/components/schemas/EventCount"},{"$ref":"#/components/schemas/ParetoInteractions"},{"$ref":"#/components/schemas/NocturnalEvents"},{"$ref":"#/components/schemas/Displacement"},{"$ref":"#/components/schemas/TotalActivePeriods"}]},"Hours":{"properties":{"end_hour":{"maximum":24,"minimum":0,"type":"integer"},"start_hour":{"maximum":24,"minimum":0,"type":"integer"}},"required":["end_hour","start_hour"],"type":"object"},"Inflows":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"from_location":{"$ref":"#/components/schemas/InputToFlows"},"join_type":{"default":"inner","enum":["inner","full outer","left","right","left outer","right outer"],"type":"string"},"query_kind":{"enum":["inflows"],"type":"string"},"to_location":{"$ref":"#/components/schemas/InputToFlows"}},"required":["from_location","query_kind","to_location"],"type":"object"},"InputToFlows":{"discriminator":{"mapping":{"coalesced_location":"#/components/schemas/CoalescedLocation","daily_location":"#/components/schemas/DailyLocation","majority_location":"#/components/schemas/MajorityLocation","modal_location":"#/components/schemas/ModalLocation","most_frequent_location":"#/components/schemas/MostFrequentLocation","unique_locations":"#/components/schemas/UniqueLocations","visited_most_days":"#/components/schemas/VisitedMostDays"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/DailyLocation"},{"$ref":"#/components/schemas/ModalLocation"},{"$ref":"#/components/schemas/MostFrequentLocation"},{"$ref":"#/components/schemas/VisitedMostDays"},{"$ref":"#/components/schemas/MajorityLocation"},{"$ref":"#/components/schemas/CoalescedLocation"},{"$ref":"#/components/schemas/UniqueLocations"}]},"InputToModalLocation":{"discriminator":{"mapping":{"daily_location":"#/components/schemas/DailyLocation"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/DailyLocation"}]},"JoinableMetrics":{"discriminator":{"mapping":{"displacement":"#/components/schemas/Displacement","event_count":"#/components/schemas/EventCount","handset":"#/components/schemas/Handset","nocturnal_events":"#/components/schemas/NocturnalEvents","pareto_interactions":"#/components/schemas/ParetoInteractions","radius_of_gyration":"#/components/schemas/RadiusOfGyration","subscriber_degree":"#/components/schemas/SubscriberDegree","topup_amount":"#/components/schemas/TopUpAmount","topup_balance":"#/components/schemas/TopUpBalance","total_active_periods":"#/components/schemas/TotalActivePeriods","unique_location_counts":"#/components/schemas/UniqueLocationCounts"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/RadiusOfGyration"},{"$ref":"#/components/schemas/UniqueLocationCounts"},{"$ref":"#/components/schemas/TopUpBalance"},{"$ref":"#/components/schemas/SubscriberDegree"},{"$ref":"#/components/schemas/TopUpAmount"},{"$ref":"#/components/schemas/EventCount"},{"$ref":"#/components/schemas/Handset"},{"$ref":"#/components/schemas/ParetoInteractions"},{"$ref":"#/components/schemas/NocturnalEvents"},{"$ref":"#/components/schemas/Displacement"},{"$ref":"#/components/schemas/TotalActivePeriods"}]},"JoinedSpatialAggregate":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"locations":{"$ref":"#/components/schemas/ReferenceLocation"},"method":{"enum":["count","sum","avg","max","min","median","stddev","variance","mode","distr"],"type":"string"},"metric":{"$ref":"#/components/schemas/JoinableMetrics"},"query_kind":{"enum":["joined_spatial_aggregate"],"type":"string"}},"required":["locations","method","metric","query_kind"],"type":"object"},"LabelledFlows":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"from_location":{"$ref":"#/components/schemas/CoalescedLocation"},"join_type":{"default":"inner","enum":["inner","full outer","left","right","left outer","right outer"],"type":"string"},"labels":{"$ref":"#/components/schemas/MobilityClassification"},"query_kind":{"enum":["labelled_flows"],"type":"string"},"to_location":{"$ref":"#/components/schemas/CoalescedLocation"}},"required":["from_location","labels","query_kind","to_location"],"type":"object"},"LabelledSpatialAggregate":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"labels":{"$ref":"#/components/schemas/MobilityClassification"},"locations":{"$ref":"#/components/schemas/CoalescedLocation"},"query_kind":{"enum":["labelled_spatial_aggregate"],"type":"string"}},"required":["labels","locations","query_kind"],"type":"object"},"LocalisedCalendarActivity":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"period_length":{"default":1,"type":"integer"},"period_unit":{"default":"days","enum":["days","hours","minutes"],"type":"string"},"query_kind":{"enum":["localised_calendar_activity"],"type":"string"},"reference_location":{"$ref":"#/components/schemas/ReferenceLocation"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"total_periods":{"type":"integer"}},"required":["query_kind","start_date","total_periods"],"type":"object"},"LocationEventCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"direction":{"default":"both","enum":["in","out","both"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"interval":{"enum":["day","hour","min"],"type":"string"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["location_event_counts"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","interval","query_kind","start_date"],"type":"object"},"LocationIntroversion":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"direction":{"default":"both","enum":["in","out","both"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["location_introversion"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"LocationVisits":{"properties":{"locations":{"items":{"$ref":"#/components/schemas/VisitableLocation"},"minItems":1,"type":"array"},"query_kind":{"enum":["location_visits"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true}},"required":["locations","query_kind"],"type":"object"},"MajorityLocation":{"properties":{"include_unlocatable":{"default":false,"type":"boolean"},"minimum_total_weight":{"default":0.0,"type":"number"},"query_kind":{"enum":["majority_location"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"subscriber_location_weights":{"$ref":"#/components/schemas/WeightedLocationQueries"}},"required":["query_kind","subscriber_location_weights"],"type":"object"},"MeaningfulLocationsAggregate":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"label":{"type":"string"},"labels":{"additionalProperties":{"type":"object"},"type":"object"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["meaningful_locations_aggregate"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"tower_cluster_call_threshold":{"default":0,"type":"integer"},"tower_cluster_radius":{"default":1.0,"type":"number"},"tower_day_of_week_scores":{"additionalProperties":{"maximum":1.0,"minimum":-1.0,"type":"number"},"type":"object"},"tower_hour_of_day_scores":{"items":{"maximum":1.0,"minimum":-1.0,"type":"number"},"maxItems":24,"minItems":24,"type":"array"}},"required":["aggregation_unit","end_date","label","labels","query_kind","start_date","tower_day_of_week_scores","tower_hour_of_day_scores"],"type":"object"},"MeaningfulLocationsBetweenDatesODMatrix":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date_a":{"format":"date-time","type":"string"},"end_date_b":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"label":{"type":"string"},"labels":{"additionalProperties":{"type":"object"},"type":"object"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["meaningful_locations_between_dates_od_matrix"],"type":"string"},"start_date_a":{"format":"date-time","type":"string"},"start_date_b":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"tower_cluster_call_threshold":{"default":0,"type":"integer"},"tower_cluster_radius":{"default":1.0,"type":"number"},"tower_day_of_week_scores":{"additionalProperties":{"maximum":1.0,"minimum":-1.0,"type":"number"},"type":"object"},"tower_hour_of_day_scores":{"items":{"maximum":1.0,"minimum":-1.0,"type":"number"},"maxItems":24,"minItems":24,"type":"array"}},"required":["aggregation_unit","end_date_a","end_date_b","label","labels","query_kind","start_date_a","start_date_b","tower_day_of_week_scores","tower_hour_of_day_scores"],"type":"object"},"MeaningfulLocationsBetweenLabelODMatrix":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"label_a":{"type":"string"},"label_b":{"type":"string"},"labels":{"additionalProperties":{"type":"object"},"type":"object"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["meaningful_locations_between_label_od_matrix"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"tower_cluster_call_threshold":{"default":0,"type":"integer"},"tower_cluster_radius":{"default":1.0,"type":"number"},"tower_day_of_week_scores":{"additionalProperties":{"maximum":1.0,"minimum":-1.0,"type":"number"},"type":"object"},"tower_hour_of_day_scores":{"items":{"maximum":1.0,"minimum":-1.0,"type":"number"},"maxItems":24,"minItems":24,"type":"array"}},"required":["aggregation_unit","end_date","label_a","label_b","labels","query_kind","start_date","tower_day_of_week_scores","tower_hour_of_day_scores"],"type":"object"},"MobilityClassification":{"properties":{"locations":{"items":{"$ref":"#/components/schemas/CoalescedLocation"},"minItems":1,"type":"array"},"query_kind":{"enum":["mobility_classification"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"stay_length_threshold":{"type":"integer"}},"required":["locations","query_kind","stay_length_threshold"],"type":"object"},"ModalLocation":{"properties":{"locations":{"items":{"$ref":"#/components/schemas/InputToModalLocation"},"minItems":1,"type":"array"},"query_kind":{"enum":["modal_location"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true}},"required":["locations","query_kind"],"type":"object"},"MostFrequentLocation":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["most_frequent_location"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"NocturnalEvents":{"properties":{"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"night_hours":{"$ref":"#/components/schemas/Hours"},"query_kind":{"enum":["nocturnal_events"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","night_hours","query_kind","start_date"],"type":"object"},"Outflows":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"from_location":{"$ref":"#/components/schemas/InputToFlows"},"join_type":{"default":"inner","enum":["inner","full outer","left","right","left outer","right outer"],"type":"string"},"query_kind":{"enum":["outflows"],"type":"string"},"to_location":{"$ref":"#/components/schemas/InputToFlows"}},"required":["from_location","query_kind","to_location"],"type":"object"},"ParetoInteractions":{"properties":{"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"proportion":{"maximum":1.0,"minimum":0.0,"type":"number"},"query_kind":{"enum":["pareto_interactions"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","proportion","query_kind","start_date"],"type":"object"},"RadiusOfGyration":{"properties":{"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["radius_of_gyration"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","start_date"],"type":"object"},"RandomIDsRandomSample":{"properties":{"estimate_count":{"default":true,"type":"boolean"},"fraction":{"maximum":1.0,"minimum":0.0,"nullable":true,"type":"number"},"sampling_method":{"enum":["random_ids"],"type":"string"},"seed":{"maximum":1.0,"minimum":-1.0,"type":"number"},"size":{"minimum":1,"nullable":true,"type":"integer"}},"required":["seed"],"type":"object"},"RandomSample":{"discriminator":{"mapping":{"bernoulli":"#/components/schemas/BernoulliRandomSample","random_ids":"#/components/schemas/RandomIDsRandomSample","system":"#/components/schemas/SystemRandomSample"},"propertyName":"sampling_method"},"oneOf":[{"$ref":"#/components/schemas/SystemRandomSample"},{"$ref":"#/components/schemas/BernoulliRandomSample"},{"$ref":"#/components/schemas/RandomIDsRandomSample"}]},"ReferenceLocation":{"discriminator":{"mapping":{"coalesced_location":"#/components/schemas/CoalescedLocation","daily_location":"#/components/schemas/DailyLocation","majority_location":"#/components/schemas/MajorityLocation","modal_location":"#/components/schemas/ModalLocation","most_frequent_location":"#/components/schemas/MostFrequentLocation","visited_most_days":"#/components/schemas/VisitedMostDays"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/DailyLocation"},{"$ref":"#/components/schemas/ModalLocation"},{"$ref":"#/components/schemas/MostFrequentLocation"},{"$ref":"#/components/schemas/VisitedMostDays"},{"$ref":"#/components/schemas/MajorityLocation"},{"$ref":"#/components/schemas/CoalescedLocation"}]},"SpatialAggregate":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"locations":{"$ref":"#/components/schemas/ReferenceLocation"},"query_kind":{"enum":["spatial_aggregate"],"type":"string"}},"required":["locations","query_kind"],"type":"object"},"SubscriberDegree":{"properties":{"direction":{"default":"both","enum":["in","out","both"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["subscriber_degree"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","start_date"],"type":"object"},"SystemRandomSample":{"properties":{"estimate_count":{"default":true,"type":"boolean"},"fraction":{"maximum":1.0,"minimum":0.0,"nullable":true,"type":"number"},"sampling_method":{"enum":["system"],"type":"string"},"seed":{"type":"number"},"size":{"minimum":1,"nullable":true,"type":"integer"}},"required":["seed"],"type":"object"},"TopUpAmount":{"properties":{"end_date":{"format":"date-time","type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["topup_amount"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"statistic":{"enum":["count","sum","avg","max","min","median","stddev","variance","mode"],"type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","start_date","statistic"],"type":"object"},"TopUpBalance":{"properties":{"end_date":{"format":"date-time","type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["topup_balance"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"statistic":{"enum":["count","sum","avg","max","min","median","stddev","variance","mode"],"type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","start_date","statistic"],"type":"object"},"TotalActivePeriods":{"properties":{"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"period_length":{"default":1,"type":"integer"},"period_unit":{"default":"days","enum":["days","hours","minutes"],"type":"string"},"query_kind":{"enum":["total_active_periods"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"total_periods":{"type":"integer"}},"required":["query_kind","start_date","total_periods"],"type":"object"},"TotalNetworkObjects":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["total_network_objects"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"total_by":{"default":"day","enum":["second","minute","hour","day","month","year"],"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"TripsODMatrix":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["trips_od_matrix"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"UniqueLocationCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["unique_location_counts"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"UniqueLocations":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["unique_locations"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"UniqueSubscriberCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["unique_subscriber_counts"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"UniqueVisitorCounts":{"properties":{"active_at_reference_location_counts":{"$ref":"#/components/schemas/ActiveAtReferenceLocationCounts"},"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"query_kind":{"enum":["unique_visitor_counts"],"type":"string"},"unique_subscriber_counts":{"$ref":"#/components/schemas/UniqueSubscriberCounts"}},"required":["active_at_reference_location_counts","query_kind","unique_subscriber_counts"],"type":"object"},"UnmovingAtReferenceLocationCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"locations":{"$ref":"#/components/schemas/UniqueLocations"},"query_kind":{"enum":["unmoving_at_reference_location_counts"],"type":"string"},"reference_locations":{"$ref":"#/components/schemas/ReferenceLocation"}},"required":["locations","query_kind","reference_locations"],"type":"object"},"UnmovingCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"locations":{"$ref":"#/components/schemas/UniqueLocations"},"query_kind":{"enum":["unmoving_counts"],"type":"string"}},"required":["locations","query_kind"],"type":"object"},"VisitableLocation":{"discriminator":{"mapping":{"daily_location":"#/components/schemas/DailyLocation","modal_location":"#/components/schemas/ModalLocation"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/DailyLocation"},{"$ref":"#/components/schemas/ModalLocation"}]},"VisitedMostDays":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["visited_most_days"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"WeightedLocationQueries":{"discriminator":{"mapping":{"location_visits":"#/components/schemas/LocationVisits"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/LocationVisits"}]}},"securitySchemes":{"token":{"bearerFormat":"JWT","scheme":"bearer","type":"http","x-audience":"TEST_SERVER","x-security-scopes":["admin0:active_at_reference_location_counts:active_at_reference_location_counts","admin0:active_at_reference_location_counts:coalesced_location","admin0:active_at_reference_location_counts:daily_location","admin0:active_at_reference_location_counts:location_visits","admin0:active_at_reference_location_counts:majority_location","admin0:active_at_reference_location_counts:modal_location","admin0:active_at_reference_location_counts:most_frequent_location","admin0:active_at_reference_location_counts:unique_locations","admin0:active_at_reference_location_counts:visited_most_days","admin0:aggregate_network_objects:aggregate_network_objects","admin0:aggregate_network_objects:total_network_objects","admin0:consecutive_trips_od_matrix:consecutive_trips_od_matrix","admin0:dfs_metric_total_amount:dfs_metric_total_amount","admin0:dummy_query:dummy_query","admin0:flows:coalesced_location","admin0:flows:daily_location","admin0:flows:flows","admin0:flows:location_visits","admin0:flows:majority_location","admin0:flows:modal_location","admin0:flows:most_frequent_location","admin0:flows:unique_locations","admin0:flows:visited_most_days","admin0:geography:geography","admin0:inflows:coalesced_location","admin0:inflows:daily_location","admin0:inflows:inflows","admin0:inflows:location_visits","admin0:inflows:majority_location","admin0:inflows:modal_location","admin0:inflows:most_frequent_location","admin0:inflows:unique_locations","admin0:inflows:visited_most_days","admin0:joined_spatial_aggregate:coalesced_location","admin0:joined_spatial_aggregate:daily_location","admin0:joined_spatial_aggregate:displacement","admin0:joined_spatial_aggregate:event_count","admin0:joined_spatial_aggregate:handset","admin0:joined_spatial_aggregate:joined_spatial_aggregate","admin0:joined_spatial_aggregate:location_visits","admin0:joined_spatial_aggregate:majority_location","admin0:joined_spatial_aggregate:modal_location","admin0:joined_spatial_aggregate:most_frequent_location","admin0:joined_spatial_aggregate:nocturnal_events","admin0:joined_spatial_aggregate:pareto_interactions","admin0:joined_spatial_aggregate:radius_of_gyration","admin0:joined_spatial_aggregate:subscriber_degree","admin0:joined_spatial_aggregate:topup_amount","admin0:joined_spatial_aggregate:topup_balance","admin0:joined_spatial_aggregate:total_active_periods","admin0:joined_spatial_aggregate:unique_location_counts","admin0:joined_spatial_aggregate:visited_most_days","admin0:labelled_flows:coalesced_location","admin0:labelled_flows:daily_location","admin0:labelled_flows:labelled_flows","admin0:labelled_flows:location_visits","admin0:labelled_flows:majority_location","admin0:labelled_flows:mobility_classification","admin0:labelled_flows:modal_location","admin0:labelled_spatial_aggregate:coalesced_location","admin0:labelled_spatial_aggregate:daily_location","admin0:labelled_spatial_aggregate:labelled_spatial_aggregate","admin0:labelled_spatial_aggregate:location_visits","admin0:labelled_spatial_aggregate:majority_location","admin0:labelled_spatial_aggregate:mobility_classification","admin0:labelled_spatial_aggregate:modal_location","admin0:localised_calendar_activity:coalesced_location","admin0:localised_calendar_activity:daily_location","admin0:localised_calendar_activity:localised_calendar_activity","admin0:localised_calendar_activity:location_visits","admin0:localised_calendar_activity:majority_location","admin0:localised_calendar_activity:modal_location","admin0:localised_calendar_activity:most_frequent_location","admin0:localised_calendar_activity:visited_most_days","admin0:location_event_counts:location_event_counts","admin0:location_introversion:location_introversion","admin0:meaningful_locations_aggregate:meaningful_locations_aggregate","admin0:meaningful_locations_between_dates_od_matrix:meaningful_locations_between_dates_od_matrix","admin0:meaningful_locations_between_label_od_matrix:meaningful_locations_between_label_od_matrix","admin0:outflows:coalesced_location","admin0:outflows:daily_location","admin0:outflows:location_visits","admin0:outflows:majority_location","admin0:outflows:modal_location","admin0:outflows:most_frequent_location","admin0:outflows:outflows","admin0:outflows:unique_locations","admin0:outflows:visited_most_days","admin0:spatial_aggregate:coalesced_location","admin0:spatial_aggregate:daily_location","admin0:spatial_aggregate:location_visits","admin0:spatial_aggregate:majority_location","admin0:spatial_aggregate:modal_location","admin0:spatial_aggregate:most_frequent_location","admin0:spatial_aggregate:spatial_aggregate","admin0:spatial_aggregate:visited_most_days","admin0:total_network_objects:total_network_objects","admin0:trips_od_matrix:trips_od_matrix","admin0:unique_subscriber_counts:unique_subscriber_counts","admin0:unique_visitor_counts:active_at_reference_location_counts","admin0:unique_visitor_counts:coalesced_location","admin0:unique_visitor_counts:daily_location","admin0:unique_visitor_counts:location_visits","admin0:unique_visitor_counts:majority_location","admin0:unique_visitor_counts:modal_location","admin0:unique_visitor_counts:most_frequent_location","admin0:unique_visitor_counts:unique_locations","admin0:unique_visitor_counts:unique_subscriber_counts","admin0:unique_visitor_counts:unique_visitor_counts","admin0:unique_visitor_counts:visited_most_days","admin0:unmoving_at_reference_location_counts:coalesced_location","admin0:unmoving_at_reference_location_counts:daily_location","admin0:unmoving_at_reference_location_counts:location_visits","admin0:unmoving_at_reference_location_counts:majority_location","admin0:unmoving_at_reference_location_counts:modal_location","admin0:unmoving_at_reference_location_counts:most_frequent_location","admin0:unmoving_at_reference_location_counts:unique_locations","admin0:unmoving_at_reference_location_counts:unmoving_at_reference_location_counts","admin0:unmoving_at_reference_location_counts:visited_most_days","admin0:unmoving_counts:unique_locations","admin0:unmoving_counts:unmoving_counts","admin1:active_at_reference_location_counts:active_at_reference_location_counts","admin1:active_at_reference_location_counts:coalesced_location","admin1:active_at_reference_location_counts:daily_location","admin1:active_at_reference_location_counts:location_visits","admin1:active_at_reference_location_counts:majority_location","admin1:active_at_reference_location_counts:modal_location","admin1:active_at_reference_location_counts:most_frequent_location","admin1:active_at_reference_location_counts:unique_locations","admin1:active_at_reference_location_counts:visited_most_days","admin1:aggregate_network_objects:aggregate_network_objects","admin1:aggregate_network_objects:total_network_objects","admin1:consecutive_trips_od_matrix:consecutive_trips_od_matrix","admin1:dfs_metric_total_amount:dfs_metric_total_amount","admin1:dummy_query:dummy_query","admin1:flows:coalesced_location","admin1:flows:daily_location","admin1:flows:flows","admin1:flows:location_visits","admin1:flows:majority_location","admin1:flows:modal_location","admin1:flows:most_frequent_location","admin1:flows:unique_locations","admin1:flows:visited_most_days","admin1:geography:geography","admin1:inflows:coalesced_location","admin1:inflows:daily_location","admin1:inflows:inflows","admin1:inflows:location_visits","admin1:inflows:majority_location","admin1:inflows:modal_location","admin1:inflows:most_frequent_location","admin1:inflows:unique_locations","admin1:inflows:visited_most_days","admin1:joined_spatial_aggregate:coalesced_location","admin1:joined_spatial_aggregate:daily_location","admin1:joined_spatial_aggregate:displacement","admin1:joined_spatial_aggregate:event_count","admin1:joined_spatial_aggregate:handset","admin1:joined_spatial_aggregate:joined_spatial_aggregate","admin1:joined_spatial_aggregate:location_visits","admin1:joined_spatial_aggregate:majority_location","admin1:joined_spatial_aggregate:modal_location","admin1:joined_spatial_aggregate:most_frequent_location","admin1:joined_spatial_aggregate:nocturnal_events","admin1:joined_spatial_aggregate:pareto_interactions","admin1:joined_spatial_aggregate:radius_of_gyration","admin1:joined_spatial_aggregate:subscriber_degree","admin1:joined_spatial_aggregate:topup_amount","admin1:joined_spatial_aggregate:topup_balance","admin1:joined_spatial_aggregate:total_active_periods","admin1:joined_spatial_aggregate:unique_location_counts","admin1:joined_spatial_aggregate:visited_most_days","admin1:labelled_flows:coalesced_location","admin1:labelled_flows:daily_location","admin1:labelled_flows:labelled_flows","admin1:labelled_flows:location_visits","admin1:labelled_flows:majority_location","admin1:labelled_flows:mobility_classification","admin1:labelled_flows:modal_location","admin1:labelled_spatial_aggregate:coalesced_location","admin1:labelled_spatial_aggregate:daily_location","admin1:labelled_spatial_aggregate:labelled_spatial_aggregate","admin1:labelled_spatial_aggregate:location_visits","admin1:labelled_spatial_aggregate:majority_location","admin1:labelled_spatial_aggregate:mobility_classification","admin1:labelled_spatial_aggregate:modal_location","admin1:localised_calendar_activity:coalesced_location","admin1:localised_calendar_activity:daily_location","admin1:localised_calendar_activity:localised_calendar_activity","admin1:localised_calendar_activity:location_visits","admin1:localised_calendar_activity:majority_location","admin1:localised_calendar_activity:modal_location","admin1:localised_calendar_activity:most_frequent_location","admin1:localised_calendar_activity:visited_most_days","admin1:location_event_counts:location_event_counts","admin1:location_introversion:location_introversion","admin1:meaningful_locations_aggregate:meaningful_locations_aggregate","admin1:meaningful_locations_between_dates_od_matrix:meaningful_locations_between_dates_od_matrix","admin1:meaningful_locations_between_label_od_matrix:meaningful_locations_between_label_od_matrix","admin1:outflows:coalesced_location","admin1:outflows:daily_location","admin1:outflows:location_visits","admin1:outflows:majority_location","admin1:outflows:modal_location","admin1:outflows:most_frequent_location","admin1:outflows:outflows","admin1:outflows:unique_locations","admin1:outflows:visited_most_days","admin1:spatial_aggregate:coalesced_location","admin1:spatial_aggregate:daily_location","admin1:spatial_aggregate:location_visits","admin1:spatial_aggregate:majority_location","admin1:spatial_aggregate:modal_location","admin1:spatial_aggregate:most_frequent_location","admin1:spatial_aggregate:spatial_aggregate","admin1:spatial_aggregate:visited_most_days","admin1:total_network_objects:total_network_objects","admin1:trips_od_matrix:trips_od_matrix","admin1:unique_subscriber_counts:unique_subscriber_counts","admin1:unique_visitor_counts:active_at_reference_location_counts","admin1:unique_visitor_counts:coalesced_location","admin1:unique_visitor_counts:daily_location","admin1:unique_visitor_counts:location_visits","admin1:unique_visitor_counts:majority_location","admin1:unique_visitor_counts:modal_location","admin1:unique_visitor_counts:most_frequent_location","admin1:unique_visitor_counts:unique_locations","admin1:unique_visitor_counts:unique_subscriber_counts","admin1:unique_visitor_counts:unique_visitor_counts","admin1:unique_visitor_counts:visited_most_days","admin1:unmoving_at_reference_location_counts:coalesced_location","admin1:unmoving_at_reference_location_counts:daily_location","admin1:unmoving_at_reference_location_counts:location_visits","admin1:unmoving_at_reference_location_counts:majority_location","admin1:unmoving_at_reference_location_counts:modal_location","admin1:unmoving_at_reference_location_counts:most_frequent_location","admin1:unmoving_at_reference_location_counts:unique_locations","admin1:unmoving_at_reference_location_counts:unmoving_at_reference_location_counts","admin1:unmoving_at_reference_location_counts:visited_most_days","admin1:unmoving_counts:unique_locations","admin1:unmoving_counts:unmoving_counts","admin2:active_at_reference_location_counts:active_at_reference_location_counts","admin2:active_at_reference_location_counts:coalesced_location","admin2:active_at_reference_location_counts:daily_location","admin2:active_at_reference_location_counts:location_visits","admin2:active_at_reference_location_counts:majority_location","admin2:active_at_reference_location_counts:modal_location","admin2:active_at_reference_location_counts:most_frequent_location","admin2:active_at_reference_location_counts:unique_locations","admin2:active_at_reference_location_counts:visited_most_days","admin2:aggregate_network_objects:aggregate_network_objects","admin2:aggregate_network_objects:total_network_objects","admin2:consecutive_trips_od_matrix:consecutive_trips_od_matrix","admin2:dfs_metric_total_amount:dfs_metric_total_amount","admin2:dummy_query:dummy_query","admin2:flows:coalesced_location","admin2:flows:daily_location","admin2:flows:flows","admin2:flows:location_visits","admin2:flows:majority_location","admin2:flows:modal_location","admin2:flows:most_frequent_location","admin2:flows:unique_locations","admin2:flows:visited_most_days","admin2:geography:geography","admin2:inflows:coalesced_location","admin2:inflows:daily_location","admin2:inflows:inflows","admin2:inflows:location_visits","admin2:inflows:majority_location","admin2:inflows:modal_location","admin2:inflows:most_frequent_location","admin2:inflows:unique_locations","admin2:inflows:visited_most_days","admin2:joined_spatial_aggregate:coalesced_location","admin2:joined_spatial_aggregate:daily_location","admin2:joined_spatial_aggregate:displacement","admin2:joined_spatial_aggregate:event_count","admin2:joined_spatial_aggregate:handset","admin2:joined_spatial_aggregate:joined_spatial_aggregate","admin2:joined_spatial_aggregate:location_visits","admin2:joined_spatial_aggregate:majority_location","admin2:joined_spatial_aggregate:modal_location","admin2:joined_spatial_aggregate:most_frequent_location","admin2:joined_spatial_aggregate:nocturnal_events","admin2:joined_spatial_aggregate:pareto_interactions","admin2:joined_spatial_aggregate:radius_of_gyration","admin2:joined_spatial_aggregate:subscriber_degree","admin2:joined_spatial_aggregate:topup_amount","admin2:joined_spatial_aggregate:topup_balance","admin2:joined_spatial_aggregate:total_active_periods","admin2:joined_spatial_aggregate:unique_location_counts","admin2:joined_spatial_aggregate:visited_most_days","admin2:labelled_flows:coalesced_location","admin2:labelled_flows:daily_location","admin2:labelled_flows:labelled_flows","admin2:labelled_flows:location_visits","admin2:labelled_flows:majority_location","admin2:labelled_flows:mobility_classification","admin2:labelled_flows:modal_location","admin2:labelled_spatial_aggregate:coalesced_location","admin2:labelled_spatial_aggregate:daily_location","admin2:labelled_spatial_aggregate:labelled_spatial_aggregate","admin2:labelled_spatial_aggregate:location_visits","admin2:labelled_spatial_aggregate:majority_location","admin2:labelled_spatial_aggregate:mobility_classification","admin2:labelled_spatial_aggregate:modal_location","admin2:localised_calendar_activity:coalesced_location","admin2:localised_calendar_activity:daily_location","admin2:localised_calendar_activity:localised_calendar_activity","admin2:localised_calendar_activity:location_visits","admin2:localised_calendar_activity:majority_location","admin2:localised_calendar_activity:modal_location","admin2:localised_calendar_activity:most_frequent_location","admin2:localised_calendar_activity:visited_most_days","admin2:location_event_counts:location_event_counts","admin2:location_introversion:location_introversion","admin2:meaningful_locations_aggregate:meaningful_locations_aggregate","admin2:meaningful_locations_between_dates_od_matrix:meaningful_locations_between_dates_od_matrix","admin2:meaningful_locations_between_label_od_matrix:meaningful_locations_between_label_od_matrix","admin2:outflows:coalesced_location","admin2:outflows:daily_location","admin2:outflows:location_visits","admin2:outflows:majority_location","admin2:outflows:modal_location","admin2:outflows:most_frequent_location","admin2:outflows:outflows","admin2:outflows:unique_locations","admin2:outflows:visited_most_days","admin2:spatial_aggregate:coalesced_location","admin2:spatial_aggregate:daily_location","admin2:spatial_aggregate:location_visits","admin2:spatial_aggregate:majority_location","admin2:spatial_aggregate:modal_location","admin2:spatial_aggregate:most_frequent_location","admin2:spatial_aggregate:spatial_aggregate","admin2:spatial_aggregate:visited_most_days","admin2:total_network_objects:total_network_objects","admin2:trips_od_matrix:trips_od_matrix","admin2:unique_subscriber_counts:unique_subscriber_counts","admin2:unique_visitor_counts:active_at_reference_location_counts","admin2:unique_visitor_counts:coalesced_location","admin2:unique_visitor_counts:daily_location","admin2:unique_visitor_counts:location_visits","admin2:unique_visitor_counts:majority_location","admin2:unique_visitor_counts:modal_location","admin2:unique_visitor_counts:most_frequent_location","admin2:unique_visitor_counts:unique_locations","admin2:unique_visitor_counts:unique_subscriber_counts","admin2:unique_visitor_counts:unique_visitor_counts","admin2:unique_visitor_counts:visited_most_days","admin2:unmoving_at_reference_location_counts:coalesced_location","admin2:unmoving_at_reference_location_counts:daily_location","admin2:unmoving_at_reference_location_counts:location_visits","admin2:unmoving_at_reference_location_counts:majority_location","admin2:unmoving_at_reference_location_counts:modal_location","admin2:unmoving_at_reference_location_counts:most_frequent_location","admin2:unmoving_at_reference_location_counts:unique_locations","admin2:unmoving_at_reference_location_counts:unmoving_at_reference_location_counts","admin2:unmoving_at_reference_location_counts:visited_most_days","admin2:unmoving_counts:unique_locations","admin2:unmoving_counts:unmoving_counts","admin3:active_at_reference_location_counts:active_at_reference_location_counts","admin3:active_at_reference_location_counts:coalesced_location","admin3:active_at_reference_location_counts:daily_location","admin3:active_at_reference_location_counts:location_visits","admin3:active_at_reference_location_counts:majority_location","admin3:active_at_reference_location_counts:modal_location","admin3:active_at_reference_location_counts:most_frequent_location","admin3:active_at_reference_location_counts:unique_locations","admin3:active_at_reference_location_counts:visited_most_days","admin3:aggregate_network_objects:aggregate_network_objects","admin3:aggregate_network_objects:total_network_objects","admin3:consecutive_trips_od_matrix:consecutive_trips_od_matrix","admin3:dfs_metric_total_amount:dfs_metric_total_amount","admin3:dummy_query:dummy_query","admin3:flows:coalesced_location","admin3:flows:daily_location","admin3:flows:flows","admin3:flows:location_visits","admin3:flows:majority_location","admin3:flows:modal_location","admin3:flows:most_frequent_location","admin3:flows:unique_locations","admin3:flows:visited_most_days","admin3:geography:geography","admin3:inflows:coalesced_location","admin3:inflows:daily_location","admin3:inflows:inflows","admin3:inflows:location_visits","admin3:inflows:majority_location","admin3:inflows:modal_location","admin3:inflows:most_frequent_location","admin3:inflows:unique_locations","admin3:inflows:visited_most_days","admin3:joined_spatial_aggregate:coalesced_location","admin3:joined_spatial_aggregate:daily_location","admin3:joined_spatial_aggregate:displacement","admin3:joined_spatial_aggregate:event_count","admin3:joined_spatial_aggregate:handset","admin3:joined_spatial_aggregate:joined_spatial_aggregate","admin3:joined_spatial_aggregate:location_visits","admin3:joined_spatial_aggregate:majority_location","admin3:joined_spatial_aggregate:modal_location","admin3:joined_spatial_aggregate:most_frequent_location","admin3:joined_spatial_aggregate:nocturnal_events","admin3:joined_spatial_aggregate:pareto_interactions","admin3:joined_spatial_aggregate:radius_of_gyration","admin3:joined_spatial_aggregate:subscriber_degree","admin3:joined_spatial_aggregate:topup_amount","admin3:joined_spatial_aggregate:topup_balance","admin3:joined_spatial_aggregate:total_active_periods","admin3:joined_spatial_aggregate:unique_location_counts","admin3:joined_spatial_aggregate:visited_most_days","admin3:labelled_flows:coalesced_location","admin3:labelled_flows:daily_location","admin3:labelled_flows:labelled_flows","admin3:labelled_flows:location_visits","admin3:labelled_flows:majority_location","admin3:labelled_flows:mobility_classification","admin3:labelled_flows:modal_location","admin3:labelled_spatial_aggregate:coalesced_location","admin3:labelled_spatial_aggregate:daily_location","admin3:labelled_spatial_aggregate:labelled_spatial_aggregate","admin3:labelled_spatial_aggregate:location_visits","admin3:labelled_spatial_aggregate:majority_location","admin3:labelled_spatial_aggregate:mobility_classification","admin3:labelled_spatial_aggregate:modal_location","admin3:localised_calendar_activity:coalesced_location","admin3:localised_calendar_activity:daily_location","admin3:localised_calendar_activity:localised_calendar_activity","admin3:localised_calendar_activity:location_visits","admin3:localised_calendar_activity:majority_location","admin3:localised_calendar_activity:modal_location","admin3:localised_calendar_activity:most_frequent_location","admin3:localised_calendar_activity:visited_most_days","admin3:location_event_counts:location_event_counts","admin3:location_introversion:location_introversion","admin3:meaningful_locations_aggregate:meaningful_locations_aggregate","admin3:meaningful_locations_between_dates_od_matrix:meaningful_locations_between_dates_od_matrix","admin3:meaningful_locations_between_label_od_matrix:meaningful_locations_between_label_od_matrix","admin3:outflows:coalesced_location","admin3:outflows:daily_location","admin3:outflows:location_visits","admin3:outflows:majority_location","admin3:outflows:modal_location","admin3:outflows:most_frequent_location","admin3:outflows:outflows","admin3:outflows:unique_locations","admin3:outflows:visited_most_days","admin3:spatial_aggregate:coalesced_location","admin3:spatial_aggregate:daily_location","admin3:spatial_aggregate:location_visits","admin3:spatial_aggregate:majority_location","admin3:spatial_aggregate:modal_location","admin3:spatial_aggregate:most_frequent_location","admin3:spatial_aggregate:spatial_aggregate","admin3:spatial_aggregate:visited_most_days","admin3:total_network_objects:total_network_objects","admin3:trips_od_matrix:trips_od_matrix","admin3:unique_subscriber_counts:unique_subscriber_counts","admin3:unique_visitor_counts:active_at_reference_location_counts","admin3:unique_visitor_counts:coalesced_location","admin3:unique_visitor_counts:daily_location","admin3:unique_visitor_counts:location_visits","admin3:unique_visitor_counts:majority_location","admin3:unique_visitor_counts:modal_location","admin3:unique_visitor_counts:most_frequent_location","admin3:unique_visitor_counts:unique_locations","admin3:unique_visitor_counts:unique_subscriber_counts","admin3:unique_visitor_counts:unique_visitor_counts","admin3:unique_visitor_counts:visited_most_days","admin3:unmoving_at_reference_location_counts:coalesced_location","admin3:unmoving_at_reference_location_counts:daily_location","admin3:unmoving_at_reference_location_counts:location_visits","admin3:unmoving_at_reference_location_counts:majority_location","admin3:unmoving_at_reference_location_counts:modal_location","admin3:unmoving_at_reference_location_counts:most_frequent_location","admin3:unmoving_at_reference_location_counts:unique_locations","admin3:unmoving_at_reference_location_counts:unmoving_at_reference_location_counts","admin3:unmoving_at_reference_location_counts:visited_most_days","admin3:unmoving_counts:unique_locations","admin3:unmoving_counts:unmoving_counts","get_available_dates","get_qa_checks","get_result","lon-lat:active_at_reference_location_counts:active_at_reference_location_counts","lon-lat:active_at_reference_location_counts:coalesced_location","lon-lat:active_at_reference_location_counts:daily_location","lon-lat:active_at_reference_location_counts:location_visits","lon-lat:active_at_reference_location_counts:majority_location","lon-lat:active_at_reference_location_counts:modal_location","lon-lat:active_at_reference_location_counts:most_frequent_location","lon-lat:active_at_reference_location_counts:unique_locations","lon-lat:active_at_reference_location_counts:visited_most_days","lon-lat:aggregate_network_objects:aggregate_network_objects","lon-lat:aggregate_network_objects:total_network_objects","lon-lat:consecutive_trips_od_matrix:consecutive_trips_od_matrix","lon-lat:dfs_metric_total_amount:dfs_metric_total_amount","lon-lat:dummy_query:dummy_query","lon-lat:flows:coalesced_location","lon-lat:flows:daily_location","lon-lat:flows:flows","lon-lat:flows:location_visits","lon-lat:flows:majority_location","lon-lat:flows:modal_location","lon-lat:flows:most_frequent_location","lon-lat:flows:unique_locations","lon-lat:flows:visited_most_days","lon-lat:geography:geography","lon-lat:inflows:coalesced_location","lon-lat:inflows:daily_location","lon-lat:inflows:inflows","lon-lat:inflows:location_visits","lon-lat:inflows:majority_location","lon-lat:inflows:modal_location","lon-lat:inflows:most_frequent_location","lon-lat:inflows:unique_locations","lon-lat:inflows:visited_most_days","lon-lat:joined_spatial_aggregate:coalesced_location","lon-lat:joined_spatial_aggregate:daily_location","lon-lat:joined_spatial_aggregate:displacement","lon-lat:joined_spatial_aggregate:event_count","lon-lat:joined_spatial_aggregate:handset","lon-lat:joined_spatial_aggregate:joined_spatial_aggregate","lon-lat:joined_spatial_aggregate:location_visits","lon-lat:joined_spatial_aggregate:majority_location","lon-lat:joined_spatial_aggregate:modal_location","lon-lat:joined_spatial_aggregate:most_frequent_location","lon-lat:joined_spatial_aggregate:nocturnal_events","lon-lat:joined_spatial_aggregate:pareto_interactions","lon-lat:joined_spatial_aggregate:radius_of_gyration","lon-lat:joined_spatial_aggregate:subscriber_degree","lon-lat:joined_spatial_aggregate:topup_amount","lon-lat:joined_spatial_aggregate:topup_balance","lon-lat:joined_spatial_aggregate:total_active_periods","lon-lat:joined_spatial_aggregate:unique_location_counts","lon-lat:joined_spatial_aggregate:visited_most_days","lon-lat:labelled_flows:coalesced_location","lon-lat:labelled_flows:daily_location","lon-lat:labelled_flows:labelled_flows","lon-lat:labelled_flows:location_visits","lon-lat:labelled_flows:majority_location","lon-lat:labelled_flows:mobility_classification","lon-lat:labelled_flows:modal_location","lon-lat:labelled_spatial_aggregate:coalesced_location","lon-lat:labelled_spatial_aggregate:daily_location","lon-lat:labelled_spatial_aggregate:labelled_spatial_aggregate","lon-lat:labelled_spatial_aggregate:location_visits","lon-lat:labelled_spatial_aggregate:majority_location","lon-lat:labelled_spatial_aggregate:mobility_classification","lon-lat:labelled_spatial_aggregate:modal_location","lon-lat:localised_calendar_activity:coalesced_location","lon-lat:localised_calendar_activity:daily_location","lon-lat:localised_calendar_activity:localised_calendar_activity","lon-lat:localised_calendar_activity:location_visits","lon-lat:localised_calendar_activity:majority_location","lon-lat:localised_calendar_activity:modal_location","lon-lat:localised_calendar_activity:most_frequent_location","lon-lat:localised_calendar_activity:visited_most_days","lon-lat:location_event_counts:location_event_counts","lon-lat:location_introversion:location_introversion","lon-lat:meaningful_locations_aggregate:meaningful_locations_aggregate","lon-lat:meaningful_locations_between_dates_od_matrix:meaningful_locations_between_dates_od_matrix","lon-lat:meaningful_locations_between_label_od_matrix:meaningful_locations_between_label_od_matrix","lon-lat:outflows:coalesced_location","lon-lat:outflows:daily_location","lon-lat:outflows:location_visits","lon-lat:outflows:majority_location","lon-lat:outflows:modal_location","lon-lat:outflows:most_frequent_location","lon-lat:outflows:outflows","lon-lat:outflows:unique_locations","lon-lat:outflows:visited_most_days","lon-lat:spatial_aggregate:coalesced_location","lon-lat:spatial_aggregate:daily_location","lon-lat:spatial_aggregate:location_visits","lon-lat:spatial_aggregate:majority_location","lon-lat:spatial_aggregate:modal_location","lon-lat:spatial_aggregate:most_frequent_location","lon-lat:spatial_aggregate:spatial_aggregate","lon-lat:spatial_aggregate:visited_most_days","lon-lat:total_network_objects:total_network_objects","lon-lat:trips_od_matrix:trips_od_matrix","lon-lat:unique_subscriber_counts:unique_subscriber_counts","lon-lat:unique_visitor_counts:active_at_reference_location_counts","lon-lat:unique_visitor_counts:coalesced_location","lon-lat:unique_visitor_counts:daily_location","lon-lat:unique_visitor_counts:location_visits","lon-lat:unique_visitor_counts:majority_location","lon-lat:unique_visitor_counts:modal_location","lon-lat:unique_visitor_counts:most_frequent_location","lon-lat:unique_visitor_counts:unique_locations","lon-lat:unique_visitor_counts:unique_subscriber_counts","lon-lat:unique_visitor_counts:unique_visitor_counts","lon-lat:unique_visitor_counts:visited_most_days","lon-lat:unmoving_at_reference_location_counts:coalesced_location","lon-lat:unmoving_at_reference_location_counts:daily_location","lon-lat:unmoving_at_reference_location_counts:location_visits","lon-lat:unmoving_at_reference_location_counts:majority_location","lon-lat:unmoving_at_reference_location_counts:modal_location","lon-lat:unmoving_at_reference_location_counts:most_frequent_location","lon-lat:unmoving_at_reference_location_counts:unique_locations","lon-lat:unmoving_at_reference_location_counts:unmoving_at_reference_location_counts","lon-lat:unmoving_at_reference_location_counts:visited_most_days","lon-lat:unmoving_counts:unique_locations","lon-lat:unmoving_counts:unmoving_counts","nonspatial:calendar_activity:calendar_activity","nonspatial:histogram_aggregate:coalesced_location","nonspatial:histogram_aggregate:daily_location","nonspatial:histogram_aggregate:displacement","nonspatial:histogram_aggregate:event_count","nonspatial:histogram_aggregate:histogram_aggregate","nonspatial:histogram_aggregate:location_visits","nonspatial:histogram_aggregate:majority_location","nonspatial:histogram_aggregate:modal_location","nonspatial:histogram_aggregate:most_frequent_location","nonspatial:histogram_aggregate:nocturnal_events","nonspatial:histogram_aggregate:pareto_interactions","nonspatial:histogram_aggregate:radius_of_gyration","nonspatial:histogram_aggregate:subscriber_degree","nonspatial:histogram_aggregate:topup_amount","nonspatial:histogram_aggregate:topup_balance","nonspatial:histogram_aggregate:total_active_periods","nonspatial:histogram_aggregate:unique_location_counts","nonspatial:histogram_aggregate:visited_most_days","run"]}}},"info":{"contact":{"email":"flowkit@flowminder.org"},"description":"FlowKit Analytical API","license":{"name":"MPLv2","url":"https://www.mozilla.org/en-US/MPL/2.0/"},"title":"FlowAPI","version":"1.30.0.post0.dev133"},"openapi":"3.0.1","paths":{"/api/0/available_dates":{"get":{"operationId":"query.get_available_dates.get","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"calls":{"items":{"format":"date","type":"string"},"type":"array"},"mds":{"items":{"format":"date","type":"string"},"type":"array"},"sms":{"items":{"format":"date","type":"string"},"type":"array"},"topups":{"items":{"format":"date","type":"string"},"type":"array"}},"type":"object"}}},"description":"Dates available for each event type."},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"No access with this token."},"500":{"description":"Server error."}},"summary":"Get the dates available to query over."}},"/api/0/geography/{aggregation_unit}":{"get":{"operationId":"geography.get_geography.get","parameters":[{"in":"path","name":"aggregation_unit","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/geo+json":{"schema":{"type":"object"}}},"description":"Downloading."},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Token does not grant run access to this spatial aggregation unit."},"500":{"description":"Server error."}},"summary":"Get geojson for an aggregation unit"}},"/api/0/get/{query_id}":{"get":{"operationId":"query.get_query_result.get","parameters":[{"in":"path","name":"query_id","required":true,"schema":{"type":"string"}},{"default":"json","in":"path","name":"filetype","required":true,"schema":{"enum":["json","geojson","csv"],"type":"string"}}],"responses":{"200":{"content":{"application/geo+json":{"schema":{"type":"object"}},"application/json":{"schema":{"type":"object"}},"text/csv":{"schema":{"type":"string"}}},"description":"Results returning."},"202":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Request accepted."},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Token does not grant results access to this query or spatial aggregation unit."},"404":{"description":"Unknown ID"},"500":{"description":"Server error."}},"summary":"Get the output of query"}},"/api/0/get/{query_id}.{filetype}":{"get":{"operationId":"query.get_query_result.get","parameters":[{"in":"path","name":"query_id","required":true,"schema":{"type":"string"}},{"default":"json","in":"path","name":"filetype","required":true,"schema":{"enum":["json","geojson","csv"],"type":"string"}}],"responses":{"200":{"content":{"application/geo+json":{"schema":{"type":"object"}},"application/json":{"schema":{"type":"object"}},"text/csv":{"schema":{"type":"string"}}},"description":"Results returning."},"202":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Request accepted."},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Token does not grant results access to this query or spatial aggregation unit."},"404":{"description":"Unknown ID"},"500":{"description":"Server error."}},"summary":"Get the output of query"}},"/api/0/poll/{query_id}":{"get":{"operationId":"query.poll_query.get","parameters":[{"in":"path","name":"query_id","required":true,"schema":{"type":"string"}}],"responses":{"202":{"content":{"application/json":{"schema":{"properties":{"msg":{"type":"string"},"progress":{"schema":{"eligible":{"type":"integer"},"queued":{"type":"integer"},"running":{"type":"integer"}},"type":"object"},"status":{"enum":["executing","queued"],"type":"string"}},"type":"object"}}},"description":"Request accepted."},"303":{"description":"Data ready.","headers":{"Location":{"description":"URL to download data","schema":{"format":"url","type":"string"}}}},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Token does not grant poll access to this query or spatial aggregation unit."},"404":{"description":"Unknown ID"},"500":{"description":"Server error."}},"summary":"Get the status of a query"}},"/api/0/qa/":{"get":{"operationId":"qa.list_qa_checks.get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"cdr_type":{"enum":["calls","sms","mds","topups","forwards","cell_info"]},"type_of_query_or_check":{"type":"string"}},"type":"object"},"type":"array"}}},"description":"Types of QA checks for all datatypes."},"401":{"description":"Unauthorized."},"500":{"description":"Server error."}},"summary":"Returns the available types of QA checks for all datatypes"}},"/api/0/qa/{cdr_type}/{check_id}":{"get":{"operationId":"qa.get_qa_date_range.get","parameters":[{"in":"path","name":"cdr_type","required":true,"schema":{"enum":["calls","sms","mds","topups","forwards","cell_info"],"type":"string"}},{"in":"path","name":"check_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"start_date","required":true,"schema":{"format":"date","type":"string"}},{"in":"query","name":"end_date","required":true,"schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"cdr_date":{"format":"date","type":"string"},"outcome":{"type":"string"},"type_of_query_or_check":{"type":"string"}},"type":"object"},"type":"array"}}},"description":"QA outcomes."},"400":{"description":"Bad request"},"401":{"description":"Unauthorized."},"404":{"description":"No QA checks of type specified found on date"},"500":{"description":"Server error."}},"summary":"Get QA outcomes for a given check on a datatype between two dates"}},"/api/0/qa/{cdr_type}/{check_id}/{check_date}":{"get":{"operationId":"qa.get_qa_on_date.get","parameters":[{"in":"path","name":"cdr_type","required":true,"schema":{"enum":["calls","sms","mds","topups","forwards","cell_info"],"type":"string"}},{"in":"path","name":"check_id","required":true,"schema":{"type":"string"}},{"in":"path","name":"check_date","required":true,"schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"text/html":{"schema":{"type":"string"}}},"description":"QA check outcome."},"400":{"description":"Bad request"},"401":{"description":"Unauthorized."},"404":{"description":"No QA checks of type specified found on date"},"500":{"description":"Server error."}},"summary":"Get QA check outcome for a check on one date of a datatype."}},"/api/0/run":{"post":{"operationId":"query.run_query.post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowmachineQuerySchema"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"properties":{"progress":{"schema":{"eligible":{"type":"integer"},"queued":{"type":"integer"},"running":{"type":"integer"}},"type":"object"},"query_id":{"type":"string"}},"type":"object"}}},"description":"Request accepted.","headers":{"Location":{"description":"URL to poll for status","schema":{"format":"url","type":"string"}}}},"400":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Query spec could not be run.."},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Token does not grant run access to this query or spatial aggregation unit."},"500":{"description":"Server error."}},"summary":"Run a query"}}}} +{"components":{"schemas":{"ActiveAtReferenceLocationCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"query_kind":{"enum":["active_at_reference_location_counts"],"type":"string"},"reference_locations":{"$ref":"#/components/schemas/ReferenceLocation"},"unique_locations":{"$ref":"#/components/schemas/UniqueLocations"}},"required":["query_kind","reference_locations","unique_locations"],"type":"object"},"AggregateNetworkObjects":{"properties":{"aggregate_by":{"enum":["second","minute","hour","day","month","year","century"],"type":"string"},"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"query_kind":{"enum":["aggregate_network_objects"],"type":"string"},"statistic":{"enum":["count","sum","avg","max","min","median","stddev","variance","mode"],"type":"string"},"total_network_objects":{"$ref":"#/components/schemas/TotalNetworkObjects"}},"required":["aggregate_by","query_kind","statistic","total_network_objects"],"type":"object"},"BernoulliRandomSample":{"properties":{"estimate_count":{"default":true,"type":"boolean"},"fraction":{"maximum":1.0,"minimum":0.0,"nullable":true,"type":"number"},"sampling_method":{"enum":["bernoulli"],"type":"string"},"seed":{"type":"number"},"size":{"minimum":1,"nullable":true,"type":"integer"}},"required":["seed"],"type":"object"},"Bounds":{"properties":{"lower_bound":{"type":"number"},"upper_bound":{"type":"number"}},"required":["lower_bound","upper_bound"],"type":"object"},"CalendarActivity":{"properties":{"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"period_length":{"default":1,"type":"integer"},"period_unit":{"default":"days","enum":["days","hours","minutes"],"type":"string"},"query_kind":{"enum":["calendar_activity"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"total_periods":{"type":"integer"}},"required":["query_kind","start_date","total_periods"],"type":"object"},"CoalescedLocation":{"properties":{"fallback_location":{"$ref":"#/components/schemas/MajorityLocation"},"preferred_location":{"$ref":"#/components/schemas/MajorityLocation"},"query_kind":{"enum":["coalesced_location"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"subscriber_location_weights":{"$ref":"#/components/schemas/LocationVisits"},"weight_threshold":{"type":"integer"}},"required":["fallback_location","preferred_location","query_kind","subscriber_location_weights","weight_threshold"],"type":"object"},"ConsecutiveTripsODMatrix":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["consecutive_trips_od_matrix"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"DFSTotalMetricAmount":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"metric":{"enum":["amount","commission","fee","discount"],"type":"string"},"query_kind":{"enum":["dfs_metric_total_amount"],"type":"string"},"start_date":{"format":"date-time","type":"string"}},"required":["aggregation_unit","end_date","metric","query_kind","start_date"],"type":"object"},"DailyLocation":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"method":{"enum":["last","most-common"],"type":"string"},"query_kind":{"enum":["daily_location"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","date","method","query_kind"],"type":"object"},"Displacement":{"properties":{"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["displacement"],"type":"string"},"reference_location":{"$ref":"#/components/schemas/ReferenceLocation"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"statistic":{"enum":["count","sum","avg","max","min","median","stddev","variance","mode"],"type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","reference_location","start_date","statistic"],"type":"object"},"DummyQuery":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"dummy_delay":{"default":0,"type":"integer"},"dummy_param":{"type":"string"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["dummy_query"],"type":"string"}},"required":["aggregation_unit","dummy_param","query_kind"],"type":"object"},"EventCount":{"properties":{"direction":{"default":"both","enum":["in","out","both"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["event_count"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","start_date"],"type":"object"},"FlowmachineQuerySchema":{"discriminator":{"mapping":{"active_at_reference_location_counts":"#/components/schemas/ActiveAtReferenceLocationCounts","aggregate_network_objects":"#/components/schemas/AggregateNetworkObjects","calendar_activity":"#/components/schemas/CalendarActivity","consecutive_trips_od_matrix":"#/components/schemas/ConsecutiveTripsODMatrix","dfs_metric_total_amount":"#/components/schemas/DFSTotalMetricAmount","dummy_query":"#/components/schemas/DummyQuery","flows":"#/components/schemas/Flows","geography":"#/components/schemas/Geography","histogram_aggregate":"#/components/schemas/HistogramAggregate","inflows":"#/components/schemas/Inflows","joined_spatial_aggregate":"#/components/schemas/JoinedSpatialAggregate","labelled_flows":"#/components/schemas/LabelledFlows","labelled_spatial_aggregate":"#/components/schemas/LabelledSpatialAggregate","localised_calendar_activity":"#/components/schemas/LocalisedCalendarActivity","location_event_counts":"#/components/schemas/LocationEventCounts","location_introversion":"#/components/schemas/LocationIntroversion","meaningful_locations_aggregate":"#/components/schemas/MeaningfulLocationsAggregate","meaningful_locations_between_dates_od_matrix":"#/components/schemas/MeaningfulLocationsBetweenDatesODMatrix","meaningful_locations_between_label_od_matrix":"#/components/schemas/MeaningfulLocationsBetweenLabelODMatrix","outflows":"#/components/schemas/Outflows","spatial_aggregate":"#/components/schemas/SpatialAggregate","total_network_objects":"#/components/schemas/TotalNetworkObjects","trips_od_matrix":"#/components/schemas/TripsODMatrix","unique_subscriber_counts":"#/components/schemas/UniqueSubscriberCounts","unique_visitor_counts":"#/components/schemas/UniqueVisitorCounts","unmoving_at_reference_location_counts":"#/components/schemas/UnmovingAtReferenceLocationCounts","unmoving_counts":"#/components/schemas/UnmovingCounts"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/DummyQuery"},{"$ref":"#/components/schemas/Flows"},{"$ref":"#/components/schemas/Inflows"},{"$ref":"#/components/schemas/Outflows"},{"$ref":"#/components/schemas/MeaningfulLocationsAggregate"},{"$ref":"#/components/schemas/MeaningfulLocationsBetweenLabelODMatrix"},{"$ref":"#/components/schemas/MeaningfulLocationsBetweenDatesODMatrix"},{"$ref":"#/components/schemas/Geography"},{"$ref":"#/components/schemas/LocationEventCounts"},{"$ref":"#/components/schemas/UniqueSubscriberCounts"},{"$ref":"#/components/schemas/LocationIntroversion"},{"$ref":"#/components/schemas/TotalNetworkObjects"},{"$ref":"#/components/schemas/AggregateNetworkObjects"},{"$ref":"#/components/schemas/DFSTotalMetricAmount"},{"$ref":"#/components/schemas/SpatialAggregate"},{"$ref":"#/components/schemas/JoinedSpatialAggregate"},{"$ref":"#/components/schemas/HistogramAggregate"},{"$ref":"#/components/schemas/ActiveAtReferenceLocationCounts"},{"$ref":"#/components/schemas/UniqueVisitorCounts"},{"$ref":"#/components/schemas/ConsecutiveTripsODMatrix"},{"$ref":"#/components/schemas/UnmovingCounts"},{"$ref":"#/components/schemas/UnmovingAtReferenceLocationCounts"},{"$ref":"#/components/schemas/TripsODMatrix"},{"$ref":"#/components/schemas/LabelledSpatialAggregate"},{"$ref":"#/components/schemas/LabelledFlows"},{"$ref":"#/components/schemas/CalendarActivity"},{"$ref":"#/components/schemas/LocalisedCalendarActivity"}]},"Flows":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"from_location":{"$ref":"#/components/schemas/InputToFlows"},"join_type":{"default":"inner","enum":["inner","full outer","left","right","left outer","right outer"],"type":"string"},"query_kind":{"enum":["flows"],"type":"string"},"to_location":{"$ref":"#/components/schemas/InputToFlows"}},"required":["from_location","query_kind","to_location"],"type":"object"},"Geography":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["geography"],"type":"string"}},"required":["aggregation_unit","query_kind"],"type":"object"},"Handset":{"properties":{"characteristic":{"enum":["hnd_type","brand","model","software_os_name","software_os_vendor"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"method":{"enum":["last","most-common"],"type":"string"},"query_kind":{"enum":["handset"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["characteristic","end_date","method","query_kind","start_date"],"type":"object"},"HistogramAggregate":{"properties":{"bins":{"$ref":"#/components/schemas/HistogramBins"},"metric":{"$ref":"#/components/schemas/HistogrammableMetrics"},"query_kind":{"enum":["histogram_aggregate"],"type":"string"},"range":{"$ref":"#/components/schemas/Bounds"}},"required":["bins","metric","query_kind"],"type":"object"},"HistogramBins":{"properties":{"bin_list":{"items":{"type":"number"},"type":"array"},"n_bins":{"type":"integer"}},"type":"object"},"HistogrammableMetrics":{"discriminator":{"mapping":{"displacement":"#/components/schemas/Displacement","event_count":"#/components/schemas/EventCount","nocturnal_events":"#/components/schemas/NocturnalEvents","pareto_interactions":"#/components/schemas/ParetoInteractions","radius_of_gyration":"#/components/schemas/RadiusOfGyration","subscriber_degree":"#/components/schemas/SubscriberDegree","topup_amount":"#/components/schemas/TopUpAmount","topup_balance":"#/components/schemas/TopUpBalance","total_active_periods":"#/components/schemas/TotalActivePeriods","unique_location_counts":"#/components/schemas/UniqueLocationCounts"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/RadiusOfGyration"},{"$ref":"#/components/schemas/UniqueLocationCounts"},{"$ref":"#/components/schemas/TopUpBalance"},{"$ref":"#/components/schemas/SubscriberDegree"},{"$ref":"#/components/schemas/TopUpAmount"},{"$ref":"#/components/schemas/EventCount"},{"$ref":"#/components/schemas/ParetoInteractions"},{"$ref":"#/components/schemas/NocturnalEvents"},{"$ref":"#/components/schemas/Displacement"},{"$ref":"#/components/schemas/TotalActivePeriods"}]},"Hours":{"properties":{"end_hour":{"maximum":24,"minimum":0,"type":"integer"},"start_hour":{"maximum":24,"minimum":0,"type":"integer"}},"required":["end_hour","start_hour"],"type":"object"},"Inflows":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"from_location":{"$ref":"#/components/schemas/InputToFlows"},"join_type":{"default":"inner","enum":["inner","full outer","left","right","left outer","right outer"],"type":"string"},"query_kind":{"enum":["inflows"],"type":"string"},"to_location":{"$ref":"#/components/schemas/InputToFlows"}},"required":["from_location","query_kind","to_location"],"type":"object"},"InputToFlows":{"discriminator":{"mapping":{"coalesced_location":"#/components/schemas/CoalescedLocation","daily_location":"#/components/schemas/DailyLocation","majority_location":"#/components/schemas/MajorityLocation","modal_location":"#/components/schemas/ModalLocation","most_frequent_location":"#/components/schemas/MostFrequentLocation","unique_locations":"#/components/schemas/UniqueLocations","visited_most_days":"#/components/schemas/VisitedMostDays"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/DailyLocation"},{"$ref":"#/components/schemas/ModalLocation"},{"$ref":"#/components/schemas/MostFrequentLocation"},{"$ref":"#/components/schemas/VisitedMostDays"},{"$ref":"#/components/schemas/MajorityLocation"},{"$ref":"#/components/schemas/CoalescedLocation"},{"$ref":"#/components/schemas/UniqueLocations"}]},"InputToModalLocation":{"discriminator":{"mapping":{"daily_location":"#/components/schemas/DailyLocation"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/DailyLocation"}]},"JoinableMetrics":{"discriminator":{"mapping":{"displacement":"#/components/schemas/Displacement","event_count":"#/components/schemas/EventCount","handset":"#/components/schemas/Handset","nocturnal_events":"#/components/schemas/NocturnalEvents","pareto_interactions":"#/components/schemas/ParetoInteractions","radius_of_gyration":"#/components/schemas/RadiusOfGyration","subscriber_degree":"#/components/schemas/SubscriberDegree","topup_amount":"#/components/schemas/TopUpAmount","topup_balance":"#/components/schemas/TopUpBalance","total_active_periods":"#/components/schemas/TotalActivePeriods","unique_location_counts":"#/components/schemas/UniqueLocationCounts"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/RadiusOfGyration"},{"$ref":"#/components/schemas/UniqueLocationCounts"},{"$ref":"#/components/schemas/TopUpBalance"},{"$ref":"#/components/schemas/SubscriberDegree"},{"$ref":"#/components/schemas/TopUpAmount"},{"$ref":"#/components/schemas/EventCount"},{"$ref":"#/components/schemas/Handset"},{"$ref":"#/components/schemas/ParetoInteractions"},{"$ref":"#/components/schemas/NocturnalEvents"},{"$ref":"#/components/schemas/Displacement"},{"$ref":"#/components/schemas/TotalActivePeriods"}]},"JoinedSpatialAggregate":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"locations":{"$ref":"#/components/schemas/ReferenceLocation"},"method":{"enum":["count","sum","avg","max","min","median","stddev","variance","mode","distr"],"type":"string"},"metric":{"$ref":"#/components/schemas/JoinableMetrics"},"query_kind":{"enum":["joined_spatial_aggregate"],"type":"string"}},"required":["locations","method","metric","query_kind"],"type":"object"},"LabelledFlows":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"from_location":{"$ref":"#/components/schemas/CoalescedLocation"},"join_type":{"default":"inner","enum":["inner","full outer","left","right","left outer","right outer"],"type":"string"},"labels":{"$ref":"#/components/schemas/MobilityClassification"},"query_kind":{"enum":["labelled_flows"],"type":"string"},"to_location":{"$ref":"#/components/schemas/CoalescedLocation"}},"required":["from_location","labels","query_kind","to_location"],"type":"object"},"LabelledSpatialAggregate":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"labels":{"$ref":"#/components/schemas/MobilityClassification"},"locations":{"$ref":"#/components/schemas/CoalescedLocation"},"query_kind":{"enum":["labelled_spatial_aggregate"],"type":"string"}},"required":["labels","locations","query_kind"],"type":"object"},"LocalisedCalendarActivity":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"period_length":{"default":1,"type":"integer"},"period_unit":{"default":"days","enum":["days","hours","minutes"],"type":"string"},"query_kind":{"enum":["localised_calendar_activity"],"type":"string"},"reference_location":{"$ref":"#/components/schemas/ReferenceLocation"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"total_periods":{"type":"integer"}},"required":["query_kind","start_date","total_periods"],"type":"object"},"LocationEventCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"direction":{"default":"both","enum":["in","out","both"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"interval":{"enum":["day","hour","min"],"type":"string"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["location_event_counts"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","interval","query_kind","start_date"],"type":"object"},"LocationIntroversion":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"direction":{"default":"both","enum":["in","out","both"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["location_introversion"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"LocationVisits":{"properties":{"locations":{"items":{"$ref":"#/components/schemas/VisitableLocation"},"minItems":1,"type":"array"},"query_kind":{"enum":["location_visits"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true}},"required":["locations","query_kind"],"type":"object"},"MajorityLocation":{"properties":{"include_unlocatable":{"default":false,"type":"boolean"},"minimum_total_weight":{"default":0.0,"type":"number"},"query_kind":{"enum":["majority_location"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"subscriber_location_weights":{"$ref":"#/components/schemas/WeightedLocationQueries"}},"required":["query_kind","subscriber_location_weights"],"type":"object"},"MeaningfulLocationsAggregate":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"label":{"type":"string"},"labels":{"additionalProperties":{"type":"object"},"type":"object"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["meaningful_locations_aggregate"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"tower_cluster_call_threshold":{"default":0,"type":"integer"},"tower_cluster_radius":{"default":1.0,"type":"number"},"tower_day_of_week_scores":{"additionalProperties":{"maximum":1.0,"minimum":-1.0,"type":"number"},"type":"object"},"tower_hour_of_day_scores":{"items":{"maximum":1.0,"minimum":-1.0,"type":"number"},"maxItems":24,"minItems":24,"type":"array"}},"required":["aggregation_unit","end_date","label","labels","query_kind","start_date","tower_day_of_week_scores","tower_hour_of_day_scores"],"type":"object"},"MeaningfulLocationsBetweenDatesODMatrix":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date_a":{"format":"date-time","type":"string"},"end_date_b":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"label":{"type":"string"},"labels":{"additionalProperties":{"type":"object"},"type":"object"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["meaningful_locations_between_dates_od_matrix"],"type":"string"},"start_date_a":{"format":"date-time","type":"string"},"start_date_b":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"tower_cluster_call_threshold":{"default":0,"type":"integer"},"tower_cluster_radius":{"default":1.0,"type":"number"},"tower_day_of_week_scores":{"additionalProperties":{"maximum":1.0,"minimum":-1.0,"type":"number"},"type":"object"},"tower_hour_of_day_scores":{"items":{"maximum":1.0,"minimum":-1.0,"type":"number"},"maxItems":24,"minItems":24,"type":"array"}},"required":["aggregation_unit","end_date_a","end_date_b","label","labels","query_kind","start_date_a","start_date_b","tower_day_of_week_scores","tower_hour_of_day_scores"],"type":"object"},"MeaningfulLocationsBetweenLabelODMatrix":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"label_a":{"type":"string"},"label_b":{"type":"string"},"labels":{"additionalProperties":{"type":"object"},"type":"object"},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["meaningful_locations_between_label_od_matrix"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"tower_cluster_call_threshold":{"default":0,"type":"integer"},"tower_cluster_radius":{"default":1.0,"type":"number"},"tower_day_of_week_scores":{"additionalProperties":{"maximum":1.0,"minimum":-1.0,"type":"number"},"type":"object"},"tower_hour_of_day_scores":{"items":{"maximum":1.0,"minimum":-1.0,"type":"number"},"maxItems":24,"minItems":24,"type":"array"}},"required":["aggregation_unit","end_date","label_a","label_b","labels","query_kind","start_date","tower_day_of_week_scores","tower_hour_of_day_scores"],"type":"object"},"MobilityClassification":{"properties":{"locations":{"items":{"$ref":"#/components/schemas/CoalescedLocation"},"minItems":1,"type":"array"},"query_kind":{"enum":["mobility_classification"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"stay_length_threshold":{"type":"integer"}},"required":["locations","query_kind","stay_length_threshold"],"type":"object"},"ModalLocation":{"properties":{"locations":{"items":{"$ref":"#/components/schemas/InputToModalLocation"},"minItems":1,"type":"array"},"query_kind":{"enum":["modal_location"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true}},"required":["locations","query_kind"],"type":"object"},"MostFrequentLocation":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["most_frequent_location"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"NocturnalEvents":{"properties":{"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"night_hours":{"$ref":"#/components/schemas/Hours"},"query_kind":{"enum":["nocturnal_events"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","night_hours","query_kind","start_date"],"type":"object"},"Outflows":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"from_location":{"$ref":"#/components/schemas/InputToFlows"},"join_type":{"default":"inner","enum":["inner","full outer","left","right","left outer","right outer"],"type":"string"},"query_kind":{"enum":["outflows"],"type":"string"},"to_location":{"$ref":"#/components/schemas/InputToFlows"}},"required":["from_location","query_kind","to_location"],"type":"object"},"ParetoInteractions":{"properties":{"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"proportion":{"maximum":1.0,"minimum":0.0,"type":"number"},"query_kind":{"enum":["pareto_interactions"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","proportion","query_kind","start_date"],"type":"object"},"RadiusOfGyration":{"properties":{"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["radius_of_gyration"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","start_date"],"type":"object"},"RandomIDsRandomSample":{"properties":{"estimate_count":{"default":true,"type":"boolean"},"fraction":{"maximum":1.0,"minimum":0.0,"nullable":true,"type":"number"},"sampling_method":{"enum":["random_ids"],"type":"string"},"seed":{"maximum":1.0,"minimum":-1.0,"type":"number"},"size":{"minimum":1,"nullable":true,"type":"integer"}},"required":["seed"],"type":"object"},"RandomSample":{"discriminator":{"mapping":{"bernoulli":"#/components/schemas/BernoulliRandomSample","random_ids":"#/components/schemas/RandomIDsRandomSample","system":"#/components/schemas/SystemRandomSample"},"propertyName":"sampling_method"},"oneOf":[{"$ref":"#/components/schemas/SystemRandomSample"},{"$ref":"#/components/schemas/BernoulliRandomSample"},{"$ref":"#/components/schemas/RandomIDsRandomSample"}]},"ReferenceLocation":{"discriminator":{"mapping":{"coalesced_location":"#/components/schemas/CoalescedLocation","daily_location":"#/components/schemas/DailyLocation","majority_location":"#/components/schemas/MajorityLocation","modal_location":"#/components/schemas/ModalLocation","most_frequent_location":"#/components/schemas/MostFrequentLocation","visited_most_days":"#/components/schemas/VisitedMostDays"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/DailyLocation"},{"$ref":"#/components/schemas/ModalLocation"},{"$ref":"#/components/schemas/MostFrequentLocation"},{"$ref":"#/components/schemas/VisitedMostDays"},{"$ref":"#/components/schemas/MajorityLocation"},{"$ref":"#/components/schemas/CoalescedLocation"}]},"SpatialAggregate":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"locations":{"$ref":"#/components/schemas/ReferenceLocation"},"query_kind":{"enum":["spatial_aggregate"],"type":"string"}},"required":["locations","query_kind"],"type":"object"},"SubscriberDegree":{"properties":{"direction":{"default":"both","enum":["in","out","both"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["subscriber_degree"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","start_date"],"type":"object"},"SystemRandomSample":{"properties":{"estimate_count":{"default":true,"type":"boolean"},"fraction":{"maximum":1.0,"minimum":0.0,"nullable":true,"type":"number"},"sampling_method":{"enum":["system"],"type":"string"},"seed":{"type":"number"},"size":{"minimum":1,"nullable":true,"type":"integer"}},"required":["seed"],"type":"object"},"TopUpAmount":{"properties":{"end_date":{"format":"date-time","type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["topup_amount"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"statistic":{"enum":["count","sum","avg","max","min","median","stddev","variance","mode"],"type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","start_date","statistic"],"type":"object"},"TopUpBalance":{"properties":{"end_date":{"format":"date-time","type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"query_kind":{"enum":["topup_balance"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"statistic":{"enum":["count","sum","avg","max","min","median","stddev","variance","mode"],"type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["end_date","query_kind","start_date","statistic"],"type":"object"},"TotalActivePeriods":{"properties":{"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"period_length":{"default":1,"type":"integer"},"period_unit":{"default":"days","enum":["days","hours","minutes"],"type":"string"},"query_kind":{"enum":["total_active_periods"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"total_periods":{"type":"integer"}},"required":["query_kind","start_date","total_periods"],"type":"object"},"TotalNetworkObjects":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["total_network_objects"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"},"total_by":{"default":"day","enum":["second","minute","hour","day","month","year"],"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"TripsODMatrix":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["trips_od_matrix"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"UniqueLocationCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["unique_location_counts"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"UniqueLocations":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["unique_locations"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"UniqueSubscriberCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["unique_subscriber_counts"],"type":"string"},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"UniqueVisitorCounts":{"properties":{"active_at_reference_location_counts":{"$ref":"#/components/schemas/ActiveAtReferenceLocationCounts"},"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"query_kind":{"enum":["unique_visitor_counts"],"type":"string"},"unique_subscriber_counts":{"$ref":"#/components/schemas/UniqueSubscriberCounts"}},"required":["active_at_reference_location_counts","query_kind","unique_subscriber_counts"],"type":"object"},"UnmovingAtReferenceLocationCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"locations":{"$ref":"#/components/schemas/UniqueLocations"},"query_kind":{"enum":["unmoving_at_reference_location_counts"],"type":"string"},"reference_locations":{"$ref":"#/components/schemas/ReferenceLocation"}},"required":["locations","query_kind","reference_locations"],"type":"object"},"UnmovingCounts":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"readOnly":true,"type":"string"},"locations":{"$ref":"#/components/schemas/UniqueLocations"},"query_kind":{"enum":["unmoving_counts"],"type":"string"}},"required":["locations","query_kind"],"type":"object"},"VisitableLocation":{"discriminator":{"mapping":{"daily_location":"#/components/schemas/DailyLocation","modal_location":"#/components/schemas/ModalLocation"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/DailyLocation"},{"$ref":"#/components/schemas/ModalLocation"}]},"VisitedMostDays":{"properties":{"aggregation_unit":{"enum":["admin0","admin1","admin2","admin3","lon-lat"],"type":"string"},"end_date":{"format":"date-time","type":"string"},"event_types":{"default":null,"items":{"enum":["calls","sms","mds","topups"],"type":"string"},"minItems":1,"nullable":true,"type":"array"},"geom_table":{"nullable":true,"type":"string"},"geom_table_join_column":{"nullable":true,"type":"string"},"hours":{"allOf":[{"$ref":"#/components/schemas/Hours"}],"default":null,"nullable":true},"mapping_table":{"nullable":true,"type":"string"},"query_kind":{"enum":["visited_most_days"],"type":"string"},"sampling":{"allOf":[{"$ref":"#/components/schemas/RandomSample"}],"nullable":true},"start_date":{"format":"date-time","type":"string"},"subscriber_subset":{"nullable":true,"type":"string"}},"required":["aggregation_unit","end_date","query_kind","start_date"],"type":"object"},"WeightedLocationQueries":{"discriminator":{"mapping":{"location_visits":"#/components/schemas/LocationVisits"},"propertyName":"query_kind"},"oneOf":[{"$ref":"#/components/schemas/LocationVisits"}]}},"securitySchemes":{"token":{"bearerFormat":"JWT","scheme":"bearer","type":"http","x-audience":"TEST_SERVER","x-security-scopes":["admin0:active_at_reference_location_counts:active_at_reference_location_counts","admin0:active_at_reference_location_counts:coalesced_location","admin0:active_at_reference_location_counts:daily_location","admin0:active_at_reference_location_counts:location_visits","admin0:active_at_reference_location_counts:majority_location","admin0:active_at_reference_location_counts:modal_location","admin0:active_at_reference_location_counts:most_frequent_location","admin0:active_at_reference_location_counts:unique_locations","admin0:active_at_reference_location_counts:visited_most_days","admin0:aggregate_network_objects:aggregate_network_objects","admin0:aggregate_network_objects:total_network_objects","admin0:consecutive_trips_od_matrix:consecutive_trips_od_matrix","admin0:dfs_metric_total_amount:dfs_metric_total_amount","admin0:dummy_query:dummy_query","admin0:flows:coalesced_location","admin0:flows:daily_location","admin0:flows:flows","admin0:flows:location_visits","admin0:flows:majority_location","admin0:flows:modal_location","admin0:flows:most_frequent_location","admin0:flows:unique_locations","admin0:flows:visited_most_days","admin0:geography:geography","admin0:inflows:coalesced_location","admin0:inflows:daily_location","admin0:inflows:inflows","admin0:inflows:location_visits","admin0:inflows:majority_location","admin0:inflows:modal_location","admin0:inflows:most_frequent_location","admin0:inflows:unique_locations","admin0:inflows:visited_most_days","admin0:joined_spatial_aggregate:coalesced_location","admin0:joined_spatial_aggregate:daily_location","admin0:joined_spatial_aggregate:displacement","admin0:joined_spatial_aggregate:event_count","admin0:joined_spatial_aggregate:handset","admin0:joined_spatial_aggregate:joined_spatial_aggregate","admin0:joined_spatial_aggregate:location_visits","admin0:joined_spatial_aggregate:majority_location","admin0:joined_spatial_aggregate:modal_location","admin0:joined_spatial_aggregate:most_frequent_location","admin0:joined_spatial_aggregate:nocturnal_events","admin0:joined_spatial_aggregate:pareto_interactions","admin0:joined_spatial_aggregate:radius_of_gyration","admin0:joined_spatial_aggregate:subscriber_degree","admin0:joined_spatial_aggregate:topup_amount","admin0:joined_spatial_aggregate:topup_balance","admin0:joined_spatial_aggregate:total_active_periods","admin0:joined_spatial_aggregate:unique_location_counts","admin0:joined_spatial_aggregate:visited_most_days","admin0:labelled_flows:coalesced_location","admin0:labelled_flows:daily_location","admin0:labelled_flows:labelled_flows","admin0:labelled_flows:location_visits","admin0:labelled_flows:majority_location","admin0:labelled_flows:mobility_classification","admin0:labelled_flows:modal_location","admin0:labelled_spatial_aggregate:coalesced_location","admin0:labelled_spatial_aggregate:daily_location","admin0:labelled_spatial_aggregate:labelled_spatial_aggregate","admin0:labelled_spatial_aggregate:location_visits","admin0:labelled_spatial_aggregate:majority_location","admin0:labelled_spatial_aggregate:mobility_classification","admin0:labelled_spatial_aggregate:modal_location","admin0:localised_calendar_activity:coalesced_location","admin0:localised_calendar_activity:daily_location","admin0:localised_calendar_activity:localised_calendar_activity","admin0:localised_calendar_activity:location_visits","admin0:localised_calendar_activity:majority_location","admin0:localised_calendar_activity:modal_location","admin0:localised_calendar_activity:most_frequent_location","admin0:localised_calendar_activity:visited_most_days","admin0:location_event_counts:location_event_counts","admin0:location_introversion:location_introversion","admin0:meaningful_locations_aggregate:meaningful_locations_aggregate","admin0:meaningful_locations_between_dates_od_matrix:meaningful_locations_between_dates_od_matrix","admin0:meaningful_locations_between_label_od_matrix:meaningful_locations_between_label_od_matrix","admin0:outflows:coalesced_location","admin0:outflows:daily_location","admin0:outflows:location_visits","admin0:outflows:majority_location","admin0:outflows:modal_location","admin0:outflows:most_frequent_location","admin0:outflows:outflows","admin0:outflows:unique_locations","admin0:outflows:visited_most_days","admin0:spatial_aggregate:coalesced_location","admin0:spatial_aggregate:daily_location","admin0:spatial_aggregate:location_visits","admin0:spatial_aggregate:majority_location","admin0:spatial_aggregate:modal_location","admin0:spatial_aggregate:most_frequent_location","admin0:spatial_aggregate:spatial_aggregate","admin0:spatial_aggregate:visited_most_days","admin0:total_network_objects:total_network_objects","admin0:trips_od_matrix:trips_od_matrix","admin0:unique_subscriber_counts:unique_subscriber_counts","admin0:unique_visitor_counts:active_at_reference_location_counts","admin0:unique_visitor_counts:coalesced_location","admin0:unique_visitor_counts:daily_location","admin0:unique_visitor_counts:location_visits","admin0:unique_visitor_counts:majority_location","admin0:unique_visitor_counts:modal_location","admin0:unique_visitor_counts:most_frequent_location","admin0:unique_visitor_counts:unique_locations","admin0:unique_visitor_counts:unique_subscriber_counts","admin0:unique_visitor_counts:unique_visitor_counts","admin0:unique_visitor_counts:visited_most_days","admin0:unmoving_at_reference_location_counts:coalesced_location","admin0:unmoving_at_reference_location_counts:daily_location","admin0:unmoving_at_reference_location_counts:location_visits","admin0:unmoving_at_reference_location_counts:majority_location","admin0:unmoving_at_reference_location_counts:modal_location","admin0:unmoving_at_reference_location_counts:most_frequent_location","admin0:unmoving_at_reference_location_counts:unique_locations","admin0:unmoving_at_reference_location_counts:unmoving_at_reference_location_counts","admin0:unmoving_at_reference_location_counts:visited_most_days","admin0:unmoving_counts:unique_locations","admin0:unmoving_counts:unmoving_counts","admin1:active_at_reference_location_counts:active_at_reference_location_counts","admin1:active_at_reference_location_counts:coalesced_location","admin1:active_at_reference_location_counts:daily_location","admin1:active_at_reference_location_counts:location_visits","admin1:active_at_reference_location_counts:majority_location","admin1:active_at_reference_location_counts:modal_location","admin1:active_at_reference_location_counts:most_frequent_location","admin1:active_at_reference_location_counts:unique_locations","admin1:active_at_reference_location_counts:visited_most_days","admin1:aggregate_network_objects:aggregate_network_objects","admin1:aggregate_network_objects:total_network_objects","admin1:consecutive_trips_od_matrix:consecutive_trips_od_matrix","admin1:dfs_metric_total_amount:dfs_metric_total_amount","admin1:dummy_query:dummy_query","admin1:flows:coalesced_location","admin1:flows:daily_location","admin1:flows:flows","admin1:flows:location_visits","admin1:flows:majority_location","admin1:flows:modal_location","admin1:flows:most_frequent_location","admin1:flows:unique_locations","admin1:flows:visited_most_days","admin1:geography:geography","admin1:inflows:coalesced_location","admin1:inflows:daily_location","admin1:inflows:inflows","admin1:inflows:location_visits","admin1:inflows:majority_location","admin1:inflows:modal_location","admin1:inflows:most_frequent_location","admin1:inflows:unique_locations","admin1:inflows:visited_most_days","admin1:joined_spatial_aggregate:coalesced_location","admin1:joined_spatial_aggregate:daily_location","admin1:joined_spatial_aggregate:displacement","admin1:joined_spatial_aggregate:event_count","admin1:joined_spatial_aggregate:handset","admin1:joined_spatial_aggregate:joined_spatial_aggregate","admin1:joined_spatial_aggregate:location_visits","admin1:joined_spatial_aggregate:majority_location","admin1:joined_spatial_aggregate:modal_location","admin1:joined_spatial_aggregate:most_frequent_location","admin1:joined_spatial_aggregate:nocturnal_events","admin1:joined_spatial_aggregate:pareto_interactions","admin1:joined_spatial_aggregate:radius_of_gyration","admin1:joined_spatial_aggregate:subscriber_degree","admin1:joined_spatial_aggregate:topup_amount","admin1:joined_spatial_aggregate:topup_balance","admin1:joined_spatial_aggregate:total_active_periods","admin1:joined_spatial_aggregate:unique_location_counts","admin1:joined_spatial_aggregate:visited_most_days","admin1:labelled_flows:coalesced_location","admin1:labelled_flows:daily_location","admin1:labelled_flows:labelled_flows","admin1:labelled_flows:location_visits","admin1:labelled_flows:majority_location","admin1:labelled_flows:mobility_classification","admin1:labelled_flows:modal_location","admin1:labelled_spatial_aggregate:coalesced_location","admin1:labelled_spatial_aggregate:daily_location","admin1:labelled_spatial_aggregate:labelled_spatial_aggregate","admin1:labelled_spatial_aggregate:location_visits","admin1:labelled_spatial_aggregate:majority_location","admin1:labelled_spatial_aggregate:mobility_classification","admin1:labelled_spatial_aggregate:modal_location","admin1:localised_calendar_activity:coalesced_location","admin1:localised_calendar_activity:daily_location","admin1:localised_calendar_activity:localised_calendar_activity","admin1:localised_calendar_activity:location_visits","admin1:localised_calendar_activity:majority_location","admin1:localised_calendar_activity:modal_location","admin1:localised_calendar_activity:most_frequent_location","admin1:localised_calendar_activity:visited_most_days","admin1:location_event_counts:location_event_counts","admin1:location_introversion:location_introversion","admin1:meaningful_locations_aggregate:meaningful_locations_aggregate","admin1:meaningful_locations_between_dates_od_matrix:meaningful_locations_between_dates_od_matrix","admin1:meaningful_locations_between_label_od_matrix:meaningful_locations_between_label_od_matrix","admin1:outflows:coalesced_location","admin1:outflows:daily_location","admin1:outflows:location_visits","admin1:outflows:majority_location","admin1:outflows:modal_location","admin1:outflows:most_frequent_location","admin1:outflows:outflows","admin1:outflows:unique_locations","admin1:outflows:visited_most_days","admin1:spatial_aggregate:coalesced_location","admin1:spatial_aggregate:daily_location","admin1:spatial_aggregate:location_visits","admin1:spatial_aggregate:majority_location","admin1:spatial_aggregate:modal_location","admin1:spatial_aggregate:most_frequent_location","admin1:spatial_aggregate:spatial_aggregate","admin1:spatial_aggregate:visited_most_days","admin1:total_network_objects:total_network_objects","admin1:trips_od_matrix:trips_od_matrix","admin1:unique_subscriber_counts:unique_subscriber_counts","admin1:unique_visitor_counts:active_at_reference_location_counts","admin1:unique_visitor_counts:coalesced_location","admin1:unique_visitor_counts:daily_location","admin1:unique_visitor_counts:location_visits","admin1:unique_visitor_counts:majority_location","admin1:unique_visitor_counts:modal_location","admin1:unique_visitor_counts:most_frequent_location","admin1:unique_visitor_counts:unique_locations","admin1:unique_visitor_counts:unique_subscriber_counts","admin1:unique_visitor_counts:unique_visitor_counts","admin1:unique_visitor_counts:visited_most_days","admin1:unmoving_at_reference_location_counts:coalesced_location","admin1:unmoving_at_reference_location_counts:daily_location","admin1:unmoving_at_reference_location_counts:location_visits","admin1:unmoving_at_reference_location_counts:majority_location","admin1:unmoving_at_reference_location_counts:modal_location","admin1:unmoving_at_reference_location_counts:most_frequent_location","admin1:unmoving_at_reference_location_counts:unique_locations","admin1:unmoving_at_reference_location_counts:unmoving_at_reference_location_counts","admin1:unmoving_at_reference_location_counts:visited_most_days","admin1:unmoving_counts:unique_locations","admin1:unmoving_counts:unmoving_counts","admin2:active_at_reference_location_counts:active_at_reference_location_counts","admin2:active_at_reference_location_counts:coalesced_location","admin2:active_at_reference_location_counts:daily_location","admin2:active_at_reference_location_counts:location_visits","admin2:active_at_reference_location_counts:majority_location","admin2:active_at_reference_location_counts:modal_location","admin2:active_at_reference_location_counts:most_frequent_location","admin2:active_at_reference_location_counts:unique_locations","admin2:active_at_reference_location_counts:visited_most_days","admin2:aggregate_network_objects:aggregate_network_objects","admin2:aggregate_network_objects:total_network_objects","admin2:consecutive_trips_od_matrix:consecutive_trips_od_matrix","admin2:dfs_metric_total_amount:dfs_metric_total_amount","admin2:dummy_query:dummy_query","admin2:flows:coalesced_location","admin2:flows:daily_location","admin2:flows:flows","admin2:flows:location_visits","admin2:flows:majority_location","admin2:flows:modal_location","admin2:flows:most_frequent_location","admin2:flows:unique_locations","admin2:flows:visited_most_days","admin2:geography:geography","admin2:inflows:coalesced_location","admin2:inflows:daily_location","admin2:inflows:inflows","admin2:inflows:location_visits","admin2:inflows:majority_location","admin2:inflows:modal_location","admin2:inflows:most_frequent_location","admin2:inflows:unique_locations","admin2:inflows:visited_most_days","admin2:joined_spatial_aggregate:coalesced_location","admin2:joined_spatial_aggregate:daily_location","admin2:joined_spatial_aggregate:displacement","admin2:joined_spatial_aggregate:event_count","admin2:joined_spatial_aggregate:handset","admin2:joined_spatial_aggregate:joined_spatial_aggregate","admin2:joined_spatial_aggregate:location_visits","admin2:joined_spatial_aggregate:majority_location","admin2:joined_spatial_aggregate:modal_location","admin2:joined_spatial_aggregate:most_frequent_location","admin2:joined_spatial_aggregate:nocturnal_events","admin2:joined_spatial_aggregate:pareto_interactions","admin2:joined_spatial_aggregate:radius_of_gyration","admin2:joined_spatial_aggregate:subscriber_degree","admin2:joined_spatial_aggregate:topup_amount","admin2:joined_spatial_aggregate:topup_balance","admin2:joined_spatial_aggregate:total_active_periods","admin2:joined_spatial_aggregate:unique_location_counts","admin2:joined_spatial_aggregate:visited_most_days","admin2:labelled_flows:coalesced_location","admin2:labelled_flows:daily_location","admin2:labelled_flows:labelled_flows","admin2:labelled_flows:location_visits","admin2:labelled_flows:majority_location","admin2:labelled_flows:mobility_classification","admin2:labelled_flows:modal_location","admin2:labelled_spatial_aggregate:coalesced_location","admin2:labelled_spatial_aggregate:daily_location","admin2:labelled_spatial_aggregate:labelled_spatial_aggregate","admin2:labelled_spatial_aggregate:location_visits","admin2:labelled_spatial_aggregate:majority_location","admin2:labelled_spatial_aggregate:mobility_classification","admin2:labelled_spatial_aggregate:modal_location","admin2:localised_calendar_activity:coalesced_location","admin2:localised_calendar_activity:daily_location","admin2:localised_calendar_activity:localised_calendar_activity","admin2:localised_calendar_activity:location_visits","admin2:localised_calendar_activity:majority_location","admin2:localised_calendar_activity:modal_location","admin2:localised_calendar_activity:most_frequent_location","admin2:localised_calendar_activity:visited_most_days","admin2:location_event_counts:location_event_counts","admin2:location_introversion:location_introversion","admin2:meaningful_locations_aggregate:meaningful_locations_aggregate","admin2:meaningful_locations_between_dates_od_matrix:meaningful_locations_between_dates_od_matrix","admin2:meaningful_locations_between_label_od_matrix:meaningful_locations_between_label_od_matrix","admin2:outflows:coalesced_location","admin2:outflows:daily_location","admin2:outflows:location_visits","admin2:outflows:majority_location","admin2:outflows:modal_location","admin2:outflows:most_frequent_location","admin2:outflows:outflows","admin2:outflows:unique_locations","admin2:outflows:visited_most_days","admin2:spatial_aggregate:coalesced_location","admin2:spatial_aggregate:daily_location","admin2:spatial_aggregate:location_visits","admin2:spatial_aggregate:majority_location","admin2:spatial_aggregate:modal_location","admin2:spatial_aggregate:most_frequent_location","admin2:spatial_aggregate:spatial_aggregate","admin2:spatial_aggregate:visited_most_days","admin2:total_network_objects:total_network_objects","admin2:trips_od_matrix:trips_od_matrix","admin2:unique_subscriber_counts:unique_subscriber_counts","admin2:unique_visitor_counts:active_at_reference_location_counts","admin2:unique_visitor_counts:coalesced_location","admin2:unique_visitor_counts:daily_location","admin2:unique_visitor_counts:location_visits","admin2:unique_visitor_counts:majority_location","admin2:unique_visitor_counts:modal_location","admin2:unique_visitor_counts:most_frequent_location","admin2:unique_visitor_counts:unique_locations","admin2:unique_visitor_counts:unique_subscriber_counts","admin2:unique_visitor_counts:unique_visitor_counts","admin2:unique_visitor_counts:visited_most_days","admin2:unmoving_at_reference_location_counts:coalesced_location","admin2:unmoving_at_reference_location_counts:daily_location","admin2:unmoving_at_reference_location_counts:location_visits","admin2:unmoving_at_reference_location_counts:majority_location","admin2:unmoving_at_reference_location_counts:modal_location","admin2:unmoving_at_reference_location_counts:most_frequent_location","admin2:unmoving_at_reference_location_counts:unique_locations","admin2:unmoving_at_reference_location_counts:unmoving_at_reference_location_counts","admin2:unmoving_at_reference_location_counts:visited_most_days","admin2:unmoving_counts:unique_locations","admin2:unmoving_counts:unmoving_counts","admin3:active_at_reference_location_counts:active_at_reference_location_counts","admin3:active_at_reference_location_counts:coalesced_location","admin3:active_at_reference_location_counts:daily_location","admin3:active_at_reference_location_counts:location_visits","admin3:active_at_reference_location_counts:majority_location","admin3:active_at_reference_location_counts:modal_location","admin3:active_at_reference_location_counts:most_frequent_location","admin3:active_at_reference_location_counts:unique_locations","admin3:active_at_reference_location_counts:visited_most_days","admin3:aggregate_network_objects:aggregate_network_objects","admin3:aggregate_network_objects:total_network_objects","admin3:consecutive_trips_od_matrix:consecutive_trips_od_matrix","admin3:dfs_metric_total_amount:dfs_metric_total_amount","admin3:dummy_query:dummy_query","admin3:flows:coalesced_location","admin3:flows:daily_location","admin3:flows:flows","admin3:flows:location_visits","admin3:flows:majority_location","admin3:flows:modal_location","admin3:flows:most_frequent_location","admin3:flows:unique_locations","admin3:flows:visited_most_days","admin3:geography:geography","admin3:inflows:coalesced_location","admin3:inflows:daily_location","admin3:inflows:inflows","admin3:inflows:location_visits","admin3:inflows:majority_location","admin3:inflows:modal_location","admin3:inflows:most_frequent_location","admin3:inflows:unique_locations","admin3:inflows:visited_most_days","admin3:joined_spatial_aggregate:coalesced_location","admin3:joined_spatial_aggregate:daily_location","admin3:joined_spatial_aggregate:displacement","admin3:joined_spatial_aggregate:event_count","admin3:joined_spatial_aggregate:handset","admin3:joined_spatial_aggregate:joined_spatial_aggregate","admin3:joined_spatial_aggregate:location_visits","admin3:joined_spatial_aggregate:majority_location","admin3:joined_spatial_aggregate:modal_location","admin3:joined_spatial_aggregate:most_frequent_location","admin3:joined_spatial_aggregate:nocturnal_events","admin3:joined_spatial_aggregate:pareto_interactions","admin3:joined_spatial_aggregate:radius_of_gyration","admin3:joined_spatial_aggregate:subscriber_degree","admin3:joined_spatial_aggregate:topup_amount","admin3:joined_spatial_aggregate:topup_balance","admin3:joined_spatial_aggregate:total_active_periods","admin3:joined_spatial_aggregate:unique_location_counts","admin3:joined_spatial_aggregate:visited_most_days","admin3:labelled_flows:coalesced_location","admin3:labelled_flows:daily_location","admin3:labelled_flows:labelled_flows","admin3:labelled_flows:location_visits","admin3:labelled_flows:majority_location","admin3:labelled_flows:mobility_classification","admin3:labelled_flows:modal_location","admin3:labelled_spatial_aggregate:coalesced_location","admin3:labelled_spatial_aggregate:daily_location","admin3:labelled_spatial_aggregate:labelled_spatial_aggregate","admin3:labelled_spatial_aggregate:location_visits","admin3:labelled_spatial_aggregate:majority_location","admin3:labelled_spatial_aggregate:mobility_classification","admin3:labelled_spatial_aggregate:modal_location","admin3:localised_calendar_activity:coalesced_location","admin3:localised_calendar_activity:daily_location","admin3:localised_calendar_activity:localised_calendar_activity","admin3:localised_calendar_activity:location_visits","admin3:localised_calendar_activity:majority_location","admin3:localised_calendar_activity:modal_location","admin3:localised_calendar_activity:most_frequent_location","admin3:localised_calendar_activity:visited_most_days","admin3:location_event_counts:location_event_counts","admin3:location_introversion:location_introversion","admin3:meaningful_locations_aggregate:meaningful_locations_aggregate","admin3:meaningful_locations_between_dates_od_matrix:meaningful_locations_between_dates_od_matrix","admin3:meaningful_locations_between_label_od_matrix:meaningful_locations_between_label_od_matrix","admin3:outflows:coalesced_location","admin3:outflows:daily_location","admin3:outflows:location_visits","admin3:outflows:majority_location","admin3:outflows:modal_location","admin3:outflows:most_frequent_location","admin3:outflows:outflows","admin3:outflows:unique_locations","admin3:outflows:visited_most_days","admin3:spatial_aggregate:coalesced_location","admin3:spatial_aggregate:daily_location","admin3:spatial_aggregate:location_visits","admin3:spatial_aggregate:majority_location","admin3:spatial_aggregate:modal_location","admin3:spatial_aggregate:most_frequent_location","admin3:spatial_aggregate:spatial_aggregate","admin3:spatial_aggregate:visited_most_days","admin3:total_network_objects:total_network_objects","admin3:trips_od_matrix:trips_od_matrix","admin3:unique_subscriber_counts:unique_subscriber_counts","admin3:unique_visitor_counts:active_at_reference_location_counts","admin3:unique_visitor_counts:coalesced_location","admin3:unique_visitor_counts:daily_location","admin3:unique_visitor_counts:location_visits","admin3:unique_visitor_counts:majority_location","admin3:unique_visitor_counts:modal_location","admin3:unique_visitor_counts:most_frequent_location","admin3:unique_visitor_counts:unique_locations","admin3:unique_visitor_counts:unique_subscriber_counts","admin3:unique_visitor_counts:unique_visitor_counts","admin3:unique_visitor_counts:visited_most_days","admin3:unmoving_at_reference_location_counts:coalesced_location","admin3:unmoving_at_reference_location_counts:daily_location","admin3:unmoving_at_reference_location_counts:location_visits","admin3:unmoving_at_reference_location_counts:majority_location","admin3:unmoving_at_reference_location_counts:modal_location","admin3:unmoving_at_reference_location_counts:most_frequent_location","admin3:unmoving_at_reference_location_counts:unique_locations","admin3:unmoving_at_reference_location_counts:unmoving_at_reference_location_counts","admin3:unmoving_at_reference_location_counts:visited_most_days","admin3:unmoving_counts:unique_locations","admin3:unmoving_counts:unmoving_counts","get_available_dates","get_qa_checks","get_result","lon-lat:active_at_reference_location_counts:active_at_reference_location_counts","lon-lat:active_at_reference_location_counts:coalesced_location","lon-lat:active_at_reference_location_counts:daily_location","lon-lat:active_at_reference_location_counts:location_visits","lon-lat:active_at_reference_location_counts:majority_location","lon-lat:active_at_reference_location_counts:modal_location","lon-lat:active_at_reference_location_counts:most_frequent_location","lon-lat:active_at_reference_location_counts:unique_locations","lon-lat:active_at_reference_location_counts:visited_most_days","lon-lat:aggregate_network_objects:aggregate_network_objects","lon-lat:aggregate_network_objects:total_network_objects","lon-lat:consecutive_trips_od_matrix:consecutive_trips_od_matrix","lon-lat:dfs_metric_total_amount:dfs_metric_total_amount","lon-lat:dummy_query:dummy_query","lon-lat:flows:coalesced_location","lon-lat:flows:daily_location","lon-lat:flows:flows","lon-lat:flows:location_visits","lon-lat:flows:majority_location","lon-lat:flows:modal_location","lon-lat:flows:most_frequent_location","lon-lat:flows:unique_locations","lon-lat:flows:visited_most_days","lon-lat:geography:geography","lon-lat:inflows:coalesced_location","lon-lat:inflows:daily_location","lon-lat:inflows:inflows","lon-lat:inflows:location_visits","lon-lat:inflows:majority_location","lon-lat:inflows:modal_location","lon-lat:inflows:most_frequent_location","lon-lat:inflows:unique_locations","lon-lat:inflows:visited_most_days","lon-lat:joined_spatial_aggregate:coalesced_location","lon-lat:joined_spatial_aggregate:daily_location","lon-lat:joined_spatial_aggregate:displacement","lon-lat:joined_spatial_aggregate:event_count","lon-lat:joined_spatial_aggregate:handset","lon-lat:joined_spatial_aggregate:joined_spatial_aggregate","lon-lat:joined_spatial_aggregate:location_visits","lon-lat:joined_spatial_aggregate:majority_location","lon-lat:joined_spatial_aggregate:modal_location","lon-lat:joined_spatial_aggregate:most_frequent_location","lon-lat:joined_spatial_aggregate:nocturnal_events","lon-lat:joined_spatial_aggregate:pareto_interactions","lon-lat:joined_spatial_aggregate:radius_of_gyration","lon-lat:joined_spatial_aggregate:subscriber_degree","lon-lat:joined_spatial_aggregate:topup_amount","lon-lat:joined_spatial_aggregate:topup_balance","lon-lat:joined_spatial_aggregate:total_active_periods","lon-lat:joined_spatial_aggregate:unique_location_counts","lon-lat:joined_spatial_aggregate:visited_most_days","lon-lat:labelled_flows:coalesced_location","lon-lat:labelled_flows:daily_location","lon-lat:labelled_flows:labelled_flows","lon-lat:labelled_flows:location_visits","lon-lat:labelled_flows:majority_location","lon-lat:labelled_flows:mobility_classification","lon-lat:labelled_flows:modal_location","lon-lat:labelled_spatial_aggregate:coalesced_location","lon-lat:labelled_spatial_aggregate:daily_location","lon-lat:labelled_spatial_aggregate:labelled_spatial_aggregate","lon-lat:labelled_spatial_aggregate:location_visits","lon-lat:labelled_spatial_aggregate:majority_location","lon-lat:labelled_spatial_aggregate:mobility_classification","lon-lat:labelled_spatial_aggregate:modal_location","lon-lat:localised_calendar_activity:coalesced_location","lon-lat:localised_calendar_activity:daily_location","lon-lat:localised_calendar_activity:localised_calendar_activity","lon-lat:localised_calendar_activity:location_visits","lon-lat:localised_calendar_activity:majority_location","lon-lat:localised_calendar_activity:modal_location","lon-lat:localised_calendar_activity:most_frequent_location","lon-lat:localised_calendar_activity:visited_most_days","lon-lat:location_event_counts:location_event_counts","lon-lat:location_introversion:location_introversion","lon-lat:meaningful_locations_aggregate:meaningful_locations_aggregate","lon-lat:meaningful_locations_between_dates_od_matrix:meaningful_locations_between_dates_od_matrix","lon-lat:meaningful_locations_between_label_od_matrix:meaningful_locations_between_label_od_matrix","lon-lat:outflows:coalesced_location","lon-lat:outflows:daily_location","lon-lat:outflows:location_visits","lon-lat:outflows:majority_location","lon-lat:outflows:modal_location","lon-lat:outflows:most_frequent_location","lon-lat:outflows:outflows","lon-lat:outflows:unique_locations","lon-lat:outflows:visited_most_days","lon-lat:spatial_aggregate:coalesced_location","lon-lat:spatial_aggregate:daily_location","lon-lat:spatial_aggregate:location_visits","lon-lat:spatial_aggregate:majority_location","lon-lat:spatial_aggregate:modal_location","lon-lat:spatial_aggregate:most_frequent_location","lon-lat:spatial_aggregate:spatial_aggregate","lon-lat:spatial_aggregate:visited_most_days","lon-lat:total_network_objects:total_network_objects","lon-lat:trips_od_matrix:trips_od_matrix","lon-lat:unique_subscriber_counts:unique_subscriber_counts","lon-lat:unique_visitor_counts:active_at_reference_location_counts","lon-lat:unique_visitor_counts:coalesced_location","lon-lat:unique_visitor_counts:daily_location","lon-lat:unique_visitor_counts:location_visits","lon-lat:unique_visitor_counts:majority_location","lon-lat:unique_visitor_counts:modal_location","lon-lat:unique_visitor_counts:most_frequent_location","lon-lat:unique_visitor_counts:unique_locations","lon-lat:unique_visitor_counts:unique_subscriber_counts","lon-lat:unique_visitor_counts:unique_visitor_counts","lon-lat:unique_visitor_counts:visited_most_days","lon-lat:unmoving_at_reference_location_counts:coalesced_location","lon-lat:unmoving_at_reference_location_counts:daily_location","lon-lat:unmoving_at_reference_location_counts:location_visits","lon-lat:unmoving_at_reference_location_counts:majority_location","lon-lat:unmoving_at_reference_location_counts:modal_location","lon-lat:unmoving_at_reference_location_counts:most_frequent_location","lon-lat:unmoving_at_reference_location_counts:unique_locations","lon-lat:unmoving_at_reference_location_counts:unmoving_at_reference_location_counts","lon-lat:unmoving_at_reference_location_counts:visited_most_days","lon-lat:unmoving_counts:unique_locations","lon-lat:unmoving_counts:unmoving_counts","nonspatial:calendar_activity:calendar_activity","nonspatial:histogram_aggregate:coalesced_location","nonspatial:histogram_aggregate:daily_location","nonspatial:histogram_aggregate:displacement","nonspatial:histogram_aggregate:event_count","nonspatial:histogram_aggregate:histogram_aggregate","nonspatial:histogram_aggregate:location_visits","nonspatial:histogram_aggregate:majority_location","nonspatial:histogram_aggregate:modal_location","nonspatial:histogram_aggregate:most_frequent_location","nonspatial:histogram_aggregate:nocturnal_events","nonspatial:histogram_aggregate:pareto_interactions","nonspatial:histogram_aggregate:radius_of_gyration","nonspatial:histogram_aggregate:subscriber_degree","nonspatial:histogram_aggregate:topup_amount","nonspatial:histogram_aggregate:topup_balance","nonspatial:histogram_aggregate:total_active_periods","nonspatial:histogram_aggregate:unique_location_counts","nonspatial:histogram_aggregate:visited_most_days","run"]}}},"info":{"contact":{"email":"flowkit@flowminder.org"},"description":"FlowKit Analytical API","license":{"name":"MPLv2","url":"https://www.mozilla.org/en-US/MPL/2.0/"},"title":"FlowAPI","version":"1.31.0"},"openapi":"3.0.1","paths":{"/api/0/available_dates":{"get":{"operationId":"query.get_available_dates.get","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"calls":{"items":{"format":"date","type":"string"},"type":"array"},"mds":{"items":{"format":"date","type":"string"},"type":"array"},"sms":{"items":{"format":"date","type":"string"},"type":"array"},"topups":{"items":{"format":"date","type":"string"},"type":"array"}},"type":"object"}}},"description":"Dates available for each event type."},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"No access with this token."},"500":{"description":"Server error."}},"summary":"Get the dates available to query over."}},"/api/0/geography/{aggregation_unit}":{"get":{"operationId":"geography.get_geography.get","parameters":[{"in":"path","name":"aggregation_unit","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/geo+json":{"schema":{"type":"object"}}},"description":"Downloading."},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Token does not grant run access to this spatial aggregation unit."},"500":{"description":"Server error."}},"summary":"Get geojson for an aggregation unit"}},"/api/0/get/{query_id}":{"get":{"operationId":"query.get_query_result.get","parameters":[{"in":"path","name":"query_id","required":true,"schema":{"type":"string"}},{"default":"json","in":"path","name":"filetype","required":true,"schema":{"enum":["json","geojson","csv"],"type":"string"}}],"responses":{"200":{"content":{"application/geo+json":{"schema":{"type":"object"}},"application/json":{"schema":{"type":"object"}},"text/csv":{"schema":{"type":"string"}}},"description":"Results returning."},"202":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Request accepted."},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Token does not grant results access to this query or spatial aggregation unit."},"404":{"description":"Unknown ID"},"500":{"description":"Server error."}},"summary":"Get the output of query"}},"/api/0/get/{query_id}.{filetype}":{"get":{"operationId":"query.get_query_result.get","parameters":[{"in":"path","name":"query_id","required":true,"schema":{"type":"string"}},{"default":"json","in":"path","name":"filetype","required":true,"schema":{"enum":["json","geojson","csv"],"type":"string"}}],"responses":{"200":{"content":{"application/geo+json":{"schema":{"type":"object"}},"application/json":{"schema":{"type":"object"}},"text/csv":{"schema":{"type":"string"}}},"description":"Results returning."},"202":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Request accepted."},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Token does not grant results access to this query or spatial aggregation unit."},"404":{"description":"Unknown ID"},"500":{"description":"Server error."}},"summary":"Get the output of query"}},"/api/0/poll/{query_id}":{"get":{"operationId":"query.poll_query.get","parameters":[{"in":"path","name":"query_id","required":true,"schema":{"type":"string"}}],"responses":{"202":{"content":{"application/json":{"schema":{"properties":{"msg":{"type":"string"},"progress":{"schema":{"eligible":{"type":"integer"},"queued":{"type":"integer"},"running":{"type":"integer"}},"type":"object"},"status":{"enum":["executing","queued"],"type":"string"}},"type":"object"}}},"description":"Request accepted."},"303":{"description":"Data ready.","headers":{"Location":{"description":"URL to download data","schema":{"format":"url","type":"string"}}}},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Token does not grant poll access to this query or spatial aggregation unit."},"404":{"description":"Unknown ID"},"500":{"description":"Server error."}},"summary":"Get the status of a query"}},"/api/0/qa/":{"get":{"operationId":"qa.list_qa_checks.get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"cdr_type":{"enum":["calls","sms","mds","topups","forwards","cell_info"]},"type_of_query_or_check":{"type":"string"}},"type":"object"},"type":"array"}}},"description":"Types of QA checks for all datatypes."},"401":{"description":"Unauthorized."},"500":{"description":"Server error."}},"summary":"Returns the available types of QA checks for all datatypes"}},"/api/0/qa/{cdr_type}/{check_id}":{"get":{"operationId":"qa.get_qa_date_range.get","parameters":[{"in":"path","name":"cdr_type","required":true,"schema":{"enum":["calls","sms","mds","topups","forwards","cell_info"],"type":"string"}},{"in":"path","name":"check_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"start_date","required":true,"schema":{"format":"date","type":"string"}},{"in":"query","name":"end_date","required":true,"schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"properties":{"cdr_date":{"format":"date","type":"string"},"outcome":{"type":"string"},"type_of_query_or_check":{"type":"string"}},"type":"object"},"type":"array"}}},"description":"QA outcomes."},"400":{"description":"Bad request"},"401":{"description":"Unauthorized."},"404":{"description":"No QA checks of type specified found on date"},"500":{"description":"Server error."}},"summary":"Get QA outcomes for a given check on a datatype between two dates"}},"/api/0/qa/{cdr_type}/{check_id}/{check_date}":{"get":{"operationId":"qa.get_qa_on_date.get","parameters":[{"in":"path","name":"cdr_type","required":true,"schema":{"enum":["calls","sms","mds","topups","forwards","cell_info"],"type":"string"}},{"in":"path","name":"check_id","required":true,"schema":{"type":"string"}},{"in":"path","name":"check_date","required":true,"schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"text/html":{"schema":{"type":"string"}}},"description":"QA check outcome."},"400":{"description":"Bad request"},"401":{"description":"Unauthorized."},"404":{"description":"No QA checks of type specified found on date"},"500":{"description":"Server error."}},"summary":"Get QA check outcome for a check on one date of a datatype."}},"/api/0/run":{"post":{"operationId":"query.run_query.post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FlowmachineQuerySchema"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"properties":{"progress":{"schema":{"eligible":{"type":"integer"},"queued":{"type":"integer"},"running":{"type":"integer"}},"type":"object"},"query_id":{"type":"string"}},"type":"object"}}},"description":"Request accepted.","headers":{"Location":{"description":"URL to poll for status","schema":{"format":"url","type":"string"}}}},"400":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Query spec could not be run.."},"401":{"description":"Unauthorized."},"403":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Token does not grant run access to this query or spatial aggregation unit."},"500":{"description":"Server error."}},"summary":"Run a query"}}}} diff --git a/master/analyst/advanced_usage/worked_examples/mobile-data-usage/index.html b/master/analyst/advanced_usage/worked_examples/mobile-data-usage/index.html index a36d5238f5..8a88e84545 100644 --- a/master/analyst/advanced_usage/worked_examples/mobile-data-usage/index.html +++ b/master/analyst/advanced_usage/worked_examples/mobile-data-usage/index.html @@ -8028,7 +8028,7 @@
-+
9f5147da4b4b83b21426a533b683d85e
c950e52dabfb3c745aa8fd88fb29d96b
-+
1925ea79cedf4f787c642d78993dab47
3d8902c77e8d040dcdc491deb468991e
{'benchmark': 'd4ba1bd5ddc8cc89a25acbfc5e52e27a',
- 'comparison': 'd57c70ff2ec4a4c5f738d605096a2757',
- 'focal': '058266ce1e88a5bd0546fa6f5be6b85c'}
+{'benchmark': 'bbc098474c54d02885578d946b16d14b',
+ 'comparison': '3bc8411c204e7c2db255bec137a205bb',
+ 'focal': '729da9f4f48640e42f0d9c3078633515'}
All notable changes to FlowKit will be documented in this file.
The format is based on Keep a Changelog.
-HistogramAggregation
has moved to flowmachine.features.nonspatial_aggregates
Statistic
moved to flowmachine.core.statistic_types
TotalActivePeriodsSubscriber
no longer returns an extra inactive_periods
column[!WARNING] @@ -13458,7 +13527,7 @@
Added#6626
AUTO_CONFIG_FILE_NAME
environment variable. By default this is postgresql.configurator.conf
.FLOWDB_LOG_DEST=csvlog
for the old default behaviour.EXCLUDE
constraint on FlowDB infrastructure.cell_info
table requires unique mno_cell_id
across all simultaneously-valid cells per cells_table_version
, regardless of to_include
. #6626count_imeis
, count_imsis
, max_msisdns_per_imei
and max_msisdns_per_imsi
now only count non-null IMEIs/IMSIs. #6619get_qa_checks
no longer attempts to create duplicate tasks for QA checks defined in the DAG folder. #6494get_qa_checks
method to flowmachine Connection
objects #2704MostFrequentLocation
now breaks ties based on the last used location, instead of by arbitrary Postgres sort order. #6268ForeignStagingTableOperator
will now error if the underlying file cannot be read or the command returns an error. #5763docker-compose
has been replaced with docker compose
in the makefile; this might break builds on machines that haven't updated their docker in a while.MAX_LOCKS_PER_TRANSACTION
env var. #5157365 * 5 * 4 * (1 + 4)
. #5157MajorityLocationWithUnlocatable
query class and majority_location
function. #5720nocturnal_events
now expects a night_hours
parameter with nested sub-fields start_hour
and end_hour
, instead of two parameters night_start_hour
and night_end_hour
.modal_location
spec now raise appropriate validation errors, instead of being masked by internal flowmachine server errors. #4816RedactedLabelledAggregate
and subclasses for redacting labelled data (see ADR 0011). #4671start_date
and end_date
Union
and Query.union
now accept a variable number of queries to concatenate. #4565cdr_type
argument now render correctly. #3479AIRFLOW__WEBSERVER__SECRET_KEY
. #3244 $
from code snippets in developer docs #3224AIRFLOW__WEBSERVER__SECRET_KEY
. #3244get_cached_query_objects_ordered_by_score
is now a generator. #3116create_dag
, you can now use the slower, table based method of checking whether the file is being written. #2857JoinToLocation
is cacheable only if the joined query is also cacheable.SubscriberLocations
are no longer cacheable using FlowMachine.connect_async
instead of connect
to create an ASyncConnection
, and await
methods on APIQuery
objects. #2199/opt/airflow/dags
, and your logs directory to /opt/airflow/logs
.FLOWMACHINE_SERVER_THREADPOOL_SIZE
environment variable which can't be cast to int
. #2304flowclient.Connection.update_token
, to replace the API token for an existing connection.<previous_name>_spec
(e.g. flowclient.modal_location
is now flowclient.modal_location_spec
).flowclient.get_status
now returns "not_running"
(instead of raising FileNotFoundError
) if a query is not running or completed.flowmachine.core.connection.Connection
now has a conn_id
attribute, which is unique per database host. #391flowmachine.connect
no longer returns a Connection
object. The connection should be accessed via flowmachine.core.context.get_db()
. #391connection
, redis
, and threadpool
are no longer available as attributes of Query
, and should be accessed via flowmachine.core.context.get_db()
, flowmachine.core.context.get_redis()
and flowmachine.core.context.get_executor()
. #391Connection.available_dates
is now a property and returns results based on the etl.etl_records
table. #1873ImputedDistanceSeries
query to Flowmachine, which produces contiguous per-subscriber time series of distance from a reference point by filling in gaps using the rolling median. #1337FLOWMACHINE_SERVER_DISABLE_DEPENDENCY_CACHING=true
. #1152plot_dependency_graph()
has been added which allows to conveniently plot and visualise a dependency graph for use in Jupyter notebooks (this requires IPython and pygraphviz to be installed) #786flowmachine.connect()
have been renamed as follows to be consistent with the associated environment variables #728:db_port -> flowdb_port
SubscriberSubsetterBase
in FlowMachine no longer inherits from Query
#740 (this changes the query ids compared to previous FlowKit versions).connect()
only changing the log level #691available_dates
endpoint now always returns available dates for all event types and does not accept JSONradius_of_gyration
, to access (with simplified parameters) equivalent flowmachine query RadiusOfGyration
#602daily_location
and modal_location
query types are no longer accepted as top-level queries, and must be wrapped using spatial_aggregate
JoinedSpatialAggregate
no longer accepts positional argumentsJoinedSpatialAggregate
now supports "avg", "max", "min", "median", "mode", "stddev" and "variance" statstotal_network_objects
no longer returns results from AggregateNetworkObjects
#603flowmachine.debug
) and include the submodule in the submodule field instead of using it as the logger nameflowmachine.query_run_log
query_kind
key, rather than nested using a separate params
key.
@@ -14395,7 +14464,7 @@ TopUpBalances
no longer always uses entire topups tableMDSVolume
no longer allows specifying the table, and will always use the mds
table.CustomQuery
now requires column names to be specifiedcolumn_names
propertyHartiganCluster
, LabelEventScore
, EventScore
and CallDays
now have different signaturesgit://
is not openmake up
not working with defaultsExtract version information from the given file.
git_pieces_from_vcs(tag_prefix, root, verbose, runner=<function run_command at 0x79124bd45580>)
+git_pieces_from_vcs(tag_prefix, root, verbose, runner=<function run_command at 0x7b2dff441800>)
Source: flowclient/_version.py
Get version from 'git describe' in the root of the source tree.
diff --git a/master/flowetl/flowetl/_version/index.html b/master/flowetl/flowetl/_version/index.html
index 8ff5285c2d..a93c5655dc 100644
--- a/master/flowetl/flowetl/_version/index.html
+++ b/master/flowetl/flowetl/_version/index.html
@@ -8260,7 +8260,7 @@
git_get_keywordsflowetl/_version.py
Extract version information from the given file.
git_pieces_from_vcs¶
-git_pieces_from_vcs(tag_prefix, root, verbose, runner=<function run_command at 0x79124b25ee80>)
+git_pieces_from_vcs(tag_prefix, root, verbose, runner=<function run_command at 0x7b2dfe94f240>)
Source: flowetl/_version.py
Get version from 'git describe' in the root of the source tree.
diff --git a/master/flowmachine/flowmachine/_version/index.html b/master/flowmachine/flowmachine/_version/index.html
index 7a7937a0e2..91faeeeaf0 100644
--- a/master/flowmachine/flowmachine/_version/index.html
+++ b/master/flowmachine/flowmachine/_version/index.html
@@ -8256,7 +8256,7 @@
git_get_keywordsflowmachine/_version.py
Extract version information from the given file.
git_pieces_from_vcs¶
-git_pieces_from_vcs(tag_prefix, root, verbose, runner=<function run_command at 0x7912551c9da0>)
+git_pieces_from_vcs(tag_prefix, root, verbose, runner=<function run_command at 0x7b2e08c69f80>)
Source: flowmachine/_version.py
Get version from 'git describe' in the root of the source tree.
diff --git a/master/flowmachine/flowmachine/core/context/index.html b/master/flowmachine/flowmachine/core/context/index.html
index 1c1190bdac..19a2c659bb 100644
--- a/master/flowmachine/flowmachine/core/context/index.html
+++ b/master/flowmachine/flowmachine/core/context/index.html
@@ -8206,7 +8206,7 @@
flowmachine.core.contextSource: flowmachine/core/context.py
Context variables for Flowmachine to talk to FlowDB and Redis, and a common thread pool for managing queries.
action_request_context¶
-action_request_context(action: <function NamedTuple at 0x791256a85120>)
+action_request_context(action: <function NamedTuple at 0x7b2e0a3c9120>)
Source: flowmachine/core/context.py
bind_context¶
@@ -8250,7 +8250,7 @@ Parameters
get_action_request¶
-get_action_request() -> <function NamedTuple at 0x791256a85120>
+get_action_request() -> <function NamedTuple at 0x7b2e0a3c9120>
Source: flowmachine/core/context.py
Get the current action request if there is one.
diff --git a/master/sitemap.xml.gz b/master/sitemap.xml.gz
index 8c0754fdad..5f7853a090 100644
Binary files a/master/sitemap.xml.gz and b/master/sitemap.xml.gz differ