Wikidata:Property proposal/BAN ID

BAN ID

edit

Originally proposed at Wikidata:Property proposal/Place

   Done: BAN ID (P12053) (Talk and documentation)
Descriptionidentifier for a place on the BAN
RepresentsNational Address Base (Q19942326)
Data typeExternal identifier
Domainphysical location (Q17334923)
Allowed values[1-9AB]{5}(_[1-9]{4})*
Example 1rue Bollac (Q110264581)30006_0025
Example 2Aimargues (Q243915)30006
Example 3rue de Paris (Q19346993)35238_7090
Formatter URLhttps://adresse.data.gouv.fr/base-adresse-nationale/$1

  Notified participants of WikiProject France. 92.184.99.184 21:24, 19 September 2023 (UTC)[reply]

  Support. Ayack (talk) 07:21, 20 September 2023 (UTC)[reply]

  • I think you're right. It makes the regex a little more complicated but, the following seems to work: [0-9AB]{5}(_[0-9]{4}(_[0-9]{5})?|_[a-z]+)?
Infrastruktur (talk) 18:01, 29 September 2023 (UTC)[reply]
I don't have any strong objections to the suggestion of changing the regex to the most appropriate one, so you may proceed. By the way, thank you for rewriting the regex. Regards Kirilloparma (talk) 01:33, 30 September 2023 (UTC)[reply]