From 2e9c0adc002856d284798cdccb5c8585e15e876c Mon Sep 17 00:00:00 2001 From: blagoja Date: Mon, 8 Apr 2024 12:33:36 +0200 Subject: [PATCH 1/2] Dataset scheme update --- ckanext/kepa/kepa_dataset_schema.yaml | 32 +++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/ckanext/kepa/kepa_dataset_schema.yaml b/ckanext/kepa/kepa_dataset_schema.yaml index 9b34e48..d35d70e 100644 --- a/ckanext/kepa/kepa_dataset_schema.yaml +++ b/ckanext/kepa/kepa_dataset_schema.yaml @@ -41,6 +41,38 @@ dataset_fields: en: Theme sq: Tema sr_Latn: Tema + preset: select + choices: + - value: http://publications.europa.eu/resource/authority/data-theme/AGRI + label: + en: Agriculture, fisheries, forestry and food + sq: Bujqësi, peshkim, pylltari dhe ushqim + sr_Latn: Poljoprivreda, ribarstvo, šumarstvo i hrana + - value: http://publications.europa.eu/resource/authority/data-theme/ENER + label: + en: Energy + sq: Energjisë + sr_Latn: Energija + - value: http://publications.europa.eu/resource/authority/data-theme/ENVI + label: + en: Environment + sq: Mjedisi + sr_Latn: Životna sredina + - value: http://publications.europa.eu/resource/authority/data-theme/HEAL + label: + en: Health + sq: Shëndeti + sr_Latn: Zdravlje + - value: http://publications.europa.eu/resource/authority/data-theme/REGI + label: + en: Regions and cities + sq: Rajonet dhe qytetet + sr_Latn: Regioni i gradovi + - value: http://publications.europa.eu/resource/authority/data-theme/INTR + label: + en: International issues + sq: Çështjet ndërkombëtare + sr_Latn: Međunarodna pitanja - field_name: version label: From ae48acc814d107fd947b33af944e50b8900f04a1 Mon Sep 17 00:00:00 2001 From: blagoja Date: Mon, 8 Apr 2024 14:21:42 +0200 Subject: [PATCH 2/2] Update custom dataset schema --- ckanext/kepa/kepa_dataset_schema.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/ckanext/kepa/kepa_dataset_schema.yaml b/ckanext/kepa/kepa_dataset_schema.yaml index d35d70e..dcbc57f 100644 --- a/ckanext/kepa/kepa_dataset_schema.yaml +++ b/ckanext/kepa/kepa_dataset_schema.yaml @@ -103,9 +103,6 @@ dataset_fields: sq: Kontakti i botuesit sr_Latn: Kontakt izdavača -- field_name: publisher_type - label: Type - - field_name: owner_org label: Organization preset: dataset_organization