{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amadeus/refs/heads/main/json-schema/flight-choice-prediction-co2-emission-schema.json", "title": "Co2Emission", "description": "Co2Emission schema from Flight Choice Prediction", "type": "object", "properties": { "weight": { "description": "Weight of Co2 emitted for the concerned segment", "type": "integer", "example": 90 }, "weightUnit": { "description": "Code to qualify unit as pounds or kilos", "type": "string", "example": "KG" }, "cabin": { "description": "quality of service offered in the cabin where the seat is located in this flight. Economy, premium economy, business or first class", "type": "string", "enum": [ "ECONOMY", "PREMIUM_ECONOMY", "BUSINESS", "FIRST" ], "example": "PREMIUM_ECONOMY" } } }