From ebc109974199bba493d05cc4d762cebc78f95533 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 24 Jul 2023 10:35:48 +0200 Subject: [PATCH] Preset/stolperstein: Remove memorial:addr field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `prerequisiteTag` did work nicely. However, the `"type": "address"` only allows to set `addr:*` keys, so we cannot re used it as is. Removing it for now… --- .../memorial/{addr_string.json => addr.json} | 0 data/fields/memorial/addr_addr.json | 14 -------------- .../presets/historic/memorial/stolperstein-EU.json | 3 +-- 3 files changed, 1 insertion(+), 16 deletions(-) rename data/fields/memorial/{addr_string.json => addr.json} (100%) delete mode 100644 data/fields/memorial/addr_addr.json diff --git a/data/fields/memorial/addr_string.json b/data/fields/memorial/addr.json similarity index 100% rename from data/fields/memorial/addr_string.json rename to data/fields/memorial/addr.json diff --git a/data/fields/memorial/addr_addr.json b/data/fields/memorial/addr_addr.json deleted file mode 100644 index 238c70c20..000000000 --- a/data/fields/memorial/addr_addr.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "type": "address", - "key": "memorial:addr", - "keys": [ - "memorial:addr:city", - "memorial:addr:street", - "memorial:addr:postcode", - "memorial:addr:housenumber" - ], - "label": "Nearest Building Address", - "prerequisiteTag": { - "key": "memorial:addr:street" - } -} diff --git a/data/presets/historic/memorial/stolperstein-EU.json b/data/presets/historic/memorial/stolperstein-EU.json index 6b883c051..b0bd468e3 100644 --- a/data/presets/historic/memorial/stolperstein-EU.json +++ b/data/presets/historic/memorial/stolperstein-EU.json @@ -6,8 +6,7 @@ "wikidata" ], "moreFields": [ - "memorial/addr_string", - "memorial/addr_addr", + "memorial/addr", "subject/wikidata", "image", "wikimedia_commons",