From e7e76c187bb1e2adbb4d92fcd3c4186439afef35 Mon Sep 17 00:00:00 2001 From: mirdono Date: Wed, 21 May 2025 19:22:52 +0200 Subject: [PATCH] feat: allow a location to be within multiple other locations Due to the restriction that an organisation can have only 1 location (nl. werkingsgebied) we need to create ad-hoc locations containing multiple locations. As such enforcing that a location can only be contained in a single other location is too restrictive. For example, this would prevent the same municipality location to be within two (or more) different locations for different organisations. --- config/resources/domain.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/resources/domain.json b/config/resources/domain.json index 76a02a7..f335d76 100644 --- a/config/resources/domain.json +++ b/config/resources/domain.json @@ -945,7 +945,7 @@ "located-within": { "predicate": "geo:sfWithin", "target": "locations", - "cardinality": "one" + "cardinality": "many" }, "locations": { "predicate": "geo:sfWithin",