Skip to content

Instantly share code, notes, and snippets.

@Miguelme
Created January 27, 2022 10:57
Show Gist options
  • Save Miguelme/e00481a212d9d971421a0fa9792ea5e3 to your computer and use it in GitHub Desktop.
Save Miguelme/e00481a212d9d971421a0fa9792ea5e3 to your computer and use it in GitHub Desktop.
Feature Contracts
{
"name": "activation-uplift-input",
"namespace": "growth-analytics",
"type": "record",
"fields": [
{
"name": "city",
"type": "string"
},
{
"name": "subtype",
"type": {
"type": "enum",
"name": "Subtype",
"symbols": ["PURCHASE", "SHIPMENT"]
}
},
{
"name": "transport",
"type": {
"type": "enum",
"name": "Transport",
"symbols": ["WALKER", "BICYCLE", "MOTORBIKE", "CAR"]
}
},
{
"name": "number_of_points",
"type": "int"
},
{
"name": "total_price",
"type": "int"
}
]
}
{
"name": "best_in_area_input",
"namespace": "datascience_product",
"type": "record",
"fields": [
{
"name": "city_code",
"type": "string",
"doc": "city code of request"
},
{
"name": "delivery_longitude",
"type": "double",
"doc": "Longitude of delivery point"
},
{
"name": "delivery_latitude",
"type": "double",
"doc": "Latitude of delivery point"
}
]
}
{
"name": "bundling-prob-input",
"namespace": "routing",
"type": "record",
"fields": [
{
"name": "city",
"type": "string"
},
{
"name": "pickup_latitude",
"type": "double",
"doc": "Latitude of pickup point"
},
{
"name": "pickup_longitude",
"type": "double",
"doc": "Longitude of pickup point"
},
{
"name": "delivery_latitude",
"type": "double",
"doc": "Latitude of delivery point"
},
{
"name": "delivery_longitude",
"type": "double",
"doc": "Longitude of delivery point"
},
{
"name": "preparation_time",
"type": "double",
"doc": "The time it takes the store to prepare the order"
},
{
"name": "average_basket",
"type": "double",
"doc": "Average value of the basket of the store"
},
{
"name": "average_waiting_time",
"type": "double",
"doc": "Average time the courier waits for the order"
}
]
}
{
"name": "CourierCoolOffTimerRequest",
"namespace": "com.glovoapp.couriers.contracts",
"type": "record",
"fields": [
{
"name": "courier_id",
"type": "long",
"doc": "Id of the courier"
}
]
}
{
"name": "courier_performance_input",
"namespace": "dispatching",
"type": "record",
"fields": [
{
"name": "city",
"type": "string"
},
{
"name": "subtype",
"type": {
"type": "enum",
"name": "Subtype",
"symbols": ["PURCHASE", "SHIPMENT"]
}
},
{
"name": "transport",
"type": {
"type": "enum",
"name": "Transport",
"symbols": ["WALKER", "BICYCLE", "MOTORBIKE", "CAR"]
}
},
{
"name": "number_of_points",
"type": "int"
},
{
"name": "total_price",
"type": "int"
}
]
}
{
"name": "CustomerLateCompensationParametersRequest",
"namespace": "com.glovoapp.events.customercompensation",
"type": "record",
"fields": [
{
"name": "customer_is_new",
"type": "boolean",
"doc": "Whether the customer is new or a recurrent"
},
{
"name": "customer_is_prime",
"type": "boolean",
"doc": "Whether the customer is prime or not"
},
{
"name": "customer_refund_method",
"type": [
"null",
"string"
],
"doc": "A refund method chosen"
},
{
"name": "order_id",
"type": "long",
"doc": "Id of the order that is being refunded"
},
{
"name": "order_country_code",
"type": "string",
"doc": "A code of the country where the order is being handled"
},
{
"name": "order_is_food",
"type": "boolean",
"doc": "Whether an order has a FOOD type or not"
},
{
"name": "order_delivery_duration_in_minutes",
"type": "int",
"doc": "Delivery duration of a given order"
},
{
"name": "order_eta_estimation_in_minutes",
"type": "int",
"doc": "An ETA estimation in minutes for a given order"
},
{
"name": "order_total_price_in_cents",
"type": "long",
"doc": "Total price of a given order in cents"
}
]
}
{
"name": "darkstore-forecast-input",
"namespace": "qcommerce-darkstore-ops",
"type": "record",
"fields": [
{
"name": "darkstore_id",
"type": "string",
"doc": "Danzai ID of the MFC for which the users wants the forecast."
},
{
"name": "product_id",
"type": {
"type": "array",
"items": "string"
},
"doc": "The list of SKUs to be forecasted."
},
{
"name": "start_date",
"type": "string",
"doc": "First day (included) of the period for which the user wants the forecast. Format: YYYY-MM-DD"
},
{
"name": "end_date",
"type": "string",
"doc": "Last day (included) of the period for which the user wants the forecast. Format: YYYY-MM-DD"
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"name": "EstimatedPartnerDispatchConfidenceIntervalArguments",
"type": "record",
"doc": "The input parameters for the Estimated First Partner Dispatch Confidence Interval model",
"fields": [
{
"name": "partner_countdown_remaining",
"type": "long",
"doc": "Prediction made for the partner ETA (in seconds). The model will return the confidence interval for this value."
},
{
"name": "city",
"type": "string",
"doc": "The code for the city"
},
{
"name": "request_case",
"type": "string",
"default": "other",
"doc": "Distinguishes two types of orders. It can be 'espr' or 'other'. 'espr' comprehends prioritised pickup partners or orders already been accepted (creation_time >= first_acceptance)."
},
{ "name": "order_id",
"type": ["null", "long"],
"default": null,
"doc": "Id of the order for which estimator is being called"
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"type": "record",
"name": "EstimatedPickupToDeliveryOverallArguments",
"doc": "The input parameters for the Estimated Pickup to Delivery Overall model described here: https://glovoapp.atlassian.net/wiki/spaces/TECH/pages/847413267/ePD+overall",
"fields": [
{
"name": "order_id",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": null
},
{
"name": "courier_id",
"type": ["null", "long"],
"doc": "Id of the courier performing the order",
"default": null
},
{
"name": "time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time when the order is supposed to be picked up (GMT)"
},
{
"name": "timezone",
"type": "string",
"doc": "The local time zone of the city the order was placed in"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "pickup_latitude",
"type": "double",
"doc": "Latitude of pickup point"
},
{
"name": "pickup_longitude",
"type": "double",
"doc": "Longitude of pickup point"
},
{
"name": "delivery_latitude",
"type": "double",
"doc": "Latitude of delivery point"
},
{
"name": "delivery_longitude",
"type": "double",
"doc": "Longitude of delivery point"
},
{
"name": "transport",
"type": ["null", "string"],
"doc": "The transport type of the Glover",
"default": null
},
{
"name": "birthday",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The birthday of the Glover",
"default": null
},
{
"name": "time_last_delivery",
"type": ["null", "long"],
"doc": "The UNIX timestamp of the time the previous order was delivered (GMT)",
"default": null
},
{
"name": "n_orders_completed",
"type": ["null", "long"],
"doc": "The number of orders delivered so far by the courier",
"default": null
},
{
"name": "flight_speed_mps_abs_energy",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_absolute_sum_of_changes",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_agg_autocorrelation_f_agg_var_maxlag_40",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ar_coefficient_k_10_coeff_0",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_mean_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_mean_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_var_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_var_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_cid_ce_normalize_False",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_cid_ce_normalize_True",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_count_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_centroid",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_kurtosis",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_skew",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_first_location_of_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_index_mass_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_index_mass_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_25",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_35",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_last_location_of_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_length",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_longest_strike_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_maximum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean_abs_change",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean_change",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_median",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_9",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_4",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_6",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_0_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_1_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_sample_entropy",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_skewness",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_standard_deviation",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_sum_values",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_05",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_15",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_variance_larger_than_standard_deviation",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps",
"type": ["null", "double"],
"default": null
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"type": "record",
"name": "EstimatedPickupToDeliveryRemainingArguments",
"doc": "The input parameters for the Estimated Pickup To Delivery Remaining model described here: #TODO",
"fields": [
{
"name": "order_id",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": null
},
{
"name": "courier_id",
"type": ["null", "long"],
"doc": "Id of the courier performing the order",
"default": null
},
{
"name": "time_pickup",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time when the order was picked up (GMT)"
},
{
"name": "query_time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time associated with the prediction request (GMT)"
},
{
"name": "timezone",
"type": "string",
"doc": "The local time zone of the city the order was placed in"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "pickup_latitude",
"type": "double",
"doc": "Latitude of pickup point"
},
{
"name": "pickup_longitude",
"type": "double",
"doc": "Longitude of pickup point"
},
{
"name": "previous_location_details",
"type": [ "null", { "type": "array",
"items": {
"type": "record",
"name": "PreviousLocationDetails",
"fields": [
{
"name": "query_time_previous_steps",
"type": ["null", "long"] ,
"logicalType": "timestamp-millis",
"default": null,
"doc": "UNIX timestamp of the time associated with a prediction request in a previous step (GMT)"
},
{
"name": "courier_latitude_previous_steps",
"type": ["null", "double"],
"default": null,
"doc": "Courier latitude point in a previous step"
},
{
"name": "courier_longitude_previous_steps",
"type": ["null", "double"],
"default": null,
"doc": "Courier longitude point in a previous step"
}
]
}
}
],
"default": null,
"doc": "Array of previous courier location details"
},
{
"name": "courier_latitude",
"type": "double",
"doc": "Latitude of courier point"
},
{
"name": "courier_longitude",
"type": "double",
"doc": "Longitude of courier point"
},
{
"name": "delivery_latitude",
"type": "double",
"doc": "Latitude of delivery point"
},
{
"name": "delivery_longitude",
"type": "double",
"doc": "Longitude of delivery point"
},
{
"name": "transport",
"type": ["null", "string"],
"doc": "The transport type of the Glover",
"default": null
},
{
"name": "birthday",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The birthday of the Glover",
"default": null
},
{
"name": "time_last_delivery",
"type": ["null", "long"],
"doc": "The UNIX timestamp of the time the previous order was delivered (GMT)",
"default": null
},
{
"name": "n_orders_completed",
"type": ["null", "long"],
"doc": "The number of orders delivered so far by the courier",
"default": null
},
{
"name": "flight_speed_mps_abs_energy",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_absolute_sum_of_changes",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_agg_autocorrelation_f_agg_var_maxlag_40",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ar_coefficient_k_10_coeff_0",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_mean_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_mean_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_var_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_var_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_cid_ce_normalize_False",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_cid_ce_normalize_True",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_count_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_centroid",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_kurtosis",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_skew",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_first_location_of_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_index_mass_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_index_mass_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_25",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_35",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_last_location_of_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_length",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_longest_strike_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_maximum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean_abs_change",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean_change",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_median",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_9",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_4",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_6",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_0_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_1_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_sample_entropy",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_skewness",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_standard_deviation",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_sum_values",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_05",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_15",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_variance_larger_than_standard_deviation",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps",
"type": ["null", "double"],
"default": null
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"type": "record",
"name": "EstimatedStartToPickupOverallArguments",
"doc": "The input parameters for the Estimated Start to Pickup Overall model described here: https://glovoapp.atlassian.net/wiki/spaces/TECH/pages/847740970/eSP+overall+v2",
"fields": [
{
"name": "order_id",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": null
},
{
"name": "courier_id",
"type": ["null", "long"],
"doc": "Id of the courier performing the order",
"default": null
},
{
"name": "time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time when the order is supposed to be send to the courier (GMT)"
},
{
"name": "timezone",
"type": "string",
"doc": "The local time zone of the city the order was placed in"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "start_latitude",
"type": "double",
"doc": "Latitude of starting point"
},
{
"name": "start_longitude",
"type": "double",
"doc": "Longitude of starting point"
},
{
"name": "pickup_latitude",
"type": "double",
"doc": "Latitude of pickup point"
},
{
"name": "pickup_longitude",
"type": "double",
"doc": "Longitude of pickup point"
},
{
"name": "transport",
"type": ["null", "string"],
"doc": "The transport type of the Glover",
"default": null
},
{
"name": "birthday",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The birthday of the Glover",
"default": null
},
{
"name": "delta_seconds_from_last_delivery",
"type": ["null", "long"],
"doc": "Deprecated. The delta time in seconds between the previous order of the courier and the current order",
"default": null
},
{
"name": "time_last_delivery",
"type": ["null", "long"],
"doc": "The UNIX timestamp of the time the previous order was delivered (GMT)",
"default": null
},
{
"name": "n_orders_completed",
"type": ["null", "long"],
"doc": "The number of orders delivered so far by the courier",
"default": null
},
{
"name": "flight_speed_mps_abs_energy",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_absolute_sum_of_changes",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_agg_autocorrelation_f_agg_var_maxlag_40",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ar_coefficient_k_10_coeff_0",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_mean_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_mean_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_var_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_var_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_cid_ce_normalize_False",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_cid_ce_normalize_True",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_count_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_centroid",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_kurtosis",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_skew",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_first_location_of_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_index_mass_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_index_mass_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_25",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_35",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_last_location_of_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_length",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_longest_strike_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_maximum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean_abs_change",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean_change",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_median",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_9",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_4",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_6",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_0_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_1_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_sample_entropy",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_skewness",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_standard_deviation",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_sum_values",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_05",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_15",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_variance_larger_than_standard_deviation",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_abs_energy",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_absolute_sum_of_changes",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_agg_autocorrelation_f_agg_var_maxlag_40",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ar_coefficient_k_10_coeff_0",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_binned_entropy_max_bins_10",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_c3_lag_1",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_c3_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_c3_lag_3",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_change_quantiles_f_agg_mean_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_change_quantiles_f_agg_mean_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_change_quantiles_f_agg_var_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_change_quantiles_f_agg_var_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_cid_ce_normalize_False",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_cid_ce_normalize_True",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_count_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_count_below_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_fft_aggregated_aggtype_centroid",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_fft_aggregated_aggtype_kurtosis",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_fft_aggregated_aggtype_skew",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_fft_aggregated_aggtype_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_index_mass_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_index_mass_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_kurtosis",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_large_standard_deviation_r_0_25",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_large_standard_deviation_r_0_35",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_last_location_of_maximum",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_last_location_of_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_length",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_longest_strike_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_longest_strike_below_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_maximum",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_mean_abs_change",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_mean_change",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_median",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_cwt_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_cwt_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_cwt_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_peaks_n_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_partial_autocorrelation_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_quantile_q_0_4",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_quantile_q_0_6",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ratio_beyond_r_sigma_r_0_5",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ratio_beyond_r_sigma_r_1",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ratio_beyond_r_sigma_r_1_5",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ratio_beyond_r_sigma_r_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ratio_beyond_r_sigma_r_3",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_sample_entropy",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_skewness",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_spkt_welch_density_coeff_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_spkt_welch_density_coeff_5",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_spkt_welch_density_coeff_8",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_standard_deviation",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_symmetry_looking_r_0_05",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_symmetry_looking_r_0_1",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_symmetry_looking_r_0_15",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept",
"type": ["null", "double"],
"default": null
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"type": "record",
"name": "EstimatedStartToPickupRemainingArguments",
"doc": "The input parameters for the Estimated Start To Pickup Remaining model described here: #TODO",
"fields": [
{
"name": "order_id",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": null
},
{
"name": "courier_id",
"type": ["null", "long"],
"doc": "Id of the courier performing the order",
"default": null
},
{
"name": "time_order",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time when the order was sent to the courier (GMT)"
},
{
"name": "query_time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time associated with the prediction request (GMT)"
},
{
"name": "time_acceptance",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time the order was accepted by the courier (GMT)"
},
{
"name": "timezone",
"type": "string",
"doc": "The local time zone of the city the order was placed in"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "start_latitude",
"type": "double",
"doc": "Latitude of starting point"
},
{
"name": "start_longitude",
"type": "double",
"doc": "Longitude of starting point"
},
{
"name": "previous_location_details",
"type": [ "null", { "type": "array",
"items": {
"type": "record",
"name": "PreviousLocationDetails",
"fields": [
{
"name": "query_time_previous_steps",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"default": null,
"doc": "UNIX timestamp of the time associated with a prediction request in a previous step (GMT)"
},
{
"name": "courier_latitude_previous_steps",
"type": ["null", "double"],
"default": null,
"doc": "Courier latitude point in a previous step"
},
{
"name": "courier_longitude_previous_steps",
"type": ["null", "double"],
"default": null,
"doc": "Courier longitude point in a previous step"
}
]
}
}
],
"default": null,
"doc": "Array of previous courier location details"
},
{
"name": "courier_latitude",
"type": "double",
"doc": "Latitude of courier point"
},
{
"name": "courier_longitude",
"type": "double",
"doc": "Longitude of courier point"
},
{
"name": "pickup_latitude",
"type": "double",
"doc": "Latitude of pickup point"
},
{
"name": "pickup_longitude",
"type": "double",
"doc": "Longitude of pickup point"
},
{
"name": "transport",
"type": ["null", "string"],
"doc": "The transport type of the Glover",
"default": null
},
{
"name": "birthday",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The birthday of the Glover",
"default": null
},
{
"name": "delta_seconds_from_last_delivery",
"type": ["null", "long"],
"doc": "Deprecated. The delta time in seconds between the previous order of the courier and the current order",
"default": null
},
{
"name": "time_last_delivery",
"type": ["null", "long"],
"doc": "The UNIX timestamp of the time the previous order was delivered (GMT)",
"default": null
},
{
"name": "n_orders_completed",
"type": ["null", "long"],
"doc": "The number of orders delivered so far by the courier",
"default": null
},
{
"name": "flight_speed_mps_abs_energy",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_absolute_sum_of_changes",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_agg_autocorrelation_f_agg_var_maxlag_40",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ar_coefficient_k_10_coeff_0",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_c3_lag_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_mean_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_mean_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_var_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_change_quantiles_f_agg_var_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_cid_ce_normalize_False",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_cid_ce_normalize_True",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_count_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_centroid",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_kurtosis",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_skew",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_fft_aggregated_aggtype_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_first_location_of_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_index_mass_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_index_mass_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_25",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_large_standard_deviation_r_0_35",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_last_location_of_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_length",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_longest_strike_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_maximum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean_abs_change",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_mean_change",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_median",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_cwt_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_number_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_partial_autocorrelation_lag_9",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_4",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_6",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_0_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_1_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_ratio_beyond_r_sigma_r_3",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_sample_entropy",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_skewness",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_2",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_5",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_spkt_welch_density_coeff_8",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_standard_deviation",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_sum_values",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_05",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_1",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_symmetry_looking_r_0_15",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps_variance_larger_than_standard_deviation",
"type": ["null", "double"],
"default": null
},
{
"name": "flight_speed_mps",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_abs_energy",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_absolute_sum_of_changes",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_agg_autocorrelation_f_agg_var_maxlag_40",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ar_coefficient_k_10_coeff_0",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_binned_entropy_max_bins_10",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_c3_lag_1",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_c3_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_c3_lag_3",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_change_quantiles_f_agg_mean_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_change_quantiles_f_agg_mean_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_change_quantiles_f_agg_var_isabs_False_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_change_quantiles_f_agg_var_isabs_True_qh_0_8_ql_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_cid_ce_normalize_False",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_cid_ce_normalize_True",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_count_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_count_below_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_fft_aggregated_aggtype_centroid",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_fft_aggregated_aggtype_kurtosis",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_fft_aggregated_aggtype_skew",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_fft_aggregated_aggtype_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_index_mass_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_index_mass_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_kurtosis",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_large_standard_deviation_r_0_25",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_large_standard_deviation_r_0_35",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_last_location_of_maximum",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_last_location_of_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_length",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_longest_strike_above_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_longest_strike_below_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_maximum",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_mean",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_mean_abs_change",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_mean_change",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_median",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_minimum",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_cwt_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_cwt_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_cwt_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_peaks_n_1",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_peaks_n_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_peaks_n_3",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_number_peaks_n_5",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_partial_autocorrelation_lag_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_quantile_q_0_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_quantile_q_0_4",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_quantile_q_0_6",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_quantile_q_0_8",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ratio_beyond_r_sigma_r_0_5",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ratio_beyond_r_sigma_r_1",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ratio_beyond_r_sigma_r_1_5",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ratio_beyond_r_sigma_r_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_ratio_beyond_r_sigma_r_3",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_sample_entropy",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_skewness",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_spkt_welch_density_coeff_2",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_spkt_welch_density_coeff_5",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_spkt_welch_density_coeff_8",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_standard_deviation",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_symmetry_looking_r_0_05",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_symmetry_looking_r_0_1",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_symmetry_looking_r_0_15",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept_variance",
"type": ["null", "double"],
"default": null
},
{
"name": "time_to_accept",
"type": ["null", "double"],
"default": null
}
]
}
{
"namespace": "com.glovoapp.eta.contracts",
"type": "record",
"name": "CustomerEtaArguments",
"doc": "Contract for the ETA model used until we assign to a courier",
"fields": [
{
"name": "order_id",
"type": ["null", "long"],
"doc": "Id of order being evaluated",
"default": null
},
{ "name": "source",
"type": ["null", "string"],
"default": null,
"doc": "The origin/type of the request. Should be one of these values: 'SCHEDULED_ORDER','STORE_ADDRESS_SELECTION','WALL','CHECKOUT','COUNTDOWN'"
},
{
"name": "city",
"type": "string",
"doc": "The city code"
},
{
"name": "saturation_level",
"type": "int",
"doc": "City saturation level"
},
{
"name": "time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time the order was placed (local time zone)"
},
{
"name": "subtype",
"type": {
"type": "enum",
"name": "Subtype",
"symbols": ["PURCHASE", "SHIPMENT"]
}
},
{
"name": "origin",
"type": {
"type": "enum",
"name": "Origin",
"symbols": ["STORES", "CUSTOM"]
}
},
{
"name": "delivery_longitude",
"type": "double",
"doc": "Longitude of delivery point. If there is not a delivery location for the order a default value (invalid coordinate) will be sent"
},
{
"name": "delivery_latitude",
"type": "double",
"doc": "Latitude of delivery point. If there is not a delivery location for the order a default value (invalid coordinate) will be sent"
},
{
"name": "pickup_latitude",
"type": ["null", "double"],
"doc": "Latitude of pickup point"
},
{
"name": "pickup_longitude",
"type": ["null", "double"],
"doc": "Longitude of pickup point"
},
{
"name": "customer_id",
"type": ["null", "long"],
"doc": "Customer ID"
},
{
"name": "partner",
"type": "boolean",
"doc": "Is this a partner delivery?"
},
{
"name": "food",
"type": "boolean",
"doc": "Is it food?"
},
{
"name": "number_of_active_couriers",
"type": "int",
"doc": "Number of active couriers in the city"
},
{
"name": "number_of_active_orders",
"type": "int",
"doc": "Number of active orders in the city"
},
{
"name": "order_size",
"type": ["null", "int"],
"doc": "Number of items in the order",
"default": null
},
{
"name": "store_address_id",
"type": ["null", "long"],
"doc": "The store address id"
},
{
"name": "precipitation_intensity",
"type": ["null", "double"],
"doc": "Recently predicted precipitation intensity for the city - Millimeters per hour"
},
{
"name": "temperature",
"type": ["null", "double"],
"doc": "Recently predicted temperature for the city - Celsius Degrees"
},
{
"name": "mean_dispatch_to_pickup_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 10 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dispatch_to_pickup_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dispatch_to_pickup_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_wtp_last_10_min",
"type": ["null", "double"],
"doc": "Mean waiting time for the store or city (if quiero / shipment order) over the last 10 minutes",
"default": null
},
{
"name": "mean_wtp_last_30_min",
"type": ["null", "double"],
"doc": "Mean waiting time for the store or city (if quiero / shipment order) over the last 30 minutes",
"default": null
},
{
"name": "mean_wtp_last_60_min",
"type": ["null", "double"],
"doc": "Mean waiting time for the store or city (if quiero / shipment order) over the last 60 minutes",
"default": null
},
{
"name": "number_of_orders_last_10_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes",
"default": null
},
{
"name": "number_of_orders_last_30_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes",
"default": null
},
{
"name": "number_of_orders_last_60_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes",
"default": null
},
{
"name": "number_of_unpicked_orders",
"type": ["null", "long"],
"doc": "Number of unpicked orders for the store_address_id or city-subtype (if quiero / shipment order)",
"default": null
},
{
"name": "number_of_courier_not_accepted_orders",
"type": ["null", "long"],
"doc": "Count of orders that have been activated but not accepted by couriers yet (aggregation level depending on vertical).",
"default": null
},
{
"name": "mean_waiting_time_last_10_mins",
"type": ["null", "double"],
"doc": "DEPRECATED. Mean waiting time for the store or city (if quiero / shipment order) over the last 10 minutes",
"default": null
},
{
"name": "mean_waiting_time_last_30_mins",
"type": ["null", "double"],
"doc": "DEPRECATED. Mean waiting time for the store or city (if quiero / shipment order) over the last 30 minutes",
"default": null
},
{
"name": "mean_waiting_time_last_60_mins",
"type": ["null", "double"],
"doc": "DEPRECATED. Mean waiting time for the store or city (if quiero / shipment order) over the last 60 minutes",
"default": null
},
{
"name": "mean_preparation_time_last_10_mins",
"type": ["null", "double"],
"doc": "DEPRECATED. Mean preparation time for the store or city (if quiero / shipment order) over the last 10 minutes",
"default": null
},
{
"name": "mean_preparation_time_last_30_mins",
"type": ["null", "double"],
"doc": "DEPRECATED. Mean preparation time for the store or city (if quiero / shipment order) over the last 30 minutes",
"default": null
},
{
"name": "mean_preparation_time_last_60_mins",
"type": ["null", "double"],
"doc": "DEPRECATED. Mean preparation time for the store or city (if quiero / shipment order) over the last 60 minutes",
"default": null
},
{
"name": "total_orders_last_10_mins",
"type": ["null", "long"],
"doc": "DEPRECATED. Total orders for the store or city (if quiero / shipment order) over the last 10 minutes",
"default": null
},
{
"name": "total_orders_last_30_mins",
"type": ["null", "long"],
"doc": "DEPRECATED. Total orders for the store or city (if quiero / shipment order) over the last 30 minutes",
"default": null
},
{
"name": "total_orders_last_60_mins",
"type": ["null", "long"],
"doc": "DEPRECATED. Total orders for the store or city (if quiero / shipment order) over the last 60 minutes",
"default": null
},
{
"name": "total_unpicked_orders",
"type": ["null", "long"],
"doc": "DEPRECATED. Total unpicked orders for the store or city (if quiero / shipment order)",
"default": null
},
{
"name": "min_etp_in_seconds",
"type": ["null", "long"],
"doc": "The minimum ETP in seconds to cap the raw ETP values for that store address. Null for COURIER/Quiero",
"default": null
},
{
"name": "max_etp_in_seconds",
"type": ["null", "long"],
"doc": "The maximum ETP in seconds to cap the raw ETP values for that store address. Null for COURIER/Quiero",
"default": null
},
{
"name": "is_prioritized_pickup_enabled",
"type": ["boolean", "null"],
"doc": "Is prioritized pickup flag enabled for the store address",
"default": false
},
{
"name": "is_immediate_dispatch_partner_enabled",
"type": ["boolean", "null"],
"doc": "Is immediate partner dispatch flag enabled for the store address",
"default": false
},
{
"type": [
"null",
{
"type": "record",
"name": "EstimatedTimeToPrepareStackedInput",
"doc": "The input parameters for the Estimated Time to Prepare model described here: https://glovoapp.atlassian.net/wiki/spaces/TECH/pages/904101942/eTP+v2",
"fields": [
{
"name": "orderId",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": null
},
{
"name": "time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time the order was placed (GMT)"
},
{
"name": "timeZone",
"type": "string",
"doc": "The local time zone of the city the order was placed in"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "storeAddressId",
"type": "long",
"doc": "The store address id or -2 for shipment, -3 for quiero"
},
{
"name": "orderType",
"type": {
"type": "enum",
"name": "OrderType",
"symbols": [
"QUIERO",
"COURIER",
"PARTNER",
"FAKE"
],
"doc": "The type of order being placed"
}
},
{
"name": "order_size",
"type": ["null", "int"],
"doc": "Number of items in the order",
"default": null
},
{
"name": "number_of_unpicked_orders",
"type": ["null", "long"],
"doc": "Number of unpicked orders for the store_address_id or city-subtype (if quiero / shipment order)",
"default": null
},
{
"name": "number_of_orders_last_10_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes",
"default": null
},
{
"name": "number_of_orders_last_30_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes",
"default": null
},
{
"name": "number_of_orders_last_60_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes",
"default": null
},
{
"name": "mean_preparation_time_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 10 minutes. All in seconds.",
"default": null
},
{
"name": "mean_preparation_time_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_preparation_time_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_wtp_last_10_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_wtp_last_30_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_wtp_last_60_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_10_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_30_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_60_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_10_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_30_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_60_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_10_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_30_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_60_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 60 minutes in seconds.",
"default": null
}
]
}
],
"name": "estimated_time_to_prepare_stacked_inputs_for_eta_model",
"doc": "The inputs for stacked ETP version 4.2",
"default": null
},
{
"name": "product_details",
"type": [ "null",
{
"type":"array",
"items": {
"name": "ProductDetails",
"type": "record",
"fields":[
{
"name": "product_id",
"type": ["null", "long"],
"default": null,
"doc": "ID of the product"
},
{
"name": "product_quantity",
"type": ["null", "int"],
"default": null,
"doc": "Quantity of the product"
},
{
"name": "product_price",
"type": ["null", "int"],
"default": null,
"doc": "Price of the product"
},
{
"name": "product_name",
"type": ["null", "string"],
"default": null,
"doc": "Name of the product"
},
{
"name": "product_description",
"type": ["null", "string"],
"default": null,
"doc": "Description of the product"
}
]
}
}
],
"default": null,
"doc": "Product details of the order while checkout"
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"type": "record",
"name": "EstimatedTimeToPrepareArguments",
"doc": "The input parameters for the Estimated Time to Prepare model described here: https://glovoapp.atlassian.net/wiki/spaces/TECH/pages/904101942/eTP+v2",
"fields": [
{
"name": "orderId",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": null
},
{
"name": "time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time the order was placed (GMT)"
},
{
"name": "timeZone",
"type": "string",
"doc": "The local time zone of the city the order was placed in"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "storeAddressId",
"type": "long",
"doc": "The store address id or -2 for shipment, -3 for quiero"
},
{
"name": "orderType",
"type": {
"type": "enum",
"name": "OrderType",
"symbols": [
"QUIERO",
"COURIER",
"PARTNER",
"FAKE"
],
"doc": "The type of order being placed"
}
},
{
"name": "product_information_details",
"type": [ "null", { "type":"array",
"items":{
"type": "record",
"name": "BoughtProductDetails",
"fields": [
{
"name": "product_id",
"type": ["null", "long"],
"doc": "Id of the purchased product",
"default": null
},
{
"name": "replaced_product_id",
"type": ["null", "long"],
"doc": "Id of the replaced product",
"default": null
},
{
"name": "product_quantity",
"type": ["null", "int"],
"doc": "Quantity of purchased product",
"default": null
},
{
"name": "product_price",
"type": ["null", "int"],
"doc": "Price of purchased product",
"default": null
},
{
"name": "product_name",
"type": ["null", "string"],
"doc": "Name of purchase product",
"default": null
},
{
"name": "product_description",
"type": ["null", "string"],
"doc": "Description of purchased product",
"default": null
}
]
}
}
],
"doc" : "Details of purchased products",
"default" : null
},
{
"name": "productCount",
"type": "long",
"doc": "The number of items ordered - will be DEPRECATED"
},
{
"name": "basketValue",
"type": "long",
"doc": "The total value of the items ordered. Differs from product_price because basketValue also includes the prices of product addons (from bought_product_attributes.price_impact)"
},
{
"name": "meanLast10Minutes",
"type": ["null", "double"],
"doc": "The mean preparation time for orders in the last 10 minutes - will be DEPRECATED"
},
{
"name": "meanLast30Minutes",
"type": ["null", "double"],
"doc": "The mean preparation time for orders in the last 30 minutes - will be DEPRECATED"
},
{
"name": "meanLast60Minutes",
"type": ["null", "double"],
"doc": "The mean preparation time for orders in the last 60 minutes - will be DEPRECATED"
},
{
"name": "meanLast4Weeks",
"type": ["null", "double"],
"doc": "The mean preparation time for orders in the last 4 weeks - will be DEPRECATED"
},
{
"name": "previousOrders10Minutes",
"type": ["null", "long"],
"doc": "The number of orders in the last 10 minutes - will be DEPRECATED",
"default": null
},
{
"name": "previousOrders30Minutes",
"type": ["null", "long"],
"doc": "The number of orders in the last 30 minutes - will be DEPRECATED",
"default": null
},
{
"name": "previousOrders60Minutes",
"type": ["null", "long"],
"doc": "The number of orders in the last 60 minutes - will be DEPRECATED",
"default": null
},
{
"name": "unpickedOrders",
"type": ["null", "long"],
"doc": "The number of unpicked orders waiting in the store - will be DEPRECATED",
"default": null
},
{
"name": "meanWTPLast10Minutes",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup for orders in the last 10 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanWTPLast30Minutes",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup for orders in the last 30 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanWTPLast60Minutes",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup for orders in the last 60 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanDELast10Minutes",
"type": ["null", "double"],
"doc": "The mean dispatched to entering time at pickup for orders in the last 10 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanDELast30Minutes",
"type": ["null", "double"],
"doc": "The mean dispatched to entering time at pickup for orders in the last 30 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanDELast60Minutes",
"type": ["null", "double"],
"doc": "The mean dispatched to entering time at pickup for orders in the last 60 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanRawETPLast10Minutes",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation for orders in the last 10 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanRawETPLast30Minutes",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation for orders in the last 30 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanRawETPLast60Minutes",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation for orders in the last 60 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanCappedETPLast10Minutes",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation for orders in the last 10 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanCappedETPLast30Minutes",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation for orders in the last 30 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanCappedETPLast60Minutes",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation for orders in the last 60 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "number_of_unpicked_orders",
"type": ["null", "long"],
"doc": "Number of unpicked orders for the store_address_id or city-subtype (if quiero / shipment order)",
"default": null
},
{
"name": "number_of_orders_last_10_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes",
"default": null
},
{
"name": "number_of_orders_last_30_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes",
"default": null
},
{
"name": "number_of_orders_last_60_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes",
"default": null
},
{
"name": "mean_preparation_time_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 10 minutes. All in seconds.",
"default": null
},
{
"name": "mean_preparation_time_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_preparation_time_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_wtp_last_10_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_wtp_last_30_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_wtp_last_60_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_10_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_30_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_60_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_10_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_30_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_60_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_10_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_30_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_60_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 60 minutes in seconds.",
"default": null
},
{
"name": "percentage_of_censored_store_last_10_min",
"type": ["null", "double"],
"doc": "The percentage of orders that are censored for the store_address_id over the last 10 minutes.",
"default": null
},
{
"name": "percentage_of_censored_store_last_30_min",
"type": ["null", "double"],
"doc": "The percentage of orders that are censored for the store_address_id over the last 30 minutes.",
"default": null
},
{
"name": "percentage_of_censored_store_last_60_min",
"type": ["null", "double"],
"doc": "The percentage of orders that are censored for the store_address_id over the last 60 minutes.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_0_min_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 0 minutes earlier (DE - eTP < 0) for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_2_min_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 2 minutes earlier (DE - eTP < -2) for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_4_min_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 4 minutes earlier (DE - eTP < -4) for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_6_min_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 4 minutes earlier (DE - eTP < -6) for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_0_min_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 0 minutes earlier (DE - eTP < 0) for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_2_min_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 2 minutes earlier (DE - eTP < -2) for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_4_min_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 4 minutes earlier (DE - eTP < -4) for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_6_min_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 4 minutes earlier (DE - eTP < -6) for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_0_min_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 0 minutes earlier (DE - eTP < 0) for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_2_min_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 2 minutes earlier (DE - eTP < -2) for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_4_min_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 4 minutes earlier (DE - eTP < -4) for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_6_min_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 6 minutes earlier (DE - eTP < -6) for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "unpicked_basket_value",
"type": ["null", "long"],
"doc": "Sum of basket values for all unpicked orders",
"default": null
},
{
"name": "unpicked_products",
"type": ["null", "long"],
"doc": "Sum of number of products in unpicked orders",
"default": null
},
{
"name": "unpicked_distinct_products",
"type": ["null", "long"],
"doc": "Sum of number of distinct products in unpicked orders",
"default": null
},
{
"name": "store_address_hash",
"type": ["null", "string"],
"doc": "The store address hash for the store",
"default": null
},
{
"name": "query_time",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time associated with the prediction request (GMT)",
"default": null
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"type": "record",
"name": "EstimatedTimeToPrepareRemainingArguments",
"doc": "The input parameters for the Estimated Time to Prepare Remaining model.",
"fields": [
{
"name": "query_time",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time associated with the prediction request (GMT)",
"default": null
},
{
"name": "order_id",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": 0
},
{
"name": "activation_time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time the order was activated (GMT)"
},
{
"name": "timezone",
"type": "string",
"doc": "The local time zone of the city the order was placed in"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "store_address_id",
"type": "long",
"doc": "The store address id for the order.",
"default": null
},
{
"name": "order_type",
"type": {
"type": "enum",
"name": "OrderType",
"symbols": [
"QUIERO",
"COURIER",
"PARTNER",
"FAKE"
],
"doc": "The type of order being placed"
}
},
{
"name": "product_information_details",
"type": [ "null", { "type":"array",
"items":{
"type": "record",
"name": "BoughtProductDetails",
"fields": [
{
"name": "product_id",
"type": ["null", "long"],
"doc": "Id of the purchased product",
"default": null
},
{
"name": "replaced_product_id",
"type": ["null", "long"],
"doc": "Id of the replaced product",
"default": null
},
{
"name": "product_quantity",
"type": ["null", "int"],
"doc": "Quantity of purchased product",
"default": null
},
{
"name": "product_price",
"type": ["null", "int"],
"doc": "Price of purchased product",
"default": null
},
{
"name": "product_name",
"type": ["null", "string"],
"doc": "Name of purchase product",
"default": null
},
{
"name": "product_description",
"type": ["null", "string"],
"doc": "Description of purchased product",
"default": null
}
]
}
}
],
"doc" : "Details of purchased products",
"default" : null
},
{
"name": "basket_value",
"type": "long",
"doc": "The total value of the items ordered. Differs from product_price because basketValue also includes the prices of product addons (from bought_product_attributes.price_impact)"
},
{
"name": "number_of_unpicked_orders",
"type": ["null", "long"],
"doc": "Number of unpicked orders for the store_address_id or city-subtype (if quiero / shipment order)",
"default": null
},
{
"name": "number_of_orders_last_10_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes",
"default": null
},
{
"name": "number_of_orders_last_30_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes",
"default": null
},
{
"name": "number_of_orders_last_60_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes",
"default": null
},
{
"name": "mean_preparation_time_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 10 minutes. All in seconds.",
"default": null
},
{
"name": "mean_preparation_time_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_preparation_time_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_wtp_last_10_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_wtp_last_30_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_wtp_last_60_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_10_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_30_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_60_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_10_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_30_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_60_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_10_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_30_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_60_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 60 minutes in seconds.",
"default": null
},
{
"name": "percentage_of_censored_store_last_10_min",
"type": ["null", "double"],
"doc": "The percentage of orders that are censored for the store_address_id over the last 10 minutes.",
"default": null
},
{
"name": "percentage_of_censored_store_last_30_min",
"type": ["null", "double"],
"doc": "The percentage of orders that are censored for the store_address_id over the last 30 minutes.",
"default": null
},
{
"name": "percentage_of_censored_store_last_60_min",
"type": ["null", "double"],
"doc": "The percentage of orders that are censored for the store_address_id over the last 60 minutes.",
"default": null
},
{
"name": "unpicked_basket_value",
"type": ["null", "long"],
"doc": "Sum of basket values for all unpicked orders",
"default": null
},
{
"name": "unpicked_products",
"type": ["null", "long"],
"doc": "Sum of number of products in unpicked orders",
"default": null
},
{
"name": "unpicked_distinct_products",
"type": ["null", "long"],
"doc": "Sum of number of distinct products in unpicked orders",
"default": null
},
{
"name": "dispatching_time",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time at which partner is dispatched (GMT) or null if not dispatched",
"default": null
},
{
"name": "display_time",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time at which the pixel is displayed (GMT) or null if not displayed",
"default": null
},
{
"name": "accept_time",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time at which the order is accepted by the partner (GMT) or null if not accepted",
"default": null
},
{
"name": "entering_time",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time at which the courier enters pickup (GMT) or null if not entered",
"default": null
},
{
"name": "client_type",
"type": ["null", "string"],
"doc": "Type of client. One of [null, 'POLARTECH', 'WEBAPP', 'CUSTOM_INTEGRATION', 'WEBHOOK_INTEGRATION']",
"default": null
},
{
"name": "country",
"type": ["null", "string"],
"doc": "The code for the country where the order was placed",
"default": null
},
{
"name": "store_name",
"type": ["null", "string"],
"doc": "The store_name of the store for the order placed",
"default": null
},
{
"name": "store_tag_ids",
"type": ["null", {"type": "array", "items": "long"} ],
"doc": "A list of tag_id's associated to the store, where the order was placed",
"default": null
},
{
"name": "store_address_hash",
"type": ["null", "string"],
"doc": "The store address hash for the store",
"default": null
},
{
"name": "order_ready_time",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time the order was marked as ready",
"default": null
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"type": "record",
"name": "EstimatedWaitingTimeDeliveryOverallArguments",
"doc": "The input parameters for the Estimated Waiting Time at Delivery Overall model",
"fields": [
{
"name": "order_id",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": null
},
{
"name": "courier_id",
"type": ["null", "long"],
"doc": "Id of the courier performing the order",
"default": null
},
{
"name": "time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time when the courier is supposed to arrive to the delivery zone (GMT)"
},
{
"name": "timezone",
"type": "string",
"doc": "The local time zone of the city the order was placed in"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "delivery_latitude",
"type": "double",
"doc": "Latitude of delivery point"
},
{
"name": "delivery_longitude",
"type": "double",
"doc": "Longitude of delivery point"
},
{
"name": "transport",
"type": ["null", "string"],
"doc": "The transport type of the Glover",
"default": null
},
{
"name": "delivery_address_label",
"type": ["null", "string"],
"doc": "The label of the delivery address",
"default": null
},
{
"name": "delivery_address_details",
"type": ["null", "string"],
"doc": "The details of the delivery address",
"default": null
},
{
"name": "language_code",
"type": ["null", "string"],
"doc": "The code for the language where the order was placed",
"default": null
},
{
"name": "payment_method",
"type": ["null", "string"],
"doc": "The payment method of customer",
"default": null
},
{
"name": "n_orders_completed_per_courier",
"type": ["null", "long"],
"doc": "The number of orders delivered so far by the courier",
"default": null
},
{
"name": "n_orders_completed_per_customer",
"type": ["null", "long"],
"doc": "The number of orders delivered so far to the customer",
"default": null
},
{
"name": "avg_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery mean in seconds per courier",
"default": null
},
{
"name": "avg_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery mean in seconds per customer",
"default": null
},
{
"name": "median_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery median in seconds per courier",
"default": null
},
{
"name": "median_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery median in seconds per customer",
"default": null
},
{
"name": "std_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery standard deviation in seconds per courier",
"default": null
},
{
"name": "std_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery standard deviation in seconds per customer",
"default": null
},
{
"name": "min_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery minimum in seconds per courier",
"default": null
},
{
"name": "min_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery minimum in seconds per customer",
"default": null
},
{
"name": "max_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery maximum in seconds per courier",
"default": null
},
{
"name": "max_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery maximum in seconds per customer",
"default": null
},
{
"name": "skew_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery skewness in seconds per courier",
"default": null
},
{
"name": "skew_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery skewness in seconds per customer",
"default": null
},
{
"name": "kurt_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery kurtosis in seconds per courier",
"default": null
},
{
"name": "kurt_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery kurtosis in seconds per customer",
"default": null
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"type": "record",
"name": "EstimatedWaitingTimeDeliveryRemainingArguments",
"doc": "The input parameters for the Estimated Waiting Time at Delivery Remaining model",
"fields": [
{
"name": "order_id",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": null
},
{
"name": "courier_id",
"type": ["null", "long"],
"doc": "Id of the courier performing the order",
"default": null
},
{
"name": "time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time when the courier has entered the delivery zone (GMT)"
},
{
"name": "query_time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time associated with the prediction request (GMT)"
},
{
"name": "timezone",
"type": "string",
"doc": "The local time zone of the city the order was placed in"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "courier_latitude",
"type": "double",
"doc": "Latitude of courier point"
},
{
"name": "courier_longitude",
"type": "double",
"doc": "Longitude of courier point"
},
{
"name": "delivery_latitude",
"type": "double",
"doc": "Latitude of delivery point"
},
{
"name": "delivery_longitude",
"type": "double",
"doc": "Longitude of delivery point"
},
{
"name": "transport",
"type": ["null", "string"],
"doc": "The transport type of the Glover",
"default": null
},
{
"name": "delivery_address_label",
"type": ["null", "string"],
"doc": "The label of the delivery address",
"default": null
},
{
"name": "delivery_address_details",
"type": ["null", "string"],
"doc": "The details of the delivery address",
"default": null
},
{
"name": "language_code",
"type": ["null", "string"],
"doc": "The code for the language where the order was placed",
"default": null
},
{
"name": "payment_method",
"type": ["null", "string"],
"doc": "The payment method of customer",
"default": null
},
{
"name": "n_orders_completed_per_courier",
"type": ["null", "long"],
"doc": "The number of orders delivered so far by the courier",
"default": null
},
{
"name": "n_orders_completed_per_customer",
"type": ["null", "long"],
"doc": "The number of orders delivered so far to the customer",
"default": null
},
{
"name": "avg_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery mean in seconds per courier",
"default": null
},
{
"name": "avg_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery mean in seconds per customer",
"default": null
},
{
"name": "median_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery median in seconds per courier",
"default": null
},
{
"name": "median_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery median in seconds per customer",
"default": null
},
{
"name": "std_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery standard deviation in seconds per courier",
"default": null
},
{
"name": "std_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery standard deviation in seconds per customer",
"default": null
},
{
"name": "min_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery minimum in seconds per courier",
"default": null
},
{
"name": "min_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery minimum in seconds per customer",
"default": null
},
{
"name": "max_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery maximum in seconds per courier",
"default": null
},
{
"name": "max_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery maximum in seconds per customer",
"default": null
},
{
"name": "skew_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery skewness in seconds per courier",
"default": null
},
{
"name": "skew_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery skewness in seconds per customer",
"default": null
},
{
"name": "kurt_wtd_per_courier",
"type": ["null", "double"],
"doc": "The waiting time at delivery kurtosis in seconds per courier",
"default": null
},
{
"name": "kurt_wtd_per_customer",
"type": ["null", "double"],
"doc": "The waiting time at delivery kurtosis in seconds per customer",
"default": null
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"type": "record",
"name": "EstimatedWaitingTimeAtPickupArguments",
"doc": "The input parameters for the Estimated Waiting Time at Pickup meta-model",
"fields": [
{
"name": "order_id",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": null
},
{
"name": "timezone",
"type": "string",
"doc": "The local time zone of the city the order was placed"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "etp_prediction_time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time when the time to prepare prediction has been made (GMT)"
},
{
"name": "transport",
"type": ["null", "string"],
"doc": "The transport type of the Glover",
"default": null
},
{
"name": "etp_prediction",
"type": "long",
"doc": "The remaining time (in seconds) left for the food to be ready"
},
{
"name": "etap_prediction",
"type": "long",
"doc": "The remaining time (in seconds) left to the courier to arrive to the pickup point"
},
{
"name": "time_waited_at_pickup",
"type": "long",
"doc": "The time (in seconds) between the enter of the pickup location and the current query time (-1 if not entered yet)",
"default": -1
},
{
"name": "courier_id",
"type": ["null", "long"],
"default": null,
"doc": "The courier_id of the courier for this order"
},
{
"name": "dispatched_to_partner_time",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"default": null,
"doc": "The UNIX timestamp of the time when order was dispatched to the partner"
},
{
"name": "courier_entered_pickup_zone_time",
"type": ["null", "long"],
"logicalType": "timestamp-millis",
"default": null,
"doc": "The UNIX timestamp of the time when courier entered the pickup zone"
},
{
"name": "estimated_preparation_duration",
"type": ["null", "long"],
"default": null,
"doc": "The estimated preparation duration, retrieve from eTP model, in seconds"
},
{
"name": "store_address_id",
"type": ["null", "long"],
"default": null,
"doc": "The store_address_id or null for shipment or quiero"
},
{
"name": "sub_type",
"type": [ "null",
{
"type": "enum",
"name": "Subtype",
"symbols": ["PURCHASE", "SHIPMENT"]
}
],
"default": null,
"doc": "The subtype of the order"
},
{
"name": "is_partner_order",
"type": ["null", "boolean"],
"default": null,
"doc": "It is partner order or not"
},
{
"name": "is_bundled",
"type": ["null", "boolean"],
"default": null,
"doc": "Is the order bundled"
},
{
"name": "eTP_remaining_for_bundles",
"type": [ "null", { "type":"array", "items":"long" } ],
"default": null,
"doc": "eTP remaining in seconds of all the orders, bundled with the current order , null if order is not bundled"
},
{
"name": "preparation_estimation_details_for_bundles",
"type": [ "null",
{
"type":"array",
"items": {
"name": "PreparationDetailsOfOrder",
"type": "record",
"fields":[
{
"name": "eTPo_in_seconds",
"type": ["null", "long"],
"default": null,
"doc": "ETP overall for bundled order in seconds"
},
{
"name": "dispatching_time",
"type": ["null", "long"],
"default": null,
"doc": "The UNIX timestamp for dispatching Time for bundled order in GMT"
}
]
}
}
],
"default": null,
"doc": "Preparation estimation details of all the orders, bundled with the current order, null if order is not bundled"
}
]
}
{
"namespace": "com.glovoapp.dispatching.contracts",
"type": "record",
"name": "EstimatedTimeToPrepareArguments",
"doc": "The input parameters for the Estimated Time to Prepare model described here: https://glovoapp.atlassian.net/wiki/spaces/TECH/pages/904101942/eTP+v2",
"fields": [
{
"name": "orderId",
"type": ["null", "long"],
"doc": "Id of the order that we are predicting for",
"default": null
},
{
"name": "time",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time the order was placed (GMT)"
},
{
"name": "timeZone",
"type": "string",
"doc": "The local time zone of the city the order was placed in"
},
{
"name": "city",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "storeAddressId",
"type": "long",
"doc": "The store address id or -2 for shipment, -3 for quiero"
},
{
"name": "orderType",
"type": {
"type": "enum",
"name": "OrderType",
"symbols": [
"QUIERO",
"COURIER",
"PARTNER",
"FAKE"
],
"doc": "The type of order being placed"
}
},
{
"name": "product_information_details",
"type": [ "null", { "type":"array",
"items":{
"type": "record",
"name": "BoughtProductDetails",
"fields": [
{
"name": "product_id",
"type": ["null", "long"],
"doc": "Id of the purchased product",
"default": null
},
{
"name": "replaced_product_id",
"type": ["null", "long"],
"doc": "Id of the replaced product",
"default": null
},
{
"name": "product_quantity",
"type": ["null", "int"],
"doc": "Quantity of purchased product",
"default": null
},
{
"name": "product_price",
"type": ["null", "int"],
"doc": "Price of purchased product",
"default": null
},
{
"name": "product_name",
"type": ["null", "string"],
"doc": "Name of purchase product",
"default": null
},
{
"name": "product_description",
"type": ["null", "string"],
"doc": "Description of purchased product",
"default": null
}
]
}
}
],
"doc" : "Details of purchased products",
"default" : null
},
{
"name": "productCount",
"type": "long",
"doc": "The number of items ordered - will be DEPRECATED"
},
{
"name": "basketValue",
"type": "long",
"doc": "The total value of the items ordered. Differs from product_price because basketValue also includes the prices of product addons (from bought_product_attributes.price_impact)"
},
{
"name": "meanLast10Minutes",
"type": ["null", "double"],
"doc": "The mean preparation time for orders in the last 10 minutes - will be DEPRECATED"
},
{
"name": "meanLast30Minutes",
"type": ["null", "double"],
"doc": "The mean preparation time for orders in the last 30 minutes - will be DEPRECATED"
},
{
"name": "meanLast60Minutes",
"type": ["null", "double"],
"doc": "The mean preparation time for orders in the last 60 minutes - will be DEPRECATED"
},
{
"name": "meanLast4Weeks",
"type": ["null", "double"],
"doc": "The mean preparation time for orders in the last 4 weeks - will be DEPRECATED"
},
{
"name": "previousOrders10Minutes",
"type": ["null", "long"],
"doc": "The number of orders in the last 10 minutes - will be DEPRECATED",
"default": null
},
{
"name": "previousOrders30Minutes",
"type": ["null", "long"],
"doc": "The number of orders in the last 30 minutes - will be DEPRECATED",
"default": null
},
{
"name": "previousOrders60Minutes",
"type": ["null", "long"],
"doc": "The number of orders in the last 60 minutes - will be DEPRECATED",
"default": null
},
{
"name": "unpickedOrders",
"type": ["null", "long"],
"doc": "The number of unpicked orders waiting in the store - will be DEPRECATED",
"default": null
},
{
"name": "meanWTPLast10Minutes",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup for orders in the last 10 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanWTPLast30Minutes",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup for orders in the last 30 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanWTPLast60Minutes",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup for orders in the last 60 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanDELast10Minutes",
"type": ["null", "double"],
"doc": "The mean dispatched to entering time at pickup for orders in the last 10 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanDELast30Minutes",
"type": ["null", "double"],
"doc": "The mean dispatched to entering time at pickup for orders in the last 30 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanDELast60Minutes",
"type": ["null", "double"],
"doc": "The mean dispatched to entering time at pickup for orders in the last 60 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanRawETPLast10Minutes",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation for orders in the last 10 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanRawETPLast30Minutes",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation for orders in the last 30 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanRawETPLast60Minutes",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation for orders in the last 60 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanCappedETPLast10Minutes",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation for orders in the last 10 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanCappedETPLast30Minutes",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation for orders in the last 30 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "meanCappedETPLast60Minutes",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation for orders in the last 60 minutes for the store address - will be DEPRECATED",
"default": null
},
{
"name": "number_of_unpicked_orders",
"type": ["null", "long"],
"doc": "Number of unpicked orders for the store_address_id or city-subtype (if quiero / shipment order)",
"default": null
},
{
"name": "number_of_orders_last_10_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes",
"default": null
},
{
"name": "number_of_orders_last_30_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes",
"default": null
},
{
"name": "number_of_orders_last_60_min",
"type": ["null", "long"],
"doc": "Number of orders for the store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes",
"default": null
},
{
"name": "mean_preparation_time_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 10 minutes. All in seconds.",
"default": null
},
{
"name": "mean_preparation_time_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_preparation_time_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out censored orders (WTp < 300) order for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_wtp_last_10_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_wtp_last_30_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_wtp_last_60_min",
"type": ["null", "double"],
"doc": "The mean waiting time at pickup as courier pickup_time minus courier entering_time for the store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_10_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_30_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_de_last_60_min",
"type": ["null", "double"],
"doc": "The mean partner dispatching_time to courier entering_time at pickup zone for store_address_id or city-subtype (if quiero / shipment order) over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_10_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_30_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_raw_etp_last_60_min",
"type": ["null", "double"],
"doc": "The mean raw preparation time estimation done by eTP estimator for the store_address_id over the last 60 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_10_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 10 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_30_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 30 minutes in seconds.",
"default": null
},
{
"name": "mean_capped_etp_last_60_min",
"type": ["null", "double"],
"doc": "The mean capped preparation time estimation done by eTP estimator and capped by min-max eTP for the store_address_id over the last 60 minutes in seconds.",
"default": null
},
{
"name": "percentage_of_censored_store_last_10_min",
"type": ["null", "double"],
"doc": "The percentage of orders that are censored for the store_address_id over the last 10 minutes.",
"default": null
},
{
"name": "percentage_of_censored_store_last_30_min",
"type": ["null", "double"],
"doc": "The percentage of orders that are censored for the store_address_id over the last 30 minutes.",
"default": null
},
{
"name": "percentage_of_censored_store_last_60_min",
"type": ["null", "double"],
"doc": "The percentage of orders that are censored for the store_address_id over the last 60 minutes.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_0_min_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 0 minutes earlier (DE - eTP < 0) for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_2_min_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 2 minutes earlier (DE - eTP < -2) for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_4_min_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 4 minutes earlier (DE - eTP < -4) for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_6_min_last_10_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 4 minutes earlier (DE - eTP < -6) for the store_address_id if PARTNER order over the last 10 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_0_min_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 0 minutes earlier (DE - eTP < 0) for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_2_min_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 2 minutes earlier (DE - eTP < -2) for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_4_min_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 4 minutes earlier (DE - eTP < -4) for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_6_min_last_30_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 4 minutes earlier (DE - eTP < -6) for the store_address_id if PARTNER order over the last 30 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 30 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_0_min_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 0 minutes earlier (DE - eTP < 0) for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_2_min_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 2 minutes earlier (DE - eTP < -2) for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_4_min_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 4 minutes earlier (DE - eTP < -4) for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "mean_dp_couriers_earlier_than_6_min_last_60_min",
"type": ["null", "double"],
"doc": "Mean time from partner dispatching_time until courier pickup_time filtering out order for which the courier arrived 6 minutes earlier (DE - eTP < -6) for the store_address_id if PARTNER order over the last 60 minutes. Mean waiting time (from courier entering_time to courier pickup_time) for store_address_id if FAKE or for city-subtype if QUIERO / SHIPMENT order over the last 60 minutes. All in seconds.",
"default": null
},
{
"name": "unpicked_basket_value",
"type": ["null", "long"],
"doc": "Sum of basket values for all unpicked orders",
"default": null
},
{
"name": "unpicked_products",
"type": ["null", "long"],
"doc": "Sum of number of products in unpicked orders",
"default": null
},
{
"name": "unpicked_distinct_products",
"type": ["null", "long"],
"doc": "Sum of number of distinct products in unpicked orders",
"default": null
}
]
}
{
"name": "fraud-cash-arrear-input",
"namespace": "ds-fraud",
"type" : "record",
"fields" : [ {
"name" : "checkpoint",
"type" : "string",
"symbols": ["checkout", "refund", "card_add"]
},
{
"name" : "decision_id",
"type" : "string"
},
{
"name" : "source",
"type" : ["string", "null"]
},
{
"name" : "features",
"type" : "string"
}
],
"doc:" : "Schema of available Risk Engine features."
}
{
"name": "fraud-cash-unpaid-input",
"namespace": "ds-fraud",
"type" : "record",
"fields" : [ {
"name" : "checkpoint",
"type" : "string",
"symbols": ["checkout", "refund", "card_add"]
},
{
"name" : "decision_id",
"type" : "string"
},
{
"name" : "source",
"type" : ["string", "null"]
},
{
"name" : "features",
"type" : "string"
}
],
"doc:" : "Schema of available Risk Engine features."
}
{
"name": "fraud-cash-unpaid-urs-input",
"namespace": "ds-fraud",
"type" : "record",
"fields" : [ {
"name" : "checkpoint",
"type" : "string",
"symbols": ["checkout", "refund", "card_add"]
},
{
"name" : "decision_id",
"type" : "string"
},
{
"name" : "source",
"type" : ["string", "null"]
},
{
"name" : "features",
"type" : "string"
}
],
"doc:" : "Schema of available Risk Engine features."
}
{
"name": "fraud-network-promoabuse-input",
"namespace": "ds-fraud",
"type": "record",
"fields": [
{
"name": "city",
"type": "string"
},
{
"name": "subtype",
"type": {
"type": "enum",
"name": "Subtype",
"symbols": ["PURCHASE", "SHIPMENT"]
}
},
{
"name": "transport",
"type": {
"type": "enum",
"name": "Transport",
"symbols": ["WALKER", "BICYCLE", "MOTORBIKE", "CAR"]
}
},
{
"name": "number_of_points",
"type": "int"
},
{
"name": "total_price",
"type": "int"
}
]
}
{
"name": "groceries-reco-input",
"namespace": "search-and-discovery",
"type": "record",
"fields": [
{
"name": "city",
"type": "string"
},
{
"name": "subtype",
"type": {
"type": "enum",
"name": "Subtype",
"symbols": ["PURCHASE", "SHIPMENT"]
}
},
{
"name": "transport",
"type": {
"type": "enum",
"name": "Transport",
"symbols": ["WALKER", "BICYCLE", "MOTORBIKE", "CAR"]
}
},
{
"name": "number_of_points",
"type": "int"
},
{
"name": "total_price",
"type": "int"
}
]
}
{
"name": "image-embeddings-project-input",
"namespace": "central-ds",
"type": "record",
"fields": [
{
"name": "city",
"type": "string"
},
{
"name": "subtype",
"type": {
"type": "enum",
"name": "Subtype",
"symbols": ["PURCHASE", "SHIPMENT"]
}
},
{
"name": "transport",
"type": {
"type": "enum",
"name": "Transport",
"symbols": ["WALKER", "BICYCLE", "MOTORBIKE", "CAR"]
}
},
{
"name": "number_of_points",
"type": "int"
},
{
"name": "total_price",
"type": "int"
}
]
}
{
"name": "mlp-seminar-estimator-input",
"namespace": "central-ds",
"type": "record",
"fields": [
{
"name": "city",
"type": "string"
},
{
"name": "basket_n_items",
"type": "int"
},
{
"name": "mcd_partner",
"type": "boolean"
},
{
"name": "is_groceries",
"type": "boolean"
}
]
}
{
"name": "MultiCategoryRecommenderInput",
"type": "record",
"namespace": "com.glovoapp.events",
"fields": [
{
"name": "city_code",
"type": "string"
},
{
"name": "user_id",
"type": "long"
},
{
"name": "top_n",
"type": ["null", "long"],
"default": null,
"doc": "Maximum size of output store IDs. Default will return the whole input list of store IDs."
},
{
"name": "store_ids",
"type": {
"type": "array",
"items": "long"
},
"doc": "List of available store IDs"
}
]
}
{
"name": "multicategory-order-propensity-input",
"namespace": "central-ds",
"type": "record",
"fields": [
{
"name": "city",
"type": "string"
},
{
"name": "subtype",
"type": {
"type": "enum",
"name": "Subtype",
"symbols": ["PURCHASE", "SHIPMENT"]
}
},
{
"name": "transport",
"type": {
"type": "enum",
"name": "Transport",
"symbols": ["WALKER", "BICYCLE", "MOTORBIKE", "CAR"]
}
},
{
"name": "number_of_points",
"type": "int"
},
{
"name": "total_price",
"type": "int"
}
]
}
{
"namespace": "gx_data_science",
"type": "record",
"name": "order_reassignment_input",
"doc": "The input parameters for the Estimated Order Reassignment model described here",
"fields": [
{
"name": "order_id",
"type": "long",
"doc": "Id of the order that we are predicting for"
},
{
"name": "courier_id",
"type": "long",
"doc": "Id of the courier that we are predicting for"
},
{
"name": "transport",
"type": "string",
"doc": "The transport type of the Glover"
},
{
"name": "geo_city_code",
"type": "string",
"doc": "The code for the city where the order was placed"
},
{
"name": "event_order_creation_time_local",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time when the order is created in local timezone"
},
{
"name": "event_order_activation_time_local",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time when the order is activate in local timezone"
},
{
"name": "event_assignment_first_time_local",
"type": "long",
"logicalType": "timestamp-millis",
"doc": "The UNIX timestamp of the time when the order is assigned in local timezone"
},
{
"name": "geo_courier_location_latitude",
"type": "double",
"doc": "Latitude of the courier_location"
},
{
"name": "geo_courier_location_longitude",
"type": "double",
"doc": "Longitude of the courier_location"
},
{
"name": "geo_pickup_latitude",
"type": "double",
"doc": "Latitude of pickup point"
},
{
"name": "geo_pickup_longitude",
"type": "double",
"doc": "Longitude of pickup point"
},
{
"name": "geo_delivery_latitude",
"type": "double",
"doc": "Latitude of delivery point"
},
{
"name": "geo_delivery_longitude",
"type": "double",
"doc": "Longitude of delivery point"
},
{
"name": "live_order_purchases_estimated_price",
"type": "int",
"doc": "The estimation price of the order"
},
{
"name": "live_order_is_partner",
"type": "boolean",
"doc": "If the order is partner or not"
},
{
"name": "live_order_is_food",
"type": "boolean",
"doc": "If the order is food or not"
},
{
"name": "store_address_id",
"type": "long",
"doc": "Store address id"
},
{
"name": "live_order_items_number",
"type": "int",
"doc": "The number of the order items"
},
{
"name": "live_order_has_weather_surcharge",
"type": "boolean",
"doc": "If the order has weather surcharge - bad weather"
},
{
"name": "live_order_delivery_fee",
"type": "int",
"doc": "Order delivery fee default value"
},
{
"name": "live_order_free_delivery",
"type": "boolean",
"doc": "If the order has free delivery or not"
},
{
"name": "live_order_amount_shown_to_courier",
"type": "int",
"doc": "Order amount shown in the Glover app"
},
{
"name": "is_groceries",
"type": "boolean",
"doc": "If the order was groceries"
},
{
"name": "live_order_number_of_reassignment",
"type": "int",
"doc": "How many times the order got reassigned already"
},
{
"name": "live_order_subtype",
"type": "string",
"doc": "The order subtype - PURCHASE and SHIPMENT expected"
},
{
"name": "live_order_origin",
"type": "string",
"doc": "The order origin - STORES and CUSTOM expected"
}
]
}
{
"name": "PartnerPerformanceInput",
"type": "record",
"namespace": "com.glovoapp.events",
"fields": [
{
"name": "city_code",
"type": "string"
},
{
"name": "user_id",
"type": "long"
},
{
"name": "top_n",
"type": ["null", "long"],
"default": null,
"doc": "Maximum size of output store IDs. If not specified, the API will return the maximum size given by the model."
},
{
"name": "store_ids",
"type": {
"type": "array",
"items": "long"
},
"doc": "List of available store IDs"
}
]
}
{
"name": "StoreRankingInput",
"type": "record",
"namespace": "com.glovoapp.events",
"fields": [
{
"name": "city_code",
"type": "string"
},
{
"name": "localised_user_timestamp",
"type": "string",
"doc": "Format should be like: 2011-07-14T19:43:37+0100"
},
{
"name": "model_name",
"type": "string",
"doc": "Custom internal model name, contact Search and Discovery DS team"
},
{
"name": "store_ids",
"type": {
"type": "array",
"items": "long"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment