You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/travelimpactmodel_v1.flights.html
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -124,6 +124,21 @@ <h3>Method Details</h3>
124
124
{ # Output definition for the ComputeFlightEmissions response.
125
125
"flightEmissions": [ # List of flight legs with emission estimates.
126
126
{ # Direct flight with emission estimates.
127
+
"contrailsImpactBucket": "A String", # Optional. The significance of contrails warming impact compared to the total CO2e emissions impact.
128
+
"easaLabelMetadata": { # Metadata about the EASA Flight Emissions Label. # Optional. Metadata about the EASA Flight Emissions Label. Only set when the emissions data source is EASA.
129
+
"labelExpiryDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date when the label expires. The label can be displayed until the end of this date.
130
+
"day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
131
+
"month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
132
+
"year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
133
+
},
134
+
"labelIssueDate": { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # The date when the label was issued.
135
+
"day": 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
136
+
"month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
137
+
"year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
138
+
},
139
+
"labelVersion": "A String", # Version of the label.
140
+
"safDiscountPercentage": 3.14, # Sustainable Aviation Fuel (SAF) emissions discount percentage applied to the label. It is a percentage as a decimal. The values are in the interval [0,1]. For example, 0.0021 means 0.21%. This discount and reduction in emissions are reported by the EASA label but they are not included in the CO2e estimates distributed by this API.
141
+
},
127
142
"emissionsGramsPerPax": { # Grouped emissions per seating class results. # Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions.
128
143
"business": 42, # Emissions for one passenger in business class in grams. This field is always computed and populated, regardless of whether the aircraft has business class seats or not.
129
144
"economy": 42, # Emissions for one passenger in economy class in grams. This field is always computed and populated, regardless of whether the aircraft has economy class seats or not.
@@ -141,6 +156,7 @@ <h3>Method Details</h3>
141
156
"operatingCarrierCode": "A String", # Required. IATA carrier code, e.g. "AA".
142
157
"origin": "A String", # Required. IATA airport code for flight origin, e.g. "LHR".
143
158
},
159
+
"source": "A String", # Optional. The source of the emissions data.
144
160
},
145
161
],
146
162
"modelVersion": { # Travel Impact Model version. For more information about the model versioning see [GitHub](https://github.com/google/travel-impact-model/#versioning). # The model version under which emission estimates for all flights in this response were computed.
"description": "Metadata about the EASA Flight Emissions Label.",
225
+
"id": "EasaLabelMetadata",
226
+
"properties": {
227
+
"labelExpiryDate": {
228
+
"$ref": "Date",
229
+
"description": "The date when the label expires. The label can be displayed until the end of this date."
230
+
},
231
+
"labelIssueDate": {
232
+
"$ref": "Date",
233
+
"description": "The date when the label was issued."
234
+
},
235
+
"labelVersion": {
236
+
"description": "Version of the label.",
237
+
"type": "string"
238
+
},
239
+
"safDiscountPercentage": {
240
+
"description": "Sustainable Aviation Fuel (SAF) emissions discount percentage applied to the label. It is a percentage as a decimal. The values are in the interval [0,1]. For example, 0.0021 means 0.21%. This discount and reduction in emissions are reported by the EASA label but they are not included in the CO2e estimates distributed by this API.",
241
+
"format": "double",
242
+
"type": "number"
243
+
}
244
+
},
245
+
"type": "object"
246
+
},
223
247
"EmissionsGramsPerPax": {
224
248
"description": "Grouped emissions per seating class results.",
225
249
"id": "EmissionsGramsPerPax",
@@ -279,13 +303,47 @@
279
303
"description": "Direct flight with emission estimates.",
280
304
"id": "FlightWithEmissions",
281
305
"properties": {
306
+
"contrailsImpactBucket": {
307
+
"description": "Optional. The significance of contrails warming impact compared to the total CO2e emissions impact.",
308
+
"enum": [
309
+
"CONTRAILS_IMPACT_UNSPECIFIED",
310
+
"CONTRAILS_IMPACT_NEGLIGIBLE",
311
+
"CONTRAILS_IMPACT_MODERATE",
312
+
"CONTRAILS_IMPACT_SEVERE"
313
+
],
314
+
"enumDescriptions": [
315
+
"The contrails impact is unspecified.",
316
+
"The contrails impact is negligible compared to the total CO2e emissions.",
317
+
"The contrails impact is comparable to the total CO2e emissions.",
318
+
"The contrails impact is higher than the total CO2e emissions impact."
319
+
],
320
+
"type": "string"
321
+
},
322
+
"easaLabelMetadata": {
323
+
"$ref": "EasaLabelMetadata",
324
+
"description": "Optional. Metadata about the EASA Flight Emissions Label. Only set when the emissions data source is EASA."
325
+
},
282
326
"emissionsGramsPerPax": {
283
327
"$ref": "EmissionsGramsPerPax",
284
328
"description": "Optional. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see ComputeFlightEmissions."
285
329
},
286
330
"flight": {
287
331
"$ref": "Flight",
288
332
"description": "Required. Matches the flight identifiers in the request. Note: all IATA codes are capitalized."
333
+
},
334
+
"source": {
335
+
"description": "Optional. The source of the emissions data.",
336
+
"enum": [
337
+
"SOURCE_UNSPECIFIED",
338
+
"TIM",
339
+
"EASA"
340
+
],
341
+
"enumDescriptions": [
342
+
"The source of the emissions data is unspecified.",
343
+
"The emissions data is from the Travel Impact Model.",
344
+
"The emissions data is from the EASA environmental labels."
0 commit comments