Open main menu

Wikidata:Property proposal/Harmonized System Code

Harmonized System CodeEdit

Originally proposed at Wikidata:Property proposal/Generic

Descriptioncode in the Harmonized System for a category of object traded internationally
RepresentsHarmonized System Code (Q55237506)
Data typeString
Domainobject (Q488383)
Allowed valuesregex: \d{2}(\d{2}){0,2}
Example 1beer (Q44) → 2203
Example 2oscilloscope (Q174320) → 903020
Example 3cigarette (Q1578) → 240220
Example 4citrus fruit (Q2574750) → 0805
SourceUN Comtrade Commodity Classifications (also see Harmonized Commodity Description and Coding Systems (HS))
Number of IDs in source~39000
Expected completenesseventually complete (Q21873974)


Codes within the Harmonized System are used globally to classify goods, products and objects for customs purposes when they are traded internationally between country borders. The Harmonized System is a taxonomy where each level in the taxonomoy is assigned a code. The World Customs Organization maintains this system on behalf of the 200+ member countries, so the applicability of these codes is very global and widely adopted. Dhx1 (talk) 14:46, 28 June 2018 (UTC)


  •   Comment Since it is described as a "category" or to "classify" things, can you describe whether you expect it to satisfy the uniqueness constraint we expect of identifiers (there should never be two items with the same value)? ArthurPSmith (talk) 17:56, 28 June 2018 (UTC)
  •   Comment @ArthurPSmith: I forgot that rule about external-id! I've changed the data type to string instead as this is more appropriate. Dhx1 (talk) 01:06, 30 June 2018 (UTC)
  •   Support Ok, this makes sense then, thanks. ArthurPSmith (talk) 01:44, 30 June 2018 (UTC)
  •   Support David (talk) 09:29, 30 June 2018 (UTC)

@ديفيد عادل وهبة خليل 2, ArthurPSmith, Dhx1:   Done: Harmonized System Code (P5471). − Pintoch (talk) 08:05, 17 July 2018 (UTC)