diff --git a/config/dispatcher/dispatcher.ex b/config/dispatcher/dispatcher.ex index 4fb7526..7463528 100644 --- a/config/dispatcher/dispatcher.ex +++ b/config/dispatcher/dispatcher.ex @@ -125,6 +125,10 @@ defmodule Dispatcher do Proxy.forward conn, path, "http://resource/organization-status-codes/" end + match "/locations/*path", %{ accept: [:json], layer: :api} do + Proxy.forward conn, path, "http://resource/locations/" + end + ############################################################### # sparql endpoint ############################################################### diff --git a/config/resources/domain.json b/config/resources/domain.json index 6eb616c..8faef9a 100644 --- a/config/resources/domain.json +++ b/config/resources/domain.json @@ -22,7 +22,8 @@ "prov": "http://www.w3.org/ns/prov#", "ere": "http://data.lblod.info/vocabularies/erediensten/", "ch": "http://data.lblod.info/vocabularies/contacthub/", - "code": "http://lblod.data.gift/vocabularies/organization/" + "code": "http://lblod.data.gift/vocabularies/organization/", + "ext": "http://mu.semte.ch/vocabularies/ext/" }, "resources": { "people": { @@ -489,7 +490,7 @@ "new-resource-base": "http://data.vlaanderen.be/id/concept/BestuursorgaanClassificatieCode/" }, "public-involvements": { - "class": "ere:PubliekeBetrokkenheid", + "class": "ere:BetrokkenLokaleBesturen", "attributes": { "percentage": { "type": "number", @@ -508,7 +509,7 @@ "cardinality": "one" } }, - "new-resource-base": "http://data.lblod.info/id/BetrokkenLokaleBesturen/" + "new-resource-base": "http://data.lblod.info/id/betrokkenLokaleBesturen/" }, "identifiers": { "class": "adms:Identifier",