Airline Models¶
- pydantic model flight_radar.models.airline.Airline¶
Bases:
BaseModel
Show JSON schema
{ "title": "Airline", "type": "object", "properties": { "icao": { "description": "Airline ICAO code", "title": "Icao", "type": "string" }, "name": { "description": "Name of the airline", "title": "Name", "type": "string" }, "iata": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Airline IATA code", "title": "Iata" } }, "required": [ "icao", "name" ] }
- Fields:
-
field iata:
str
|None
= None¶ Airline IATA code
-
field icao:
str
[Required]¶ Airline ICAO code
-
field name:
str
[Required]¶ Name of the airline