-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preset/stolperstein: Update address fields
- 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
Showing
3 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
7 changes: 5 additions & 2 deletions
7
data/fields/memorial/addr.json → data/fields/memorial/addr_addr.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"type": "text", | ||
"key": "memorial:addr", | ||
"label": "Nearest Building Address" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters