0 - Unknown: Code-sharing information is unavailable for this flight. Flight might be operated both by airline owning the flight number as well as by another airliner.
1 - IsOperator: Flight is operated by an airline owning the flight number (the same code)
2 - IsCodeshared: Flight is code-shared (operated by an airline other than airline owning the flight number)
Type: stringProperties: 0
AviationFlightsAerospaceFlight DataAirport Data
CodeshareStatus is a JSON Structure definition published by AeroDataBox. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/aerodatabox/refs/heads/main/json-structure/aerodatabox-codeshare-status-structure.json",
"description": "Flight code-share status<p>Possible values:</p>\r\n<ul>\r\n<li><b>0 - Unknown</b>: Code-sharing information is unavailable for this flight. Flight might be operated both by airline owning the flight number as well as by another airliner.</li>\r\n<li><b>1 - IsOperator</b>: Flight is operated by an airline owning the flight number (the same code)</li>\r\n<li><b>2 - IsCodeshared</b>: Flight is code-shared (operated by an airline other than airline owning the flight number)</li>\r\n</ul>\r\n",
"type": "string",
"enum": [
"Unknown",
"IsOperator",
"IsCodeshared"
],
"name": "CodeshareStatus"
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.