From f69668c5e90d1268ffea2313da66224edcff31e9 Mon Sep 17 00:00:00 2001 From: Boris De Vloed Date: Fri, 26 Jun 2026 13:47:59 +0200 Subject: [PATCH] Added orgs --- CHANGELOG.md | 7 ++++ ...ervoerregioraad-governing-body-codes.graph | 1 + ...-vervoerregioraad-governing-body-codes.ttl | 35 +++++++++++++++++++ config/resources/domain.json | 4 +++ config/search/config.json | 13 +++++++ 5 files changed, 60 insertions(+) create mode 100644 config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100100-add-vervoerregioraad-governing-body-codes.graph create mode 100644 config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100100-add-vervoerregioraad-governing-body-codes.ttl diff --git a/CHANGELOG.md b/CHANGELOG.md index a24611b..c7458f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Frontend [v1.38.0] - Added Juridische vorm [OP-3816] [OP-3820] - Frontend [v1.39.0] +- Add new organization types (interlokale vereniging, vervoerregioraad, zorgraad, bosgroep, woonmaatschappij); add werkingsgebied (dct:spatial) to registered organizations [OP-3828] ### Deploy notes ``` @@ -19,6 +20,12 @@ drc up -d frontend scope-of-operation drc restart cache resource ``` +Release construct-organization-relationships-service first (build + publish image), then bump its tag in docker-compose. Then: +``` +drc pull construct-organization-relationships && drc up -d construct-organization-relationships +drc restart migrations resource cache +``` + ## v1.40.0 - Query to check missing address URI's [OP-3784] - Create new query 'organisations shown in OP frontend' in Dashboard [OP-3774] diff --git a/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100100-add-vervoerregioraad-governing-body-codes.graph b/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100100-add-vervoerregioraad-governing-body-codes.graph new file mode 100644 index 0000000..092c3a9 --- /dev/null +++ b/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100100-add-vervoerregioraad-governing-body-codes.graph @@ -0,0 +1 @@ +http://mu.semte.ch/graphs/public diff --git a/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100100-add-vervoerregioraad-governing-body-codes.ttl b/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100100-add-vervoerregioraad-governing-body-codes.ttl new file mode 100644 index 0000000..81fa2d2 --- /dev/null +++ b/config/migrations/2026/20260619100000-onboarding-new-org-types/20260619100100-add-vervoerregioraad-governing-body-codes.ttl @@ -0,0 +1,35 @@ +# Governing body (bestuursorgaan) + mandate (bestuursfunctie) codes for the Vervoerregioraad. +# The vervoerregioraad is itself the deliberative organ (no AV/RvB substructure); members + a +# (dual) voorzitter. URIs under data.vlaanderen.be (to be published), matching existing codes. +# NOTE (business to confirm): exact role set + the dual voorzitterschap (gemeente-vertegenwoordiger +# + Departement MOW) — modeled here as a single Voorzitter + Lid. +@prefix rdf: . +@prefix skos: . +@prefix mu: . +@prefix ext: . +@prefix code: . +@prefix scheme: . + +# --- Bestuursorgaan: the Vervoerregioraad itself --- + + rdf:type code:BestuursorgaanClassificatieCode , skos:Concept , ext:BestuursorgaanClassificatieCode ; + mu:uuid "a04a5fb1-b79c-4b8d-a664-c5410d466d49" ; + skos:prefLabel "Vervoerregioraad" ; + skos:inScheme . + +# --- Bestuursfunctie codes (mandate roles) applying to the Vervoerregioraad --- + + rdf:type code:BestuursfunctieCode ; + mu:uuid "540f3be6-73ed-4935-9de7-30997bab379c" ; + skos:prefLabel "Voorzitter van de vervoerregioraad" ; + ext:appliesTo ; + skos:topConceptOf scheme:BestuursfunctieCode ; + skos:inScheme scheme:BestuursfunctieCode , . + + + rdf:type code:BestuursfunctieCode ; + mu:uuid "1093c55c-84d5-424b-980e-8b2ca32dc445" ; + skos:prefLabel "Lid van de vervoerregioraad" ; + ext:appliesTo ; + skos:topConceptOf scheme:BestuursfunctieCode ; + skos:inScheme scheme:BestuursfunctieCode , . diff --git a/config/resources/domain.json b/config/resources/domain.json index e8845a5..16e3eac 100644 --- a/config/resources/domain.json +++ b/config/resources/domain.json @@ -542,6 +542,10 @@ "label": { "type": "string", "predicate": "skos:prefLabel" + }, + "alt-label": { + "type": "string", + "predicate": "skos:altLabel" } }, "new-resource-base": "http://data.vlaanderen.be/id/concept/OrganizationClassificationCode/" diff --git a/config/search/config.json b/config/search/config.json index d15f2c6..a342e94 100644 --- a/config/search/config.json +++ b/config/search/config.json @@ -663,6 +663,10 @@ "http://www.w3.org/ns/org#classification", "http://www.w3.org/2004/02/skos/core#prefLabel" ], + "classification_alternative_name": [ + "http://www.w3.org/ns/org#classification", + "http://www.w3.org/2004/02/skos/core#altLabel" + ], "status": [ "http://www.w3.org/ns/regorg#orgStatus", "http://www.w3.org/2004/02/skos/core#prefLabel" @@ -745,6 +749,15 @@ } } }, + "classification_alternative_name": { + "type": "text", + "fields": { + "field": { + "type": "keyword", + "normalizer": "custom_sort_normalizer" + } + } + }, "status": { "type": "text", "fields": {