Wikidata:Property proposal/GS1 country codes

GS1 country codes edit

DescriptionThe GS1 Prefix, the first three digits, usually identifying the national GS1 Member Organization to which the manufacturer is registered (not necessarily where the product is actually made).
Data typeString
Domaincountries
Allowed valuesthree digits
ExampleUnited States of America (Q30)→ 000, ..., 019, 060, ..., 099 (together with (P1706) Canada (Q16)), 030, ..., 039, 100, ..., 139
Sourcew:List of GS1 country codes
Robot and gadget jobsNo
Motivation

How to deal with so many values? GZWDer (talk) 20:32, 10 July 2016 (UTC)[reply]

Discussion
Maybe reverse the relationship - that is, add items for each country code or use existing integer values, and give them a property "country this is a GS1 code for"? ArthurPSmith (talk) 19:06, 28 July 2016 (UTC)[reply]
  Support This seems useful. I don't see why we should reverse the relationship. This seems to be a property of the country. --Srittau (talk) 11:30, 9 August 2016 (UTC)[reply]

@GZWDer, ArthurPSmith, Srittau:   Done, now GS1 country code (P3067). Note: I'd add multiple values per country if necessary, and not create shortcuts (which is possible with this datatype). Lymantria (talk) 19:54, 9 August 2016 (UTC)[reply]

After realizing how many values this needs, I will change the regex to make entries like "100-139" possible. Lymantria (talk) 20:41, 9 August 2016 (UTC)[reply]