Skip to content

Commit

Permalink
Preset/stolperstein: Update address fields
Browse files Browse the repository at this point in the history
- remove "addr:" field since small usage and discouraged
- add addr_string which is the thing used most often
- update addr_addr to only show if at least "memorial:addr:street" is present
  • Loading branch information
tordans committed Jul 24, 2023
1 parent 8e90f99 commit 4721b90
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"type": "address",
"key": "addr",
"key": "memorial:addr",
"keys": [
"memorial:addr:city",
"memorial:addr:street",
"memorial:addr:postcode",
"memorial:addr:housenumber"
],
"label": "Nearest building address"
"label": "Nearest Building Address",
"prerequisiteTag": {
"key": "memorial:addr:street"
}
}
5 changes: 5 additions & 0 deletions data/fields/memorial/addr_string.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"type": "text",
"key": "memorial:addr",
"label": "Nearest Building Address"
}
4 changes: 2 additions & 2 deletions data/presets/historic/memorial/stolperstein-EU.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"wikidata"
],
"moreFields": [
"memorial/addr",
"address",
"memorial/addr_string",
"memorial/addr_addr",
"subject/wikidata",
"image",
"wikimedia_commons",
Expand Down

0 comments on commit 4721b90

Please sign in to comment.