Companies carry external identifiers, starting with a Wikidata id #42
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Postulo/postulo#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observation
What exists today
A company is a name, per person (
jobs/models.py,Company, unique on owner and name). Nothing ties "Aperture Science" in one account to the same employer in another, to a public record, or to a future data source. The industries vocabulary (#39) gave companies their first structured attribute; identifiers are the second.Shape
CompanyIdentifiermodel: company,scheme,value; unique per (company, scheme) and per (owner, scheme, value), so one account cannot give two companies the same Wikidata id.schemeis a choice with room to grow: Wikidata (Q...) first; then the ones people actually have to hand: a LEI (ISO 17442, 20 characters), a national company register number (VAT / SIREN / NIPC, with the country), a LinkedIn company slug, a Crunchbase slug, an OpenCorporates id. Each scheme knows how to validate its value and how to build a link to it.Qfollowed by digits, linking tohttps://www.wikidata.org/wiki/Q.... Later, behind a deliberate per-request action and never automatically, a Look up on Wikidata button that searches the label and offers matches, and a Fill from Wikidata that pulls the official website, headquarters and industry (P452) into the company. That is a plugin-shaped feature and a network request, so it waits for the person to ask.identifiers: [{scheme, value, url}]on companies and accepts them on create and patch,seed_demogives a few companies an id.get_or_create_companykeeps matching by name; a Wikidata id, when both sides have one, is a stronger match for the CSV importer (#31) and for capture plugins that know the employer's id.Classification
Enhancement. Not breaking: a new table, nothing changes for a company without identifiers.
Open questions