Skip to content

Commit

Permalink
add secondary memorial:addr:* field for when the subtag schema is used
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Aug 3, 2023
1 parent ebc1099 commit 0fe03d7
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data/fields/memorial/addr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"type": "text",
"key": "memorial:addr",
"label": "Nearest Building Address"
"label": "Nearest Building Address",
"prerequisiteTag": {
"keyNot": "memorial:addr:housenumber"
}
}
16 changes: 16 additions & 0 deletions data/fields/memorial/addr_subtags.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "address",
"key": "memorial:addr",
"keys": [
"memorial:addr:city",
"memorial:addr:housename",
"memorial:addr:housenumber",
"memorial:addr:place",
"memorial:addr:postcode",
"memorial:addr:street"
],
"label": "{memorial/addr}",
"prerequisiteTag": {
"key": "memorial:addr:housenumber"
}
}
1 change: 1 addition & 0 deletions data/presets/historic/memorial/stolperstein-EU.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
],
"moreFields": [
"memorial/addr",
"memorial/addr_subtags",
"subject/wikidata",
"image",
"wikimedia_commons",
Expand Down

0 comments on commit 0fe03d7

Please sign in to comment.