fix(parsers): support official product registry headers
All checks were successful
CI/CD Pipeline / Quality Gate (push) Successful in 20s
CI/CD Pipeline / Build and Push Images (push) Successful in 6s
CI/CD Pipeline / Internal Notify (push) Successful in 1s
CI/CD Pipeline / Deploy Dev in Dokploy (push) Successful in 1s

This commit is contained in:
2026-04-28 23:05:48 +02:00
parent 01387ae13b
commit b2355b0e63
2 changed files with 84 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ HEADER_ALIASES = {
"наименование организации",
"организация",
"full_organisation_name",
"Nameoforg",
"Name of org",
},
"ogrn": {"огрн", "ogrn"},
"inn": {"инн", "inn"},
@@ -40,12 +42,16 @@ HEADER_ALIASES = {
"реестровый номер",
"номер реестровой записи",
"registry_number",
"Registernumber",
"Register number",
},
"product_name": {
"наименование продукции",
"наименование промышленной продукции",
"продукция",
"product_name",
"Productname",
"Product name",
},
"product_model": {
"модель или модификация",
@@ -57,12 +63,14 @@ HEADER_ALIASES = {
"код по окпд2",
"окпд2",
"okpd2_code",
"OKPD2",
},
"tnved_code": {
"код по тн вэд",
"тн вэд",
"тнвэд",
"tnved_code",
"TNVED",
},
"regulatory_document": {
"наименование нормативного документа",