The property value will be transformed to uppercase automatically.
Testing: TODO list

Documentation

IATA airline designator
two-character identifier for an airline
DescriptionIATA two-character code for identifying airlines - airline code (Q741701). For airports, rather use IATA airport code (P238).
RepresentsIATA airline code (Q11976628)
Data typeString
Template parameter"IATA" in en:Template:Infobox Airline
Domain
According to this template: instances of airline (Q46970)
According to statements in the property:
airline (Q46970) or railway company (Q249556)
When possible, data should only be stored as statements
Allowed values
According to this template: 2 alphanumeric characters (uppercase)
According to statements in the property:
[A-Z0-9]{2}
When possible, data should only be stored as statements
ExampleMalaysia Airlines (Q308952) → MH
Turkish Airlines (Q4548) → TK
Blue Wings (Q685605) → QW
Sourceairline code (Q741701) (note: this information should be moved to a property statement; use property source website for the property (P1896))
Tracking: usageCategory:Pages using Wikidata property P229 (Q28039792)
See alsoIATA airport code (P238), ICAO airline designator (P230), flight number (P3090), callsign of airline (P432)
Lists
Proposal discussionProposal discussion
Current uses
Total2,847
Main statement2,84399.9% of uses
Qualifier30.1% of uses
Reference1<0.1% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Type “airline (Q46970), railway company (Q249556): item must contain property “instance of (P31)” with classes “airline (Q46970), railway company (Q249556)” or their subclasses (defined using subclass of (P279)). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P229#Type Q46970, Q249556, SPARQL
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P229#Single value, SPARQL
Format “[A-Z0-9]{2}: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P229#Format, SPARQL
Scope is as main value (Q54828448): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P229#Scope, hourly updated report, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
List of violations of this constraint: Database reports/Constraint violations/P229#Entity types, hourly updated report

Proposal - Change Data type of IATA airline designator (P229) from String to External identifier edit

I think String is the wrong type for IATA airline designator (P229). Can we please change it to be External identifier.

As per Help:Data_type#Changing_datatype please indicate support/opposition below. Iwan.Aucamp (talk) 16:52, 15 October 2019 (UTC)Reply

Discussion edit

  •   Oppose The codes are frequently recycled, and some are even reused simultaneously in different regions. "MV" has been used by at least 8 airlines (at least there 8 Wikidata items with that value). ArthurPSmith (talk) 17:16, 15 October 2019 (UTC)Reply
Return to "P229" page.