Key types

From OpenStreetMap Wiki
Jump to navigation Jump to search

Key types to be used with data items. For every key item the property key type (P9) should be set with a key type item.

Available types

How to create a new key type

Create a new data item and set instance of (P2)=key type (Q23552). Set subclass of (P3)=well-known values (Q8)/infinite values (Q23617) if appropriate.

Other useful properties for key types are value validation regex (P13), formatter URL (P8), and Wikidata concept (P12)/Wikidata equivalent (P7).